|
-
Aug 21st, 2008, 09:55 AM
#1
Thread Starter
Lively Member
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.
-
Aug 21st, 2008, 10:09 AM
#2
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,...
-
Aug 21st, 2008, 10:18 AM
#3
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.
-
Aug 21st, 2008, 10:25 AM
#4
Thread Starter
Lively Member
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!
-
Aug 21st, 2008, 10:27 AM
#5
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.
-
Aug 21st, 2008, 10:27 AM
#6
Thread Starter
Lively Member
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”
-
Aug 21st, 2008, 10:33 AM
#7
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?
-
Aug 21st, 2008, 10:34 AM
#8
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,...
-
Aug 21st, 2008, 10:37 AM
#9
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,...
-
Aug 21st, 2008, 10:39 AM
#10
Thread Starter
Lively Member
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.
-
Aug 21st, 2008, 10:39 AM
#11
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,...
-
Aug 21st, 2008, 10:42 AM
#12
Thread Starter
Lively Member
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?
-
Aug 21st, 2008, 10:42 AM
#13
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,...
-
Aug 21st, 2008, 10:46 AM
#14
Thread Starter
Lively Member
Re: Error Message
I am using innosetup.
Should i use "package & deployment wizard"?
-
Aug 21st, 2008, 10:47 AM
#15
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,...
-
Aug 21st, 2008, 10:48 AM
#16
Thread Starter
Lively Member
Re: Error Message
I think this is due to problem in MS office of that machine.
Is it possible?
-
Aug 21st, 2008, 10:52 AM
#17
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,...
-
Aug 21st, 2008, 10:59 AM
#18
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|