Results 1 to 9 of 9

Thread: [RESOLVED] Develop VB6 Application On Vista for WinXP

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    145

    Resolved [RESOLVED] Develop VB6 Application On Vista for WinXP

    Hi All,

    I planned to develop VB6 application on Vista Home Premium, since i read it in this forum that can be done.
    This application will be run on Windows XP or Vista.

    Please give me advice what should i do or shouldn't.

    Thank you

  2. #2
    PowerPoster Ellis Dee's Avatar
    Join Date
    Mar 2007
    Location
    New England
    Posts
    3,530

    Re: Develop VB6 Application On Vista for WinXP

    As far as I am aware, nothing. The problems arise when programmers do things XP allows but Vista doesn't. If Vista allows it, I'd say you're golden.

    I could be wrong, though, never having used Vista.

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Develop VB6 Application On Vista for WinXP

    Well it depends on what your program is going to be doing and accessing. If you are developing a VB 6 app under vista and using any of Vista only features then when you run it on XP it will crash or error.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    145

    Re: Develop VB6 Application On Vista for WinXP

    I think i got the message, i will try to avoid "vista only feature".
    I'm searching on VBFORUM and can't find anything about "vista only feature" (related with VB of course) and googling on it made me lost.
    Do you guys can show me link on this forum or on the net about this matter?

    Thank you guys

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Develop VB6 Application On Vista for WinXP

    If you are using any Windows features in your app then there is a chance you may be using something specific to Vista. There is no exact list of what is a Vista feature or not. Things in Vista like Windows Presentation foundation for example would be a Vista only feature but if you dont know or use this then that should not be a problem on XP.

    We can not tell you what to use or not use as we have no idea what code you are writting or what your app does.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    145

    Re: Develop VB6 Application On Vista for WinXP

    Thanks RobDog888

    What about with "API"? is it still okay for me to use it?

  7. #7
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: Develop VB6 Application On Vista for WinXP

    You can use API as long as you check you're not using Vista only features. This should be pretty easy to find out, most stuff you find on the web is pre-Vista anyway so it is unlikely for you to even bounce on API related VB6 code that is Vista only.

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    145

    Re: Develop VB6 Application On Vista for WinXP

    good point,

    still wishing there is list which is vista only feature or not, but i think in the next hour i will tickmark this thread as resolved.

    Thankyou all guys.

  9. #9
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: Develop VB6 Application On Vista for WinXP

    Most of the changes are so small that it is cumbersome to list them. For example, Vista allows you to draw shadows and other decorations to your text when using DrawText API. Having the related values passed in XP has no effect and the application doesn't crash, you just don't get the effects you'd get on Vista.

    Now imagine there are thousands of this kind of small additions. Basically most of these problems can be silently ignored with a proper error case handling and investigation from MSDN for features on the used API call. Thus there is no point for making a collected list for Vista only features to be aware of, especially listing them for VB6 as Microsoft gives no support for it anymore. With API, MSDN and Google is always the quickest way to find something out as MSDN clearly states what is supported starting from which version of Windows.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width