Search:

Type: Posts; User: Peter Swinkels

Page 1 of 13 1 2 3 4

Search: Search took 0.31 seconds.

  1. VS 2019 Re: About trying to register Windows Media Player COM Component to work wth VB.NET

    You're welcome, I guesss?
  2. 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?
  3. Re: [VB6] Windows 1.0 Project OPEN SOURCE NOSTALGIC

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

    I see. Thanks. :-)
  5. 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...
  6. Re: Treeview CC version 5 error 360 'Object already loaded'

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

    Your program doesn't start. It just freezes.
  8. 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.
  9. Replies
    7
    Views
    339

    Re: Need help with flexgrid

    You're welcome. Aren't the two items appearing on the same row now?
  10. 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...
  11. Replies
    7
    Views
    339

    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...
  12. Re: Integrate Node.js to VB6 (or RC6)

    https://stackoverflow.com/questions/4865949/calling-javascript-function-from-vb6?
  13. 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 that...
  14. 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...
  15. 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?
  16. 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...
  17. Re: Vb6 List folder and icons into a listbox

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

    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.
  19. 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...
  20. Replies
    18
    Views
    660

    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...
  21. Re: Paste Image to Rich Tect Box issue

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

    @fafalone, I see. Thanks for clearing that up.
  23. 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...
  24. 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:...
  25. Replies
    27
    Views
    743

    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.
  26. 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...
  27. 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/....
  28. Re: How you write multi-lang solutions (mixed VB.NET, C#) and multi-platform (Win, Li

    I researched what was available for Linux and know about Gambas, a pretty awful vb rip off.

    EDIT:
    I have to admit it has been years since I last looked at Gambas. It appears a new version has...
  29. Re: How you write multi-lang solutions (mixed VB.NET, C#) and multi-platform (Win, Li

    I keep seeing Linux mentioned here, I have tried using it in the past and all the Basic support I could find among dozens of distro’s was some incomplete vb wannabe. Is there any distro that finally...
  30. Replies
    5
    Views
    217

    VS 2019 Re: DataRowState.Detached

    I believe there is no difference, as I understand it avoiding the Microsoft.VisualBasic namespace makes your code more portable. It's mostly a matter of preference in my case.
  31. Re: Paste Image to Rich Tect Box issue

    A few coding tips:
    1. Dim img As New Image
    2. Instead of Imagelst(0) you could use Imagelst.First
    3. Use System.Environment.NewLine instead of vbcrlf.
    4. Use string interpolation:...
  32. VS 2015 Re: .NET Word Addin - Drag and Drop from Custom Task Pane to Document

    Hi rksample, welcome to forum.

    Your screenshot is too small and could you post the relevant code?
  33. Re: Autocomplete only considers the 1st letter?

    In which application did you turn auto-complete on? What does this have to do with vb6?
  34. Replies
    3
    Views
    273

    Re: Listview problem

    Not enough information. Post the relevant code for example.
  35. Replies
    5
    Views
    217

    VS 2019 Re: DataRowState.Detached

    Also:
    1. Use string interpolation: https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/language-features/strings/interpolated-strings
    2. Personally I avoid the...
  36. VS 2019 Re: Update values before adding to listbox

    A few coding tips:

    1. Remove empty procedures cluttering the code.
    2. Use string interpolation....
  37. Re: Want to take SAP application screenshots with Full screen

    Hello Himabindu, welcome to forum!

    A few questions:
    1. What are SAP applications?
    2. How are you trying to take these screenshots?
    3. Do you have any code that is relevant?

    You need to...
  38. Re: Finally. Help after Running Winhlp32.msi on windows 10/W10

    If you're asking how to open a *.chm file in vb6 from your program it should work just to use the "Shell" statement.
  39. Re: While loop asking user if they would like to repeat the program

    If you're referring to https://www.onlinegdb.com this is also the wrong forum. EDIT: oh wait, it supports multiple languages. Are you using vb?



    Module VBModule
    Sub Main()
    Do
    ...
  40. Re: Input a password to dialog box after launching app through VB script

    That is odd, it works for me. Why did you change the waiting period to 25 milliseconds? Try increasing it and see if that helps.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width