Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


C++ or VB? Please read...
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
AndrewMan
Grandmaster Cheater Supreme
Reputation: 0

Joined: 01 Aug 2007
Posts: 1257

PostPosted: Tue Mar 11, 2008 7:05 pm    Post subject: C++ or VB? Please read... Reply with quote

Okay..

Yeah I hate using VB now because I cant do shit with it. I cant make an external application close with a hotkey/button.

I can't use any useful codes. Its just getting way to simple now.

Thing is, C++ is much harder to learn. I have lacrosse in like 5 days, and from then on, I will get home at 7:30, and I gotta do homework and shit. Yes, I got a great life but I love programming for some reason...

Anyways, how much time do you think it will take for me to say, make an "Image-Loader". Something where it prints the screen,(Print Scr) and than with another click of a button, uploads it onto tinypic.com or something through FireFox (or e.g. your default browser).

I will only have like 30-60 mins a day of programming from March 17th to like Jan. 9th.

Rolling Eyes

_________________
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Tue Mar 11, 2008 7:10 pm    Post subject: Reply with quote

The program you are making can be done in VB o.o
_________________
Back to top
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Tue Mar 11, 2008 7:11 pm    Post subject: Re: C++ or VB? Please read... Reply with quote

AndrewMan wrote:
Okay..

Yeah I hate using VB now because I cant do shit with it. I cant make an external application close with a hotkey/button.

I can't use any useful codes. Its just getting way to simple now.

Thing is, C++ is much harder to learn. I have lacrosse in like 5 days, and from then on, I will get home at 7:30, and I gotta do homework and shit. Yes, I got a great life but I love programming for some reason...

Anyways, how much time do you think it will take for me to say, make an "Image-Loader". Something where it prints the screen,(Print Scr) and than with another click of a button, uploads it onto tinypic.com or something through FireFox (or e.g. your default browser).

I will only have like 30-60 mins a day of programming from March 17th to like Jan. 9th.

Rolling Eyes

Even though it can be done in VB... do it in C++. It'll be faster and smaller in size. (Unless you're using absolutely shit code.)

_________________
haxory' wrote:
can't VB do anything??
windows is programmed using VB right? correct me if im wrong.

so all things in windows you have like the start menu is a windows form too.
Back to top
View user's profile Send private message
Heartless
I post too much
Reputation: 0

Joined: 03 Dec 2006
Posts: 2436

PostPosted: Tue Mar 11, 2008 7:14 pm    Post subject: Reply with quote

Learn SendInpu() to press screen print, this will take you about 30 seconds, I'll post the code to that later.

And I'm not sure about the second part.

SendInput Code

Code:

   INPUT Input;
   memset(&Input,0,sizeof(INPUT));

   Input.type = INPUT_KEYBOARD;
   Input.ki.wVk = VK_PRTSCRN;         //this is where you put the print screen key, this not the right one, google virtual keys and replace it here
   Input.ki.dwFlags = KEYEVENTF_EXTENDEDKEY;
   SendInput(1,&Input,sizeof(INPUT));
   
   Input.type = INPUT_KEYBOARD;
   Input.ki.wVk = VK_PRTSCRN;        //and here
   Input.ki.dwFlags = KEYEVENTF_KEYUP;
   SendInput(1,&Input,sizeof(INPUT));

_________________
What dosen't kill you, usually does the second time.
Back to top
View user's profile Send private message
AndrewMan
Grandmaster Cheater Supreme
Reputation: 0

Joined: 01 Aug 2007
Posts: 1257

PostPosted: Tue Mar 11, 2008 7:15 pm    Post subject: Reply with quote

Blader wrote:
The program you are making can be done in VB o.o


I got not fucking idea what im doing wrong. I think its this 2008 shit. Im starting to hate this .Net language. All the tutorials are from VB6

_________________
Back to top
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Tue Mar 11, 2008 7:17 pm    Post subject: Reply with quote

AndrewMan wrote:
Blader wrote:
The program you are making can be done in VB o.o


I got not fucking idea what im doing wrong. I think its this 2008 shit. Im starting to hate this .Net language. All the tutorials are from VB6

Because you have to search VB.NET in Google while looking for tutorials.

_________________
haxory' wrote:
can't VB do anything??
windows is programmed using VB right? correct me if im wrong.

so all things in windows you have like the start menu is a windows form too.
Back to top
View user's profile Send private message
AndrewMan
Grandmaster Cheater Supreme
Reputation: 0

Joined: 01 Aug 2007
Posts: 1257

PostPosted: Tue Mar 11, 2008 7:20 pm    Post subject: Reply with quote

HornyAZNBoy wrote:
Learn SendInpu() to press screen print, this will take you about 30 seconds, I'll post the code to that later.

And I'm not sure about the second part.

SendInput Code

Code:

   INPUT Input;
   memset(&Input,0,sizeof(INPUT));

   Input.type = INPUT_KEYBOARD;
   Input.ki.wVk = VK_PRTSCRN;         //this is where you put the print screen key, this not the right one, google virtual keys and replace it here
   Input.ki.dwFlags = KEYEVENTF_EXTENDEDKEY;
   SendInput(1,&Input,sizeof(INPUT));
   
   Input.type = INPUT_KEYBOARD;
   Input.ki.wVk = VK_PRTSCRN;        //and here
   Input.ki.dwFlags = KEYEVENTF_KEYUP;
   SendInput(1,&Input,sizeof(INPUT));


None of that works, just tried it. I think i'm going fucking stupid or something. Do I just copy + paste that into a button? Can you explain that any more, I really gotta learn this and get it over with. I just started VB programming like a couple days ago. I was making Flash games trainers before.

Sorry for all these questions.

_________________
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Tue Mar 11, 2008 7:20 pm    Post subject: Reply with quote

That's C, not VB.
Back to top
View user's profile Send private message
AndrewMan
Grandmaster Cheater Supreme
Reputation: 0

Joined: 01 Aug 2007
Posts: 1257

PostPosted: Tue Mar 11, 2008 7:29 pm    Post subject: Reply with quote

slovach wrote:
That's C, not VB.


Is C the same as C#?

_________________
Back to top
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Tue Mar 11, 2008 7:35 pm    Post subject: Reply with quote

AndrewMan wrote:
slovach wrote:
That's C, not VB.


Is C the same as C#?

No...

_________________
haxory' wrote:
can't VB do anything??
windows is programmed using VB right? correct me if im wrong.

so all things in windows you have like the start menu is a windows form too.
Back to top
View user's profile Send private message
AndrewMan
Grandmaster Cheater Supreme
Reputation: 0

Joined: 01 Aug 2007
Posts: 1257

PostPosted: Tue Mar 11, 2008 7:49 pm    Post subject: Reply with quote

Xenophobe wrote:
AndrewMan wrote:
slovach wrote:
That's C, not VB.


Is C the same as C#?

No...


So I dont get what I am supposed to do right now. I cant make that APP in VB? Theres no Visual C I can get from Microsoft.

_________________
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Tue Mar 11, 2008 8:03 pm    Post subject: Reply with quote

Microsoft Visual C++ 2008 Express Edition.

Download it, install it, create a console app, and paste that code into the _tmain method.

_________________
Wiccaan wrote:

Oh jeez, watchout I'm a bias person! Locked.


Auto Assembly Tuts:
In Depth Tutorial on AA
Extended
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Tue Mar 11, 2008 10:33 pm    Post subject: Reply with quote

First off, stop trying to immediately jump in over your head. Not everything is as simple as it sounds at first. Can't figure it out? Move on along to another project.

1. Yes, you can make what you want in .NET

2. You're going to end up with a better understanding of how exactly things work, what's going on in your window, how to work with them, etc in C, .NET hides much of this from you.

Don't just copy and paste examples people give you, bad, bad way to learn. Write it out and look it over, if you don't get it, look it up. Google the function name and MSDN will 99% of the time come up first hit.

If it's a deeper understanding you're looking for, go for C then ASM later. There's tutorials everywhere, if you have a question, ask.
Back to top
View user's profile Send private message
AndrewMan
Grandmaster Cheater Supreme
Reputation: 0

Joined: 01 Aug 2007
Posts: 1257

PostPosted: Tue Mar 11, 2008 10:35 pm    Post subject: Reply with quote

slovach wrote:
First off, stop trying to immediately jump in over your head. Not everything is as simple as it sounds at first. Can't figure it out? Move on along to another project.

1. Yes, you can make what you want in .NET

2. You're going to end up with a better understanding of how exactly things work, what's going on in your window, how to work with them, etc in C, .NET hides much of this from you.

Don't just copy and paste examples people give you, bad, bad way to learn. Write it out and look it over, if you don't get it, look it up. Google the function name and MSDN will 99% of the time come up first hit.

If it's a deeper understanding you're looking for, go for C then ASM later. There's tutorials everywhere, if you have a question, ask.


Thanks Slovach. And if I DL visual C++, is that "C" & "C++"?

_________________
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Tue Mar 11, 2008 10:42 pm    Post subject: Reply with quote

Yes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites