Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Remoting / September 2004

Tip: Looking for answers? Try searching our database.

By best option ? remoting ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Snoop - 30 Sep 2004 16:29 GMT
Hi all,

I have a VB.net service application. The reason why it is a service is that
it has to be in a special security contect.

In this program, I have a function called THEFUNCTION which can do a lot of
things for me, in this security contect.

Now I would liket, from a .vbs script to 'trigger' this function. It has
only one parameter.

So I wonder what is my best option ?

Can you advise me (remoting, com, dde, ... other ) ?

Thanks for the advice.

Regards

F
Ken Kolda - 30 Sep 2004 16:44 GMT
I would probably write a small assembly in .NET that exposes an object which
acts as a proxy to the service. This proxy would handle setting up the
remoting infrastructure, connecting to the service and invoking the remote
method. Then register this proxy object for COM Interop using regasm. You
can then load and invoke this object from your .vbs script or any other
COM-compliant language/app.

Ken

> Hi all,
>
[quoted text clipped - 16 lines]
>
> F

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.