Hello, I'm new to programming, started learning a couple weeks ago, and am currently learning arrays. However, I am just curious, after I make a project, how can I make a shortcut to run it? If i go in the folder and click on it all it does is bring up the code, any help would be great!
Desktop Icon
Started by Gumbi, Apr 15 2010 06:56 PM
12 replies to this topic
#1
Posted 15 April 2010 - 06:56 PM
|
|
|
#2
Posted 15 April 2010 - 07:29 PM
I guess you are looking for generating an executable file using C. It depends on the compiler and the operating system you are using...
#3
Posted 16 April 2010 - 06:22 PM
using visual basic, windows 7.
#4
Posted 19 April 2010 - 02:15 AM
Compile.
I don't use VB and you're posting in C, C++ forum, but you must compile to get a program. You can them make shortcuts to it. You must first learn how your computer's file system works. You can't run your code, you must compile, then you will have an "exe" file, but you can't see extensions, because you're using win7 and you have no idea how to turn them on, or what they even are, or that you were missing something. So, learn windows first, then move on to installing and using a few programs, then move on to making them.
Really, your ordering is a bit off.
Ps, try hitting F9 or CTRL-F9 in VB to compile. F5 may work, or CTRL-F5. But I can't be sure, as you're posting in the wrong forum.
I don't use VB and you're posting in C, C++ forum, but you must compile to get a program. You can them make shortcuts to it. You must first learn how your computer's file system works. You can't run your code, you must compile, then you will have an "exe" file, but you can't see extensions, because you're using win7 and you have no idea how to turn them on, or what they even are, or that you were missing something. So, learn windows first, then move on to installing and using a few programs, then move on to making them.
Really, your ordering is a bit off.
Ps, try hitting F9 or CTRL-F9 in VB to compile. F5 may work, or CTRL-F5. But I can't be sure, as you're posting in the wrong forum.
#5
Posted 19 April 2010 - 03:02 AM
Firebird, what are you talking about? I know how to compile and run my programs just fine? Please read original post before you start putting in random text.
#6
Posted 19 April 2010 - 03:06 AM
Gumbi said:
Hello, I'm new to programming, started learning a couple weeks ago, and am currently learning arrays. However, I am just curious, after I make a project, how can I make a shortcut to run it? If i go in the folder and click on it all it does is bring up the code, any help would be great!
Well, you need to compile. Then you get an exe file. If you knew what this was, you wouldn't be mistaking your source code for the executable. But that's exactly what you're doing.
So, not as random as you might think. As a matter of fact, you might think twice about calling it random. In any case, if you don't know what you're doing, and you call people that do know what they're doing "random" then you can be guaranteed not to ever find out how to do things. In any case, C is not VB and VB is not C and you're in the wrong forum, plus, you need an exe file, and this exe file will not bring up your source code. This is funny, but not really. More like sad, but not really.
#7
Posted 20 April 2010 - 04:26 PM
Firebird there is no exe file in my folder... Stop trying to flame, I'm here for help, because I obviously don't know much about programming, but I do know that there is no .exe file to be found. Grow up please, you just wrote a paragraph crying. Anyone willing to help please let me know, firebird go away.
#8
Posted 20 April 2010 - 04:28 PM
Seriously I just read everything you wrote, being an *******. You obviously don't know much about programming either if you waste your time on this thread telling me I need to practice installing programs because "I don't know how to on win 7." Lol so funny, finnaly found someone you know more programming then and all you wanna do is try to show everyone how amazing you are, please grow up.
#9
Posted 20 April 2010 - 04:31 PM
Anyway, you have to compile it to an exe, then you'll have an exe. Where VB puts this exe, I don't know. Usually in the same dir as your project file, but really, you can change these settings, so I don't know your setup.
Plus, you're posting in the wrong forum. I already said that, but I'll say it again, post it in the VB forum and they'll tell you how to compile to an exe. But one thing I do know and that is that you need an exe.
And I'm not going away. But, since you're posting in the wrong forum, maybe you should. But you can stay here if you like, I just think that maybe you're better off in the VB forum, where they can tell you how to compile to an exe.
Good luck!
Plus, you're posting in the wrong forum. I already said that, but I'll say it again, post it in the VB forum and they'll tell you how to compile to an exe. But one thing I do know and that is that you need an exe.
And I'm not going away. But, since you're posting in the wrong forum, maybe you should. But you can stay here if you like, I just think that maybe you're better off in the VB forum, where they can tell you how to compile to an exe.
Good luck!
#10
Posted 20 April 2010 - 04:42 PM
Gumbi said:
You obviously don't know much about programming either if you waste your time on this thread
...
finnaly found someone you know more programming then
...
finnaly found someone you know more programming then
It's more than not more then, but that's not relevant.
What is relevant is that you need to have an exe file, google it. And you asked how to do that, and that's what I'm saying, you need to compile.
It's also irrelevant how much I know, because you need to compile, no matter if I'm a drooling vegetable or not.
And even though you may say, or think, or both, that I'm a noob at programming, I'm not. But it isn't necessary for you to believe me.
In the mean time, go to the VB forum and enjoy posting there. Because this isn't the VB forum. But, you already knew that.
#11
Posted 20 April 2010 - 10:54 PM
Take it easy now guys, there's a reason he ask and the reason is that he doesn't know how to do it. He doesn't need someone telling what he already know.
Anyways, I don't really know the windows 7 file path but on xp/vista you can find the exe here ...\Visual Studio 2008\Projects\[your project's name]\[your project's name]\obj\Debug\
Of course it also depends on your VB version.
*moving to VB forum too *
Anyways, I don't really know the windows 7 file path but on xp/vista you can find the exe here ...\Visual Studio 2008\Projects\[your project's name]\[your project's name]\obj\Debug\
Of course it also depends on your VB version.
*moving to VB forum too *
#12
Posted 21 April 2010 - 01:19 PM
Quote
Hello, I'm new to programming, started learning a couple weeks ago, and am currently learning arrays. However, I am just curious, after I make a project, how can I make a shortcut to run it? If i go in the folder and click on it all it does is bring up the code, any help would be great!
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.
Science is only an educated theory, which we cannot disprove.


Sign In
Create Account


Back to top










