COMDLG32 Compile Problems


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: COMDLG32 Compile Problems

  1. #1
    Chet Guest

    COMDLG32 Compile Problems


    When I compile applications in VB5 on my machine, the resulting executables
    fail due to "unexpected error" due to the presence of COMLDLG32 when they
    are run on any machine but my own (the .exe's run just fine on my computer).

    I've tried to copy the elements of COMLDLG32 (ocx, dll, etc) from other machines
    onto my own, but the only result is that common dialogs do not work anywhere
    on my machine (let alone compile).

    Another detail is that VB5 applications developed on my machine and then
    loaded for compilation on other machines have errors in loading forms where
    any common dialogs are present, and the common dialogs turn into picture
    boxes and have to be replaced.

    Any ideas on a solution to this? I'd like to have the same sort of common
    dialog as other machines have, and be able to compile code with common dialogs
    that will work on machines other than my own.

  2. #2
    Marc D'Aoust Guest

    Re: COMDLG32 Compile Problems

    You definitely have a versioning problem.

    Try comparing the version of the Comdlg32 on your machine with the one on
    the clients. You may have installed an application (VB6, Office 2000, IE5,
    some 3rd party tool, etc ...) which upgraded your controls. If that's the
    case, you will need to deploy the newer versions with your app. Also make
    sure that the development machine are all at the same level.

    If you need more help. just ask, or post your question in the Q&A section of
    OSTnet's Developer section.

    Good Luck


    --
    Marc D'Aoust
    Vice-President, Research and Development
    OSTnet OpenSource Technologies Inc

    mailto:marc@ostnet.com

    OSTnet develops software and subcontracts much of the work to registered
    developers over the Internet. Members of www.ostnet.com are free to view all
    company projects open for tender (in the Projects section of the Developer
    Home) and can apply to work on these projects. We prequalify all of our
    members to determine their level and areas of expertise. Please feel free to
    sign up at your leisure and write the exams in order to qualify yourself for
    OSTnet projects.


    "Chet" <nonegiven@toavoidspam.com> wrote in message
    news:39f6f795$1@news.devx.com...
    >
    > When I compile applications in VB5 on my machine, the resulting

    executables
    > fail due to "unexpected error" due to the presence of COMLDLG32 when they
    > are run on any machine but my own (the .exe's run just fine on my

    computer).
    >
    > I've tried to copy the elements of COMLDLG32 (ocx, dll, etc) from other

    machines
    > onto my own, but the only result is that common dialogs do not work

    anywhere
    > on my machine (let alone compile).
    >
    > Another detail is that VB5 applications developed on my machine and then
    > loaded for compilation on other machines have errors in loading forms

    where
    > any common dialogs are present, and the common dialogs turn into picture
    > boxes and have to be replaced.
    >
    > Any ideas on a solution to this? I'd like to have the same sort of common
    > dialog as other machines have, and be able to compile code with common

    dialogs
    > that will work on machines other than my own.




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