-
July 5th, 2017, 07:15 AM
#1
Visual Basic has stopped working while generating exe
My project is running fine, but while i am trying to generate exe file, it compiles and while it's writing exe, I gets the same error and shuting the IDE. Please help...
-
July 5th, 2017, 07:53 AM
#2
Re: Visual Basic has stopped working while generating exe
All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++23 Compiler: Microsoft VS2022 (17.6.5)
-
July 5th, 2017, 07:56 AM
#3
Re: Visual Basic has stopped working while generating exe
Visual Basic has stopped working
-
July 5th, 2017, 08:48 AM
#4
Re: Visual Basic has stopped working while generating exe
Originally Posted by srikantmohanty
Visual Basic has stopped working
Is there is there no error message shown?
All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++23 Compiler: Microsoft VS2022 (17.6.5)
-
July 5th, 2017, 08:32 PM
#5
Re: Visual Basic has stopped working while generating exe
I've never had that happen in the years I have been using VB.
I would suspect that either there is a problem with your install or a problem with the hardware on the PC in question.
Always use [code][/code] tags when posting code.
-
July 12th, 2017, 08:55 PM
#6
Re: Visual Basic has stopped working while generating exe
Hi There,
I would like to know how to convert files of vb6 to exe file , but at the same I have call an input file in it?
for example, my results cannot display when i convert vb6 to exe file because , i call data using input file from txt.
thanks
-
July 12th, 2017, 09:19 PM
#7
Re: Visual Basic has stopped working while generating exe
Originally Posted by misaghah007
Hi There,
I would like to know how to convert files of vb6 to exe file , but at the same I have call an input file in it?
for example, my results cannot display when i convert vb6 to exe file because , i call data using input file from txt.
thanks
By convert I assume you mean compile.
Not sure what you are referring to related to input file.
An Exe can easily read data from a file so if it is not working then you are doing something wrong.
Keep in mind that you must distribute data files in addition to the exe if you want it to read those files. Can't read what is not there.
Always use [code][/code] tags when posting code.
-
July 12th, 2017, 09:28 PM
#8
Re: Visual Basic has stopped working while generating exe
Originally Posted by DataMiser
By convert I assume you mean compile.
Not sure what you are referring to related to input file.
An Exe can easily read data from a file so if it is not working then you are doing something wrong.
Keep in mind that you must distribute data files in addition to the exe if you want it to read those files. Can't read what is not there.
I have attach the screen shot after I saved my vb files in exe and trying to run it using other laptop.
-
July 12th, 2017, 09:29 PM
#9
Re: Visual Basic has stopped working while generating exe
-
July 15th, 2017, 11:05 PM
#10
Re: Visual Basic has stopped working while generating exe
That message is telling you that the folder you are looking for does not exist.
Most likely you have hard coded a path and filename and that path and file are not on the computer you are trying to run the program on.
Always use [code][/code] tags when posting code.
-
July 23rd, 2017, 10:38 PM
#11
Re: Visual Basic has stopped working while generating exe
Originally Posted by DataMiser
That message is telling you that the folder you are looking for does not exist.
Most likely you have hard coded a path and filename and that path and file are not on the computer you are trying to run the program on.
Ok. noted. in that way, How am I going to save that file in exe ?
-
July 24th, 2017, 09:13 AM
#12
Re: Visual Basic has stopped working while generating exe
Your error does not happem when you generate the ,exe - The error is happening when you RUN the .exe.
Look at the Form_Load event of the form you are displaying - it is probably somewhere in there that a path is being set - which does not exist.
If you upload your project, there may be a way to help you.
In the mean time, it is always frustrating when you first start learning a new programming language - hang in there - it always gets easier !
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
|