Click here to Skip to main content
15,891,248 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralDrive activity Pin
johnjsm30-Oct-04 5:59
johnjsm30-Oct-04 5:59 
GeneralMMControl Help Pin
Red Sunday30-Oct-04 3:56
Red Sunday30-Oct-04 3:56 
GeneralNewbie problem with classes... Pin
FredGer30-Oct-04 0:42
FredGer30-Oct-04 0:42 
GeneralRe: Newbie problem with classes... Pin
Christian Graus31-Oct-04 9:25
protectorChristian Graus31-Oct-04 9:25 
GeneralAccess to user network resources Pin
gamsja30-Oct-04 0:09
gamsja30-Oct-04 0:09 
GeneralData retrieval on XP with Thai language Pin
Member 64225429-Oct-04 20:35
Member 64225429-Oct-04 20:35 
GeneralMultiple click events Pin
rudemusik29-Oct-04 17:45
rudemusik29-Oct-04 17:45 
GeneralRe: Multiple click events Pin
MohammadAmiry30-Oct-04 6:57
MohammadAmiry30-Oct-04 6:57 
I don't know if I have understood your question correctly or not.
but I guess what you need is the Static variable. you can define a varialble in the cliuck event of the button like this:
Static MyVar As Integer<br />
Myvar += 5

then every time you press the button, the number is raised by 5 (first time 5, second time 10, etc.)

one other way is defining your variable Private in the class of form1. in this case, the variable can be accessed by other functions in the form.

hope it'd help.
GeneralRe: Multiple click events Pin
rudemusik30-Oct-04 12:42
rudemusik30-Oct-04 12:42 
GeneralRe: Multiple click events Pin
rudemusik30-Oct-04 12:45
rudemusik30-Oct-04 12:45 
GeneralFolderBrowserDialog.SelectedPath not working on Windows 98 Pin
jms007x29-Oct-04 14:37
jms007x29-Oct-04 14:37 
GeneralDataReader Pin
compkitty729-Oct-04 9:05
compkitty729-Oct-04 9:05 
GeneralDivision with Doubles producing unpredictable results Pin
ldself29-Oct-04 8:05
ldself29-Oct-04 8:05 
GeneralRe: Division with Doubles producing unpredictable results Pin
Dave Kreskowiak29-Oct-04 9:17
mveDave Kreskowiak29-Oct-04 9:17 
Generalmsflexgrid Pin
Anonymous29-Oct-04 7:31
Anonymous29-Oct-04 7:31 
GeneralIE TabStrip Control Help Pin
dotnet2new29-Oct-04 7:30
dotnet2new29-Oct-04 7:30 
GeneralRe: IE TabStrip Control Help Pin
Dave Kreskowiak29-Oct-04 9:13
mveDave Kreskowiak29-Oct-04 9:13 
GeneralRe: IE TabStrip Control Help Pin
dotnet2new29-Oct-04 9:52
dotnet2new29-Oct-04 9:52 
QuestionHow to gain more control over a scanner through VB.NET? Pin
azam31629-Oct-04 5:57
azam31629-Oct-04 5:57 
AnswerRe: How to gain more control over a scanner through VB.NET? Pin
Dave Kreskowiak29-Oct-04 9:11
mveDave Kreskowiak29-Oct-04 9:11 
GeneralVB.NET Performance Counters Pin
Jim Radetski29-Oct-04 5:29
Jim Radetski29-Oct-04 5:29 
QuestionHow to get a character ascii code in VB.Net .??? Pin
Modern_night29-Oct-04 2:50
Modern_night29-Oct-04 2:50 
AnswerRe: How to get a character ascii code in VB.Net .??? Pin
RichardGrimmer29-Oct-04 3:54
RichardGrimmer29-Oct-04 3:54 
GeneralRe: How to get a character ascii code in VB.Net .??? Pin
MohammadAmiry29-Oct-04 7:02
MohammadAmiry29-Oct-04 7:02 
GeneralMdi form and Toolbar Pin
adnan aslam29-Oct-04 0:43
adnan aslam29-Oct-04 0:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.