AOA Forums AOA Forums AOA Forums Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA Forums > Software > Programming and Assembly Language

Programming and Assembly Language Please read this Topic's rules!!


Reply
 
LinkBack Thread Tools Rate Thread
  #1 (permalink)  
Old 7th August, 2006, 08:14 AM
MrSeanKon's Avatar
OcBible Creator
 
Join Date: June 2005
Location: Athens in love with Anna :)
Posts: 788

Guide: Use the internals of OcBible!

Ladies and gentlemen!!!!!!!!!!!!!!!!!!

Yeah in this thread you will learn how you can use the internals of OcBible!

WOW!

Fasten your belt!
We start!!!!!

First of all you probably know that OcBible is written in Microsoft C#.
This means that you can use my libraries if you are C#, J#, Visual C++ or Visual Basic programmer.
I do not use any other Microsoft programming languages so I will show you how to do this using C#.
Create a project:

http://www.aoaforums.com/forum/attac...1&d=1154934786

Mark Windows Application and input a name e.g. Regression.
Then click on OK button:

http://www.aoaforums.com/forum/attac...1&d=1154934792

Right click your mouse and choose View Code menu:

http://www.aoaforums.com/forum/attac...1&d=1154934799

Click on cross (tree view item) in Solution Explorer:

http://www.aoaforums.com/forum/attac...1&d=1154934805
Attached Thumbnails
Guide: Use the internals of OcBible!-photo1_2.png   Guide: Use the internals of OcBible!-photo1_3.png  
Attached Images
   
__________________

Last edited by MrSeanKon; 18th September, 2006 at 07:43 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 7th August, 2006, 08:36 AM
MrSeanKon's Avatar
OcBible Creator
 
Join Date: June 2005
Location: Athens in love with Anna :)
Posts: 788

Right click again and choose Add Reference menu:

http://www.aoaforums.com/forum/attac...1&d=1154936337

Press Browse button on next dialogue:

http://www.aoaforums.com/forum/attac...1&d=1154936337

and locate the proper *.dll file:

http://www.aoaforums.com/forum/attac...1&d=1154936337

Then click on OK button:

http://www.aoaforums.com/forum/attac...1&d=1154936337
Attached Thumbnails
Guide: Use the internals of OcBible!-photo2_2.png   Guide: Use the internals of OcBible!-photo2_3.png   Guide: Use the internals of OcBible!-photo2_4.png  
Attached Images
 
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 7th August, 2006, 08:38 AM
MrSeanKon's Avatar
OcBible Creator
 
Join Date: June 2005
Location: Athens in love with Anna :)
Posts: 788

Go back in source code....
Add this statement in header section:

http://www.aoaforums.com/forum/attac...1&d=1154936260

and this in namespace:

http://www.aoaforums.com/forum/attac...1&d=1154936266

Of course you can name your object differently.
You must call your object in proper part of your source code:

http://www.aoaforums.com/forum/attac...1&d=1154936272
Attached Thumbnails
Guide: Use the internals of OcBible!-photo3_2.png   Guide: Use the internals of OcBible!-photo3_3.png  
Attached Images
 
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 7th August, 2006, 08:41 AM
MrSeanKon's Avatar
OcBible Creator
 
Join Date: June 2005
Location: Athens in love with Anna :)
Posts: 788

Let's add a button in interface:
You must click on toolbox icon:

http://www.aoaforums.com/forum/attac...1&d=1154936407

Then move your mouse in form area and click again:

http://www.aoaforums.com/forum/attac...1&d=1154936412

You will see a button in interface.
Double click on button so the Visual Studio recognizes an event and add this code for example:

http://www.aoaforums.com/forum/attac...1&d=1154936624

---> SOS WARNING!!!! <---
In C when you create an array the index starts from zero and stops up to n-1.
GKR I hate this issue cos I started programming with Pascal and FORTRAN 14 years ago.
Therefore I follow this idea in my routines I mean when I create an array e.g. OcBible[101] I store data in OcBible[1], OcBible[2],.......,OcBible[100] instead of OcBible[0], OcBible[1], OcBible[2],.......,OcBible[100]
The zero index element is always BANNED!!!

P.S.
Don't ask me anything about Pascal (OK is dead now Delphi is the new generation) or FORTRAN....
I am not a student anymore so I do not remember anything about these programming languages LOL!
Attached Thumbnails
Guide: Use the internals of OcBible!-photo4_2.png   Guide: Use the internals of OcBible!-photo4_3.png  
Attached Images
 
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 7th August, 2006, 08:44 AM
MrSeanKon's Avatar
OcBible Creator
 
Join Date: June 2005
Location: Athens in love with Anna :)
Posts: 788

Compile your project and two files are:

http://www.aoaforums.com/forum/attac...1&d=1154936545

Run the executable file.
GKR *.dll must be in the same folder with *.exe else exception error GKR......
LOL.......
Press the button!!!!!

http://www.aoaforums.com/forum/attac...1&d=1154936551

And here is the output:

http://www.aoaforums.com/forum/attac...1&d=1154936558

http://www.aoaforums.com/forum/attac...1&d=1154936576

http://www.aoaforums.com/forum/attac...1&d=1154936581
Attached Thumbnails
Guide: Use the internals of OcBible!-photo5_1.png   Guide: Use the internals of OcBible!-photo5_2.png  
Attached Images
     
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VOTE HERE for OcBible (v1) MrSeanKon OS, Software, Firmware, and BIOS 0 26th April, 2007 08:18 PM
A look at the internals of the 360 Elite danrok GAMES! OH YEAH! 1 21st April, 2007 11:13 PM
Which OcBible interface do you use? MrSeanKon OS, Software, Firmware, and BIOS 0 15th January, 2007 08:25 AM


All times are GMT +1. The time now is 09:25 AM.


Copyright ©2001 - 2010, AOA Forums
Don't Click Here Don't Click Here Either

Search Engine Friendly URLs by vBSEO 3.3.0