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...
I have two files that contain a bunch of SQL statments. I need to run them through a Java class. Problem is that I can't figure out a way to run a script file through the JDBC. One file contains create statments and the other has insert statments. I have tried to read the files into a string...
thanks for the sites, I'll take a look at them.
Does anyone know how I could run a script file through the JDBC??? I have two files that I want to run. In mySQL i use the \. is there a way that I can run this through JDBC?
Oh also this is ther error that I have been getting. It def has to do with the \. command that I am trying to run.
Problem with JDBC : java.sql.SQLException: [MySQL][ODBC 3.51 Driver][mysqld-4.1.7-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server...
1. I am aware that using the connector/J driver would be better than using the ODBC, but using the ODBC is what was decided on (not by me).
2. I am new to Java, very new as in just started yesterday. I was a little confused with the huge amount of objects, and have had difficutly finding object...
I am trying to connect to a mySQL database.I set it up on the ODBC after installing myODBC. I am attempting to dump all the tables in the database through a executequery command and than attempting to run a script with the \. command. Here is my code, but for some rerason I am running into...
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.