Click here to Skip to main content
15,914,419 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalsend information to external application Pin
22-May-04 9:51
suss22-May-04 9:51 
GeneralRe: send information to external application Pin
Member 111855022-May-04 17:47
Member 111855022-May-04 17:47 
GeneralRe: send information to external application Pin
Charlie Williams22-May-04 18:46
Charlie Williams22-May-04 18:46 
GeneralRe: send information to external application Pin
Member 111855023-May-04 8:33
Member 111855023-May-04 8:33 
GeneralRe: send information to external application Pin
Charlie Williams23-May-04 8:42
Charlie Williams23-May-04 8:42 
GeneralRe: send information to external application Pin
Member 111855023-May-04 9:10
Member 111855023-May-04 9:10 
GeneralRe: send information to external application Pin
Charlie Williams23-May-04 9:20
Charlie Williams23-May-04 9:20 
GeneralRe: send information to external application [EDITED] Pin
Dave Kreskowiak23-May-04 16:18
mveDave Kreskowiak23-May-04 16:18 
You will probably have to import the Microsoft.VisualBasic namespace at the top of your code:
Imports Microsoft.VisualBasic


Also, you will find that this method has its problems. Your user CANNOT click anywhere on the user interface and another application must not open another windows (like in a login script) while the code for AppActiveate and SendKeys is running. Doing so will send the keystrokes to an unintended destination window and your control attempt will fail.

[EDIT]
Oops! Wrong recipient! Sorry! Blush | :O

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

GeneralRe: send information to external application Pin
Dave Kreskowiak23-May-04 16:32
mveDave Kreskowiak23-May-04 16:32 
GeneralRe: compare Cells Pin
Dave Kreskowiak24-May-04 2:48
mveDave Kreskowiak24-May-04 2:48 
GeneralRe: opening a file VB style Pin
WBro22-May-04 2:05
WBro22-May-04 2:05 
GeneralRe: opening a file VB style Pin
Dave Kreskowiak22-May-04 3:19
mveDave Kreskowiak22-May-04 3:19 
GeneralWorkstation Locked Pin
WBro21-May-04 20:50
WBro21-May-04 20:50 
GeneralRe: Workstation Locked Pin
Dave Kreskowiak22-May-04 3:36
mveDave Kreskowiak22-May-04 3:36 
GeneralData Traffic Analyzer in VB Pin
shals16921-May-04 19:41
shals16921-May-04 19:41 
GeneralRe: Data Traffic Analyzer in VB Pin
Dave Kreskowiak22-May-04 3:14
mveDave Kreskowiak22-May-04 3:14 
GeneralProgram Security Pin
Pugman81221-May-04 12:48
Pugman81221-May-04 12:48 
GeneralRe: Program Security Pin
WBro21-May-04 21:03
WBro21-May-04 21:03 
GeneralVector image file Pin
Sijohall21-May-04 11:18
Sijohall21-May-04 11:18 
GeneralRe: Vector image file Pin
Dave Kreskowiak21-May-04 11:45
mveDave Kreskowiak21-May-04 11:45 
GeneralNumber of Rows on Datagrid (Windows Form) Pin
Anonymous21-May-04 8:29
Anonymous21-May-04 8:29 
GeneralRe: Number of Rows on Datagrid (Windows Form) Pin
Dave Kreskowiak21-May-04 9:40
mveDave Kreskowiak21-May-04 9:40 
Generalsend html/plain text email Pin
Xun Ding21-May-04 5:18
Xun Ding21-May-04 5:18 
GeneralRe: send html/plain text email Pin
Dave Kreskowiak21-May-04 9:31
mveDave Kreskowiak21-May-04 9:31 
GeneralRe: send html/plain text email Pin
Xun Ding21-May-04 9:58
Xun Ding21-May-04 9:58 

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.