Click here to Skip to main content
16,008,299 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: GAC problems,, PLEASE HELP!! Pin
Ray Cassick23-Jun-03 7:35
Ray Cassick23-Jun-03 7:35 
Generalassociate icon w/program app Pin
shirleyLo23-Jun-03 3:15
shirleyLo23-Jun-03 3:15 
GeneralRe: associate icon w/program app Pin
Nick Seng23-Jun-03 16:34
Nick Seng23-Jun-03 16:34 
GeneralRe: associate icon w/program app Pin
shirleyLo24-Jun-03 7:46
shirleyLo24-Jun-03 7:46 
GeneralConnecting an XML listener to a VB interface Pin
yeeck23-Jun-03 1:18
yeeck23-Jun-03 1:18 
GeneralReusing values or inputs Pin
ivanji22-Jun-03 17:28
ivanji22-Jun-03 17:28 
GeneralCounting points Pin
oliver_twistor22-Jun-03 9:27
oliver_twistor22-Jun-03 9:27 
GeneralRe: Counting points Pin
dynamic22-Jun-03 9:59
dynamic22-Jun-03 9:59 
VB:
<font face="Courier New" size="2"><font color="blue">Dim</font> V_DuVin <font color="blue">As</font> Boolean<br><font color="blue">Dim</font> V_DatVin <font color="blue">As</font> Boolean<br><font color="blue">Dim</font> V_DinPoang <font color="blue">As</font> Integer<br><font color="blue">Dim</font> V_DatPoang <font color="blue">As</font> Integer<br><font color="#009999">'////BELOW WINDOWS GENERATED CODE AREA^^^^.</font><br><font color="blue">Private</font> <font color="blue">Sub</font> Button1_Click(ByVal sender <font color="blue">As</font> System.Object, ByVal e <font color="blue">As</font> System.EventArgs) Handles Button1.Click<br>     V_DuVin = True<br><font color="blue">End</font> <font color="blue">Sub</font><br><br><font color="blue">Private</font> <font color="blue">Sub</font> Button2_Click(ByVal sender <font color="blue">As</font> System.Object, ByVal e <font color="blue">As</font> System.EventArgs) Handles Button2.Click<br>If V_DuVin = True Then<br>     V_DinPoang = V_DinPoang + 1<br>     ElseIf V_DatVin = True Then<br>        V_DatPoang = V_DatPoang + 1<br>     <font color="blue">End</font> If<br>     MessageBox.Show(V_DinPoang)<br><font color="blue">End</font> <font color="blue">Sub</font></font>



you must have the items dimmed on a main part of the form , like just below the windows generated code , otherwise the values will reset each time if they are only declared in a sub.Smile | :)



<font color="blue">Private void</font> ExpectingTwins(<font color="blue">string</font> twins)
    {    
    <font color="blue">switch</font>(twins)
    {
    <font color="blue">Case</font> ("twins on the way"):
        MessageBox.Show("for mr and mrs dynamic","twins on the way");
    <font color="blue">break</font>;
    }
    }




GeneralRe: Counting points Pin
oliver_twistor22-Jun-03 23:04
oliver_twistor22-Jun-03 23:04 
GeneralRe: Counting points Pin
parths22-Jun-03 16:27
parths22-Jun-03 16:27 
GeneralWindows Form differences between O/S Pin
Andrew Bromfield22-Jun-03 3:49
Andrew Bromfield22-Jun-03 3:49 
GeneralARRRGGHGHH.... HEADACHE!! Pin
Robert Collyer22-Jun-03 3:28
Robert Collyer22-Jun-03 3:28 
GeneralRe: ARRRGGHGHH.... HEADACHE!! Pin
jhaga22-Jun-03 5:29
professionaljhaga22-Jun-03 5:29 
GeneralActive window name Pin
eranamiel22-Jun-03 2:01
eranamiel22-Jun-03 2:01 
GeneralRe: Active window name Pin
dynamic22-Jun-03 9:48
dynamic22-Jun-03 9:48 
GeneralMonitoring traffic on a specific port Pin
TheDuck21-Jun-03 9:21
TheDuck21-Jun-03 9:21 
GeneralRe: Monitoring traffic on a specific port Pin
abc87621-Jun-03 9:59
abc87621-Jun-03 9:59 
GeneralVB.net Parallel Interfacing Pin
code_gopher20-Jun-03 10:17
code_gopher20-Jun-03 10:17 
GeneralRemoting troubles :( Pin
WillemM20-Jun-03 7:52
WillemM20-Jun-03 7:52 
GeneralRe: Remoting troubles :( Pin
WillemM20-Jun-03 20:25
WillemM20-Jun-03 20:25 
QuestionCould Some one Please help with two lines trans from C#? Pin
Eikeland20-Jun-03 5:02
Eikeland20-Jun-03 5:02 
AnswerRe: Could Some one Please help with two lines trans from C#? Pin
Matt Casto20-Jun-03 5:16
Matt Casto20-Jun-03 5:16 
GeneralRe: Could Some one Please help with two lines trans from C#? Pin
Eikeland20-Jun-03 6:36
Eikeland20-Jun-03 6:36 
GeneralSpreadsheet &quot;Like&quot; Data Entry Pin
Andrew Bromfield20-Jun-03 3:06
Andrew Bromfield20-Jun-03 3:06 
GeneralPicture Box won't show on second form Pin
Jm6k19-Jun-03 18:34
Jm6k19-Jun-03 18:34 

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.