Pages: [1]   Go Down
Author Topic: VBScript with Windows 7  (Read 755 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 1
Posts: 64
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

G'Day
Am tring to use the code from the playground timewitharduino.blogspot.com/2009/05/getting-arduino-to-write-to-or-read.html to record the serial from my Uno. But I get a permission denied on the line: -
Set com = fso.OpenTextFile("COM6:9600,N,8,1", ForReading)
Have admin previlages. Also get a different error if the UNO is not plugged it, so at least getting somewhere.
Any ideas?
 
Logged

Copenhagen / Denmark
Offline Offline
Edison Member
*
Karma: 6
Posts: 2360
Do it !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Even if you have admin privileges, sometimes things won't run unless you use the "run as administrator" trick:

http://www.sevenforums.com/tutorials/11841-run-administrator.html

The reason you get a different error when Arduino is not plugged in, is because the serial port is only there when the Arduino board is plugged into the PC's USB port. So as soon as you unplug the Arduino board Window can not see the port.
Logged

Pages: [1]   Go Up
Jump to: