20,278 Topics

Member Avatar for
Member Avatar for riayas

having a problem with my databinding.I created a table adapter for a table from my database, it has 3 columns and when i preview the data it is all ok. I want to get a datagridview with the columns by dragging the datasource table on to the form but no …

Member Avatar for Sulaiman_1
0
134
Member Avatar for prashant9928

Hi there, I am working on a project and want to resolve invalid form submition. i want to create a regular expression which can check each form value that must not have any string like as: '"abc.Xyz What exactly the regular expression should be?, for more information please feel free …

Member Avatar for Reverend Jim
0
387
Member Avatar for Nebil

Hi, I was wondering if there's a way to check an existing id in the main table when using temporary table,then use another id for inserting records.Since it may cause error for using the same id in the main table. Is there a way to do that?

Member Avatar for Nebil
0
540
Member Avatar for rathiikk

hi good afternoon sir, i am creating one vb.net project ,it is working nicely but the problem is when am adding datas to database it is adding but when am stop that execution and start it again it is deleting the records ...how can i solve this

Member Avatar for cgeier
0
182
Member Avatar for khal3d

Write a VB app that has two forms. On the first form create six labels and four text boxes, four buttons and a main menu The label text properties are: Name, Test1, Test2, Test3, Average, High Score The Button text properties are: Average, Clear, Show High and Next There should …

Member Avatar for Mr.M
-1
111
Member Avatar for cmo3223

I need to write a program that reads in a set of test scores from a inputbox then displays them in a list box with a corresponding letter grade. Then from there display the Standard devation, the Mean, and the number of the test scores. I cant seem to get …

Member Avatar for Reverend Jim
0
167
Member Avatar for satti

Dear fellows , The concept is to split the screen to view all windows at a time .It will allow main screen to be split into two or more sections. It will be helpful for the active program’s window to be resized properly to one part of the screen. Using …

0
179
Member Avatar for mrbungle

I have a quick question- I have an app that is downloaded a lot and used lots without issues. Recently an officer from the US Forest Service downloaded it, and when he tries to install, he's getting this message box- ![c5cb2b8f701441a47757e657cd5e89b1](/attachments/large/3/c5cb2b8f701441a47757e657cd5e89b1.jpg "c5cb2b8f701441a47757e657cd5e89b1") I don't believe this is a problem with …

Member Avatar for mrbungle
0
169
Member Avatar for Nebil

hi guys, I wanted to get a result of a certain field by passing a month and year parameter to access database,the day parameter isn't important.So i used this query and it raised an exception.The record exists but it says there's no data for that column. Any help would be …

Member Avatar for PerplexedB
0
1K
Member Avatar for Nebil

Hi guys, I wanted to extract a field from a table by date and two other criterias,but it's giving me an exception. The field that is a long integer data type and i used integer in the code.And the date is also available in the database. Am i missing something? …

Member Avatar for Nebil
0
204
Member Avatar for Pennie_1

Imports System.Windows.Forms Partial Class ExisitingApplication Inherits System.Web.UI.Page Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click If Me.txtLastN.Text = "" Then Dim erMsg As Windows.Forms.DialogResult = MessageBox.Show("Must enter Last Name.", "Search", MessageBoxButtons.OK) End If 'Define connection string with datasource Dim str As String = ConfigurationManager.ConnectionStrings("SqlDataSource1").ToString 'Define sql …

Member Avatar for Pennie_1
0
349
Member Avatar for fugio

hi all I have an exercise when I select the value in the combobox will confirm the value on datagridview I wrote a code in combobox of from1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim sQry As String sQry = "SELECT Name FROM dtaStudent" …

Member Avatar for Daemon_CC
0
4K
Member Avatar for LALITHA_1
Member Avatar for ahmadzina85

hey,I have two buttons Start button and Stop button .I run my program by clicking on start button. I want to stop the program during the start button . But the program will not responde until the start buttun finish its job. How i can do check the stop buttun …

Member Avatar for Reverend Jim
0
374
Member Avatar for mrkm1188

I'm looking to remove an individual NTFS permissions from a folder without removing or affecting the other permissions set on the folder. Is this possible?

Member Avatar for Reverend Jim
0
185
Member Avatar for PerplexedB

I have a textbox and a label bound to the same member via a bindingsource. I would have expected that at some point when the user changes the textbox, the label would be refreshed, yet it is not. What am I missing here?

Member Avatar for PerplexedB
0
172
Member Avatar for dizzydaz

got an application written in vb.net, contains 2 webbrowsers. is there a way of telling webbrowser2 to navigate to a set url when the postdata is sent from webbrowser1??

Member Avatar for xrjf
0
112
Member Avatar for yuvjeeth

Hi, I wanted to know if I could search for a file in the application's folder, just by checking with the `File.Exists` method. I am searching for a DLL file in the app's directory. Thanks in advance, Yuvjeeth

0
201
Member Avatar for danyalempire

Dim temp As Translator Using sr As IO.StreamReader = New IO.StreamReader("text.dll") For i As Integer = 0 To 15 trans(i).english = sr.ReadLine trans(i).arabic = sr.ReadLine Next For i As Integer = 1 To 15 For j As Integer = 1 To 16 - i If trans(j - 1).english > trans(j).english …

Member Avatar for ddanbe
0
334
Member Avatar for Gus_19

I am trying to look through each row in my data table and if a condition is not met, a messagebox appears. (Eventually, instead of the messagebox, I will populate to a DGV. For Each eventRow As DataRow In PFC_Xpress.Tables("EVENT INFO").Rows If eventRow.Item("Incident Type") = "Party" Then For Each personRow …

Member Avatar for Gus_19
0
384
Member Avatar for yuvjeeth

Hi all, I have a TabControl into which, at runtime, add a tabpage and a control to the tabpage created. I know how to create a tabpage. But I cant figure out a way how to create both at runtime. Thanks in advance, Yuvjeeth

Member Avatar for yuvjeeth
0
281
Member Avatar for Nebil

Hi guys, I just faced a silly but annoying problem.I was building a database application with vb.net and access. Things were going great but at the last moment,it started to not work properly.I didn't touch the db path as far as i know but i changed the system date as …

Member Avatar for Nebil
0
256
Member Avatar for Trevor_2

Hello, I wrote a program in vb2010 to assist in the organisation of my music school. It's fairly simple (as am I), uses a text file to store data, and is working fine; however, the various teachers have asked if it is possible for them to update the data when …

Member Avatar for cgeier
0
145
Member Avatar for Gus_19

I am clueless right now on how I can set the position of a form to open up directly below the parent form, as if the new form is attached directly below it's parent form. The parent form's property is currently set to start at the CenterScreen. I don't like …

Member Avatar for Gus_19
0
176
Member Avatar for Nutster

Here is a class I wrote to manage the MRU in a VB.Net application am writing. I did not find a build-in class in Visual Studio or on-line that did not look like a pain to use, so I made my own. While I have some 30 years of programming …

Member Avatar for Nutster
0
630
Member Avatar for yuvjeeth

Hello all, I have a weird problem. I have created an application in VB.NET 2010 on my PC which runs Windows XP Home Edition SP3. Upon testing my application, I found out that my app does not run on Windows Vista and Windows 7. Just to help, I was searching …

Member Avatar for yuvjeeth
0
941
Member Avatar for Bader100

Hi all, Hi i have got a problem with the system i am creating on VB using Microsft Access. I have this error that keeps coming up when I debug my system. I am trying to add data in the database. I cant seem to find the solution to this …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Jasperious

I have to create a program where, by the push of a button, you average as many quiz scores as you want. It has to display the amount of quiz scores you have entered in a fixed3D label and the quiz scores also go in a label. So far, I …

Member Avatar for Reverend Jim
0
317
Member Avatar for riahc3

I have in a MySQL database with the column type being DateTime the following time: Timestamp: 9:34:09 9:34:23 9:34:45 9:34:50 9:35:09 9:36:17 But a DataGridView in C# only shows me 9:34 9:34 9:34 9:34 9:35 9:36 Why?

Member Avatar for riahc3
0
1K
Member Avatar for Sambot

My teacher wants us to make a program that decodes the Vin number of vehicles, I 'm been having problems learning because he doesn't explain much at all about the code and he expects us to already know it by just reading the book, the book isn't very clear or …

Member Avatar for Beatrice_1
0
131

The End.