Search:

Type: Posts; User: Dubya007

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    6
    Views
    574

    Re: File staying open after script executes

    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...
  2. Replies
    6
    Views
    574

    Re: File staying open after script executes

    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...
  3. Replies
    6
    Views
    574

    Re: File staying open after script executes

    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...
  4. Replies
    6
    Views
    574

    File staying open after script executes

    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...
  5. Replies
    1
    Views
    383

    OpenTextFile Question

    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...
  6. Thread: SOAP response

    by Dubya007
    Replies
    0
    Views
    552

    SOAP response

    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 =...
  7. Replies
    3
    Views
    351

    Re: Moving a File in ASP

    okay that is great. Is there an example somewhere of moving files?
    The permissions would be set in IIS correct?
  8. Replies
    3
    Views
    351

    Moving a File in ASP

    Is it possible to move a file from one folder to another via classic ASP??
  9. Replies
    3
    Views
    718

    Re: DB Error Catching Function

    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...
  10. Replies
    3
    Views
    718

    DB Error Catching Function

    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...
  11. Replies
    0
    Views
    251

    ASP version of fgetcsv

    Is there an ASP version of php function fgetcsv. I've looked and cant seem to find one.
  12. Replies
    29
    Views
    1,657

    Re: Serial Port not writing back

    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...
  13. Replies
    29
    Views
    1,657

    Re: Serial Port not writing back

    The Units then I won't need either so that I can just pull what ever the scale says.

    Also what is ledMotion?
  14. Replies
    29
    Views
    1,657

    Re: Serial Port not writing back

    meter1 isn't needed then if all i want to do is read the value into a textbox right?
  15. Replies
    29
    Views
    1,657

    Re: Serial Port not writing back

    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,
    ...
  16. Replies
    29
    Views
    1,657

    Re: Serial Port not writing back

    Awesome Thanks. Do i have to add a serial port object?
  17. Replies
    29
    Views
    1,657

    Re: Serial Port not writing back

    That would certainly be helpful if you could post that code.
  18. Replies
    29
    Views
    1,657

    Re: Serial Port not writing back

    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...
  19. Replies
    2
    Views
    226

    VS 2008 Re: DBNull

    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 = ""
    ...
  20. Replies
    2
    Views
    226

    VS 2008 [RESOLVED] DBNull

    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 =...
  21. Replies
    1
    Views
    452

    UTC Date trouble

    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...
  22. Replies
    7
    Views
    952

    Re: Access childnodes XMLDOM

    That worked perfectly. Thank you so much for all of your help. :thumb::D
  23. Replies
    7
    Views
    952

    Re: Access childnodes XMLDOM

    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">...
  24. Replies
    7
    Views
    952

    Re: Access childnodes XMLDOM

    If the file structure is as follows

    <orders>
    <orderlist>
    <orderNum>1</orderNum>
    <BillingAddress>
    <name>John Smith</name>
    <street>123 Street</street>
    </BillingAddress>
    </orderlist>
  25. Replies
    7
    Views
    952

    Re: Access childnodes XMLDOM

    That worked beautifully. Thank you so much you've saved me hours of frustration.
  26. Replies
    7
    Views
    952

    [RESOLVED] Access childnodes XMLDOM

    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>
    ...
  27. Replies
    29
    Views
    1,657

    Re: Serial Port not writing back

    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
  28. Re: Error When Running project the second Time

    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
  29. Re: Error When Running project the second Time

    Thats true it doesn't. I think it may have something to do with not having serial ports on the machine in question.
  30. Replies
    29
    Views
    1,657

    Re: Serial Port not writing back

    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...
  31. Re: Error When Running project the second Time

    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.
  32. Error When Running project the second Time

    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...
  33. Replies
    29
    Views
    1,657

    Re: Serial Port not writing back

    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...
  34. Replies
    29
    Views
    1,657

    Re: Serial Port not writing back

    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...
  35. Replies
    29
    Views
    1,657

    Re: Serial Port not writing back

    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?
  36. Replies
    29
    Views
    1,657

    Serial Port not writing back

    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....
  37. Replies
    11
    Views
    499

    VS 2008 Re: Noob working with DB's

    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.
  38. Replies
    11
    Views
    499

    VS 2008 Re: Noob working with DB's

    Whats the difference between them?
  39. Replies
    11
    Views
    499

    VS 2008 Re: Noob working with DB's

    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.
  40. Replies
    11
    Views
    499

    VS 2008 Re: Noob working with DB's

    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...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4