Click here to Skip to main content
15,890,557 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralSubclassing ListBox Pin
Andy H29-Apr-05 5:05
Andy H29-Apr-05 5:05 
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 
I have never run into this before, maybe you have an answer for me.

I built a script that will send a remote command window to a computer, for the configuration of the Dell Remote Access Card.

Obviously, SERVER, is my variable for the remote computer I want to connect to, and PASSWORD, is my variable for the password I want to set for the account.

The part where I need to use my PASSWORD variable is where I have issues. If I wscript.echo the line back, it is literally putting “ & PASSWORD & “ as my command to be issued. I need my variable PASSWORD in quotes, plus the quote at the end for the command being issued.

------------------------------------------------------------
Set objWMIService = GetObject ("winmgmts:\\" & SERVER & "\root\cimv2:Win32_Process")

errReturn = objWMIService.Create ("cmd /k racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 2 "" & PASSWORD & """, Null, Null, intProcessID)
------------------------------------------------------------

GeneralRe: Vbscript Quote Dilemma Pin
Dave Kreskowiak29-Apr-05 6:10
mveDave Kreskowiak29-Apr-05 6:10 
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 

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.