|
-
Apr 26th, 2006, 06:03 AM
#1
Thread Starter
Lively Member
Not creating EXE
Hi Friends,
I am trying to create an exe which is developed in using vb6,crystal report 8.5 and access. Now when I try to create EXE it copiles and then when it reaches to half of writing exe my system gets hang. its not creating exe. I am trying hard but couldn't find any solution. It is not showing any error also. but just without giving any message it shows like its creating and nevver ends. plz help me how to come out of this and to create an exe. Before that it was working fine. But then i did some changes and then tried, so its not working since 2 days.
plz help me
-
Apr 26th, 2006, 07:09 AM
#2
Re: Not creating EXE
I would suggest waiting for sometime till you get a Message Box or something. Sometimes patience pays.
Use [code] source code here[/code] tags when you post source code.
My Articles
-
Apr 26th, 2006, 08:36 AM
#3
Thread Starter
Lively Member
Re: Not creating EXE
Thank Ali,
I did the same thing but u know the size of exe file is now 25 MB which was just 2 MB before. And I've just added 5 forms and 3 reports in new version. So what should I do. Plz guide.
damini
-
Apr 26th, 2006, 08:40 AM
#4
Re: Not creating EXE
what happens when you run the program in the IDE, but select Run with Full Compile instead of just Run?
-
Apr 26th, 2006, 08:47 AM
#5
Thread Starter
Lively Member
Re: Not creating EXE
Thanks kleinma for ur kind co-operation. U know i run my project with start with full compile instead of run. Then I m trying to create an exe. It takes lots of time to create and exe and once it is done its size is too big (25 MB). Previously it was only 2 MB but I added 5 forms and 3 reports and now its 25 MB. So plz help me how to reduce size of exe.
Thanks in advance
-
Apr 26th, 2006, 09:06 AM
#6
Re: Not creating EXE
the reports themselves should not actually be part of the exe, they should be rpt files.. so I don't see how those would be adding to the EXE size... was there anything non standard on the 5 forms you added? like 3rd party controls or something else?
-
Apr 26th, 2006, 09:14 AM
#7
Thread Starter
Lively Member
Re: Not creating EXE
No. I've nt used any third party controls in that form. and reports i've used not as rpt but i've added crystal report in my project as a part of report. but then also it should not increase size this much.
thanks for ur co-operation.
-
Apr 26th, 2006, 09:19 AM
#8
Re: Not creating EXE
I did not know you could add crystal reports to a VB6 project....
-
Apr 26th, 2006, 09:28 AM
#9
Thread Starter
Lively Member
Re: Not creating EXE
Ya you can add crystal report to vb. U can either add new and design there or u can add existing rpt file in vb. But I don't think only adding 3 files can increase this much size because before that i had more reports and i've just added more three in them. so it should not increase this much size. i don't know the reason.
-
Apr 26th, 2006, 09:53 AM
#10
Re: Not creating EXE
Delete the exe, and try to compile again.
-
Apr 26th, 2006, 10:40 AM
#11
Thread Starter
Lively Member
Re: Not creating EXE
I moved that old exe to another location and then compiled to create new exe. but same. no change.
thx
-
Apr 26th, 2006, 01:01 PM
#12
Re: Not creating EXE
You might have to upload your project for someone to take a look at it to see...
-
Apr 27th, 2006, 06:03 AM
#13
Thread Starter
Lively Member
Re: Not creating EXE
I can't upload my code. because its too big
-
Apr 27th, 2006, 06:21 AM
#14
Re: Not creating EXE
 Originally Posted by damini_dd
I moved that old exe to another location and then compiled to create new exe. but same. no change.
thx
What changes have you done to the project?
Have you added any new Forms/Resources?
Use [code] source code here[/code] tags when you post source code.
My Articles
-
Apr 27th, 2006, 08:58 AM
#15
Thread Starter
Lively Member
Re: Not creating EXE
Ya I just added 3 5 forms and 3 reports and one resouce file. but before that size of exe file was around 2 MB which is now 25 MB. And in these forms i've not used any third party control and reports are just part of vb project n not rpt file. There reports are created in Crystal report 8.5 and then added to vb project.
Last edited by damini_dd; Apr 27th, 2006 at 09:02 AM.
-
Apr 27th, 2006, 08:23 PM
#16
Re: Not creating EXE
Did you uncheck the report option in CR to "Save data with report"? Or are you using the report method - .DiscardSavedData?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 28th, 2006, 02:27 PM
#17
Re: Not creating EXE
That my guess RobDogg888.
-
Apr 29th, 2006, 04:25 AM
#18
Re: Not creating EXE
 Originally Posted by damini_dd
Ya I just added 3 5 forms and 3 reports and one resouce file. but before that size of exe file was around 2 MB which is now 25 MB. And in these forms i've not used any third party control and reports are just part of vb project n not rpt file. There reports are created in Crystal report 8.5 and then added to vb project.
A troubleshooting option would be to remove the newly added forms/reports/resource file and compile the project. If it compiles well then add the items one by one and compile the project. If after adding a certain item, the compile does not happen or takes some time then that item is the culprit.
I would guess it has got something to do with the resource file you are using. What is there in the resource file.
Use [code] source code here[/code] tags when you post source code.
My Articles
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
|