Results 1 to 18 of 18

Thread: Error Message

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2008
    Posts
    110

    Error Message

    Hello there,
    I just developed an vb application which is for resizing a selected picture and displaying it.
    It works fine in almost all machines.
    But it's not working in a machine having MS Office 2003.
    All my code contains are

    1)Making thumbnail of given picture.
    2)Saving that file name into MS Access Database.

    I am getting error "C:\ProgramFiles\Microsoftoffice\OFFICE11\1033\SETUP.CHM"

    Please advice me how can i fix this error.

    Many thanks in advance.

  2. #2
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Error Message

    If possible, try to attch your project. So that we will be able to find where the problem is...

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Error Message

    1. What are you using setup.chm for?
    2. Please post the code that is giving the error.
    3. Please state the exact wording of the error along with the error number.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jan 2008
    Posts
    110

    Re: Error Message

    My code is just
    Dim sPic As StdPicture
    Set sPic = LoadPicture(filename)
    pictureBox1.AutoRedraw = True

    pictureBox1.PaintPicture sPic, 0, 0, pictureBox1.ScaleWidth, pictureBox1.ScaleHeight
    pictureBox1.Picture = pictureBox1.Image
    SavePicture pictureBox1.Picture, filename
    Set sPic = Nothing
    rs.Open "select * from photodetails", con, 3, 2, 1
    If Not rs.EOF Then
    rs.Fields("filename") = filename
    rs.Update
    Else
    rs.AddNew
    rs.Fields("filename") = filename
    rs.Update
    End If
    rs.Close

    Please help!

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Error Message

    Do you know what line causes the error?

    Also, I would like to know the exact wording of the error along with the error number.

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Jan 2008
    Posts
    110

    Re: Error Message

    The entire error message is
    “The path to Microsoft Office Project Professional 2003 cannot be found. Verify that you have access to this location and try again or try to find the installation package ‘PRJTROE.MSI’ in a folder from which you can install the product Microsoft Office Project Professional 2003”

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Error Message

    MS Project??? What does your program have to do with MS Project?

    I see nothing in the code that you posted that would generate that error.

    Again, do you know what specific line of code is causing this?

  8. #8
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Error Message

    What's that meant for?

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  9. #9
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Error Message

    Which line shows the error?

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  10. #10

    Thread Starter
    Lively Member
    Join Date
    Jan 2008
    Posts
    110

    Re: Error Message

    i think updating record will cause this error

    rs.Open "select * from photodetails", con, 3, 2, 1
    If Not rs.EOF Then
    rs.Fields("filename") = filename
    rs.Update
    Else
    rs.AddNew
    rs.Fields("filename") = filename
    rs.Update
    End If
    rs.Close

    But i don't have VB installed on that machine, so don't know where the error is.

  11. #11
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Error Message

    Try to post the entire project.

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  12. #12

    Thread Starter
    Lively Member
    Join Date
    Jan 2008
    Posts
    110

    Re: Error Message

    Actually when i click a button this error happens.

    I posted entire code of click event.

    What else you need to fix this error?

  13. #13
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Error Message

    Try to make the setup program of you application using package & deployment wizard.

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  14. #14

    Thread Starter
    Lively Member
    Join Date
    Jan 2008
    Posts
    110

    Re: Error Message

    I am using innosetup.
    Should i use "package & deployment wizard"?

  15. #15
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Error Message

    The error may be due to the lack of runtime files in that computer. Try to create the setup file or install vbruntime files in that computer(available in many websites, download it and install)
    good night pal

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  16. #16

    Thread Starter
    Lively Member
    Join Date
    Jan 2008
    Posts
    110

    Re: Error Message

    I think this is due to problem in MS office of that machine.
    Is it possible?

  17. #17
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Error Message

    Use it. After creating the setup file, there will a folder along with it which contains all the dll, ocx files. Use them in inno, and remember to let them installed in system folder or application folder

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  18. #18
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Error Message

    Are you using any resource from ms office. I don't whether you are using anything. That's why i am asking you to post the entire project.
    Anyway i am now browsing the web through my mobile, so i cant give you any code.

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

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