 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Link RDP in Microsoft Access to click computer name to remote control</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/link-rdp-in-microsoft-access-to-click-computer-name-to-remote-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/link-rdp-in-microsoft-access-to-click-computer-name-to-remote-control/</link>
	<description></description>
	<lastBuildDate>Sat, 25 May 2013 05:16:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: maxwellafb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/link-rdp-in-microsoft-access-to-click-computer-name-to-remote-control/#comment-102889</link>
		<dc:creator>maxwellafb</dc:creator>
		<pubDate>Tue, 14 Feb 2012 19:06:57 +0000</pubDate>
		<guid isPermaLink="false">#comment-102889</guid>
		<description><![CDATA[OK, I could not have done this at all without you guys!

However, I figured out what was wrong.

Here is what my final code looks like:
&lt;pre&gt;
Private Sub RDP_Click()
Shell (&quot;mstsc.exe /v:&quot; &amp; Device_Name)
End Sub
&lt;/pre&gt;

It seems I didn&#039;t need to specify the form since I was already on it, and just needed to specifiy the field.

Also, the V: does need the colon, as if you do a help on mstsc you&#039;ll note some qualifiers use colons and others don&#039;t.

However, you guys are great and I could not have figured this out without your guidance. Thank you so much!  I really appreciate it!]]></description>
		<content:encoded><![CDATA[<p>OK, I could not have done this at all without you guys!</p>
<p>However, I figured out what was wrong.</p>
<p>Here is what my final code looks like:</p>
<pre>
Private Sub RDP_Click()
Shell ("mstsc.exe /v:" &amp; Device_Name)
End Sub
</pre>
<p>It seems I didn&#8217;t need to specify the form since I was already on it, and just needed to specifiy the field.</p>
<p>Also, the V: does need the colon, as if you do a help on mstsc you&#8217;ll note some qualifiers use colons and others don&#8217;t.</p>
<p>However, you guys are great and I could not have figured this out without your guidance. Thank you so much!  I really appreciate it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mgj</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/link-rdp-in-microsoft-access-to-click-computer-name-to-remote-control/#comment-102886</link>
		<dc:creator>mgj</dc:creator>
		<pubDate>Tue, 14 Feb 2012 17:13:58 +0000</pubDate>
		<guid isPermaLink="false">#comment-102886</guid>
		<description><![CDATA[Thanks OrangeHat; Sometimes I get too busy to follow up promptly.]]></description>
		<content:encoded><![CDATA[<p>Thanks OrangeHat; Sometimes I get too busy to follow up promptly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mgj</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/link-rdp-in-microsoft-access-to-click-computer-name-to-remote-control/#comment-102885</link>
		<dc:creator>mgj</dc:creator>
		<pubDate>Tue, 14 Feb 2012 17:07:29 +0000</pubDate>
		<guid isPermaLink="false">#comment-102885</guid>
		<description><![CDATA[you seem to have a colon rather than a space after the &#039;v&#039;??  v is just a command line switch indicating that what follows after the space will be the host name.]]></description>
		<content:encoded><![CDATA[<p>you seem to have a colon rather than a space after the &#8216;v&#8217;??  v is just a command line switch indicating that what follows after the space will be the host name.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maxwellafb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/link-rdp-in-microsoft-access-to-click-computer-name-to-remote-control/#comment-102880</link>
		<dc:creator>maxwellafb</dc:creator>
		<pubDate>Tue, 14 Feb 2012 13:57:55 +0000</pubDate>
		<guid isPermaLink="false">#comment-102880</guid>
		<description><![CDATA[Orangehat (and Mgi if you are still watching),

Thanks for the reply.  I really do appreciate you taking the time to help me out.

I must be slow.  Here is what I have and what I did.

My form is named -  Inventory
The field is the table is named  -  Device_Name

Here is what I did (I named my button RDP)

&lt;pre&gt;
Private Sub RDP_Click()
Shell (&quot;mstsc.exe /v:&quot; &amp; Inventory.Device Name)
End Sub
&lt;/pre&gt;

When I run the code I get a Complie Error: Syntax Error.

It highlights the Shell (&quot;mstsc.exe /v:&quot; &amp; Inventory.Device Name) line.

When I click in the line it highlights Name and gives the following:

Compile error: Expected: list separator or ).

What am I doing wrong?]]></description>
		<content:encoded><![CDATA[<p>Orangehat (and Mgi if you are still watching),</p>
<p>Thanks for the reply.  I really do appreciate you taking the time to help me out.</p>
<p>I must be slow.  Here is what I have and what I did.</p>
<p>My form is named &#8211;  Inventory<br />
The field is the table is named  &#8211;  Device_Name</p>
<p>Here is what I did (I named my button RDP)</p>
<pre>
Private Sub RDP_Click()
Shell ("mstsc.exe /v:" &amp; Inventory.Device Name)
End Sub
</pre>
<p>When I run the code I get a Complie Error: Syntax Error.</p>
<p>It highlights the Shell (&#8220;mstsc.exe /v:&#8221; &amp; Inventory.Device Name) line.</p>
<p>When I click in the line it highlights Name and gives the following:</p>
<p>Compile error: Expected: list separator or ).</p>
<p>What am I doing wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: orangehat</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/link-rdp-in-microsoft-access-to-click-computer-name-to-remote-control/#comment-102846</link>
		<dc:creator>orangehat</dc:creator>
		<pubDate>Mon, 13 Feb 2012 23:06:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-102846</guid>
		<description><![CDATA[Yes. Mgi has the correct idea. Here I just cut the code down for a click of a defined button called Command6. me.field references the current form and field is called field2
Private Sub Command6_Click()
Shell (&quot;mstsc.exe /v:&quot; &amp; Me.Field 2)
End Sub]]></description>
		<content:encoded><![CDATA[<p>Yes. Mgi has the correct idea. Here I just cut the code down for a click of a defined button called Command6. me.field references the current form and field is called field2<br />
Private Sub Command6_Click()<br />
Shell (&#8220;mstsc.exe /v:&#8221; &amp; Me.Field 2)<br />
End Sub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maxwellafb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/link-rdp-in-microsoft-access-to-click-computer-name-to-remote-control/#comment-102843</link>
		<dc:creator>maxwellafb</dc:creator>
		<pubDate>Mon, 13 Feb 2012 19:18:18 +0000</pubDate>
		<guid isPermaLink="false">#comment-102843</guid>
		<description><![CDATA[Ok, I tried but failed.

On SomeControl.SetFocus I&#039;m thinking this is the field in the form, correct?

Not sure about the Somecontrol.Text

Would like to discuss further, as obviously I&#039;m just not a coder!

Thanks!]]></description>
		<content:encoded><![CDATA[<p>Ok, I tried but failed.</p>
<p>On SomeControl.SetFocus I&#8217;m thinking this is the field in the form, correct?</p>
<p>Not sure about the Somecontrol.Text</p>
<p>Would like to discuss further, as obviously I&#8217;m just not a coder!</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mgj</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/link-rdp-in-microsoft-access-to-click-computer-name-to-remote-control/#comment-102842</link>
		<dc:creator>mgj</dc:creator>
		<pubDate>Mon, 13 Feb 2012 18:45:12 +0000</pubDate>
		<guid isPermaLink="false">#comment-102842</guid>
		<description><![CDATA[Here is a vba example that seems to work on my local client:
&lt;pre&gt;
Private Sub cmdRunApp_Click()
On Error GoTo Err_cmdRunApp_Click

    SomeControl.SetFocus
    Call Shell(&quot;mstsc.exe /v &quot; &amp; SomeControl.Text)

Exit_cmdRunApp_Click:
    Exit Sub

Err_cmdRunApp_Click:
    MsgBox Err.Description
    Resume Exit_cmdRunApp_Click
    
End Sub
&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>Here is a vba example that seems to work on my local client:</p>
<pre>
Private Sub cmdRunApp_Click()
On Error GoTo Err_cmdRunApp_Click

    SomeControl.SetFocus
    Call Shell("mstsc.exe /v " &amp; SomeControl.Text)

Exit_cmdRunApp_Click:
    Exit Sub

Err_cmdRunApp_Click:
    MsgBox Err.Description
    Resume Exit_cmdRunApp_Click
    
End Sub
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/8 queries in 0.011 seconds using memcached
Object Caching 353/354 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-25 07:16:13 -->