Click here to Skip to main content
15,912,493 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralBuild a cumbersome SQL String Pin
Joe Contreras29-Apr-05 3:25
sussJoe Contreras29-Apr-05 3:25 
GeneralSubscript out of range in vb6 Pin
husman29-Apr-05 2:49
husman29-Apr-05 2:49 
GeneralRe: Subscript out of range in vb6 Pin
Fernando Soto29-Apr-05 6:19
Fernando Soto29-Apr-05 6:19 
GeneralRe: Subscript out of range in vb6 Pin
Dave Kreskowiak29-Apr-05 6:26
mveDave Kreskowiak29-Apr-05 6:26 
GeneralRe: Subscript out of range in vb6 Pin
Fernando Soto29-Apr-05 6:41
Fernando Soto29-Apr-05 6:41 
GeneralRe: Subscript out of range in vb6 Pin
Dave Kreskowiak29-Apr-05 6:22
mveDave Kreskowiak29-Apr-05 6:22 
GeneralVbscript Quote Dilemma Pin
Anonymous29-Apr-05 2:38
Anonymous29-Apr-05 2:38 
GeneralRe: Vbscript Quote Dilemma Pin
Dave Kreskowiak29-Apr-05 6:10
mveDave Kreskowiak29-Apr-05 6:10 
Your line should read like this: (watch VERY carefully!)
errReturn = objWMIService.Create ("cmd /k racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 2 """ & PASSWORD & """, Null, Null, intProcessID)

Three quotes on both sides of the PASSSWORD injection. The first two quotes translate to a literal " character in the string. The next quote will terminate the literal string. Then, of course, your PASSWORD string gets appended. The the first quote starts a new string literal, the first character of which is a ", represented by the two quotes characters immediately following each other.




RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionHow to fetch primary key field Pin
Suman Singh29-Apr-05 0:40
professionalSuman Singh29-Apr-05 0:40 
AnswerRe: How to fetch primary key field Pin
Colin Angus Mackay29-Apr-05 2:05
Colin Angus Mackay29-Apr-05 2:05 
GeneralRe: How to fetch primary key field Pin
Suman Singh5-May-05 3:55
professionalSuman Singh5-May-05 3:55 
GeneralRe: How to fetch primary key field Pin
Colin Angus Mackay5-May-05 4:14
Colin Angus Mackay5-May-05 4:14 
GeneralRe: How to fetch primary key field Pin
Suman Singh6-May-05 8:26
professionalSuman Singh6-May-05 8:26 
GeneralRefreshing graphics with GDI+ Pin
leoprex28-Apr-05 23:34
leoprex28-Apr-05 23:34 
GeneralSMS Pin
Anonymous28-Apr-05 17:16
Anonymous28-Apr-05 17:16 
GeneralRe: SMS Pin
Dave Kreskowiak29-Apr-05 2:05
mveDave Kreskowiak29-Apr-05 2:05 
GeneralIntegrate AppConfig file Pin
Joey Picerno28-Apr-05 16:55
Joey Picerno28-Apr-05 16:55 
GeneralRe: Integrate AppConfig file Pin
rudy.net28-Apr-05 18:13
rudy.net28-Apr-05 18:13 
GeneralRe: Integrate AppConfig file Pin
Len Miller28-Apr-05 19:56
Len Miller28-Apr-05 19:56 
GeneralRe: Integrate AppConfig file Pin
Het210928-Apr-05 20:45
Het210928-Apr-05 20:45 
GeneralStreaming Media using Windows Media PLayer Pin
vishalmishra28-Apr-05 14:32
vishalmishra28-Apr-05 14:32 
GeneralShell.Application not returning all windows Pin
Asad Hussain28-Apr-05 10:40
Asad Hussain28-Apr-05 10:40 
GeneralRe: Shell.Application not returning all windows Pin
Dave Kreskowiak29-Apr-05 6:04
mveDave Kreskowiak29-Apr-05 6:04 
Questionsite templating... how? Pin
cavall28-Apr-05 9:35
cavall28-Apr-05 9:35 
AnswerRe: site templating... how? Pin
Dave Kreskowiak29-Apr-05 2:02
mveDave Kreskowiak29-Apr-05 2:02 

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.