20,279 Topics

Member Avatar for
Member Avatar for akasekaihime

I am trying to save items from listview to database,but whenever I try to run my code, the message "Object reference not set to an instant of an object".Here is my code.............. Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click strsql = "Update tbl_tec_temp set tem_we_position …

Member Avatar for Reverend Jim
0
189
Member Avatar for glenndr_15

Greetings! I just want to ask on how to change a word to another word and change its color in a textbox. For example if I type the word "Yes" in the text box it will change to "NO" and change its color into red at the same time.

Member Avatar for deceptikon
0
119
Member Avatar for mathias234

Hello i am doing a WOW launcher but i wanted to switch from vB.net to C# so i used this converter http://www.developerfusion.com/tools/convert/vb-to-csharp/?batchId=afeaecee-b774-436c-a04a-97009e64a2bb but i getting some errors http://pastebin.com/enQ1s414 My code http://pastebin.com/F9CnGyKp I hope you guys might help me :) btw do not care about that missing GUI things just that …

Member Avatar for tinstaafl
0
727
Member Avatar for tashiDuks

Hi Everyone, I have one text box named txtYear.text and this text box will accept only Year Value i.e. 2011, 2012 and so on. Now i want to put a validation on the text box like, if user enters the value like 1,03,54 in text box then the system should …

Member Avatar for azareth
0
2K
Member Avatar for jayson.ako_1

Need some help, when im uploading the form stops responding and the progress bar is not loading. someone can help me in this problem. Thank you so much for advance :) -> Heres my whole code Imports System Public Class Form1 Public filenameOnly As String Public FN As String Public …

Member Avatar for Reverend Jim
0
757
Member Avatar for poojavb

My PC has 3 drives C, D, E...when I insert the removable CD drive it should detect that the drive is the F:... it may vary for different systems...how can I find which will can be the CD drive... I had written the following code Try For Each drive In …

Member Avatar for nmaillet
0
503
Member Avatar for Avni.Naik11
Member Avatar for remunance
0
47
Member Avatar for thanzeem7
Member Avatar for M.Waqas Aslam
0
1K
Member Avatar for Liam1212

Public Class Form1 Dim int As Integer = 0 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Refresh() End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate(TextBox.Text) End Sub Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As …

Member Avatar for Reverend Jim
0
224
Member Avatar for Ancient Dragon

Q1: I'm trying to convert a working c++ program to VB.NET 2012 just to see how networkstream works. First send a stream to web address then get response. Send seems to work ok but read() blocks (line 34 of the code). Sometimes it doesn't block but doesn't return any data …

Member Avatar for TnTinMN
0
709
Member Avatar for randall.graves.37

Hello all, This is my first time posting here so bear with me. I am looking for some help in regard to a project I am currently doing. I have a Datagrid view that I am looking to search all columns and all rows for the string (partial or not) …

Member Avatar for TnTinMN
0
142
Member Avatar for Ctechnology24

Please help me on how can I refresh the records displayed in my crystal report. because when i first open a report it functions well but if I close the report viewer form then open it again the previous records will display with the new records that i selected example …

Member Avatar for Ctechnology24
0
1K
Member Avatar for santo12

hi all... this is my 2 weeks using vb.net 2010 express i usually use vb6 in vb6 if i compile the project then the result is single exe and in vb.net 2010 express i have many file my question is , is there a way to make single exe like …

Member Avatar for tinstaafl
0
235
Member Avatar for jakub.peciak

I have a time as a string saved as HoursMinutes example 1642 (16:42) and I tried to convert it to date as Hours:Minutes with following code: Dim dt As Date Dim s As String s = "1642" dt = CDate(Format(s, "00:00")) but the result is: 00:00 instead of 16:42 Any …

Member Avatar for jakub.peciak
0
351
Member Avatar for rbcontra
Member Avatar for rbcontra
0
111
Member Avatar for sonia sardana

hey I faced the interview Question - Name Textbox EMail Textbox Mobile Textbox Button-ADD First he told me to add the three textboxes values into the listbox. Its simple--I have done it. Listbox1.items.add(me.textbox1.text & " " & me.textbox2.text & " " & me.textbox3.text) Then he told me that draw one …

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

Hi, I am using DispatcherTimer in my WPF application, following is the link from where I learned it http://msdn.microsoft.com/en-us/library/System.Windows.Threading.DispatcherTimer.aspx#Y1710 Now problem is I cant make it available outside the procedure, and declaring it globally throws error. Is there any way to make it global? Or any other way to use …

Member Avatar for afnan123456
0
327
Member Avatar for Rachna0309

I have datagridview populated with several columns,out of which some columns I want to change from textbox cell to comboboxcell at runtime. I have written a piece of code which works perfectly fine but it takes time to load grid.Below is the code: For Each row As DataGridViewRow In dgvUserDetails.Rows …

0
95
Member Avatar for lionheart84

How can i link database from microsoft access 2003 with VB.NET? can i use anything from eg. Form1 and display them on Form2? thx u very much.

Member Avatar for azareth
0
697
Member Avatar for chdboy

I'm making a payroll software ,I have made two forms 1.Employer Form 2.Employees form I think now that I have confused ,because now I cannot diffrenciate between who works for who any sugesstions how can I improve on design ,or something that can solve the confusion (Problem) I also have …

Member Avatar for chdboy
0
101
Member Avatar for azareth

i got a problem with my visual studio 2010 the properties window doesn't display anything whenever i click any control i've tried reopening the properties window, opening some old solutions and restarting the program, but it still the same i've also reinstalled visual studio but it didn't help either my …

Member Avatar for azareth
0
155
Member Avatar for lulu79

I have datatable looks like below: ![table2](/attachments/large/3/table2.JPG "table2") I want to create a stack chart that will produce something like this: ![stack2](/attachments/large/3/stack2.JPG "stack2") I don't know where to start. I have google about how to create stack column but still can't get it. So far I have a chart but …

Member Avatar for lulu79
0
4K
Member Avatar for geetajlo

hi i want to have a sample on how to link a form to another. need help plzzzz friends. have to submit a project and i want to implement in in that. i want to link a login page to a form. if login = True then direct to form …

Member Avatar for Reverend Jim
1
106
Member Avatar for QUADCOREDELUX

I Have these Programming Project In School Using Visual Basic 2005 Express, we were assigned to do a First Come First Serve Simulator however it's just my Second Year in College and I'm No good in Programming cause I'm not majoring in IT.. Any one can help me on how …

Member Avatar for Reverend Jim
0
498
Member Avatar for t2nator

I'm having trouble figuring out how to fill a dynamic array function and then print it on declaration. Here is the function: Public Function SQLConductGetFields(InCommand As Object) As String() Dim ConnectionA As New MySqlConnection(My.Application.sqlconnect) Dim command As New MySqlCommand() ConnectionA.Open() command.Connection = ConnectionA Dim reader As MySqlDataReader command.CommandText = InCommand …

Member Avatar for Begginnerdev
0
204
Member Avatar for Rachna0309

I have datagridview which is populated with 8 columns also it is databound.Now my requirement is I need last column say ABC As comboboxcolumn.But if in database,this ABC column has some value for a particular row,then that value should be displayed in that row's cell as selected value.Please help me …

Member Avatar for atele
0
628
Member Avatar for shermags

Hi, I am new with the WPF Browser Application in VB.Net. I would like to know if how can I execute a windows form or a page. I had tried to this code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles Button1.Click Dim Form As New Window1 …

Member Avatar for shermags
0
122
Member Avatar for sushil_kataria

I have a vb.net application with oracle express editon as back end. When I run the exe of application on another machine it gives error "ERROR[IM002][Microsoft][ODBC driver manager]data source name not found and no default driver specified". How to solve this issue.

Member Avatar for Maligui
0
243
Member Avatar for thanzeem7

I try to insert data from VB.NET form to SQL Database Table. When i press insert Button. It shows Successfully Added. But there is no data in database table. My code is given below. Private Sub BTNSAVE_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BTNSAVE.Click CheckMyControls() If totflag = …

Member Avatar for edensigauke
0
417
Member Avatar for RobRTaylor

I'm trying to delete an old desktop shortcut on program startup. Only this code isn't working. ' Get rid of the updater icon on the desktop. Dim DeleteShortcut As String DeleteShortcut = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "\Sample Shortcut.lnk" If System.IO.File.Exists(DeleteShortcut) = True Then System.IO.File.Delete(DeleteShortcut) End If Looks pretty straight forward- but just …

Member Avatar for RobRTaylor
0
1K

The End.