That does work, thank you Salem. That was easy enough haha.
Also if anyone was paying attention to my post, the no semi colon issue(issue #2) that I mentioned, is not an issue the semi colon is not needed.
Hello. I am trying to stub out a command that is used for a Sharc board using visual DSP. Being familiar with these two products is probably not necessary to know the answer to my question (if possible). For memory mapping a
section("<some memory segment>")
command is used. This command is...
I am trying to compile a .cpp file but I am getting the following error:
(1782): fatal error C1010: unexpected end of file while looking for precompiled header directive
Any ideas why I would be getting this error message? My head file is included and resides in the same directory.
The problem with the Worksheet_SelectionChange is that I want the user to be able to decide if they want to run the macro or not. The macro is called from a toolbar button, the user highlights some cells and clicks the toolbar button to run the macro on those selected cells.
In terms of the...
I am trying to write a little macro that can get the range of the cells in which the user has selected. Is there a built in method for this? The ActiveCell won't work because it has to be a selection.
I have two Date and Time Picker ActiveX controls on a form. When trying to set the current date to them when the form is loaded I get "Property is Read Only". I can't figure out any setting that would cause this. Any ideas?
It worked! Why did that work if you do not mind me asking? I have heard of it and know it has to do with the command interpreter, but would never of thought to use it for this issue.
CmdString = "for %h in (PJLAP PJlap2) do xcopy ""\\server1\Program Files\test dir\bin\cmn\file1.txt"" " _
+ " ""\\%h\Program Files\test dir\bin\cmn\file1.txt"" /r /y"
WshShell.Run CmdString,0,true
If I put this command directly in the command prompt exactly as show above it works...
Is there a buffer size for the command paramter of the run command. I am trying to run a command that works on one computer, but will not work on another. The command is similiar to the following.
cmd="for %h in (compname) do xcopy ""\\somepath"" ""\\somepath"" /r /y"
Sorry I do not have the...
I am writing a script that calls another script. The script works fine but if the called script does not work correctly it will throw an error and than the calling script will continue to run. I wan the calling script to somehow throw an error if one of the called scripts produces and error
I...
I am trying to change some environment variables with vbscript. I know I can view the values of environment variables using wscript.shell, can I change them with this object as well??
Yup, even took out all but one statement, which was one one line, which worked. Than added one more command and it wouldn't work. Still same thing. I know it is not a good method, but I just ended up looking through the file and after each readline executeUpdate on the line, which works...
I am using MySQL, so I cannot create stored procedures(Version 5.0 has them, but that is a current Alpha release). I wish it did because that would make things much easier. I tried the above executeBatch() method, but It give me back an error saying that I have a syntax error with my command(SQL...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.