dcsimg

Search:

Type: Posts; User: Grant Swinger

Page 1 of 2 1 2

Search: Search took 0.29 seconds.

  1. Replies
    2
    Views
    204

    Re: VMI hardware information

    Do a search for the WMI Code Creator. It's a very handy Microsoft utility for working with WMI and it comes with the C# source code. If you're running Windows 8 or newer you'll need to add the .NET...
  2. Re: Purchase of Microsoft Visual Basic 6.0 Professional

    You have the retail version. Enterprise versions didn't come with that kind of packaging. As long as you have the original CDs and the product key you're good.
  3. Re: VB.net - Deleted directories remain there plus that they become inaccessible

    I've seen something like this before when I was deleting and then recreating a directory. After some experimentation I decided that when Directory.Delete returns without an error it hasn't actually...
  4. Re: Running a .NET DLL from VB6 without registering

    Read this and see if it helps.
  5. Replies
    49
    Views
    1,878

    Re: VB6 and .NET interoperability

    Have you ordered these two books?

    172789 172791


    Believe me, for a project like this you want both of them on your desk as they have exactly...
  6. Replies
    49
    Views
    1,878

    Re: VB6 and .NET interoperability

    I did a lot of this back in the day for insurance companies. They were big users of Classic VB and much of the work involved rewriting big VB applications in VB.NET piecemeal. It sounds like what...
  7. Re: Run-time error '-2147206461 (80043ac3)':File not found. Details: error

    I saw this error message once before a few years ago. The application ran fine on other PCs but not on the one I was asked to look at. It turned out that other PCs had been upgraded from 32-bit...
  8. Replies
    6
    Views
    262

    Re: Using Thread

    Windows Forms controls are not thread safe. What this means is that only the thread that created the control can access it directly. This is a good thing because you don't want some thread which...
  9. Re: How Many People are Sticking around Until the end of VB6

    In case anybody is interested I tried the new version of ReactOS. VB6 Pro does not install on it. The setup program opens a tiny window in the upper left corner and then freezes hard.

    I doubt...
  10. Re: Design Question? Interface usage in .NET advantages, appy theory in VB6 apps

    Here are a couple books I used to recommend to my students when I was teaching Classic VB.

    "Programming Distributed Applications with COM+ and Visual Basic 6.0". Chapter 2 is called...
  11. Re: Design Question? Interface usage in .NET advantages, appy theory in VB6 apps

    Check out this video: Interfaces in C# - What they are, how to use them, and why they are so powerful
  12. Replies
    120
    Views
    8,519

    Re: https://www.radbasic.dev/

    I doubt we'll ever see VB6 open-sourced unless VBA is as well. And as long as VBA is part of the Office cash cow that probably won't happen.
  13. Replies
    120
    Views
    8,519

    Re: https://www.radbasic.dev/

    You can count me as being unimpressed. It would be one thing if he could demonstrate an IDE that loads a 100,000 LOC VB6 project and then builds it (because this is what he's promising). But it's...
  14. Replies
    7
    Views
    769

    Re: Visual Basic book recommendation

    Have a look at CsvHelper.

    I haven't used it myself but I know people who swear by it.
  15. Re: New Windows 10 developments and vb6 apps

    What you're thinking of is the Windows Core OS. WindowsCentral.com has a good article about it.

    Most of the article describes the benefits of WCOS to Microsoft. I doubt their enterprise...
  16. Replies
    10
    Views
    803

    Re: Help enumerating registry folders

    Add this class to your program and use it like this:



    Dim objReg As New CRegistry
    Dim SubKeys() As String

    With objReg
    .RootKey = "HKEY_LOCAL_MACHINE"
    .KeyPath =...
  17. Replies
    5
    Views
    1,081

    VS 2017 Re: how to get files md5 checksum?

    System.Security.Cryptography has functions for that. This will return a string with the MD5 checksum.



    Imports System.IO
    Imports System.Security.Cryptography
    Module Module1

    Sub Main()...
  18. Re: Windows 10 Tablet and VB executables

    No, RT is dead. What you're thinking of is Windows 10 in S mode. That's restricted to Store apps only.

    https://www.microsoft.com/en-us/windows/s-mode
    ...
  19. Re: Windows 10 Tablet and VB executables

    No, RT is dead. What you're thinking of is Windows 10 in S mode. That's restricted to Store apps only.

    https://www.microsoft.com/en-us/windows/s-mode
    ...
  20. Replies
    38
    Views
    2,393

    Re: Netsh add rule command not working

    Try adding "enable=yes" to the end of your command. Like this:


    args = "advfirewall firewall add rule name=""" & "UDP-Receiver""" & " dir=in action=allow program=""" & Application.StartupPath &...
  21. Re: Xojo Improved? VB6 alternative, anyone have experience with this?

    I don't use Xojo myself but I know some people who do so I asked around. The general consensus is that it has improved a good deal over the years. Nobody could tell me how it would handle over 200...
  22. Re: No troll. What are the (legitimate) reasons people are still using VB6 ?

    Actually, we have a pretty good idea as why it wasn't more compatible. Microsoft tried to do it but couldn't make it work. The book "Upgrading VB6 to VB.NET" (Microsoft Press) describes how...
  23. Re: No troll. What are the (legitimate) reasons people are still using VB6 ?

    Well, you could say the same about Java and it seems to be rather popular. Java updates are more prone to breaking things than .NET updates in my experience.
  24. Re: No troll. What are the (legitimate) reasons people are still using VB6 ?

    https://stackoverflow.com/questions/604776/is-there-an-equivalent-to-out-of-process-com-exe-in-net
  25. Replies
    137
    Views
    9,259

    Re: LET MS know you are using VB6

    This article describes the main issue in the Sun/MS lawsuit if you want to refresh your memory about it. It was written in 1997 and predicts that Microsoft would have to come up with their own...
  26. Replies
    5
    Views
    5,597

    Re: VS 2017 C++ Windows Forms Application?

    The C++ Windows Forms project templates were removed some time ago.
  27. VS 2015 Re: Where to start with VS2015 and VB.net - need some books.

    The Book of Visual Basic 2005: .NET Insight for Classic VB Developers. A lot of people have told me that this was THE book that got them over the .NET hump. You can find good used copies on Amazon...
  28. Replies
    5
    Views
    5,597

    Re: VS 2017 C++ Windows Forms Application?

    Run the Visual Studio Installer and add C++ /CLI under Individual Components.
  29. Re: Download Image from URL that requires Authentication

    Here you go. I added a small form that calls the BAS module. The code is old but it works. You can step through it with the debugger easily to see how it works. Reading the MSDN documentation on...
  30. Re: Download Image from URL that requires Authentication

    Please bear with me. I've been working all weekend on a client with "just a minor change" and I'm still sweeping up. I'll try to get this uploaded tomorrow.
  31. Re: Download Image from URL that requires Authentication

    You can't use URLDownloadToFile for that if you need authentication. Use the WinINET library instead.

    In short, you have to call InternetOpen to initialize it, then InternetConnect which is...
  32. Re: Download File from https server using winhttp

    Are you sure your customers don't have IE11 anyway? Microsoft has been pushing it out through Microsoft Update for some time now. If their machines are up to date they should have it even if they...
  33. Re: How to run VB6 software in Windows 7 when the VB6 Vitual machine gas expired

    First off, you don't need the VB6 runtime. It's been a part of Windows for a very long time.

    So your XP Mode VM is working OK but VB6 in the VM is not starting, correct? Do you have any...
  34. Re: VB6-compiled apps being flagged as virus

    I've seen this happen not only with VB6 applications but also with things written in C#, Pascal, and C++. Antivirus software these days are rather paranoid. The only real fix is to get a code...
  35. Replies
    2
    Views
    496

    Re: .Net Native and VB6

    .NET Native only works for UWP and Store apps. It's not available for WinForms or WPF applications. There's been a request on User Voice for this but it's attracted few votes and doesn't look like...
  36. Re: How Many People are Sticking around Until the end of VB6

    Since when have "the masses" ever wanted to pay for software? They've been conditioned by years of getting stuff for free. This is what the masses think about paying for software. The market for...
  37. Re: Using a copy of a Windows 10 hard drive on a Windows 7 machine.

    I assume from your description that you plan to take a few of the new Dells, install the software required for each configuration and then make images of them. Those images will then be loaded on...
  38. Re: Windows department disappears from Microsoft.

    Give this a try: Visual Studio Uninstaller

    Uninstall the main program from Programs and Features, reboot and run this as administrator. You'll need to do it multiple times until it stops finding...
  39. Replies
    26
    Views
    2,288

    Re: What tool to recommend?

    Nobody else has mentioned this so I'll bring it up. Does the project have any third-party controls? Windows updates have a way of breaking them and all you'll get out Microsoft if that happens is ...
  40. VS 2015 Re: How to detect why Avira finds an inexistent trojan in my code?

    I'll bet Avira waits awhile and then changes its mind again. I've seen that happen with Symantec Endpoint which is the program my clients use. The only fix I've found is to sign everything. ...
Results 1 to 40 of 57
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width