Click here to Skip to main content
15,897,518 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Capturing/supressing error message Pin
AliAmjad31-Oct-07 5:48
AliAmjad31-Oct-07 5:48 
GeneralRe: Capturing/supressing error message Pin
svanwass31-Oct-07 6:38
svanwass31-Oct-07 6:38 
GeneralRe: Capturing/supressing error message Pin
AliAmjad31-Oct-07 7:01
AliAmjad31-Oct-07 7:01 
AnswerRe: Capturing/supressing error message Pin
Dave Kreskowiak31-Oct-07 6:41
mveDave Kreskowiak31-Oct-07 6:41 
GeneralRe: Capturing/supressing error message Pin
svanwass31-Oct-07 9:59
svanwass31-Oct-07 9:59 
GeneralRe: Capturing/supressing error message Pin
Dave Kreskowiak31-Oct-07 10:13
mveDave Kreskowiak31-Oct-07 10:13 
QuestionUpgrading vb.net 2002 to vb.net 2005 [modified] Pin
gil_be31-Oct-07 3:57
gil_be31-Oct-07 3:57 
QuestionReturning a filename from command prompt. Pin
Support12331-Oct-07 3:50
Support12331-Oct-07 3:50 
Hi all...

I am using the following code: Shell("cmd.exe /c cscript C:\Projects\TEST\FileMonitor.vbs", AppWinStyle.Hide, True, -1) in vb.net

Now... the FileMonitor.vbs section is a vbscript file that contains code to monitor a folder for any new file creations... when it gets the file i can have cmd prompt display the filepath\filename. Is it possible to send this filename\filepath back to vb.net as i run the Shell("cmd.exe /c cscript C:\Projects\TEST\FileMonitor.vbs", AppWinStyle.Hide, True, -1) in vb.net??? I want add this filename into a variable.

Thank you in advance.

"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison

AnswerRe: Returning a filename from command prompt. Pin
svanwass31-Oct-07 5:12
svanwass31-Oct-07 5:12 
GeneralRe: Returning a filename from command prompt. Pin
Support12331-Oct-07 5:23
Support12331-Oct-07 5:23 
GeneralRe: Returning a filename from command prompt. Pin
svanwass31-Oct-07 5:45
svanwass31-Oct-07 5:45 
AnswerRe: Returning a filename from command prompt. Pin
Dave Kreskowiak31-Oct-07 6:38
mveDave Kreskowiak31-Oct-07 6:38 
GeneralRe: Returning a filename from command prompt. Pin
Mycroft Holmes31-Oct-07 23:21
professionalMycroft Holmes31-Oct-07 23:21 
GeneralRe: Returning a filename from command prompt. Pin
Dave Kreskowiak1-Nov-07 1:45
mveDave Kreskowiak1-Nov-07 1:45 
QuestionHow pass an event to a sub Pin
Narenge31-Oct-07 3:37
Narenge31-Oct-07 3:37 
AnswerRe: How pass an event to a sub Pin
svanwass31-Oct-07 5:13
svanwass31-Oct-07 5:13 
AnswerRe: How pass an event to a sub Pin
AliAmjad31-Oct-07 5:13
AliAmjad31-Oct-07 5:13 
AnswerRe: How pass an event to a sub Pin
Dave Kreskowiak31-Oct-07 6:32
mveDave Kreskowiak31-Oct-07 6:32 
AnswerRe: How pass an event to a sub Pin
Narenge31-Oct-07 12:25
Narenge31-Oct-07 12:25 
Questionconnecting an Access database to visual basic.net 2005 Pin
Ian Wells31-Oct-07 2:21
Ian Wells31-Oct-07 2:21 
AnswerRe: connecting an Access database to visual basic.net 2005 Pin
svanwass31-Oct-07 5:30
svanwass31-Oct-07 5:30 
Questionneed help with vb.net and active directory. Pin
kingpin200531-Oct-07 2:17
kingpin200531-Oct-07 2:17 
AnswerRe: need help with vb.net and active directory. Pin
Dave Kreskowiak31-Oct-07 6:13
mveDave Kreskowiak31-Oct-07 6:13 
GeneralRe: need help with vb.net and active directory. Pin
kingpin200531-Oct-07 21:53
kingpin200531-Oct-07 21:53 
QuestionArray - Structure problem Pin
Benny_Lava31-Oct-07 0:38
Benny_Lava31-Oct-07 0:38 

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.