hey all i can call on API's in visual basic cant i?
and how do i do it
how would i get the following cod to work(and yes i do no stuff needs to be replaced with proper servers and stuffs)

#define UNICODE
#define MESGLEN 50
WCHAR awcToName[] = TEXT("DomainName*");
WCHAR awcFromName[] = Text("MyComputer");
WCHAR awcMesgBuffer[MESGLEN] = Text("This ia Test Message");
NET_API_STATUS nasStatus;

nasStatus = NetMessageBufferSend(NULL,
awcToName,
awcFromName,
awcMesgBuffer,
MESGLEN);

i just wanna no how i would actualy make this work!
do i need controls can some one send a for with it working on plz
thanx
TrAcER