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

Am tring to use the code from the playground 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?

Copenhagen / Denmark
Offline Offline
Edison Member
Karma: 6
Posts: 2360
Do it !
View Profile
 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:

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.

Pages: [1]   Go Up
Jump to: