I actually found out what the problem was. We have another program that was monitoring the folders and opening files to read their contents and never closing them. I felt really stupid when I found...
Type: Posts; User: Dubya007
I actually found out what the problem was. We have another program that was monitoring the folders and opening files to read their contents and never closing them. I felt really stupid when I found...
I didn't program all of that so, I can't honestly tell you why there are forward slashes. LOL. I just noticed that as well...
That probably wouldn't have anything to do with the file permission...
I have checked the file folder permissions about 100 times to make sure that is not the problem. The error line is here:
Set OrderFile = OrderFSO.CreateTextFile(strOutputFile2, TRUE)
If after...
I have a script that will fire once an hour. In this script txt files are created. The next time the script fires, it may or may not create another file (with the same name). However I am getting an...
I am working with classic ASP (not by choice) and I am attempting to create a Log File for each day of operation.
First I check to make sure that the file exists
If it does then I open the file...
So I'm using SOAP to pull info from a website. I'm getting a response and that works fine. However I'd like to know how to format the response.
Set xmlhttp =...
okay that is great. Is there an example somewhere of moving files?
The permissions would be set in IIS correct?
Is it possible to move a file from one folder to another via classic ASP??
That worked. However I now have a new problem with it.
I have to loop through a tab delimited file and make sure that the DB names that are submitted are actually DB's.
My code is below (most of it...
I'm attempting to write a function that will catch the following error
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open...
Is there an ASP version of php function fgetcsv. I've looked and cant seem to find one.
I'm a little unclear as to how to get the weight actually show up on the form now. (sorry I've not programmed like this in years)
Which sub or function will i have to call in order to accomplish...
The Units then I won't need either so that I can just pull what ever the scale says.
Also what is ledMotion?
meter1 isn't needed then if all i want to do is read the value into a textbox right?
Okay next question
There are a few variables that are underlined because they aren't declared. I've gone through the code to see where they need to be declared but I'm kinda lost on some of them,
...
Awesome Thanks. Do i have to add a serial port object?
That would certainly be helpful if you could post that code.
Actually I think that if you example just shows data as it is recieved then in theory it would be real-time correct? so I were to put something on the scale it should automatically update in the...
That worked great! Thank you so much for the fast answer.
Here is my final Code.
If reader.IsDBNull(reader.GetOrdinal("CARRIERCODE")) Then
lblShipping.Text = ""
...
I've been getting this error when pulling data from a recordset. It is coming from a null entry and as a newbie to VB2008 I'm not sure how to get around this.
here is my code
lblShipping.Text =...
I need to have a vbscript run every hour. This script need to dynamically get the previous UTC hour.
Example If it runs at 9 AM Est I need it to return: 8amUTC and 9am UTC.
I can create the...
That worked perfectly. Thank you so much for all of your help. :thumb::D
Wow I was actually working towards that while I waited. Thank you so much.
What if the <Orderlist> tag has an attribute of type? is it possible to access that info?
<orderlist type="resident">...
If the file structure is as follows
<orders>
<orderlist>
<orderNum>1</orderNum>
<BillingAddress>
<name>John Smith</name>
<street>123 Street</street>
</BillingAddress>
</orderlist>
That worked beautifully. Thank you so much you've saved me hours of frustration.
I'm attempting to access some childnodes but am having trouble. I can get the first child nodes but not the child nodes inside the child nodes
<orders>
<orderlist>
<orderNum>1</orderNum>
...
Thank you so much. That gives me a great starting point. I'll get to work on that and update once I have that working. Your Website is very good and you're very helpful
That could be. I need to learn how to program expected errors and not expected errors. Its been so long since I've done any VB(muchless vb.net). I'll have to find some tutorials on error handling
Thats true it doesn't. I think it may have something to do with not having serial ports on the machine in question.
I've been going through your project and I'd like to see where we're actually pulling the wieght it. when i run the project there isn't a button to pull the weight in. Is that something that I have...
I Think i've got it worked out actually. When I open it on another machine to work on it, the project compiles just fine.
I have a project that will run while I'm working on it only once. The second time I try to run it I get the following error.
The operation could not be completed. The process cannot access the...
Thank you for the help DickGrier. I've downloaded the project from your site and am looking it over to understand what is going on first. Then after I fully understand your project I'll try and...
I've changed my code and am now getting a different error saying "Timeout exception not handled or soemthing like that.
Private Sub btnSendText_Click(ByVal sender As System.Object, ByVal e As...
That worked but now i have a different error:
Argument value cannot be null or zero-length.
So I have some thing on the scale that doesn't register as 1 it was .35 is that because it isn't 1?
I'm trying to connect to a Mettler Toledo Scale via a serial port to read in the weight of an object and output the wieght into a label or text box on the form.
so I have a button and a text box....
I've got it working now. Thank you so much for all of your helpful tips. I'm now moving on to the next problem which will be reading data in from a scale. Thank you again.
Whats the difference between them?
I've copied the code into my project for an SQL connection and am getting an error onr the first line.
SqlConnection is not a defined type.
I guess that I'm a bit confused on how to do that. We've got a DB server that I'm trying to connect to via an IP Address. I'll give it a go on connecting to it.
I would use the same concept in...