Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

plz help me im really stuck

Status
Not open for further replies.

GOOGE

Technical User
Jun 20, 2001
36
NZ
hi
i tried to post a message 2 days ago but everyone got the wrong idea and thought i was trying to create a virus.

what i am doing is a messaging and filetransfer program over a LAN. the question i need answered is can i get a list of friendly names of the computer loggeds on to the network when i start the program the reason i want this is so i can select the person and send them a message or a file. please help me i am not a bad person at all and all i want is a little help. my message got taken off the forum and i really mean it when i say it is not a virus i am creating. if i have to i will send you the code so you can have a look. also the other problem i have is if i send a message to sombody that isnt running the app they dont get the message is their a way to store the messages on their computer so when they start up the app then the massages will come through, kind of like a outbox.

any help would be much appreciated.

i guess you guys have to be careful but its a little off putting to be accused of something that you have no intentions of doing. what ever happend to inisent untill prooven guilty?


James Cuttance
 
what ever happend to inisent untill prooven guilty?

It's just that we've been burned before. Sorry if you got caught up in it.


OK, so you want to send a message and make sure the recipient gets it, even if they aren't logged in, or running your application. This is basically what Exchange and Message Queueing do. Doesn't sound like you want to re-invent email, so forget Exchange. That leaves Message Queuing.

What MSMQ does is provide a way to ensure guaranteed delivery of messages. You go to the server where MSMQ is running and create a Queue for your applications to use. You then write your app to read/write messages from/to this queue. The way your app finds the queue is either by server name & queue name or by using the queue's GUID. We went the latter route at work because server names and locations on the network can change, but Active Directory makes sure that the queue can always be found via the GUID.

The only real limitation is a limit on the message size. 2Gb is the theoretical limit, but in your case, you probably want to keep the messages as small as possible for faster delivery. If you do send large messages, be aware that the messages get stored in a MS SQL 6.5 (or later) database on the server, so that machine needs enough disk space to store them all.

Our code is proprietary, so I can't really post any samples for you. But if you were to look at the message queueing area of the MSDN library (msdn.microsoft.com\library\default.asp), there is sample VB code there for you to look at.

Chip H.
 


thankyou for the help, i really do appeciat it. this is a big help to me, now i know where to start ,as i said i am a newbie to this.

thanks for your time and patience

James Cuttance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top