|
-
Sep 11th, 2009, 09:17 AM
#1
Thread Starter
Addicted Member
compiled exe gives me error "encountered a problem and need to close"
hi,
I had a pc which installed the application. after that, the program need modifications. after modifications, I compiled the exe named "project1.exe".
I copy the new compiled exe and paste it to the pc. when I double click and run the "project1.exe", it prompted out a windows error message box which shows "encountered a problem and need to close".
But when I run back the current exe at the pc, the exe works.
Any idea on this? Help urgently required
thanks
-
Sep 11th, 2009, 10:54 AM
#2
Re: compiled exe gives me error "encountered a problem and need to close"
Probably the app needs something on the other pc that isn't there, but does exist on your pc. Recommend building a setup.exe (i.e., VB's Package & Deployment Wizard, INNO, or other packagers) and install that on the other pc.
-
Sep 11th, 2009, 11:58 AM
#3
Re: compiled exe gives me error "encountered a problem and need to close"
-
Sep 11th, 2009, 12:21 PM
#4
Thread Starter
Addicted Member
Re: compiled exe gives me error "encountered a problem and need to close"
 Originally Posted by LaVolpe
Probably the app needs something on the other pc that isn't there, but does exist on your pc. Recommend building a setup.exe (i.e., VB's Package & Deployment Wizard, INNO, or other packagers) and install that on the other pc.
I did run a new setup for the app. I used setup factory to create the setup.
Wondering why error still exists
-
Sep 11th, 2009, 05:46 PM
#5
Re: compiled exe gives me error "encountered a problem and need to close"
Are you using any 3rd party controls? How big is your project?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Sep 11th, 2009, 06:25 PM
#6
Re: compiled exe gives me error "encountered a problem and need to close"
Use the P&D Wizard and create a dependency list rather than a installation package. Is everything in that list included in your Setup Factory installation package?
-
Sep 11th, 2009, 07:01 PM
#7
Thread Starter
Addicted Member
Re: compiled exe gives me error "encountered a problem and need to close"
koolsid,
using a class control, project not big, compiled exe is about 2.3MB.
MartinLiss,
Alll dependency files inside the list were included inthe setup factory package.
-
Sep 11th, 2009, 10:08 PM
#8
Re: compiled exe gives me error "encountered a problem and need to close"
Can you zip it and upload your project files minus the exe? Let me try and compile/run it here. If there is an error it will point out immediately...
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Sep 13th, 2009, 10:06 PM
#9
Thread Starter
Addicted Member
Re: compiled exe gives me error "encountered a problem and need to close"
 Originally Posted by koolsid
Can you zip it and upload your project files minus the exe? Let me try and compile/run it here. If there is an error it will point out immediately...
I tried install visual basic in that particular pc, the program can runs with source code. but when I want to compile the exe, it shows error "automation error. the system cannot find the file specified"
-
Sep 14th, 2009, 03:10 AM
#10
Re: compiled exe gives me error "encountered a problem and need to close"
 Originally Posted by ashly
I tried install visual basic in that particular pc, the program can runs with source code. but when I want to compile the exe, it shows error "automation error. the system cannot find the file specified" 
Upload your zipped source code so someone can compile the program! Maybe there is an error with your code or pc.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Sep 14th, 2009, 04:08 AM
#11
Thread Starter
Addicted Member
Re: compiled exe gives me error "encountered a problem and need to close"
 Originally Posted by Nightwalker83
Upload your zipped source code so someone can compile the program! Maybe there is an error with your code or pc.
I would like to do so, but due to confidential, I cannot upload the code.
I tried at my laptop & another pc A, both can compile the exe with no error.
But when at pc B, it happened the "automation error".
Please advice. Thanks
-
Sep 14th, 2009, 05:42 PM
#12
Re: compiled exe gives me error "encountered a problem and need to close"
 Originally Posted by ashly
I would like to do so, but due to confidential, I cannot upload the code.
I tried at my laptop & another pc A, both can compile the exe with no error.
But when at pc B, it happened the "automation error".
Please advice. Thanks 
Have you tried using the P&D Wizard like Martin Liss suggested?
Also, if you are concerned about confidentially you could up load it to a file host and just pm someone the link to the file. After the solution to the problem has been found it will be posted here and you can delete your program. No one else has to download you program apart from the person you send the link to.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Sep 15th, 2009, 09:08 PM
#13
Thread Starter
Addicted Member
Re: compiled exe gives me error "encountered a problem and need to close"
 Originally Posted by Nightwalker83
Have you tried using the P&D Wizard like Martin Liss suggested?
Also, if you are concerned about confidentially you could up load it to a file host and just pm someone the link to the file. After the solution to the problem has been found it will be posted here and you can delete your program. No one else has to download you program apart from the person you send the link to.
Yup. I did used the P&D Wizard, the result still the same.
-
Sep 15th, 2009, 11:16 PM
#14
Re: compiled exe gives me error "encountered a problem and need to close"
 Originally Posted by ashly
Yup. I did used the P&D Wizard, the result still the same.
You could try as I suggested above and pm me the link!
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Sep 23rd, 2009, 11:07 AM
#15
Re: compiled exe gives me error "encountered a problem and need to close"
Are you installing and running as Administrator ?
Are you using a manifest ?
Waiting for a full featured smart phone with out marrying a provider
Go Android
Go raiders 
-
Sep 23rd, 2009, 10:48 PM
#16
Thread Starter
Addicted Member
Re: compiled exe gives me error "encountered a problem and need to close"
 Originally Posted by isnoend07
Are you installing and running as Administrator ?
Are you using a manifest ?
Yes, running as administrator. Not using manifest.
-
Sep 24th, 2009, 12:52 AM
#17
Re: compiled exe gives me error "encountered a problem and need to close"
What computer did you create your program on, your laptop or another pc? Does the program work on the computer it was originally created on?
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Sep 24th, 2009, 01:04 AM
#18
Re: compiled exe gives me error "encountered a problem and need to close"
I have read a couple different places that exe's created with Vista have problems when installed on XP. Could this be the case?
Waiting for a full featured smart phone with out marrying a provider
Go Android
Go raiders 
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
|