473,749 Members | 2,350 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

1
1,290
thread by: ngocduy1842 | last post Feb 17 '13 by: Rabbit
I wrote this code, but it don't work: Dim i As Integer = 0 Dim drives() As String drives = GetListofDrives() or Each sdrives In drives i += 1 Next Dim a(i) As FileSystemWatcher i = 0
2
3,941
thread by: kumsay | last post Feb 17 '13 by: Mikkeee
Hi there, I'm having a problem with updating and/or inserting rows in a table in my database. I have a form with a combobox, 10 textboxes, and save button. Here, the combobox if filled with illnesses from the diagnose table in my database. Diagnose table's structure is: f_id, illness, symptoms, so an illness can have many symptoms. If an item is...
0
1,216
GridCode
thread by: GridCode | last post Feb 15 '13 by: GridCode
Hi There trying to save richtext to sql server. code below: SQLCat = "Catalog" SQLDBTab = "RichTextData" ConnStr = "Data Source=" & SQLDatSrc & ";Initial Catalog=" & SQLCat & ";User ID=" & SQLUser & ";Password=" & SQLUserPW & ";" QryStr = "INSERT INTO " & SQLDBTab & " (DataSheetID ,RichText) VALUES...
4
1,327
thread by: robertybob | last post Feb 15 '13 by: robertybob
Hi I tried to find this via Google but as you can see from the title, I can't get my head round the correct terms to search for. The issue is as follows - this is an application I'm converting from javascript to VB so would like the direct solution rather than the 'array' solution if it's possible. In javascript... var myname = "Billy";...
14
1,638
thread by: AmolYelne | last post Feb 15 '13 by: AmolYelne
I have xml file: <?xml version="1.0"?> -<doc title="test"> -<Employee> <keyName>Amol </keyName> <Keyvalue>22</Keyvalue> </Employee> </doc> next time when I run the application and enter keyname John and keyvalue 25 then I want to update my xml file like
10
4,978
thread by: robertybob | last post Feb 11 '13 by: IronRazer
Hi I have a form, say Form1, that contains Label1 and a subroutine doText() that loads text into Label1. Public Sub doText() Label1.Text = "Hello" End Sub
1
1,246
thread by: ty1445 | last post Feb 11 '13 by: IronRazer
I am making a web browser and want to be able to scroll the page with arrow keys.
1
969
thread by: Savita Yadav | last post Feb 11 '13 by: IronRazer
Sir, Mu question is finding substring in the main string but each time my string changing such as first it may be "Sun Mon Tue" second time it may be "Sun Tue Fri Sat" or it may any any days or all days in a week.
2
1,209
thread by: Benniit | last post Feb 10 '13 by: Benniit
I'm using Vb.net 2008 with an MDI form with a child named frmQueryDatabase having a textbox (txtQuery). I have noticed that when I added the child to the MDI form and run the program, the content of the text box in debug mode was always empty, though you could see a text in it. 'When the frmQueryDatabase was a child to the MDI form Dim...
4
4,729
thread by: tshukela | last post Feb 9 '13 by: IronRazer
I have a module with an array, so I want the results of an array to be displayed in a form textbox. When I'm trying to use the texbox in a module a get an error that reads "Error'textbox' is not declared. It may be inaccessible due to its protection level.", so how do I solve this problem?
7
6,246
thread by: pyrusane | last post Feb 9 '13 by: !NoItAll
I am hoping someone can help me with this. I am trying to figure out how to update data in a csv file with changes I make in a userform. I use one form to create the csv file, the code looks like this: Dim out As System.IO.StreamWriter = My.Computer.FileSystem.OpenTextFileWriter("Agents.csv", True) ...
1
1,308
thread by: Benniit | last post Feb 9 '13 by: Rabbit
Please, I'm using Vb.Net 2008 and I have this MDI form as the main one and its child in the following code. Dim frm As New frmMovement frm.MdiParent = Me frm.Show() frm.BringToFront() The first time I run the code, the frmMovement form was showing, but sometime later it failed to show again and I'm just confused! When I...
0
1,155
thread by: dman000 | last post Feb 9 '13 by: dman000
Is there a function for VB.NET (or C#.NET I suppose) that will take a password string and salt string and return a MD5 hash string that can be directly inserted into the Apache server password file. Would like to write a GUI user/group manager in VB.NET for a Apache web server running on Windows. On UNIX this would be simple, but I am new to VB....
0
867
!NoItAll
thread by: !NoItAll | last post Feb 7 '13 by: !NoItAll
I have been using Installshield for several years now. I find it frustrating, esoteric and misnamed (Installshield was supposed to shield you from the complexity of installers, instead it just makes it different. My recent experience with setting permissions for services is a great example. You have to use the cryptic SDDL in all its...
1
1,131
thread by: Kakatwa Amigo | last post Feb 7 '13 by: Rabbit
is it possible to have a J2ME (using NetBeans) as client and vb.net (2010) as server?
0
919
thread by: gaurang99 | last post Feb 7 '13 by: gaurang99
How can i change Default margin of Report Viewer from 1 to 0.75 in vb.net with VB script.
1
1,347
thread by: kumsay | last post Feb 5 '13 by: Frinavale
hello, I have a form with 2 listboxes. Listbox1 is populated with symptoms. If a symptom is selected, listbox2 will show the related illnesses having that symptom. Here's my working code: Call Connect() With Me Dim dt As New DataTable STRSQL = "select illness from diagnose where symptom_name = '" &...
0
979
thread by: sparrow90 | last post Feb 4 '13 by: sparrow90
The above error is pestering me like anything. I am using VS2002 and .NET 1.0. My project is a web application using TMG Localizer. Even though I delete the culture folders under bin the problem is persisting. I have re-installed VS. But it din't work. Kindly tell me some other solution that helps me get rid of this.
1
1,262
thread by: prisma oriza | last post Feb 4 '13 by: Rabbit
hi... I'm trying some programs VB.net 2008 and when I wrote "Imports Microsoft.Office.Interop" This looks warning error I am using office 2007 What is this problem? what should I do to resolve it?
1
1,055
thread by: jana89 | last post Feb 4 '13 by: Rabbit
I have a table named Usage with datafield name dateTime. i want to grab the dateTime data into a comboBox named cbDate. the dateTime datatype is in Varchar(45) and it looks like this, 2013-01-29 12:45:11 My problem is, i cant group the date with same date but different time. The combobox will list all the data even though its in the same date,...
4
5,126
thread by: kumsay | last post Feb 4 '13 by: kumsay
hello, I have form with a listbox and a windows media player. The lisbox is populated with filename from the database. If the user select one item from listbox a video clip should play on the WMP. In the mysql database, I have a table VideoClips with fields vName(varchar), vLocation(varchar). In vLocation I saved the file path of the picture...
1
5,514
!NoItAll
thread by: !NoItAll | last post Feb 3 '13 by: !NoItAll
I like to make sure my programs (especially services that have no UI at all) log errors in a meaningful way. Adding a log file function is very easy, but unfortunately unless you take precautions a log file can simply grow forever. Some years ago I worked with a team and we discovered that a major issue at a customer site was simply because...
2
1,263
thread by: Josh Argent | last post Feb 2 '13 by: Josh Argent
Hi, I'm wanting to draw a string to a region using the GDI+ classes. I currently have the text draw and then clipped however the text always 'seeps' out the edges of the shape: http://s11.postimage.org/ww8xicr03/bubble.png As you can see the text is not wrapped properly in the circle and parts of the words are off the screen. I want the...
0
1,142
thread by: Josh Argent | last post Feb 2 '13 by: Josh Argent
Hi, I'm making a brainstorming program in VB.net and am struggling with drawing arrow lines. Currently I have lines that go all the way to the centre of a 'bubble' on the screen. This works very well but I want to implement lines with arrows to show flow. I need the lines to stop just before it gets to the bounds of the bubble otherwise the...
1
2,356
thread by: renebi | last post Feb 2 '13 by: kumsay
Now I open my project I have my written codes but I can't see the designer anymore.. what can be the problem and how to get it back? The error goes like this. There is no editor available for ... Make sure the application for the file type (.vb) is instaled.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.