Search:

Type: Posts; User: Peekay

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    212

    ADtype not working

    This has always worked, but suddenly not anymore.
    I have a field in a SQL Server table with the type 'date'
    When I wish to update the field, it says the recordset field type is 202 which adVarWchar...
  2. Replies
    39
    Views
    2,624

    Re: [RESOLVED] Automation error

    Olaf,



    No not at all. I did what I could, if you look at post #31.

    I am not a PowerPoster and do not pretend to be an expert. I thought vbForums was there to help us.

    In fact, before this...
  3. Replies
    39
    Views
    2,624

    Re: [RESOLVED] Automation error

    Arnoutdv, I need fto understand where the limitation on chunks comes from and why the setting in IIS for Maximum Allowed Content length does not affect chunk size. It is no use for me groping in the...
  4. Replies
    12
    Views
    1,476

    Re: Amyuni PDF Creator Pro

    Olaf,

    Yes, I saw that, but my application is downloading PDF and JPG files from the server, and I wish to show them directly on Webview2, without saving them on the local PC. What Webserver-URL do...
  5. Replies
    12
    Views
    1,476

    Re: Amyuni PDF Creator Pro

    Olaf,

    Thanks for the code in #3 above.
    I have a form frmDisplay in which I put your code in #3.
    In my DownloadFile routine I have a JPG or PDF in the byte-array B().
    How do I move from that...
  6. Replies
    39
    Views
    2,624

    Re: [RESOLVED] Automation error

    I would not say 190 000 bytes is extreme. If I have a 1 GB file to upload, I need to do 5200 round trips to do it. That is extreme.
  7. Replies
    39
    Views
    2,624

    Re: [RESOLVED] Automation error

    I wish to pursue this problem further.

    It seems that IIS limits the chunk size.
    This can be set in the following manner:
    Press Windows+R
    Type inetmgr
    Internet Information Services window will...
  8. Replies
    39
    Views
    2,624

    Re: Automation error

    I thank everybody who contributed here. I learned a lot.
  9. Replies
    39
    Views
    2,624

    Re: Automation error

    Olaf,

    I think I have found the cause of the error.
    When I upload a file of 1 102 322 bytes, it does that in three stages, taking 500000 bytes each time and the remainder lastly.
    In this case...
  10. Replies
    39
    Views
    2,624

    Re: Automation error

    Olaf,

    I am very sorry that I wasted your time in this thread. Neither is it an honour for me to be baby sitted or spoon fed, knowing full well that I got my training exactly 55 years ago on a...
  11. Replies
    39
    Views
    2,624

    Re: Automation error

    It does not get to the server.

    In this routine in modFileOpsRPC:


    Function AppendChunk(RelFileName As String, B() As Byte) As Boolean
    Dim RsResult As ADODB.Recordset
    Set RsResult =...
  12. Replies
    39
    Views
    2,624

    Re: Automation error

    I did not deregister or uninstall vbRichClient5 - I only unticked it.
    I did not touch the server side code.
  13. Thread: Uploading files

    by Peekay
    Replies
    1
    Views
    369

    Uploading files

    Can someone please give me some direction or tips on writing a routine for uploading and downloading files to and from a server using https?
    Thanks
  14. Replies
    39
    Views
    2,624

    Re: Automation error

    I've been there, done that (too many times). None the wiser.
    You know my code, which you generously supplied to me. Break points are no use. Please tell me in which code lines I must break, and...
  15. Replies
    39
    Views
    2,624

    Re: Automation error

    Olaf,

    I did everything right, checked with my old versions, checked filepaths.

    The error is in this routine and I cannot solve it:


    Function AppendChunk(RelFileName As String, B() As Byte)...
  16. Replies
    39
    Views
    2,624

    Re: Automation error

    Olaf, I am getting there. Can you please check the code and the use of the correct module in these two routines.
    Presently I get an error in the CheckIdentity routine, which says: " Error 53: Error...
  17. Replies
    39
    Views
    2,624

    Re: Automation error

    OK, I got the error - quite stupidly overseen.

    AppendChunk has the wrong module name prefix.
    In fact, why do I have a modFileOps and a modFileOpsRPC module. Which is the correct one?
  18. Replies
    39
    Views
    2,624

    Re: Automation error

    I do not even know what that is.
  19. Replies
    39
    Views
    2,624

    Re: Automation error

    I used this routine in all six my applications and it worked fine. Now, all of a sudden, all has the same error in that routine codeline.

    Here is my cRPC class:


    Option Explicit

    Public...
  20. Replies
    39
    Views
    2,624

    Re: Automation error

    I searched for [vbRichClient5], but found nothing.
    I know it is a good idea to go over to RC6, but will it accept all my modFileOps routines as they are?
    Presently I have only vbRichClient5 ticked...
  21. Replies
    39
    Views
    2,624

    Re: Automation error

    I have made sure RC5 is registered.
    .AppendChunk and .DeleteFile works.
    The problem is not the reference, but apparently the two file names after .AppendChunk Tmp,B
    Can you please check my...
  22. Replies
    39
    Views
    2,624

    Re: Automation error

    Olaf,

    There was no occurrence of vbRichClient5.
    I reverted to RC5, unticked RC5, but now the .appendChunk gives an error: Object variable or with block not set.
  23. Replies
    39
    Views
    2,624

    Re: Automation error

    I found the source of the error.
    Last week I referenced RC6 (to use Webview2) and had to delete RC5.
    The relevant routine for .AppendChunk only works in RC5.
    Dilemma.

    Here is my UploadFile...
  24. Replies
    39
    Views
    2,624

    [RESOLVED] Automation error

    Question for Olaf please.

    I have the UploadFile(CleintFile$,ServerFile$,... routine which uses the modFileOps.ReadChunk function, but that function gives me this error:

    430 Class does not...
  25. Re: Testing an internet link without opening browser

    Brilliant thanks Thierry69
  26. Re: Testing an internet link without opening browser

    Using baka #6 above:
    I used Google and got more than 1000 garbled letters.
    I used a non existing website and got a timeout after about a minute.
    How do I set the timeout to 3 seconds?
  27. Re: Testing an internet link without opening browser

    Thanks so much for all your contributions. I will test them out, and report back.
  28. Re: Testing an internet link without opening browser

    VanGoghGaming,

    I tried further reading on your proposal, but could not find anything substantive.
  29. Re: Testing an internet link without opening browser

    This code was published untested by Olaf:


    Public Sub RefreshToken()
    Dim result As String
    Dim sBody As String
    TokenrefreshURL = "https://identity.xero.com/connect/token"

    ...
  30. [RESOLVED] Testing an internet link without opening browser

    I wish to save an internet link entered by a user, but before I save it on the database, I wish to make sure that it is valid.
    How can I test its validity without opening a browser?
  31. Re: Using LoadPicture with a picture on server

    Thanks to everyone that helped me. Resolved.
  32. Re: Using LoadPicture with a picture on server

    Thanks Olaf, that was the problem.
  33. Re: Using LoadPicture with a picture on server

    I registered RC6.dll with your .vbs registration program, and it was successful

    ?CreateObject("RC6.cGlobal").New_c.Version
    6.0.15

    The intellisense does not show webview2 as a property of the...
  34. Re: Using LoadPicture with a picture on server

    Olaf,

    In that codeline New_c I get an error 'Method or data member not found.' I have referenced RC6. Anything else I should reference?
  35. Re: Using LoadPicture with a picture on server

    Olaf,

    In this link: https://www.vbforums.com/showthread.php?902196-Amyuni-PDF-Creator-Pro&p=5627594&viewfull=1#post5627594

    You have this code:



    Where did you define New_c?
  36. Re: Using LoadPicture with a picture on server

    First obstacle - error : private with events WV as cWebView2
  37. Re: Using LoadPicture with a picture on server

    How do I add Webview2 to my project (references?).
    Do I show the pdf on a PictureBox?
  38. Re: Using LoadPicture with a picture on server

    -Franky-
    Thanks for the elucidation. I think I will try Olaf's RC6 with Webview2 for a start, if I can get it right.
  39. Re: Using LoadPicture with a picture on server

    I repeat. I know it was not installed, but the Microsoft error I got when I tried to install it said it was already installed and my Autocad said it was not installed.
    I am not an expert and do not...
  40. Re: Using LoadPicture with a picture on server

    OptionBase1

    Your advice to me above was totally wrong. I would suggest you only comment when you are sure of your facts, like some of the other PowerPosters here.
    I got it right by only...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width