Search:

Type: Posts; User: Peter Swinkels

Page 1 of 13 1 2 3 4

Search: Search took 0.28 seconds.

  1. Replies
    6
    Views
    134

    VS 2019 Re: How to simplify and compress code?

    You could loop through the controls on your form and check whether they are of the desired type and perform the appropriate action on them if so. The page explains how to do it: ...
  2. Re: how to get hdc by vb6,api for autodraw=true?

    Could you explain what effect and how it's different? EDIT: and I just looked it up, "CClientDC" appears to be just a wrapper for what I just linked to.
  3. Re: how to get hdc by vb6,api for autodraw=true?

    Assuming I understood your question correctly you want this: http://www.jasinskionline.com/windowsapi/ref/g/getdc.html. Did I get it right?
  4. Re: How to Get the Guid, CLSID, of a Control on a Form in Code by vb6

    @xiaoyao, okay I misunderstood your question. Sorry.
  5. Replies
    12
    Views
    354

    Re: [MSDOS\VBDOS] Change font Symbol

    I think he's talking about a driver.
  6. Replies
    5
    Views
    159

    Re: EXCLUDE control from a looping

    Replace the "Or" operator with "And". I will try to explain what is happening, in your test "CDARRIVO" may be matched while "CTIPALLOGGIATO" is not. Or the other way around. This results in the...
  7. Replies
    3
    Views
    161

    VS 2019 Re: Dymo Label Writer printing problem

    So my advice was mostly right after all. You’re welcome.
  8. Replies
    3
    Views
    161

    VS 2019 Re: Dymo Label Writer printing problem

    Hi Ruud van der Spoel, welcome to forum.

    I am not sure what you're asking but it sounds like it might be related to DPI settings:...
  9. VS 2013 Re: help in reading a direct link and displaying it on localhost

    Hi BDen, welcome to the forum. When I tried to run your code I got these errors:

    Severity Code Description Project File Line Suppression State
    Warning BC40056 Namespace or type specified in the...
  10. Re: How to Get the Guid, CLSID, of a Control on a Form in Code by vb6

    https://www.codeguru.com/vb/controls/vb_activex/activex/article.php/c3499/Create-Controls-Dynamically-VB6.htm Is this what you mean?
  11. Re: Windows Authenticode signed attribute verification

    Hi Tima32, welcome to the forum. It would be easier for people to help you if you posted the code relating to your question.
  12. Re: Help Having Script Export To EXCEL\TSV File Instead of TXT File

    Hello t0ny84, welcome to forum!

    Replace


    Set f = fso.createTextFile(currentdirectory & "\" & "output.txt", 2)


    with:
  13. Replies
    4
    Views
    178

    Re: copy files very quickly

    The only thing other than what vb6 offers I can think of is https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-copyfile. Whether it's actually faster I don't know. Personally I...
  14. VS 2019 Re: About trying to register Windows Media Player COM Component to work wth VB.NET

    You're welcome, I guesss?
  15. VS 2019 Re: About trying to register Windows Media Player COM Component to work wth VB.NET

    Perhaps this page will help: https://www.codeproject.com/Questions/603307/Howplustoplusrunplus-mkvplusmediaplusfileplusinplu?
  16. Re: [VB6] Windows 1.0 Project OPEN SOURCE NOSTALGIC

    Glad to be of help.
  17. Re: Treeview CC version 5 error 360 'Object already loaded'

    I see. Thanks. :-)
  18. Re: [VB6] Windows 1.0 Project OPEN SOURCE NOSTALGIC

    Nice, but:

    1. Please use code tags. (The "#" button above a message to be submitted to this forum.
    2. Add "Option Explicit" at the top of your module level declarations. In fact turn it on by...
  19. Re: Treeview CC version 5 error 360 'Object already loaded'

    Great. Out of curiousity, what was it?
  20. Re: [VB6] Windows 1.0 Project OPEN SOURCE NOSTALGIC

    Your program doesn't start. It just freezes.
  21. Re: Treeview CC version 5 error 360 'Object already loaded'

    Hmmm, have you tried reinstalling Visual Studio? It sounds like something got corrupted. I looked at your attached files and can find no issues.
  22. Replies
    7
    Views
    384

    Re: Need help with flexgrid

    You're welcome. Aren't the two items appearing on the same row now?
  23. Re: Vb6 res file size error?

    I tried adding a text file as a custoum resource and loaded it into a byte array using LoadResData. The resulting number of bytes in the array is exactly the same as in the file. So no mysterious...
  24. Replies
    7
    Views
    384

    Re: Need help with flexgrid

    I am not sure, but it looks like you're confusing rows and columns when setting the TextMatrix property. Try:



    .TextMatrix(1, i) = Rs!ID
    .TextMatrix(1, i) = Rs!Item


    The first parameter is...
  25. Re: Integrate Node.js to VB6 (or RC6)

    https://stackoverflow.com/questions/4865949/calling-javascript-function-from-vb6?
  26. Re: How you write multi-lang solutions (mixed VB.NET, C#) and multi-platform (Win, Li

    I have worked with DOS too, I am not sure whether working with the command line truly gives you a greater insight in what OS is doing. As to Linux, it seems to fixate on bizarre names for things...
  27. Re: How you write multi-lang solutions (mixed VB.NET, C#) and multi-platform (Win, Li

    Exactly what Shaggy Hiker says, the first thing I noticed when starting Ubuntu was that GUI wasn't as good as the one that comes with Windows. One of the annoyances I forgot to mention was having to...
  28. Re: How you write multi-lang solutions (mixed VB.NET, C#) and multi-platform (Win, Li

    The command line has its uses, but most things can be done just as well with a proper GUI. What do you prefer just a few clicks or a lot of typing having to watch out for typo’s?
  29. Re: How you write multi-lang solutions (mixed VB.NET, C#) and multi-platform (Win, Li

    Okay, I tried it. It looks like Linux still has an ineptly cobbled together GUI. Things already went badly when I found I had to install Gambas using a terminal, which is unacceptable (who has ever...
  30. Re: Vb6 List folder and icons into a listbox

    You need another control, and did you notice my remark about code tags?
  31. Replies
    18
    Views
    699

    Re: Is vb6 really native ?

    That is not executable code. Those are string literals. Try viewing other executables, you will see plain text and some other stuff are just embedded in the same file as the executable code.
  32. Re: Vb6 List folder and icons into a listbox

    Use the vbDirectory attribute with the Dir$ function:



    NameFile = Dir$("*.*", vbDirectory)


    Also, please use code tags when posting code. These can be inserted using the "#" button in the...
  33. Replies
    18
    Views
    699

    Re: Is vb6 really native ?

    Hi graysuit, welcome to forum.

    Interesting topic. Could you post larger screenshots? I can't read the text right now. I believe this forum might be automatically resizing the images but I am not...
  34. Re: Paste Image to Rich Tect Box issue

    As I said: "or I wasn't clear" - sorry. You're welcome btw.
  35. Re: Autocomplete only considers the 1st letter?

    @fafalone, I see. Thanks for clearing that up.
  36. Re: Automate export of Excel file to XML file

    I am sorry, I misunderstood your question. Does https://docs.microsoft.com/en-us/office/vba/api/excel.xmlmap.exportxml help?

    Oh, and this doesn't appear to be a vbscript question. I believe you...
  37. Re: Paste Image to Rich Tect Box issue

    1. I think you misunderstood me or I wasn't clear:



    Dim img As Image = Imagelst(0).imageRTB

    2. I don't know, sounds like you might want to try a dictionary object:...
  38. Replies
    27
    Views
    800

    Re: Annoying entries in 'Errors' list.

    @sapator - you should still explicitly initiaiize to nothing just to be safe imho. (post #6) In that case warnings can be fullly turned on. As they should.
  39. Re: Paste Image to Rich Tect Box issue

    I know.

    1. Then merge the lines. A variable can be instantiated upon declaration.
    2. Okay, but doesn't that only matter in loops with a lot of iterations? We're probably talking about...
  40. Re: Automate export of Excel file to XML file

    Hi, aminedz. Welcome to the forum.

    To get a list if your xlsx files in a directory: https://devblogs.microsoft.com/scripting/how-can-i-get-a-list-of-all-the-files-in-a-folder-and-its-subfolders/....
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width