Search:

Type: Posts; User: Avatarp

Page 1 of 13 1 2 3 4

Search: Search took 0.12 seconds.

  1. Replies
    3
    Views
    566

    Re: Leading Space Issue

    I resolved the issue:


    Print #1, , ImageString


    Print #1, ImageString

    Thanks for helping Doogle :)
  2. Replies
    3
    Views
    566

    Re: Leading Space Issue

    Sorry the question here is "how do I ensure no leading spaces"?
  3. Replies
    3
    Views
    566

    Leading Space Issue (RESOLVED)

    I am getting a leading space at the beginning of every line when writing to a text file.



    With rs
    If .RecordCount > 0 Then
    Open "C:\myProg\MyFile.txt" For Append As #1...
  4. Re: How to get Date Modified from a file on my server (RESOLVED)

    Good point dilettante. The server always stores this value in Eastern Standard Time. I will have to look into how I will save this in the local DB.
  5. Re: How to get Date Modified from a file on my server (RESOLVED)

    I just simply cheated...stored the values in my DB on upload...they may be a few seconds off from correct but good enough...
  6. Re: How to get Date Modified from a file on my server

    Thanks Westconn1. I will try that tomorrow. :)
  7. Re: How to get Date Modified from a file on my server

    I am trying to us the FileSystemObject and then the FileDateTime


    Set MyFile = fsObj.GetFile("http://www.mywebsite.com/myfolder/myimage.jpg")
  8. [RESOLVED] How to get Date Modified from a file on my server (RESOLVED)

    I have files that are accessible via URL. Is there a simple way to retrieve the date modified property? I have to iterate through 100's if not a few thousand files during this process so I need a...
  9. Thread: XML Challenge

    by Avatarp
    Replies
    6
    Views
    779

    Re: XML Challenge

    Excellent work!!!



    That works great MarkT

    :wave::wave::wave::wave::D
  10. Thread: XML Challenge

    by Avatarp
    Replies
    6
    Views
    779

    Re: XML Challenge

    I want to get from the CarMake node canonical value of "acura" and the localized value of "Acura"

    I want to get the CarModel node canoncial value of "cl" and the localized value of "CL"
    I want to...
  11. Thread: XML Challenge

    by Avatarp
    Replies
    6
    Views
    779

    Re: XML Challenge

    I truncated the code with tab formatting for easy of viewing I need to retrieve the following information from this file structure:

    1) Make - Canonical
    2) Make - Localized
    3) Model - Canonical...
  12. Thread: XML Challenge

    by Avatarp
    Replies
    6
    Views
    779

    XML Challenge

    I am using VB6 to retrieve 4 key items of data in this list of vehicles

    1) Make - Canonical
    2) Make - Localized
    3) Model - Canonical
    4) Model - Localized

    Below is the first section and a bit...
  13. Replies
    15
    Views
    22,537

    Re: How to POST XML to a URL using VB6

    I created a request with Fiddler exactly like my code and I have encountered the same error message back "Malformed XML".

    This seems very surprising since my client is one of the largest Ad...
  14. Replies
    15
    Views
    22,537

    Re: How to POST XML to a URL using VB6

    Thanks dilettante. I will try a few things from your idea and post my progress soon. :)
  15. Replies
    15
    Views
    22,537

    Re: How to POST XML to a URL using VB6

    All they gave me was a Bulk Upload Document with an introduction to their Bulk Upload System.

    Below is their instruction to call their API Method:

    Making API Calls

    KBUS provides an API at...
  16. Replies
    15
    Views
    22,537

    Re: How to POST XML to a URL using VB6

    That makes sense. My client has API Methods like cityData() that I am supposed to use by sending XML POST to a URL. Each API method they have is at a different URL location.
  17. Replies
    15
    Views
    22,537

    Re: How to POST XML to a URL using VB6

    I have ensured that my XML is in the proper upper or lower case as specified by my clients Bulk Uploader document. Is there another way to POST xml to a website to retrieve information from their...
  18. Replies
    15
    Views
    22,537

    Re: How to POST XML to a URL using VB6

    I have a document of instructions on their API methods and the expected format of the XML to be POSTed to those API methods which are located at specific URLs.

    There error messages are always the...
  19. Replies
    15
    Views
    22,537

    Re: How to POST XML to a URL using VB6

    Thank TheBigB, however that didn't fix it. They have told me that it isn't in the XML that is coming over to their server. It is must be in the way I am delivery the XML code...

    Banging my head on...
  20. Replies
    15
    Views
    22,537

    Re: How to POST XML to a URL using VB6

    I've tried simply just inputting the string of XML like:


    strSend = "c:\Program Files\MyProg\XML\AuthKey.xml"



    strSend = "<sysbus><auth><key>ABC123</key></auth></sysbus>"
  21. Replies
    15
    Views
    22,537

    How to POST XML to a URL using VB6

    I have been trying to get critical information back from a large clients server. They have told me that my XML file I am sending is correct but the method of my POST is incorrect hence the "Malformed...
  22. Replies
    23
    Views
    2,564

    Re: Malformed XML???

    Thanks dilettante still the same issues...I even used Chilkat's ChilkatXML control and stil the same results.

    Current Code:


    Dim adostream As New ADODB.Stream
    Dim xmlDoc As New...
  23. Replies
    23
    Views
    2,564

    Re: Malformed XML???

    Any help would be extremely appreciated. Am I completely off base in thinking that VB6 can perform a POST xml? I see lots of examples but the 40 things I have tried all bounce back..."Malformed...
  24. Replies
    23
    Views
    2,564

    Re: Malformed XML???

    Thanks :)
  25. Replies
    23
    Views
    2,564

    Re: Malformed XML???

    Is there anyone on here that can help me with posting XML with VB6?
  26. Replies
    23
    Views
    2,564

    Re: Malformed XML???

    No I've had that in there...
  27. Replies
    23
    Views
    2,564

    Re: Malformed XML???

    I have been modifying my code and I realized the code I posted was not what I have been working with originally. I have simplified my XML to a few lines in a String variable and tried sending that......
  28. Replies
    23
    Views
    2,564

    Re: Malformed XML???

    The following is my code:


    Private Sub cmdGetData_Click()
    Dim xmlhttp As New MSXML2.XMLHTTP60
    Dim adostream As New ADODB.Stream


    strServer = "http://myclient/api/cityData/"
    strSend =...
  29. Replies
    23
    Views
    2,564

    Malformed XML???

    This should be a simple one. I am new to xml post/requests.

    I have built a VB6 application that sends an XML post to my clients server. The code to do this is perfect and complete however the xml...
  30. Replies
    1
    Views
    590

    How to post XML file to a specified URL

    I am just starting out on this process and have been doing some searching. I want to POST an XML file to a specific URL. The URL will expect my XML file to have predetermined XML code to retrieve...
  31. Replies
    1
    Views
    603

    Error with Automation

    I have built an application that works great on my Laptop. It pulls text files from my server and then sends them to a specific server every 30 minutes on a timer.

    However once I install it on my...
  32. Re: How do I insert a Newline Character in a Text file?

    Open "C:\myfolder\" & myWebsiteName & "\" & myTXTFileName For Append Access Write As #1
    Print #1, ""
    Close #1


    This seemed to work!!! YES!! Thanks all
  33. Re: How do I insert a Newline Character in a Text file?

    Oddly enough creates 2 lines below my text
  34. How do I insert a Newline Character in a Text file? [RESOLVED]

    I figure it would be something easy like this:



    Open "C:\myFolder\" & myWebsiteName & "\" & myTXTFileName For Append Access Write As #1
    Print #1,


    This doesn't seem to...
  35. Replies
    4
    Views
    623

    Re: Combining .txt files properly

    Open "C:\new\name.txt" For Input As #1
    Open "C:\new\name_tmp.txt" For Output As #2
    Do Until EOF(1)
    Line Input #1, sLineIn
    temp = InStr(1, sLineIn,...
  36. Replies
    4
    Views
    623

    Combining .txt files properly

    Hello.

    I am combining text files into one file however it seems that there is no end-of -file or newline character. The final result is a text file with the header from each file stuck on the end...
  37. Replies
    5
    Views
    644

    Re: FTP works but not really

    Would that be something caught in my StateChanged sub routine?


    Private Sub inetFtp_StateChanged(ByVal State As Integer)
    Dim vtData As Variant ' Data variable.

    Select Case State
    ...
  38. Replies
    5
    Views
    644

    Re: FTP works but not really

    This function is the following:



    ' Upload a file. Return True if we are successful.
    Private Function UploadFile(ByVal source_file As String, _
    ByVal dest_file As String, ByVal dest_path...
  39. Replies
    5
    Views
    644

    FTP works but not really

    Hello All,

    I have built an application that FTPs pictures from the local computer up to my Server on the Internet. It seems that I am getting partial results with the iNet control even though I...
  40. Replies
    9
    Views
    834

    Re: Good code on 1 PC bad on another???

    Thanks Merri. Your solution makes sense and I will definitely test and post whether is fixed the problem or not.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width