Results 1 to 30 of 30

Thread: File Not Found

  1. #1

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424

    File Not Found

    This code works on my developement machine but not on clients machine.
    I am getting error - run time error '53' File not found MDicInstallCheck.dll.
    What the hell is this . MDicInstallCheck.dll is developed in VC (It can't be reffered from Project >> References).
    My application's exe & MDicInstallCheck.dll are in the same directory.

    VB Code:
    1. Private Declare Function MDicInstallCheck Lib "MDicInstallCheck.dll" (ByVal szCmdLine As String) As Boolean
    2.  
    3. Private Sub cmdCancel_Click()
    4.     Unload Me
    5. End Sub
    6.  
    7. Private Sub cmdOK_Click()
    8.     Dim strCmdLine As String
    9.     strCmdLine = Chr(34) & "{" & txtKey.Text & "}" & Chr(34) & " " & txtHide.Text
    10.    
    11.     If (MDicInstallCheck(strCmdLine)) Then
    12.         MsgBox "Registration Complete. Activated Installation", vbInformation, "MRecord 2004 PRO Release 3"
    13.         MsgBox "Thank You for Installing MRecord", vbInformation, "MRecord 2004 PRO Release 3"
    14.         End
    15.     Else
    16.         MsgBox "Invalid Entry, Try Again", vbExclamation, "MRecord Release 3 Setup"
    17.     End If
    18. End Sub
    19.  
    20. Private Sub Form_Unload(Cancel As Integer)
    21.     Shell (App.Path & "\PV.exe -k -f msiexec.exe")
    22.     MsgBox "Installation Aborted", vbInformation, "MRecord Professional Setup"
    23.     End
    24. End Sub

  2. #2
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176
    try in run

    e.g Start >> run


    regsvr32 "<FILEPath>"
    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

  3. #3

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    Originally posted by BodwadUK
    try in run

    e.g Start >> run


    regsvr32 "<FILEPath>"
    The DllRegisterServer entry point was not found in C:\InstallCheck\MDicInstallCheck.dll

  4. #4
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176
    try copying the DLL into the system32 folder
    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

  5. #5

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    tried that also but no luck . thanks for replying.

  6. #6
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176
    What OS is your development PC and what OS is the clients PC?

    Maybe the DLL needs an external file and thats what it is picking up
    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

  7. #7

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    I am developement OS is Windows 2000 and i am deploying my app to Windows 2000, Windows 98, Windows XP. It is not working on any machine (It works if vb is installed).

  8. #8
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176
    Have you installed VB6 Dependancies on the client pc's?
    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

  9. #9

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    yes

  10. #10
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176
    What does this DLL do?
    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

  11. #11

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    retrieves registration info of new client from our remote server.

  12. #12
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176
    Does it write to any files?
    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

  13. #13

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    no. it validates new customer and creates few entries in registry if valid (gets that values from remote server).

  14. #14
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176
    Hmmm

    Why not use it as a referance in VB or cant you?

    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

  15. #15

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    it is not registerable. When i try to register it gives me error like this : The DllRegisterServer entry point was not found in C:\InstallCheck\MDicInstallCheck.dll

  16. #16
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176
    hmmm???


    Is the DLL project set to binary mode before you compile it?

    See project settings in one of those tabs
    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

  17. #17

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    that dll is developed in vc and don't anything about vc.

  18. #18
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176
    Do you know the person that made it?
    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

  19. #19
    Addicted Member Chrispybee's Avatar
    Join Date
    Sep 2003
    Location
    North Wales, UK
    Posts
    217
    I guess that you've put VB runtime library on the clients??

  20. #20
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176
    You havent got folder options set differently have you?

    If yours displays all extensions and their's doesnt display know extensions then you may have accidently got an extra .dll in the file name
    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

  21. #21

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    The person who developed that dll is no more in this company and i have installed vb6 runtimes, but no luck

    Thanks for replying.

  22. #22

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    Originally posted by BodwadUK
    You havent got folder options set differently have you?

    If yours displays all extensions and their's doesnt display know extensions then you may have accidently got an extra .dll in the file name
    i don't get it, can u pls explain in details.

  23. #23
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176
    If your PC has folder options set to show extensions of all files e.g

    Main.dll
    Main.exe
    etc.

    and your clients are set to hide all extensions to known files

    It would show up as (Different Icons)

    Main
    Main

    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

  24. #24

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    BodwadUK, i am confused . What is the relation of my problems with the thing that u r saying. . I can see my file extensions.

  25. #25

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    Hey BodwadUK thanks for ur continues and immediate replies. U r here from very long time. Thanks

  26. #26
    Fanatic Member Blade's Avatar
    Join Date
    Jan 1999
    Location
    Stoke-on-Trent, UK
    Posts
    527
    If you're still stuck with this then you should download Filemon (freeware) from www.sysinternals.com, put it on a client machine and run it alongside your app.
    This program will tell you exactly what files your dll is trying to call and then you will find out which one really is missing.

    From the way you've described it, it sounds like the MDicInstallCheck.dll is looking for some external file that is not there. (maybe an ini or cfg file?)

  27. #27

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    Thanks Blade . I will see into it.

  28. #28
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176
    if I call a file

    Wibble.dll.dll

    on a pc with file extensions hidden it will show up as

    wibble.dll

    because it hides the file extension

    best bet is remove the .dll on the end of the filename and see if warns you of a file type change
    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

  29. #29

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    that is not the case here

  30. #30
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176
    Try blades idea because that it all it can be now
    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

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