670 Posted Topics

Member Avatar for AirGear

you dont need a liscence to sell ur program written in VB. all u need is to buy a liscenced visual studio to enable create robust applications. You can get the free edition from Microsoft website which is the Express Edition

Member Avatar for AirGear
0
179
Member Avatar for chris evans

[CODE] Dim objConnection As New SqlConnection _ ("server=localhost;database= dbase-name;" + _ "user id= id;password= @password;") [/CODE]

Member Avatar for AndreRet
0
214
Member Avatar for jaejoong

[CODE] Private Sub FindUser() Dim objConnection As New SqlConnection _ ("server=localhost;database= MSS;" + _ "user id=sa;password=clement;") Dim objDataAdapter As New SqlDataAdapter( _ "SELECT * FROM User WHERE state = '" + txtSearch.Text + "'", objConnection) Dim objDataSet As DataSet Dim objDataView As DataView Dim objCurrencyManager As CurrencyManager objDataSet = New …

Member Avatar for jaejoong
0
100
Member Avatar for cintojose

it would be better you use a Microsoft Report Viewer to display your data instead of a datagridview. this will enable you ssave your data in both excel and pdf formats

Member Avatar for Netcode
0
290
Member Avatar for xcarbonx
Member Avatar for warne

[CODE] Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtSearch.TextChanged If Not IsNumeric(.Text) Then MessageBox.Show("please enter a valid string", "Error" _ , MessageBoxButtons.OK, MessageBoxIcon.Information) End If [/CODE]

Member Avatar for Netcode
0
230
Member Avatar for annesil

you can enter these lines of code in areas where you have such errors. you have to convert the rows in a datatable to type 'string before' you can place them in textboxes. [CODE] For Each myDataRow As DataRow In objdatatable.Rows TextBox1.Text = Convert.ToString(myDataRow("item1")) TextBox2.Text = Convert.ToString(myDataRow("item2")) TextBox3.Text = Convert.ToString(myDataRow("item3")) …

Member Avatar for Netcode
0
167
Member Avatar for krusnik08

[CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try If TextBox1.Text = "students" And TextBox2.Text = "amaer" Then Dim a As New Form2 a.Show() Me.Hide() Else 'integer variable to count the number of times 'the user has tried loggin in Static count As Integer = …

Member Avatar for Netcode
0
148
Member Avatar for dheerajlonely

[CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'increase progress bar by value of 20 '// check if not at Maximum to not go over, then add some value. If Not ProgressBar1.Value = 100 Then ProgressBar1.Value += 20 if ProgressBar1.Value = 100 Then '// check if …

Member Avatar for Netcode
0
187
Member Avatar for TetuGal

i wont give you a particular topic, instead i would give an advice as you suggested. i feel you search within yourself, if you are good in more than one language then know the one you perform best in...thats one step step 2: get a topic you know would be …

Member Avatar for divya s
0
330
Member Avatar for jiya rathore
Member Avatar for jzlonely

it sure wont work. the .exe file is more like a compiled copy of your program and definitely when it runs, its gonna search for your MS Access database, when it does not find it, it gives you the error

Member Avatar for jzlonely
0
4K
Member Avatar for richardmaibes

for sure the folder is invisible. if you're using windows vista or higher, click on the start button, type folder options, view tab, select the option button for show hidden files and folder. if windows xp, then open my computer, select tools menu, folder options, views tab, show hidden files …

Member Avatar for gerbil
0
415
Member Avatar for ritika_khanna

in your database you should have a primary key. this should be a unique number to identify each train you have on course. with this, you can use your sql SELECT statement to get the information you want for example, SELECT * from Trains WHERE TrainID = "354523"

Member Avatar for kvprajapati
0
106
Member Avatar for digitalsindhx

i would suggest you change the format of the field in MS Access from date/time to short date cos sometimes MS Access can be hell. just use the "Text" format of access, this would accept any data format. if this does not work, then send me a message so i …

Member Avatar for Netcode
0
279
Member Avatar for Saravanan R

to save the contents of a text box: it depends if you are saving to a file or to a DBMS for a DBMS like sql server, just get your connection strings right, then use this textbox1.databingds(text, datasource, connectionstring) try it yourself but if you cant then i'll send you …

Member Avatar for Netcode
0
109
Member Avatar for Netcode

hi guys. its been a long time but sincerely, am happy to be back. now i've got a problem on my mind and that is; am trying to develop a database application but i want it to be a console application. the major issue is that i dont know how …

Member Avatar for finito
-1
1K
Member Avatar for omkarwarekar
Member Avatar for vb_learner

set the tabindex property of the textbox you want to have the focus when you start the program to zero (0), then set others according to the way you want the user to move when the tab key is pressed.

Member Avatar for Rasb23
0
343
Member Avatar for gunner22

if you are new, its better you get down to a language, study it and get your hands on something. even so called professionals learn everyday, at least thats my believe. talking of voting system, what type?

Member Avatar for gunner22
0
58

The End.