Results 1 to 3 of 3

Thread: Need some code please

  1. #1

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Need some code please

    Hi all!

    Cheeky one this, quick summary is I'm writing a vb setup app & need some C++ code to kick it all off.

    Would any kind person out there care to help me out? I know nothing about C++ & haven't got the program with me, so...

    I need an app (compiled exe please) which could tell if the vb6 runtime files are installed on a pc
    If not, it'll do the equivalent of the vb "shell" command to start an app called "VB6RUNTIMEFILES.exe" held in the same path as this C++ exe.

    Sorry to ask this, I don't normally ask for a whole code sample but I'm a bit stuck with this one. Any help is very much appriciated! Thank you!

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Isn't there an installer packaged with Visual Basic? It should be capable of doing this. Searching for DLLs and making sure they are registered is hard work, nobody is going to write that for you.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    No, I don't expect anyone to goto those lengths.
    I thought there might be a registry key holding the version of the runtimes if they were on the system etc.

    & yes, you're right there is a P&D wizard in vb, but I'm trying to write an alternative to it. Apparently this uses C++ files to install the vb runtimes also, but I cannot open any of the C++ source code files.

    Edited:
    Okay, not a registry key, but is it possible to do some kind of check to see if the file MSVBVM60.DLL is in the user's system directory please?
    Last edited by alex_read; Oct 16th, 2002 at 09:38 AM.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

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