473,396 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

api question

hi, does anyone kno of a website i can learn about the basics of API calling
and using windows DLLs in my program? ive been porogramming in VB for a
couple of years and want to start using more powerful code, so if anoyone
could point me in the rite direction id b grateful, thanks
Nov 21 '05 #1
5 929
Iwdu,

This website is from the guy who has in my opinion the best answers about
API in these newsgroup

http://www.msjogren.net/dotnet/eng/default.asp

However using API's does not make your Net programs better. It makes them
worse. Mostly you can avoid them.

http://msdn.microsoft.com/library/de...l/win32map.asp

I hope this helps,

Cor

Nov 21 '05 #2
"iwdu15" <iw****@discussions.microsoft.com> schrieb:
hi, does anyone kno of a website i can learn about the basics of API
calling
and using windows DLLs in my program?


Visual Basic Language Concepts -- Walkthrough: Calling Windows APIs
<URL:http://msdn.microsoft.com/library/en-us/vbcn7/html/vaconCallingWindowsAPIs.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3
why do API make the program worse? and also, why in order to do certain
things you need to call APIs, like for my program someone said in order to
hide the taskbar and make my program full screen, i needed to call and API,
without them i wouldnt have been able to do that
Nov 21 '05 #4
Well i believe that you should see Cor`s comment in the following context
( correct me if i am wrong Cor )

In the past with VB6 a lot of functionality was only availlable with API`s
, however now with .Net a lot of the Application Programing Interfaces are
part of the framework , so a lot of peoplle are still using API`s while they
could have used the framework classes to do the same thing . In this
situation it would have been better to use the framework functionality as it
is " protected " code

However in some situations it is still necessary to use API`s as MS did not
port all functionality that is availlable currently in the API library to
..Net classes , using API`s however comes with a prize
and that is for instance the posibility that you may encounter compatibility
problems in the future ( future releases of Windows might not have the
same API interface , or if you want to run your app on MONO on the Linux
platform ) these problems will not be there if you use the framework
classes that correspond to the same functions .

My personal opinion is that in some situations , there is nothing wrong with
using API`s , after thoroughly investigating that there is not yet a good
..Net alternative

Heck i believe i wrote that code for you that hides the taskbar if i
remember correctly ( a port from a snippet in a VB6 proggy i once wrote )
:-) well that was a legal situation
regards

Michel Posseth [MCP]

"iwdu15" <iw****@discussions.microsoft.com> wrote in message
news:24**********************************@microsof t.com...
why do API make the program worse? and also, why in order to do certain
things you need to call APIs, like for my program someone said in order to
hide the taskbar and make my program full screen, i needed to call and
API,
without them i wouldnt have been able to do that

Nov 21 '05 #5
Michel,

Nothing to add or deny by me,

:-)

Cor
Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Stevey | last post by:
I have the following XML file... <?xml version="1.0"?> <animals> <animal> <name>Tiger</name> <questions> <question index="0">true</question> <question index="1">true</question> </questions>
3
by: Ekqvist Marko | last post by:
Hi, I have one Access database table including questions and answers. Now I need to give answer id automatically to questionID column. But I don't know how it is best (fastest) to do? table...
53
by: Jeff | last post by:
In the function below, can size ever be 0 (zero)? char *clc_strdup(const char * CLC_RESTRICT s) { size_t size; char *p; clc_assert_not_null(clc_strdup, s); size = strlen(s) + 1;
56
by: spibou | last post by:
In the statement "a *= expression" is expression assumed to be parenthesized ? For example if I write "a *= b+c" is this the same as "a = a * (b+c)" or "a = a * b+c" ?
2
by: Allan Ebdrup | last post by:
Hi, I'm trying to render a Matrix question in my ASP.Net 2.0 page, A matrix question is a question where you have several options that can all be rated according to several possible ratings (from...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.