Help using API.

T

teejayem

Hi,
I am new to using API's and am wondering if there are any good
tutorials out there that explain how to use api's to control/change
external applications in vb.net.

Also if someone could help and explain to me how to do the following I
would be extremely greatful.

I have a button on my main form and I would like it to launch Remote
Desktop and pre-type a computer name in the Remote Desktop Computer
field.

Many thanks for your time in advance.

Tom.
 
M

Mattias Sjögren

I am new to using API's and am wondering if there are any good
tutorials out there that explain how to use api's to control/change
external applications in vb.net.

It depends on what kind of hanges you want to do and which application
it is. Some apps have automation APIs that make the whole thing a lot
easier.

I have a button on my main form and I would like it to launch Remote
Desktop and pre-type a computer name in the Remote Desktop Computer
field.

There may be RD APIs that I'm not aware of. But a fairly simple way to
accomplish it would be to create a temporary .rdp file (which is just
a text file) and launch it with Process.Start. It should work as long
as the file associations are set up correctly.


Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top