473,473 Members | 1,604 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Build an app from an app

8 New Member
Hy.
I programm in VB6 for a year and i want to know, how to make an application like that:
a:You have a form1, form2 and a command1 on form1. I want when somebody clicks on that command1 the application will build the form2 to another .exe .
Any Help will be useful...
Thanks.

Matic 2007, Trebnje, Slovenia - 15y old
p.s. Sorry if i done any mistake, 'cause my english is not veary good...xD
May 27 '07 #1
13 1344
Killer42
8,435 Recognized Expert Expert
Hy.
I programm in VB6 for a year and i want to know, how to make an application like that:
a:You have a form1, form2 and a command1 on form1. I want when somebody clicks on that command1 the application will build the form2 to another .exe .
Any Help will be useful...
So in other words, you want to create a compiler. My advice would be to learn C++.
May 28 '07 #2
miklavcicmatic
8 New Member
No, not compiler. I am making a "trainer maker" and till now, i was successful but i can't figure how can i build that form(that was edited) out to file. No, not the "trainer maker" program from VB6 but user of that program. When he edites the form he clicks on "BUILD" and it builds form out.

I know a litlle C++ too, but please, post for vb6.

matic
May 28 '07 #3
Killer42
8,435 Recognized Expert Expert
My point was that to produce an EXE you have to use a compiler (and linker, but they're generally combined these days).

If you want to create a compiler, not only is it emphatically not a trivial task, but I believe they are generally written in C++. Or to put it another way, you are trying to re-create VB.
May 28 '07 #4
miklavcicmatic
8 New Member
sorry me for being nervous, but i am just another newbie....
Please can someone make me an example of compiler that compiles:
a form with a button on it to exe,
or something like that. SIMPLE.
thanks in advance!

Sorry for misunderstanding, made before and for my bad english. LoL
May 30 '07 #5
Motoma
3,237 Recognized Expert Specialist
So in other words, you want to create a compiler. My advice would be to learn C++.
Not necessarily, you could have a dynamic form which reads a configuration file for the layout information: the first form would create the configuration file, while the second would read and display based on it.
May 30 '07 #6
miklavcicmatic
8 New Member
Yes, i have thinked of that. I allso made one uninstaller like that you sayed but the point is, i wanna to have ONE file - exe.

Maby a tut or something?
A simple app?c++ or vb6?


PLEEEEASE.....
i need that.... I LIVE 4 it..
Joking .lol.
May 31 '07 #7
miklavcicmatic
8 New Member
so how can i make a compiler(c++ or vb)???
Jun 3 '07 #8
Killer42
8,435 Recognized Expert Expert
so how can i make a compiler(c++ or vb)???
A compiler is a serious piece of software. You might just as well ask "how do I write an office suite?". Or go find a friend who knows how to use a soldering iron, and ask them to knock up a car manufacturing plant for you. (Ok, I'm exaggerating a little.)

The answer is simple. Learn programming, get lots of experience, read books about how compilers work.

I really doubt that you are going to find anyone here who will "bang out" a compiler for you, any more than we would create OpenOffice.Org overnight.

(This reminds me of a friend who used to look at games like Warcraft 2 and ask me "would it take you long to write that?". He seemed convinced that I could throw it together in a week, and was just too lazy. Never mind the fact that the actual game took a huge team over a year.)
Jun 4 '07 #9
pbmods
5,821 Recognized Expert Expert
Have a look at this article.
Jun 4 '07 #10
Killer42
8,435 Recognized Expert Expert
Thanks, pbmods. After a quick glance, I believe I'll have to find the time to read that article too. I need to start learning about the .Net world.
Jun 4 '07 #11
Motoma
3,237 Recognized Expert Specialist
The answer is simple. Learn programming, get lots of experience, read books about how compilers work.

You forgot to mention architecture and operating systems as well. To build a good compiler you have to intimately understand the inner working of the processor you are building for, as well as how the operating system handles and interacts with it.
Jun 4 '07 #12
miklavcicmatic
8 New Member
OK, so i will start with something simplier.
Thanks anyway, dudes.

Oh, i've allmost forgot. I have one more question for c++ users. So: How can i
open a form from another form:
- I have Form1 and Form2
On form1 there's a Button1.
When i click that button i want the other form to show up. I tried but i just can't figure it out. form2->visible->true does not work. I know this is a funny question for u professionals but i have to start somewhere.
Thanks in advance!
In Slovenia we say - Hvala!


-------------------------------------------------------------
Please open me that gate, so i will reach to another site.
Myself.
Jun 5 '07 #13
Killer42
8,435 Recognized Expert Expert
I've split off the last few message to this thread in the C/C++ forum.
Jun 7 '07 #14

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
10
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a...
2
by: Rudy Ray Moore | last post by:
How can I modify the project build order of a multi-project workspace under "Visual Studio .net 2003 7.1 c++"? I tried to modify the .sln by hand to influence the build order, but it didn't seem...
3
by: Julian | last post by:
Build.Net is a build tool that parses and builds VS.NET project files. Build.Net is run from the command line. It recursively searches a directory for VS.NET project files to build. This...
0
by: Andrew Ayre | last post by:
Hi, I can't seem to get the library built, and any help is greatly appreciated. Here is the info: Windows XP Borland C++ Builder 5 Latest Boost source code (downloaded at the weekend) Windows...
1
by: AlexZh | last post by:
Hi, I'd like to stop command line build by one project build failed. To do that I've created simple AddIn (see code below), that works fine for IDE and does not work for command line. In the AddIn...
5
by: eranshuman | last post by:
Hi, I m very new to perl I m running an API which have the Buil.pl When Im compiling using perl Build.pl I was getting error : Can't locate Module/Build.pm in @INC (@INC contains:...
0
by: Akira Kitada | last post by:
Hi list, I was trying to build Python 2.6 on FreeBSD 4.11 and found it failed to build some of the modules. """ Failed to find the necessary bits to build these modules: _bsddb ...
0
by: M.-A. Lemburg | last post by:
On 2008-10-25 08:39, Akira Kitada wrote: Please post a bug report on python.org about these failures. The multiprocessing module is still fairly new and obviously needs more fine tuning for...
0
by: Akira Kitada | last post by:
Hi Marc-Andre, Thanks for the suggestion. I opened a ticket for this issue: http://bugs.python.org/issue4204 Now I understand the state of the multiprocessing module, but it's too bad to see...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.