DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 9 of 9

Thread: Create desktop shortcut in VB3

  1. #1
    steve dunne Guest

    Create desktop shortcut in VB3


    Can anyone remember this far back...?

    How do I create a desktop shortcut (Win98, NT4 etc) from my VB3 code?

    Sorry to sound stupid, but (maybe I am!)

    Thanks,

    SteveD

  2. #2
    huibert Guest

    Re: Create desktop shortcut in VB3


    "steve dunne" <steve@sdmservices.com> wrote:
    >
    >Can anyone remember this far back...?
    >
    >How do I create a desktop shortcut (Win98, NT4 etc) from my VB3 code?
    >
    >Sorry to sound stupid, but (maybe I am!)
    >
    >Thanks,
    >
    >SteveD


    Steve,

    VB3 generates 16 bit code. Win98, NT4 don't run 16 bit code do they?

    hth
    Huibert

  3. #3
    Phil Weber Guest

    Re: Create desktop shortcut in VB3

    > Win98, NT4 don't run 16 bit code do they?

    Huibert: Yes, they do, as do Windows 2000 and XP.
    ---
    Phil Weber



  4. #4
    Joe \Nuke Me Xemu\ Foster Guest

    Re: Create desktop shortcut in VB3

    "steve dunne" <steve@sdmservices.com> wrote in message <news:3bfe51b2@147.208.176.211>...

    > Can anyone remember this far back...?
    >
    > How do I create a desktop shortcut (Win98, NT4 etc) from my VB3 code?


    You should be able to create a shortcut using DDE, (see the code in the
    SETUPKIT\SETUP1 directory) but I don't know if you can get at the desktop
    using that technique. Dunno about anyone else, but I hate clutter on the
    desktop anyway.

    --
    Joe Foster <mailto:jlfoster%40znet.com> On the cans? <http://www.xenu.net/>
    WARNING: I cannot be held responsible for the above They're coming to
    because my cats have apparently learned to type. take me away, ha ha!



  5. #5
    Joe \Nuke Me Xemu\ Foster Guest

    Re: Create desktop shortcut in VB3

    ""huibert" <hvandeursen@wanadoo.nl> wrote in message <news:3c023ec6$1@147.208.176.211>...

    > "steve dunne" <steve@sdmservices.com> wrote:


    > >How do I create a desktop shortcut (Win98, NT4 etc) from my VB3 code?


    > VB3 generates 16 bit code. Win98, NT4 don't run 16 bit code do they?


    What are you babbling about? AFAIK, it will be Windows.NET that won't
    run 16 or 32 bit Classic VB code. That won't be where Microsoft wants
    you to go today! Here's what the infamous "cereal box" hatchet-job
    <http://www.novell.com/news/press/arc...0/pr01093.html> *should*
    have said:


    Microsoft Developer Crunch


    What's the expiration date on that development platform?

    As a result of the recent Anders "VB Killer" Hejlsberg assimilation,
    Microsoft is shifting its focus from Visual tools to .NET "services".

    You're left with a development platform without the full support of its
    manufacturer. Which means increasing costs as it rapidly becomes obsolete,
    forcing you to implement time-consuming retrofits.


    "no you can't."

    --
    Joe Foster <mailto:jlfoster%40znet.com> Greed = God? <http://www.xenu.net/>
    WARNING: I cannot be held responsible for the above They're coming to
    because my cats have apparently learned to type. take me away, ha ha!



  6. #6
    Paul Clement Guest

    Re: Create desktop shortcut in VB3

    On 23 Nov 2001 13:40:02 GMT, "steve dunne" <steve@sdmservices.com> wrote:


    Can anyone remember this far back...?

    How do I create a desktop shortcut (Win98, NT4 etc) from my VB3 code?

    Sorry to sound stupid, but (maybe I am!)


    32-bit code won't help you here unless you can thunk, but there is probably an easier method. Try
    automating the Windows Scripting Host:

    http://msdn.microsoft.com/library/de...ml/w9p99b4.asp


    Paul ~~~ pclement@ameritech.net
    Microsoft MVP (Visual Basic)

  7. #7
    Dan Hinrichs Guest

    Re: Create desktop shortcut in VB3

    Hi Phil,

    Could you verify this for me?

    I have some VB3 apps that I was wondering if they
    would work on XP...

    A month ago, someone forwarded a MSKB article that
    stated 16bit code would not work in XP Pro. Since I
    don't yet have XP Pro, I haven't been able to test this.

    I've seriously considered getting on the MSDN plan
    as buying piecemeal is getting harder to keep up...

    Regards,
    Dan Hinrichs

    '*******************************************************************
    "Phil Weber" <pweber @ fawcette.com> wrote in message news:3c027e11$1@147.208.176.211...
    > > Win98, NT4 don't run 16 bit code do they?

    >
    > Huibert: Yes, they do, as do Windows 2000 and XP.
    > ---
    > Phil Weber
    >
    >




  8. #8
    Phil Weber Guest

    Re: Create desktop shortcut in VB3

    > I have some VB3 apps that I was wondering if they
    > would work on XP...


    Dan: I'm running XP Pro, and my VB3 apps (homegrown and third-party) work
    fine.
    ---
    Phil Weber



  9. #9
    Karl E. Peterson Guest

    Re: Create desktop shortcut in VB3

    Hi Phil --

    > > I have some VB3 apps that I was wondering if they
    > > would work on XP...

    >
    > Dan: I'm running XP Pro, and my VB3 apps (homegrown and third-party) work
    > fine.


    Don Bradner, I believe, has reported receiving numerous reports of various VBXs not
    working in some flavor(s) of XP. So, while plain-vanilla EXEs may be working, there
    definitely seems to be some blockage for many that chose to use 3rd party libraries.

    Later... Karl
    --
    [Microsoft Basic: 1976-2001, RIP]


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center