Search:

Type: Posts; User: Krzysztof#

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. problem with winhttp, api and sending xml file

    Hello, I am working on the code for downloading and sending xml files and although I manage to write the downloading code, I cannot send the xml file. If anyone has a suggestion or an idea or a...
  2. Thread: ChatGPT

    by Krzysztof#
    Replies
    388
    Views
    36,159

    Re: ChatGPT

    https://www.vbforums.com/showthread.php?899026-RESOLVED-chatbotGPT-WinHttpRequest-(with-TTS)
  3. Re: [RESOLVED] chatbotGPT WinHttpRequest (with TTS)

    code was
    {"id":"cmpl-6f7RVYXP0x3oQOJOEwzTERThe9Voj","object":"text_completion","created":1675258077,"model":"text-davinci-003","choices":[{"text":"\n\nThe meaning of life is a philosophical...
  4. Replies
    29
    Views
    2,828

    Re: SQLite, SQL and VB6 - Where to start?

    I would start with Microsoft Access Database Engine 2010 Redistributable and Microsoft Access Database Engine 2016 Redistributable. with databases in *.mdb files
    and give myself an example like here...
  5. Re: [RESOLVED] chatbotGPT WinHttpRequest (with TTS)

    the time needed for json is disproportionate to the acceptable effect,

    I'm stuck here

    112 MsgBox "Base item count: " & p.Count
    114 MsgBox "JSON toString: " &...
  6. Re: [RESOLVED] chatbotGPT WinHttpRequest (with TTS)

    if I had seen "You exceeded your current quota, please check your plan and billing details" error, I would look here: https://platform.openai.com/account/usage
  7. Re: [RESOLVED] chatbotGPT WinHttpRequest

    in subsequent works
    added saving to and reading the key from the file,
    to this experiment


    'Get from File if file exists
    If Dir(App.Path + "\key.txt") <> "" Then
    '"File exists"
    Dim...
  8. Re: [RESOLVED] chatbotGPT WinHttpRequest

    anyway without parsing, textbox has the Multiline property on, but I can be wrong, the answer should be in consecutive lines i guess



    finding how needed string ends and starts, required an...
  9. Re: chatbotGPT WinHttpRequest

    wqweto, I tried this example from the forum, without success

    going the easy way, use the InStr function or Split
    Darkbob yours actually, not sophisticated (; but solves the problem, indeed

    ...
  10. Re: chatbotGPT WinHttpRequest

    wqweto, I still don't get over it :\




    Darkbob, great! thanks (:


    here is the result:
    186839
  11. [RESOLVED] chatbotGPT WinHttpRequest (with TTS)

    What's the best way to read the answer? using e.g. http://www.ediy.co.nz/vbjson-json-parser-library-in-vb6-xidc55680.html ? or other way?


    code draft in VB6 to execute the OpenAI API:

    Dim...
  12. Re: compilation and compatibility dependency problem

    i deleted all frx files. after compiling the program works. the earlier symptom was that in the IDE under win7 a few icons from the buttons disappeared. icons as I remember, if I wanted to add, I had...
  13. Re: compilation and compatibility dependency problem

    I do not decide about it
  14. Re: compilation and compatibility dependency problem

    new information is out
    an error also occurred in win10 :/


    well, a break for now. let's enjoy the weekend
  15. Re: compilation and compatibility dependency problem

    now I installed the trial control on win7, after starting exe I got a question if I want to continue the evaluation ... and then the scenario remains unchanged, exe stops




    .
  16. Re: compilation and compatibility dependency problem

    i did similar :), i took the project before adding the last cj control. I compiled it under w10. worked on win7. then I exchanged one form that contained it, the project worked but this form did...
  17. Re: compilation and compatibility dependency problem

    i think cj controls are licensed but...
    must check
  18. Re: compilation and compatibility problem (Dependency Walker)

    this one os from Windows7

    Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\Windows\system32\stdole2.tlb#OLE Automation...
  19. Re: compilation and compatibility problem (Dependency Walker)

    yes, only one is compiled on win10 64, oher on win7 32. this one from win7 can be run on both machines, but one compiled on w10 runs only on w10.


    application compiled on w10 starts on w7 but...
  20. Re: compilation and compatibility problem (Dependency Walker)

    i used Dependency Walker https://www.dependencywalker.com/



    I thought it might be the lack of a control but the ocx's are added in the project components, the quantity and the versions match
    ...
  21. Re: compilation and compatibility problem (Dependency Walker)

    thanks i will check. looks promising
  22. Re: compilation and compatibility problem (Dependency Walker)

    I couldn't manually find the differences so I used Dependency Walker which checks dependencies. Above, in the logs images, I found a moment when the same project starts working differently. I can't...
  23. Re: compilation and compatibility problem (Dependency Walker)

    it's the same project compiled on 2 machines.

    what do you mean 'project files after compiling'? after compiling I get one executable. in the IDE, the controls in the components are identical....
  24. Re: compilation and compatibility problem

    both have Microsoft Visual Basic 6.0 Service Pack 6 installed
  25. Re: compilation and compatibility problem

    yes, up to the point marked with a red line, the logs of both are identical. from the moment flexgrid is loaded (ocx being part of ms comon controls), in the second picture, the logs start to differ....
  26. [RESOLVED] compilation and compatibility dependency problem

    Hello, I have been trying to track the problem in the application for a week. I have a problem with running it on some windows 7 and 8 but they work on some. when I compiled it in the IDE under win7...
  27. Replies
    1
    Views
    1,264

    Re: winhttp Authorization problem

    ok token was wrong
  28. Replies
    1
    Views
    1,264

    [RESOLVED] winhttp Authorization problem

    Hi, i am not very experienced in winhttp

    I managed to get a token and now I want to use it to obtain a resource

    have this code



    HTTP.Open "GET", Adress
  29. Replies
    9
    Views
    1,298

    Re: pdf with button

    right, my mistake for giving too little detail.
    button created successfully.
    the only problem was the position of the button rectangle and the position of the link, which did not overlap due to a...
  30. Replies
    9
    Views
    1,298

    Re: pdf with button

    as far as I understand correctly
    it would then be just to add a button image
    in the same place as the link area
  31. Replies
    9
    Views
    1,298

    Re: pdf with button

    according to the instructions
    it should be something like


    pdfbox.SetLink



    Sets a link to be activated in a rectangular area.
  32. Replies
    9
    Views
    1,298

    Re: pdf with button

    instructions for the functions this ocx uses http://www.synactis.com/pdf-in-the-box.htm

    However, I do not embrace the creation of the button here
  33. Replies
    9
    Views
    1,298

    Re: pdf with button

    the code i am trying to modify is using pdf_inthe_box.ocx

    in code with

    Private PDFPrinter As pdfBox
    Set PDFPrinter = pdfBox
    PDFPrinter.NewPage
  34. Replies
    9
    Views
    1,298

    Re: pdf with button

    I thought it was obvious that it is about creating pdf in vb6

    and the link you provided in response has nothing to do with it (
    searching in google? is this a joke)
  35. Replies
    9
    Views
    1,298

    [RESOLVED] pdf with button

    hello, if I create a pdf and I have a www address on it, the cursor changes to hand and by clicking I open a link,
    how can I redirect to a www address but for the pdf to be a button or an area...
  36. Re: [RESOLVED] Blank vertical scroll bar after Windows 10 update

    ah ok, got it via Windows Update
  37. Re: [RESOLVED] Blank vertical scroll bar after Windows 10 update

    hi,
    with Windows 10 Pro 64 Bit - 1909 (OS Build 18363.1500)
    which should i download?

    ...
  38. Replies
    2
    Views
    810

    Re: scrollbars not visible

    Arnoutdt Thank You
  39. Replies
    2
    Views
    810

    [RESOLVED] scrollbars not visible

    181083

    please help
    scrollbars are invisible when i add them to form
    also in compiled project


    when i run compiled exe on another computer scrollbars are ok

    after reinstallation of vb6...
  40. Replies
    269
    Views
    78,301

    Re: Re PlanetSourceCode

    great, I remember ranking for the best code. one of mine was chosen. I could have gotten the book but the most important thing for me was the 'top code' sticker.



    I hope I have most of the code...
Results 1 to 40 of 96
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width