Click here to Skip to main content
15,885,782 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionPre-requisites for email program Pin
Uma Kameswari18-Jan-11 19:42
Uma Kameswari18-Jan-11 19:42 
AnswerRe: Pre-requisites for email program Pin
Dave Kreskowiak19-Jan-11 2:20
mveDave Kreskowiak19-Jan-11 2:20 
GeneralRe: Pre-requisites for email program Pin
Uma Kameswari24-Jan-11 18:28
Uma Kameswari24-Jan-11 18:28 
AnswerRe: Pre-requisites for email program Pin
_Erik_19-Jan-11 5:29
_Erik_19-Jan-11 5:29 
QuestionCHM html help called from VB6 application works but can't be searched [modified] Pin
reto.knaak14-Jan-11 4:02
reto.knaak14-Jan-11 4:02 
QuestionCommunication between VBscript and command prompt window Pin
Tim_abcd14-Jan-11 1:35
Tim_abcd14-Jan-11 1:35 
AnswerRe: Communication between VBscript and command prompt window Pin
Dave Kreskowiak14-Jan-11 3:57
mveDave Kreskowiak14-Jan-11 3:57 
GeneralRe: Communication between VBscript and command prompt window Pin
Tim_abcd15-Jan-11 20:38
Tim_abcd15-Jan-11 20:38 
Thanks for the suggestion about WScript.Exec. I have been trying it out over the last couple of days, initially with not much success, partly due to the fact that I have been unable to find any reasonable documentation on StdOut and StdIn – I could basically only find example bits of code in places like script56.chm and Microsoft Technet, which didn’t work with my application. However after much trial and error, I have basically got it working.

But I couldn’t get StdIn to work at all – it wouldn’t pass keystrokes to my command line program. Hence I have continued to use SendKeys to pass keystrokes to the program, after reading StdOut to determine when to issue the keystrokes. And I have found that I had to introduce a slight delay (Wscript.sleep 100) before issuing the keystrokes – if I didn’t, sometimes it worked and sometimes it didn’t. A disadvantage of Exec compared to Run is that with Exec, the output of the command line program wasn’t displayed in the command window (it is with Run), so I have copied it from StdOut to the window with Wscript.Echo.

Hence I think I have now got the basis for something that should work as I want, although it needs more work. Thanks for your help.
QuestionNumber of files in a folder Pin
Central_IT13-Jan-11 1:48
Central_IT13-Jan-11 1:48 
AnswerRe: Number of files in a folder PinPopular
Luc Pattyn13-Jan-11 1:58
sitebuilderLuc Pattyn13-Jan-11 1:58 
QuestionHow to detect the launched appliction? Pin
azusakt12-Jan-11 15:40
azusakt12-Jan-11 15:40 
AnswerRe: How to detect the launched appliction? PinPopular
Luc Pattyn12-Jan-11 16:21
sitebuilderLuc Pattyn12-Jan-11 16:21 
GeneralRe: How to detect the launched appliction? Pin
azusakt18-Jan-11 17:34
azusakt18-Jan-11 17:34 
AnswerRe: How to detect the launched appliction? Pin
JR21212-Jan-11 22:38
JR21212-Jan-11 22:38 
QuestionVb.Net - ListView - display items Pin
Central_IT12-Jan-11 1:52
Central_IT12-Jan-11 1:52 
AnswerRe: Vb.Net - ListView - display items Pin
Richard MacCutchan12-Jan-11 2:27
mveRichard MacCutchan12-Jan-11 2:27 
AnswerRe: Vb.Net - ListView - display items Pin
Ants Hurdley18-Jan-11 7:11
Ants Hurdley18-Jan-11 7:11 
Questionms access 2007 record selection highlighting problem Pin
sekannak11-Jan-11 19:42
sekannak11-Jan-11 19:42 
AnswerRe: ms access 2007 record selection highlighting problem Pin
ChandraRam12-Jan-11 21:33
ChandraRam12-Jan-11 21:33 
QuestionVBA: Searching for a range in a worksheet. Pin
cyrossis11-Jan-11 4:13
cyrossis11-Jan-11 4:13 
AnswerRe: VBA: Searching for a range in a worksheet. Pin
Simon_Whale11-Jan-11 4:34
Simon_Whale11-Jan-11 4:34 
AnswerRe: VBA: Searching for a range in a worksheet. Pin
Dr.Walt Fair, PE11-Jan-11 9:18
professionalDr.Walt Fair, PE11-Jan-11 9:18 
GeneralRe: VBA: Searching for a range in a worksheet. Pin
Luc Pattyn11-Jan-11 10:07
sitebuilderLuc Pattyn11-Jan-11 10:07 
GeneralRe: VBA: Searching for a range in a worksheet. Pin
Dr.Walt Fair, PE11-Jan-11 10:10
professionalDr.Walt Fair, PE11-Jan-11 10:10 
GeneralRe: VBA: Searching for a range in a worksheet. Pin
cyrossis11-Jan-11 19:24
cyrossis11-Jan-11 19:24 

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.