For Programmers: Free Programming Magazines  


Home > Archive > VBScript > September 2004 > NET SEND Replacement









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author NET SEND Replacement
Paul Prior

2004-09-27, 3:55 pm

I'm trying to develop a replacement for net send that will
display the corporate logo, etc. Its working
fantastically, but I cannot target users with it, only
their machines. Old NET SEND is able to cope with users as
a parameter and deliver the message. Anyone got any ideas
how to do it in script? or VB? or anything?????
Ray Costanzo [MVP]

2004-09-27, 3:55 pm

Well, it's kinda hard to say without know what it is that you're doing!

The reason that one can net send a user is that when the messenger service
is running, it registers both the username and the computername in WINS as
valid net-sendable addresses. So, it's not anything that is on ~your~
computer that is allowing you to net send the username. It's the fact that
the other computer has that username as a recipient name registered with
WINS and/or broadcasted in its netbios table.

Ray at home

"Paul Prior" <paulprior@x9000.com> wrote in message
news:43c701c4a493$d7dc3fe0$a601280a@phx.gbl...
> I'm trying to develop a replacement for net send that will
> display the corporate logo, etc. Its working
> fantastically, but I cannot target users with it, only
> their machines. Old NET SEND is able to cope with users as
> a parameter and deliver the message. Anyone got any ideas
> how to do it in script? or VB? or anything?????



Paul Prior

2004-09-27, 3:55 pm

So is there any way of querying the WINS (or DNS) as to where a user is
logged on?



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Paul Prior

2004-09-27, 3:55 pm

So is there any way of querying the WINS (or DNS or
Netbios broadcast) as to which machine a user is
logged on?
>-----Original Message-----
>Well, it's kinda hard to say without know what it is that

you're doing!
>
>The reason that one can net send a user is that when the

messenger service
>is running, it registers both the username and the

computername in WINS as
>valid net-sendable addresses. So, it's not anything that

is on ~your~
>computer that is allowing you to net send the username.

It's the fact that
>the other computer has that username as a recipient name

registered with
>WINS and/or broadcasted in its netbios table.
>
>Ray at home
>
>"Paul Prior" <paulprior@x9000.com> wrote in message
>news:43c701c4a493$d7dc3fe0$a601280a@phx.gbl...
will[color=darkred]
as[color=darkred]
ideas[color=darkred]
>
>
>.
>

Ray Costanzo [MVP]

2004-09-27, 8:55 pm

There's a "shell out" method that relies on a third party freeware tool from
Systernals. Take a look at http://www.jsiinc.com/subj/tip4700/rh4712.htm.

Ray at home

"Paul Prior" <paulprior@x9000.com> wrote in message
news:%23xkZbvJpEHA.3488@TK2MSFTNGP12.phx.gbl...
> So is there any way of querying the WINS (or DNS) as to where a user is
> logged on?
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



sumGirl

2004-09-28, 3:58 pm

Any chance you can post what you have so far?
Paul Prior

2004-09-28, 9:26 pm

What I have is a VB.net application not a VB Script, so it
probably would not be of much help, but if you're still
interested I can zip up the source code (Its only 30 or so
lines of code) and email you it.
Paul Prior
x9000.com Consulting Services Limited
Email: paulprior@x9000.com

>-----Original Message-----
>Any chance you can post what you have so far?
>.
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com