473,566 Members | 3,102 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

10
64,661
thread by: Radith Silva | last post Nov 20 '05 by: Cor Ligthert
In the following code all I want to do is to break a line (an enter in ms word) between each of the variables countOrders, stageTax, stageOne. I think in vb 6.0 all you have to do is "....." &_ "this will be on a new line" It don't work...Plz Help Private Sub cmdSummary_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
4
63,487
thread by: Bill Nguyen | last post Nov 20 '05 by: Herfried K. Wagner [MVP]
How do I get the absolute value of an expression in VB.NET? The new ABS function looks scary to me! Thanks Bill
3
63,334
thread by: Tom | last post Nov 21 '05 by: james
I have a picturebox on my VB.NET form. The picturebox size mode is set to stretched. I then load an image into that form and display it. As the user moves the mouse over the form, I want to get and display (in the status bar) the image coordinates of the mouse location. However, if I use the picturebox's MouseMove event, I am getting the...
7
62,036
thread by: Bob Achgill | last post Nov 20 '05 by: Bob Achgill
When I use the code for KeyPress to capture pressing a certain key for processing on a form with no Text Box it works. But when I try the same code on my application that has text boxes it does does not work. How can I capture the cursor left and right keys for processing?
5
61,481
thread by: matthewtec | last post Jan 12 '06 by: matthewtec
I see that it is possible to have a multicolumn ListBox: lstOne.MultiColumn = True lstOne.ColumnWidth = 10 but the only way I have seen to have the items in the listbox print in the next column is to add enough items to go to the bottom and then start again at the top. Is there any way to select which column in the ListBox I want to...
5
59,426
thread by: feng | last post Nov 20 '05 by: William Ryan
In our VB.Net Windows form application we have a combobox pre-populated with a list of items. What I need is simply clear everything from it's dropdown, when a button is clicked. I tried everything I can think of, such as set data source to nothing, etc., but still not been able to make it happen. Can someone show me how to do it? Thanks
4
58,756
thread by: Robert Strickland | last post Nov 21 '05 by: Herfried K. Wagner [MVP]
I need to split on the tab character found in a string. What is used for the character?
8
58,648
thread by: moondaddy | last post Nov 21 '05 by: moondaddy
I need to loop through an array and determine which indexes are odd and which are even. how can I determine if a number is an odd number or an even number? -- moondaddy@nospam.com
1
57,841
thread by: Samuel R. Neff | last post Nov 21 '05 by: Jay B. Harlow [MVP - Outlook]
Are there any differences between using Array.Length and Array.GetUpperBound(0) on a one-dimensional array? We have a team of developers and most people use Array.Length but one developer uses GetUpperBound(0). I'd like the code to all be consistent but would like to know if there is any other reason I can provide to justify using only...
20
57,710
thread by: anthonymelillo | last post Nov 20 '05 by: Herfried K. Wagner [MVP]
Is there a way to call a button click event from somewhere else ? I have a text box where I would like to call a button click event when a user presses enter in the text box. Can I do this ? Thanks Tony
4
57,705
thread by: Li Pang | last post Nov 21 '05 by: Larry Lard
Hi, In VB6 I used Now() -1 to get yesterday, but it's not allowed in vb.NET. Is there a similar way to do it in vb.Net? Thanks in advance
6
57,143
thread by: Michael C# | last post Nov 21 '05 by: Michael C#
What's the VB equivalent of the C# typeof() operator (it doesn't appear to be the VB "TypeOf" operator). Thanks.
17
56,624
thread by: vlsw | last post Apr 16 '09 by: vlsw
I am new to soap and web services. I want to send an xml soap request to an existing web service created by outside party. how do i go about doing this and viewing the response. any help would be greatly appreciated.
6
55,961
thread by: Dino Buljubasic | last post Nov 21 '05 by: Paul Clement
My application creates some temporary files that are deleted when my application terminates. However, if a temp file is open, it will not be deleted and application will crash. How can I check if a file is open before deleting it Something like this
21
55,893
thread by: Tark Siala | last post Apr 24 '06 by: Hapticz
hi i am using timer control, its good but if my event doing less than one time in 1 Minute. i want make event every 5 minute, how i can do that? i am using VB6, VB.NET -- Best Regards
3
55,846
thread by: Bails | last post Jun 13 '07 by: Chris Diver
Hi im trying to build a Poker Timer as a first project using VB Express. I have a dataset called PokerTimerDataSet and a Table called Round information. Within Round Information I have Fields called Round Number, Length, Small Blind, Big Blind & Ante. What I would like to do is take the value for each of these cells and
7
55,769
thread by: Sakharam Phapale | last post Nov 21 '05 by: Sakharam Phapale
Hi All, I want to give option to user for selecting directory, just like for selecting file using OpenFileDialog control. How to make it possible?
4
55,729
thread by: Tee | last post Dec 2 '05 by: Chris Priede
Hi, Can anyone tell me how to get the path of IIS root folder from coding? Eg: C:\Inetpub\wwwroot. I would like to detect it via coding as not everyone set it at the default folder. Thanks,
4
55,455
thread by: Ithaqua | last post Jan 6 '06 by: Ithaqua
I want to start a new line in label, how do i do it. currently my code is: lable.text = "this is a test" + "123" and it displays like this. 'this is a tes 123' and I want it to display as: 'this is a test' '123'
9
54,361
thread by: Jason | last post Feb 14 '06 by: Cerebrus99
If I've got Me.RichTextBox1.Text = "In Ricn Tex Box" Me.RichTextBox1.Text &= "Line two" & vbCrLf How do I make the first line appear BOLD?
7
53,802
thread by: Lars Netzel | last post Nov 21 '05 by: Herfried K. Wagner [MVP]
Do I use FindWindowEx() to find control ( a button.. ) within a Window or is that only to find child Windows after using FindWindows() best regards /Lars
6
53,691
thread by: moondaddy | last post Nov 21 '05 by: Peter Huang [MSFT]
I'm writing an app in vb.net 1.1 and need to convert a byte array into a string, and then from a string back to a byte array. for example Private mByte() as New Byte(4){11,22,33,44} Now how do I convert it to: dim myStr as string = "11,22,33,44"
5
53,609
thread by: theath | last post Nov 21 '05 by: Chris Dunaway
hi, i'd like to do something like while(x) if(y) break ... end while what is the equivalent of java's break statement in vb.net? i don't want to use a goto :)
3
52,478
thread by: Jan Eliasen | last post Nov 20 '05 by: Fergus Cooney
Hi I have a string, which I must convert into another string and have it utf-8 encoded. My current code looks like this; Both vDataIn and vDataOut are Objects (parameters to a function-call), and vDataIn contains a string, and that is also what vDataOut must contain when I am done.
8
51,682
thread by: Tom | last post Nov 21 '05 by: Tom
I am using VB.NET to control another program. I have the program's window hwnd; however, I need to be able to set the focus to that other programs window so I can send it some keystrokes. I thought I could just use the SetFocus API, but I read somewhere that it will only work for programs running under that programs thread. Is this true? If...

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.