Results 1 to 3 of 3

Thread: URGENT!!!! PLEASE HELP!!!!!!!!!!!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2000
    Posts
    24

    Unhappy

    I have used the Package Deployment to create the cab file & installed it on client pcs, but when the exe is run on NON-Development pcs then
    I keep getting this Error 430:
    Class does not support Automation or does not Support expected interface

    I have a class & all I do is create an object of that class in my submain()
    But after troubleshooting here is where the problem lies i think:
    ---------------------------------------------------------
    Code Below for SubMain()
    ---------------------------------------------------------
    Set objPath = New Scripting.FileSystemObject

    Set cn = New ADODB.Connection
    Set rs = New ADODB.Recordset

    ' The following code will search for the DB if it has been
    ' moved or if the DB is not found in the current dir the
    ' very first time the app is run on a users pc

    TryAgain:
    strDBPath = frmDBLoc.PathFilename
    If Len(strDBPath) = 0 Then


    strDBPath = PathSlash(App.Path) & "Wings DB.MDB"

    End If

    If Not objPath.FileExists(strDBPath) Then

    frmDBLoc.Setup vbModal, strDBPath
    If frmDBLoc.Cancel Then
    End
    End If
    GoTo TryAgain
    End If
    --------------------------------------------------------

    I put a messagebox after this piece of code & on the client pcs that messagebox never showed so its somewhere in here the problem is....I hope the right files are being distributed with the Package Deployment wizard cause it really doesnt give u a choice to select a diff version of a file....
    Please HELP!!!!!!!!!!!!

    Arif


  2. #2
    Guest
    You are definitely missing a file. Make sure you've added all the necessary files to your package.

    Check your references and components to see what DLL or TLB or other files are being used that are not included in the cab. There should be a place for you to add in the included files portion of the Package Deployment Wizard.

    I'm sorry I can't help you more cause I don't know what files you need. But maybe I helped point in the right direction?

  3. #3
    Hyperactive Member
    Join Date
    Apr 2000
    Location
    Sudbury, Ontario, Canada
    Posts
    274
    Make sure you run an up to date version of mdac on the client's machine.

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