VB6 Will not Create EXE file - But it use to? - file

I am trying to compile a VB6 project. On the File Menu it use to display MAKE PROJ1.EXE. Now it displays MAKE PROJ1. (note EXE is missing) The program runs fine in the IDE. I can start with full compile. I can even create a set up disk from the packaging and deployment wizard. I have a sucessful install, but the package will not run. There is no exe file. Other vb project compile just fine. Can anyone lend a hand????

That's weird
Open up the .VBP project file using Notepad and verify the following entry is correct
ExeName32="PROJ1.EXE"

Try this:
Right-click on VB6 toolbar
Customize
Make some change
Reset
Close
Make ... .exe
After that, it should work.

Related

How do I make my Setup project produce an executable?

I've built a small desktop application with which I am trying to use a Setup project to allow other users to install it. But whenever I run this installer, it does not produce an executable file. This is my first time making a setup project.
My solution contains two projects. One is the setup project which installs the primary output from the other project. The other project is a WPF App that consists of two xaml files, a xaml.cs file for each, an App.config file, and an icon. It also has a few dependencies including one Assembly, two Frameworks, and a handful of Packages. The app works exactly as intended whenever I start a Visual Studio debugging instance on either Debug or Release configurations.
I followed these instructions to build my Setup and deploy my app.
Whenever I ran the resulting Setup, it installed an XML configuration file, a JSON file, a main application dll file, and a bunch of dll files for my assemblies. I looked into some resources on how to run the main dll file properly, only (A) I'm completely stumped by everything I find on that topic, and (B) I would rather just produce an executable file anyway, since I intend for this Setup project to be used by other people and it would be inconvenient to ask said others to jump through the same hoops just to run it.
Why does my Setup project not produce a .exe file? I see that a .exe file is produced in my bin folder whenever I build my project (and this .exe works), so I would think the setup project should also produce one of those, but it doesn't. What am I doing wrong with my Setup project or anything else?
The setup.exe is a bootstrapper over the setup.msi. We can install the content using .msi or by running .exe which inturn runs /gets the data from the msi. To enable setup.exe building, go to solution explorer -> project -> properties -> prerequisites. check the check box on the top "Create setup program to install prerequisite components". apply and rebuld the project. A setup.exe bootstrapper will be created allong with msi.
Switch to Release mode, then rebuild your setup project. If everything went well (check the output console), you'll find an MSI file inside {setup project folder}/bin/Release
In "system file" from your proyect installer, you shoud to add in "Application Folder" the next source = PublishItemsOutpuGroup. In my case functions well.

Build project to run it in eclipse

My code runs a previous version of itself, so even though i completely remove all the code, it still runs the old one. I've read a few other posts regarding this problem, and tried it out. My temporary solution is to build the project before running it, but that is kinda stupid. the .exe file is in the Release folder, and my Debug folder dissapeared after the Clean.
How do I stop needing to build the project before everytime I need to run it?
I found out there's a button called auto build in the Launch Configuration properties window. So it build everytime I run it.

How to customize eclipse clean project function?

I have a C project on Eclipse. After a successful build, I carry (cut and paste) the intermediary files (generated makefiles, object files and etc) to a specified folder by a post-build script.
When I press clean project button, the compiler does nothing normally. This is ok but my problem is how can I clean the content of my specified folder? Is there anything to be modified in order to customize clean command? Can I trigger a script when I press this button? Any other solutions exist?
Open your .cproject in text editor. Search for cleanCommand=. Once found, edit the command in quotes.

installing GTK+3 on CodeBlocks Windows 7

I am trying to install GTK+3 on windows. It installs but it always tells me that it can't find the file libgtk-3-0.dll. However, GTK+2 works perfectly for me. The main issue is that I am trying to run some interface coded with GTK+3. Only the interface appears but none of the drawing in it! How can I make this work?
Do I need GTK+3 to make it work? If yes, how can I install it properly?
If you installed both gtk2 and gtk3 there might be a conflict with you path.
Surely if you installed gtk2 from a setup file (it usually add a path)
I do use both and compile gtk project with codeblock as well.
What I do is a dedicated folder where there is all gtk and dependency dll and always put the gtk executable I've build with CB.
download gtk3 from there http://www.gtk.org/download/win32.php and unzip
then create a folder MyGtk for example put all .dll from the /bin directory
copy also the /etc & share content at the root of MyGtk
then copy your .exe app also
everything should run fine.
If not edit your windows path and remove any location to c:\xxx\gtk

Converting a non-GUI Makefile (make) project to KDevelop

I have a rather simple C project I compile with make that I would like to run and debug in KDevelop, but I can't get this to work. I have installed cmake and tried both to import an existing project and start a new (which insists on creating a main.ccp file), but no matter what I do all the menu options to run the program are greyed out.
How can I move this project to KDevelop?
Hiya, once you have created the new project by importing the custom makefile,
go to the Run Menu, Launch Configurations, then select the Global tag, then press the green plus sign +.
This will create a new launch configuration that you need to fill out with all of the correct executable paths and arguments and whatnot.
Once these are set, then the execute/debug options will ungrey out.
I had to figure this out today, was not obvious at all.

Resources