Click here to Skip to main content
16,004,991 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: DirectX, Video Capturing??? Pin
Dave Kreskowiak3-Oct-05 12:16
mveDave Kreskowiak3-Oct-05 12:16 
GeneralRe: DirectX, Video Capturing??? Pin
Kunal Shetye3-Oct-05 17:14
Kunal Shetye3-Oct-05 17:14 
GeneralRe: DirectX, Video Capturing??? Pin
Dave Kreskowiak6-Oct-05 11:45
mveDave Kreskowiak6-Oct-05 11:45 
Questiontravelling salesman problem Pin
2-Oct-05 18:08
suss2-Oct-05 18:08 
AnswerRe: travelling salesman problem Pin
Dave Kreskowiak2-Oct-05 19:15
mveDave Kreskowiak2-Oct-05 19:15 
QuestionNeed advice on best ways to launch and control another application. Pin
Meanderthal2-Oct-05 16:07
Meanderthal2-Oct-05 16:07 
AnswerRe: Need advice on best ways to launch and control another application. Pin
StylezHouse2-Oct-05 18:08
StylezHouse2-Oct-05 18:08 
AnswerRe: Need advice on best ways to launch and control another application. Pin
Kunal Shetye2-Oct-05 20:06
Kunal Shetye2-Oct-05 20:06 
Well you could use EnumWindows to get the list of all top level windows.

Then you could use EnumChildWindows to get the list of the child compoments inside the parent.

Since you are posting this in VB section i am asuming that you are using VB, then you can use AppActivate to set focus on the window and then SendKeys to send the keys to the window Big Grin | :-D

To run an application you can use the Shell function which returns the process id if the program is running.

-------------------------------------------
Taken From MSDN 2003
-------------------------------------------
'Example
AppActivate("Untitled - Notepad")
SendKeys.SendWait("Hello world!")
' Send Ctrl S to open the Save As dialog box.
SendKeys.SendWait("^S")
' Send the name of the new file.
SendKeys.SendWait("c:\HelloWorld.txt")
' Send Alt S to save the file.
SendKeys.SendWait("%S")
-------------------------------------------

I hope the above helps Smile | :)

Life Is A Cipher Substituting "happiness" with "sadness" and Transforming "pleasure" into "pain"
GeneralRe: Need advice on best ways to launch and control another application. Pin
StylezHouse3-Oct-05 4:12
StylezHouse3-Oct-05 4:12 
GeneralRe: Need advice on best ways to launch and control another application. Pin
Meanderthal4-Oct-05 13:44
Meanderthal4-Oct-05 13:44 
QuestionConverting vb6 to vb.net Pin
ido2332-Oct-05 11:36
ido2332-Oct-05 11:36 
AnswerRe: Converting vb6 to vb.net Pin
Dave Doknjas2-Oct-05 16:21
Dave Doknjas2-Oct-05 16:21 
GeneralRe: Converting vb6 to vb.net Pin
Dave Doknjas2-Oct-05 16:23
Dave Doknjas2-Oct-05 16:23 
Questionhellow world Pin
vbcodetoday2-Oct-05 7:32
vbcodetoday2-Oct-05 7:32 
AnswerRe: hellow world Pin
Dave Kreskowiak2-Oct-05 8:42
mveDave Kreskowiak2-Oct-05 8:42 
QuestionCode Problem Pin
| Muhammad Waqas Butt |1-Oct-05 23:41
professional| Muhammad Waqas Butt |1-Oct-05 23:41 
Questionvideo conferencing HELP!! Pin
lobsterlord1-Oct-05 20:41
lobsterlord1-Oct-05 20:41 
Question[Message Deleted] Pin
vbcodetoday1-Oct-05 20:35
vbcodetoday1-Oct-05 20:35 
AnswerRe: trackbar2 Pin
Dave Kreskowiak2-Oct-05 2:14
mveDave Kreskowiak2-Oct-05 2:14 
Question[Message Deleted] Pin
vbcodetoday1-Oct-05 20:26
vbcodetoday1-Oct-05 20:26 
AnswerRe: trackbar Pin
Dave Kreskowiak2-Oct-05 2:13
mveDave Kreskowiak2-Oct-05 2:13 
GeneralRe: trackbar Pin
vbcodetoday2-Oct-05 7:26
vbcodetoday2-Oct-05 7:26 
GeneralRe: trackbar Pin
Dave Kreskowiak2-Oct-05 8:41
mveDave Kreskowiak2-Oct-05 8:41 
GeneralRe: trackbar Pin
vbcodetoday2-Oct-05 17:10
vbcodetoday2-Oct-05 17:10 
GeneralRe: trackbar Pin
watagal3-Oct-05 4:10
watagal3-Oct-05 4:10 

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.