Click here to Skip to main content
15,914,500 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: bar code ? Pin
Arun.Immanuel9-May-07 22:44
Arun.Immanuel9-May-07 22:44 
AnswerRe: bar code ? Pin
klaydze10-May-07 17:20
klaydze10-May-07 17:20 
QuestionHow to create a function that does not return a value? Pin
Vivek Narayanan9-May-07 20:05
Vivek Narayanan9-May-07 20:05 
AnswerRe: How to create a function that does not return a value? Pin
Christian Graus9-May-07 20:11
protectorChristian Graus9-May-07 20:11 
AnswerRe: How to create a function that does not return a value? Pin
Steven J Jowett9-May-07 23:28
Steven J Jowett9-May-07 23:28 
GeneralRe: How to create a function that does not return a value? Pin
Vivek Narayanan10-May-07 2:57
Vivek Narayanan10-May-07 2:57 
GeneralRe: How to create a function that does not return a value? Pin
Vivek Narayanan10-May-07 3:04
Vivek Narayanan10-May-07 3:04 
GeneralRe: How to create a function that does not return a value? Pin
Steven J Jowett10-May-07 3:17
Steven J Jowett10-May-07 3:17 
You could do this :-

Function str() as string<br />
<br />
'your code here<br />
<br />
Return Nothing<br />
<br />
End Function


but surely that is the same as :-


Sub str()<br />
<br />
'your code here<br />
<br />
End Sub


Or is it you what to provide an object for the "function" to work with and change, in which case :-

Sub str(ByRef myObject as Object)<br />
<br />
'do something to myObject<br />
<br />
End Sub


This would receive the memory address the the object and change it directly, without the need to passing back the result



Steve Jowett
-------------------------
Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'

GeneralRe: How to create a function that does not return a value? Pin
Vivek Narayanan10-May-07 3:31
Vivek Narayanan10-May-07 3:31 
GeneralRe: How to create a function that does not return a value? Pin
Colin Angus Mackay10-May-07 3:52
Colin Angus Mackay10-May-07 3:52 
GeneralRe: How to create a function that does not return a value? Pin
Dave Kreskowiak10-May-07 3:26
mveDave Kreskowiak10-May-07 3:26 
Questiondays calculation in vb.net Pin
Sonia Gupta9-May-07 19:52
Sonia Gupta9-May-07 19:52 
AnswerRe: days calculation in vb.net Pin
Christian Graus9-May-07 19:55
protectorChristian Graus9-May-07 19:55 
GeneralRe: days calculation in vb.net Pin
Sonia Gupta9-May-07 20:11
Sonia Gupta9-May-07 20:11 
GeneralRe: days calculation in vb.net Pin
Christian Graus9-May-07 20:17
protectorChristian Graus9-May-07 20:17 
GeneralRe: days calculation in vb.net Pin
Sonia Gupta9-May-07 20:22
Sonia Gupta9-May-07 20:22 
Questionmultiple graphs Pin
navyasri9-May-07 19:15
navyasri9-May-07 19:15 
AnswerRe: multiple graphs Pin
Christian Graus9-May-07 19:55
protectorChristian Graus9-May-07 19:55 
AnswerRe: multiple graphs Pin
Vivek Narayanan9-May-07 20:01
Vivek Narayanan9-May-07 20:01 
GeneralRe: multiple graphs Pin
Christian Graus9-May-07 20:18
protectorChristian Graus9-May-07 20:18 
QuestionREGEX URGENT !!! Pin
ant1xxx9-May-07 19:02
ant1xxx9-May-07 19:02 
AnswerRe: REGEX URGENT !!! Pin
Christian Graus9-May-07 19:06
protectorChristian Graus9-May-07 19:06 
GeneralRe: REGEX URGENT !!! Pin
ant1xxx10-May-07 1:54
ant1xxx10-May-07 1:54 
QuestionWin API in vb Pin
aamn19-May-07 18:37
aamn19-May-07 18:37 
AnswerRe: Win API in vb Pin
Christian Graus9-May-07 19:03
protectorChristian Graus9-May-07 19:03 

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.