Automatically set Domain when using Remote Desktop Web Connection?

M

Martin Emanuelsson

Hi all!

I have downloaded and installed the Remote Desktop Web Connection (RDWC)
from Microsoft Download Center to my computer (Windows 2000 Server).

The reason why I'm posting to these newsgroups is that I am using the
demopage default.htm which came with the RDWC to automatically open the RDWC
when entering a certain url. The querystring looks something like this:

http://localhost/TSWeb/default.htm?AutoConnect=1&Server=servername

This opens the RDWC without having to choose server, resolution and stuff
like that, which is a step that I want to avoid.

Now I've tried doing one small change to automatically select a Domain when
RDWC opens. The problem that I'm experiencing is that when I, in the code,
write this code:

MsRdpClient.UserName = ""
MsRdpClient.Domain = "USERS"

the Remote Desktop Web Connection doesn't care about the Domain name that
I've entered. But if add a letter or just a "space" in the UserName-row,
like this:

MsRdpClient.UserName = " "
MsRdpClient.Domain = "USERS"

it works. Why is it like this?? Does anyone know??

Hope that someone can help me out.

/Martin
 
M

Mark Mancini

take a look at the source at applauncher.com in the demo section and see
what we did.
 
M

Martin Emanuelsson

I appreciate that you take your time answering my posting but I would really
appreciate getting an answer to my question rather than having to look at
applauncher.com, trying to find an answer, which I haven't. So, do you have
an answer and/or a solution to my question, please let me know.

/Martin
 

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