 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
darkex I post too much
Reputation: 0
Joined: 29 Aug 2008 Posts: 2006 Location: Australia
|
Posted: Sat Nov 08, 2008 7:18 pm Post subject: [TUT] Basic Programming |
|
|
If you've never programmed before, here's your chance. I'm not very good at it, but I know the basics.
Part 1. Introduction
What is programming?
Programming is where you get to design applications. You can design stuff from simple web browsers to extreme games to everyday applications.
What types are out there?
There are quite a few. I'll name some of them:
Visual Basic
C++
C#
Delphi
SQL
Java
Flash
and many more.
What should I start with?
Usually you should start with Visual Basic. It is the easiest of the programming languages and allows for basic application building.
Part 2. Getting Started
First, you will need Visual Basic Express 2008. Once that has been installed, it's time to code. Note you can also get VB6 at a mere 3MB, but I prefer the 2008 version simply because it is more streamlined.
Part 3. Creating your first app
Because Microsoft already supplies information on how to create a web browser, I am going to put that aside and do something more advanced. You can do that if you wish. It will give you more knowledge into VB.
I will create a Flash loader instead, seemingly because I play to hack AQW. First, start up VB2008. Once the Start Screen appears, click Create on the left hand side of the Start Page. Name your application whatever you like (in this case, AQW). Once it opens, click and drag the window to a more reasonable size like 810 x 730 (enter it in VB as 810, 730). You can see that the size changes once your mouse finishes dragging. Next, name the window under the Text property. I’ll simply name it AQW Loader. Create a Flash object. Go to the Toolbox (hover mouse over the tab). You cannot see that there is a Flash object there. We could use a web browser object, but there will be problems later on. So right click anywhere in the toolbox and click Choose Items. Click the COM Components tab, and tick Shockwave Flash Object (you need Flash installed). When Shockwave Flash Object appears under the General category, drag it up to All Windows Forms. Click it, and drag a Flash object and size it to 750 x 550. Next, drag a button and 2 textboxes so they are positioned somewhat like this:
Make sure the one that isn’t next to the textbox is not visible (change the textbox’s ‘Visible’ property to false). It is now time to enter some code to make this work. Double click the Flash object and enter the following:
| Code: | AxShockwaveFlash1.Movie = Me.TextBox1.Text
AxShockwaveFlash1.Base = Me.TextBox2.Text
AxShockwaveFlash1.Play() |
Referring to the pic, let’s say you dragged the left-most text box first, followed by the 2nd textbox, then the button. The first one you drag will be ObjectName1, the next one will be ObjectName2, and so on. Seemingly you have what is in the picture, leave the code above as is. If you don’t, modify it so it matches. The left-most textbox is the Movie, while the Invisible textbox is the Base. But because the SWF for AQW is constantly changing, we need a URL updater. Using NoManchesPuto’s SWF source, we can let users see what the latest Movie is. So, drag a WebBrowser object below the Flash object. Make it 455 x 95. Then, go to the URL property and type the following link:
http://cybertown.890m.com/aqw/aqw.swf
You should end up looking like this:
If you find the Movie SWF is outdated, change the numerical figure. Using the pic as an example, I created this loader when it was in game_07, but now it is game_13, so change only the number figure from 07 to 13. Do not touch the rest of the link. Now, debug the app by hitting F5. Try it, then close it.
Go to File > Save All. Save it to a folder on the desktop called AQW. Now, go to Build > Build Project Name. Close VB2008 and return to the desktop.
Double-click AQW > AQW > bin > Release > ProgramName.exe.
Well now you have it. You are free to explore the even vaster world of programming.
~darkex
Last edited by darkex on Sat Nov 08, 2008 10:54 pm; edited 1 time in total |
|
| Back to top |
|
 |
Zurkei Grandmaster Cheater Supreme
Reputation: 0
Joined: 15 Nov 2007 Posts: 1132 Location: Makakilo, Hawaii
|
Posted: Sat Nov 08, 2008 8:16 pm Post subject: |
|
|
| Great quick-start guide hope it helps people.
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Nov 08, 2008 8:48 pm Post subject: |
|
|
So basically this is a guide about programming that teaches nothing about programming.
FANTASTIC.
|
|
| Back to top |
|
 |
nwongfeiying Grandmaster Cheater
Reputation: 2
Joined: 25 Jun 2007 Posts: 695
|
Posted: Sat Nov 08, 2008 9:39 pm Post subject: |
|
|
| slovach wrote: | So basically this is a guide about programming that teaches nothing about programming.
FANTASTIC. |
I'm sorry, but I'm going to have to second this notion.
|
|
| Back to top |
|
 |
--Pillboi-- Grandmaster Cheater Supreme
Reputation: 0
Joined: 06 Mar 2007 Posts: 1383 Location: I don't understand the question. Is this a 1 to 10 thing?
|
Posted: Sun Nov 09, 2008 3:18 am Post subject: |
|
|
| nwongfeiying wrote: | | slovach wrote: | So basically this is a guide about programming that teaches nothing about programming.
FANTASTIC. |
I'm sorry, but I'm going to have to second this notion. |
I third this. Change the title to, "Beginning Visual Basic Programming" or something.
_________________
Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair. |
|
| Back to top |
|
 |
Overload Master Cheater
Reputation: 0
Joined: 08 Feb 2008 Posts: 293
|
Posted: Sun Nov 09, 2008 3:39 am Post subject: |
|
|
| --Pillboi-- wrote: | | nwongfeiying wrote: | | slovach wrote: | So basically this is a guide about programming that teaches nothing about programming.
FANTASTIC. |
I'm sorry, but I'm going to have to second this notion. |
I third this. Change the title to, "Beginning Visual Basic Programming" or something.  |
4th'd
_________________
Blog
| Quote: | Rhys says:
you can be my maid
Rhys says:
ill buy you a french maid outfit
Tyler says:
Sounds good
Rhys says:
ill hold you to that |
|
|
| Back to top |
|
 |
cheesecan Expert Cheater
Reputation: 0
Joined: 01 Oct 2006 Posts: 215
|
Posted: Sun Nov 09, 2008 7:41 am Post subject: |
|
|
Hey for all beginners i suggest using this new program called small basic. it is much alike visual basic but for the sort of projects you should learn 1st(really basic ones.. i think that making web appz and calculators and stuff isnt very useful since it uses premade and very little input and thinking.)
Here is a little blackjack program i just made in little time
|
|
| Back to top |
|
 |
|
|
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
|
|