mole2k9
May 1 2006, 09:49 AM
Alrighty! newb api VB tutorial coming up. API is a piece of cake. If you know how to use a function in VB then you know how to use API. Example, take this function, CODE Private Function MyFunc(ByVal x As Integer, ByVal y As Integer) As Integer
MyFunc = x * y ' 3 and 4 get passed to here
End Function CODE Private Sub Command1_Click()
MsgBox MyFunc(3, 4) ' gives you 12, or returns 12
End Sub
Returns 12 if you feed the function 3 and 4. API is exactly the same except the functions are stored in Dll's, like msvbvm60.dll, user32.dll etc... So you pass values to those funtions in the dlls and you get a return value or so. So if there was a function in a dll called MyFunc, you first have to declare the function in your vb program first such as CODE Private Declare Function MyFunc Lib "path to dll" (ByVal x As Integer, ByVal y As Integer) As Integer
then simply call it from your app, CODE Private Sub Command1_Click()
MsgBox MyFunc(3, 4) ' gives you 12, or returns 12
End Sub Thats basically API.
Reply
Similar Topics
Keywords : newb, api, api, explained
- :::::mixtape Covers:::::newb Help::
(0)
Credits On Credit
As explained in title (6) Well i was just wondering could i get some hosting credits on credit /smile.gif"
style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> I promise i will return them.
No, this is for real, i just can't gather more than 30 credits so i can upgrade my account in
less then 1 month. My credit rate is about 2-3 credits a day, and that is ok beacouse then i have
time for everything. But if i could get 30 credits right now so i can upgrade i would return 40 for
2 months.. So, what da ya say? /smile.gif" style="vertical-align:middle" emoid=":)" border="0" ....
Bluetooth Technology explained
An Overview of Bluetooth (8) Overview Technology started by Ericsson Named after 10th century Viking king(Harald
Blatand) A global wireless technology specification “Always on” communication Radio
frequency based Inexpensive Intended for.... Portable devices Desktop machines Peripherals
Technology Details Baseband protocols Circuit switching Packet switching Uses 24
GHz globally available unlicensed ISM radio band Effective range is 10 meters Slow communication
rate (721Kbps) Small number of stations 8 devices / piconet 3 voice channels ....
A To Z Of Life Explained
(2) QUOTE A to Z of Life Explained! Life is an ADVENTURE, Dare it. Life is a BEAUTY, Worship
it. Life is a CHALLENGE, Meet it. Life is a DREAM, Realize it. Life is ENDURANCE, Cope with it.
Life is FRAGRANCE, Smell it. Life is a GAME, Play it. Life is HEAVEN, Make it. Life is an
INITIATIVE, Take it. Life is a JOURNEY, Complete it. Life is KEROSINE, Burn it. Life is LOVE,
Enjoy it. Life is a MYSTERY, Unfold it. Life is a NAME, Find it. Life is an OPPORTUNITY, Catch
it. Life is a PROMISE, Fulfil it. Life is a QUESTION, Answer it. Life is a REALITY,....
Newb Questions
(6) hi j/w what forums postings count for credits ? and did i get this right, free php - no-ads web
hosting , are there any catches? cheers....
Topic Rating Explained
a part of new v2.1.4 board feature (3) Our veteran members remember the reputation points system. The reputation point was aside from
hosting credit system that your fellow forum peers gave to build the trust. It was mainly to gain
credibility of this person's advice, post and information. The new forum version 2.1.4 features
RATING system. This is similar to the reputation points. But instead of evaluating members
individually, the rating system will rate individual topic. This allows two key factors to happen in
this forum: 1) the topic will be evaluated by members for its relevance and usefulness 2) a....
Upgrading Your Account Question
Help lol im such a newb! (2) And im not afraid to admit it! ok well for the description on the upgrading your account forum
it says our hosting credits will be reset.. Free Web Hosting Account Upgrade Once you have the
necessary amount of credits for Upgrade, Request it here. Your Hosting Credits will be RESET after
you upgrade your account. Click Here For Free Web Hosting Upgrade and i jsut want to verify
this..by reset you mean whatever credits we have earned will be LOST? so if i got 70 credits and
upgraded i would loose ALL oof them leaving me back at 0???? if this is the case......
Biggest Newb Here
(7) ok guys, im prob. one of the biggest newbs on this forum..... i need help setting my internet up....
i have no clue what u guys neeed, but ill give u info bout what i know.... i have a wireless card
linksys WUSBF54G uhh i have knoppix v4, i have no clue what eles u will need to know...so plz help
the newb out, i would really appreciate it....thanks....
Podcasting For The Absolute Newb
simple, works on windows, mac and linux (5) Ok, so I found out about podcasting on iTunes, and I fell in love with it. It was probably the
coolest thing ever to happen. Now it's a big thing, and anyone can do it. This will cover just
the basics of using MP3 file, tagging them, and uploading them in a directory on a web server with
dircaster installed. If you want to get advanced I reccomend getting a book on it. This is only the
basics, because I am running a windows computer at the time, and you can only have enhanced
podcasting in mac at the time of me writing this... Let's get started. First things fir....
Accessing Dos
i'm a newb (2) Hey, i'm a newbie at c++. Is there anyway to access the windows system files through a c++
program? Kind of like running a command through dos. I could really use help here. Second
question. How do you create a system tray icon in windows? can this be done in c++? i feel very
dumb. please help me out.....
Politics Explained
just a humor (3) QUOTE One clear day... A little boy goes to his dad and asks, "What is Politics?" Dad says,
"Well son, let me try to explain it this way: - I'm the head of the family, so call me The
President. - Your mother is the administrator of the money, so we call her the Government. -
We're here to take care of your needs, so we'll call you the People. - The nanny, we'll
consider her the Working Class. - And your baby brother, we'll call him the Future. Now think
about that and see if it makes sense." So the little boy goes off to bed thinking about....
I"m a newb atphotoshop :P Rate my siggy plz ^_^
(3) It took me 5-15 minutes /happy.gif' border='0' style='vertical-align:middle' alt='happy.gif' /> ,
please rate it /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> Thanks...
(Out of 10 please)....
Newb questions...
(3) I already see me opening my mouth going bad, but...
I've attempted to create three different
things with Fantastico, one was a PhpBB forum, another was a phpwebsite, and I forget the third, but
when I attempt to access the site/admin page, I get a 403. Now please, someone give me the answer so
other people can say "Obviously!!!" and point and laugh.....
Newb @ Programming Seeking Suggestions
(3) Hey all, I'm new to programming and I have a hard time deciding on a cross-platform language
so I can write for Linux, Macintosh, and Windows. I want to make some basic programs, and if
possible (as in language support), games. I know that Java is one of them, so is Perl. Please
reply. Thanks, xboxrulz....
What's The Best Place To Learn Php?
help a newb get started (11) I've never touched PHP or MySQL before /unsure.gif' border='0' style='vertical-align:middle'
alt='unsure.gif' /> . My experience is regular HTML and CSS. Could someone please link me to a
site with a good, easy, free online tutorial for a newb like me? Thanx much in advance!
/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> ....
Looking for newb, api, api, explained
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for newb, api, api, explained
*MORE FROM TRAP17.COM*
|
advertisement
|
|