Click here to Skip to main content
16,005,181 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalextracting safearray from a variant Pin
Anonymous12-Sep-02 11:14
Anonymous12-Sep-02 11:14 
GeneralRe: extracting safearray from a variant Pin
Vi213-Sep-02 3:48
Vi213-Sep-02 3:48 
GeneralRe: extracting safearray from a variant Pin
Anonymous13-Sep-02 8:32
Anonymous13-Sep-02 8:32 
Generalproblem with passing array parameter to the procedure Pin
Mariusz Popiolek12-Sep-02 10:37
sussMariusz Popiolek12-Sep-02 10:37 
GeneralRe: problem with passing array parameter to the procedure Pin
Nick Parker12-Sep-02 10:55
protectorNick Parker12-Sep-02 10:55 
GeneralRe: problem with passing array parameter to the procedure Pin
Mariusz Popiolek12-Sep-02 11:29
sussMariusz Popiolek12-Sep-02 11:29 
GeneralRe: problem with passing array parameter to the procedure Pin
Nick Parker12-Sep-02 11:36
protectorNick Parker12-Sep-02 11:36 
GeneralByVal Pin
Vi213-Sep-02 3:41
Vi213-Sep-02 3:41 
This small example will help to understand the role of "()" around the argument
Sub Func(ByRef i As Long)<br />
  i = 12<br />
End Sub<br />
<br />
Private Sub Form_Load()<br />
  Dim j As Long<br />
  j = 33<br />
  Call Func(j) ' ByRef<br />
  Debug.Print "j="; j ' the output will be: j= 12<br />
  <br />
  j = 33<br />
  Call Func((j)) ' ByVal<br />
  Debug.Print "j="; j ' the output will be: j= 33<br />
  <br />
  j = 33<br />
  Func (j) ' ByVal. Note that there is the <font color=blue>space</font> between function name and argument<br />
  Debug.Print "j="; j ' the output will be: j= 33<br />
  Unload Me<br />
End Sub


With best wishes,
Vita
QuestionAnyone have any experience using Leadtools twain .Net addon? Pin
James Williams12-Sep-02 6:45
James Williams12-Sep-02 6:45 
GeneralRecommendations on a good VB.Net book or two Pin
James Williams11-Sep-02 5:30
James Williams11-Sep-02 5:30 
GeneralRe: Recommendations on a good VB.Net book or two Pin
NormDroid11-Sep-02 6:33
professionalNormDroid11-Sep-02 6:33 
GeneralRe: Recommendations on a good VB.Net book or two Pin
James Williams11-Sep-02 6:37
James Williams11-Sep-02 6:37 
GeneralRe: Recommendations on a good VB.Net book or two Pin
Kevin McFarlane14-Sep-02 0:33
Kevin McFarlane14-Sep-02 0:33 
GeneralRe: Recommendations on a good VB.Net book or two Pin
Kevin McFarlane14-Sep-02 0:38
Kevin McFarlane14-Sep-02 0:38 
GeneralRe: Recommendations on a good VB.Net book or two Pin
Dan Morris11-Sep-02 7:35
Dan Morris11-Sep-02 7:35 
GeneralRe: Recommendations on a good VB.Net book or two Pin
Thom11-Sep-02 8:32
Thom11-Sep-02 8:32 
GeneralRe: Recommendations on a good VB.Net book or two Pin
afronaut11-Sep-02 13:12
afronaut11-Sep-02 13:12 
GeneralMyBase vs. MyClass Pin
afronaut10-Sep-02 4:05
afronaut10-Sep-02 4:05 
GeneralRe: MyBase vs. MyClass Pin
Lasse12-Sep-02 0:28
Lasse12-Sep-02 0:28 
GeneralRe: MyBase vs. MyClass Pin
Ravi_Shankar12-Sep-02 0:29
Ravi_Shankar12-Sep-02 0:29 
GeneralRe: MyBase vs. MyClass Pin
Ravi_Shankar12-Sep-02 2:20
Ravi_Shankar12-Sep-02 2:20 
GeneralScrollview Pin
Davy Mitchell9-Sep-02 0:04
Davy Mitchell9-Sep-02 0:04 
Questionhow to close the 1st mediaplayer object when opening a second ? Pin
DengJW8-Sep-02 22:40
DengJW8-Sep-02 22:40 
GeneralTaking pictures in VB by WebCam Pin
Ahuva8-Sep-02 21:44
Ahuva8-Sep-02 21:44 
GeneralInternet Programming Pin
shiju8-Sep-02 13:49
shiju8-Sep-02 13:49 

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.