Click here to Skip to main content
15,887,302 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to disable automatic stop on window service ? Pin
manhlinhhmt21824-Nov-09 21:25
manhlinhhmt21824-Nov-09 21:25 
AnswerRe: How to disable automatic stop on window service ? Pin
David Skelly24-Nov-09 22:50
David Skelly24-Nov-09 22:50 
AnswerRe: How to disable automatic stop on window service ? Pin
Shameel24-Nov-09 23:27
professionalShameel24-Nov-09 23:27 
QuestionReportviewer stoped working... [modified] - Solved 11/25/2009 Pin
alexvw24-Nov-09 14:22
alexvw24-Nov-09 14:22 
AnswerRe: Reportviewer stoped working... Pin
Johan Hakkesteegt24-Nov-09 23:27
Johan Hakkesteegt24-Nov-09 23:27 
GeneralRe: Reportviewer stoped working... Pin
alexvw25-Nov-09 11:49
alexvw25-Nov-09 11:49 
QuestionMy VB6 sucks - what is this? Array("hello") Pin
gvanto24-Nov-09 14:04
gvanto24-Nov-09 14:04 
AnswerRe: My VB6 sucks - what is this? Array("hello") Pin
Johan Hakkesteegt24-Nov-09 21:50
Johan Hakkesteegt24-Nov-09 21:50 
From you personal comment I glean that this is legacy code, so I won't ask why you're messing about with VB6 still.

Without seeing all the relevant code, my guess is that this line breaks down as follows:
vUsers is a string that should hold a user's name ?
m_ObjUser is a custom object or class, that holds methods to get data about a user ?
.Retrieve(TheUserCode, SomeIntegerDeterminingSomething) is a method that gets the user's name based on his code ?
Array("UserCode") is an array that has a named index ("UserCode") which holds and returns the user's code. Although it seems a bit strange that that syntax would return anything.

You could just put MsgBox(Array("UserCode")) just before the line you posted, and see what it says.

The user code can end up in this array in any of a million ways. In other words just use the search function of your editor, and find out when / where this Array("UserCode") is created and/or gets populated.

My advice is free, and you may get what you paid for.

AnswerRe: My VB6 sucks - what is this? Array("hello") Pin
Shameel24-Nov-09 23:30
professionalShameel24-Nov-09 23:30 
AnswerRe: My VB6 sucks - what is this? Array("hello") Pin
Dave Doknjas25-Nov-09 11:15
Dave Doknjas25-Nov-09 11:15 
Questiontextbox tab highlight text Pin
PAguilar0924-Nov-09 12:52
PAguilar0924-Nov-09 12:52 
AnswerRe: textbox tab highlight text Pin
Luc Pattyn24-Nov-09 13:48
sitebuilderLuc Pattyn24-Nov-09 13:48 
GeneralRe: textbox tab highlight text Pin
PAguilar0924-Nov-09 14:04
PAguilar0924-Nov-09 14:04 
GeneralRe: textbox tab highlight text Pin
Luc Pattyn24-Nov-09 14:42
sitebuilderLuc Pattyn24-Nov-09 14:42 
Questionmodify a Variable in a specific line in a text file Pin
IvanIT24-Nov-09 7:14
IvanIT24-Nov-09 7:14 
AnswerRe: modify a Variable in a specific line in a text file Pin
Dave Kreskowiak24-Nov-09 7:25
mveDave Kreskowiak24-Nov-09 7:25 
GeneralRe: modify a Variable in a specific line in a text file Pin
EliottA24-Nov-09 7:56
EliottA24-Nov-09 7:56 
GeneralRe: modify a Variable in a specific line in a text file Pin
Dave Kreskowiak24-Nov-09 9:40
mveDave Kreskowiak24-Nov-09 9:40 
AnswerRe: modify a Variable in a specific line in a text file Pin
Luc Pattyn24-Nov-09 10:39
sitebuilderLuc Pattyn24-Nov-09 10:39 
GeneralRe: modify a Variable in a specific line in a text file [modified] Pin
IvanIT25-Nov-09 3:30
IvanIT25-Nov-09 3:30 
GeneralRe: modify a Variable in a specific line in a text file Pin
IvanIT25-Nov-09 6:26
IvanIT25-Nov-09 6:26 
GeneralRe: modify a Variable in a specific line in a text file Pin
Luc Pattyn25-Nov-09 6:28
sitebuilderLuc Pattyn25-Nov-09 6:28 
GeneralRe: modify a Variable in a specific line in a text file Pin
IvanIT30-Nov-09 5:24
IvanIT30-Nov-09 5:24 
GeneralRe: modify a Variable in a specific line in a text file Pin
Luc Pattyn30-Nov-09 5:38
sitebuilderLuc Pattyn30-Nov-09 5:38 
QuestionErasing GraphicsPath Pin
O.G.I.24-Nov-09 4:26
O.G.I.24-Nov-09 4:26 

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.