20,284 Topics
| |
Well i have troubles sorting the xml whenever i created a new info so here are the codes Imports System.Xml Imports System.IO Imports System.Text Public Class Form1 Dim m_strdata As String(,) = New String(999, 4) {} Dim w As Integer = 0 Private Sub read() Dim m_xmlr As XmlTextReader 'Create … | |
My application has two forms. Focus may be on either form. Keypresses on either Form1 or on Form2 need to processed by code in Form1.vb. How should I make this happen? Thank you retroMIDI2 | |
| Hello, I have problem in one of my program,it's almost a copycat of MS-World, that means it's using RichTextBox, I have Bold,Italic,Underline etc. buttons but when I save the file and open it, it's a basic text that you can get from Notepad. File Type: DTX Save Method: Writer (User-made … |
How to Highlight a sentence row by row? For example I made a simple notepad written in VB.net. Then, I'd like to hightlight a row by row automatically and manually. lets say I have a button named "auto" to highlight row downward automatically , and I have a button named … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
how to connect vb.net frontend with microsoft sql backend.. | |
**Can anyone know how to make a readonly datetime picker in VB.NET?** | |
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 … | |
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 … | |
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) … | |
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 … | |
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 … | |
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 … | |
i'm trying to get metro app style to windows form application. any help..? | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.