HighTechTalks DotNet Forums  

Programming MSAgent

VB.net Controls microsoft.public.dotnet.languages.vb.controls


Discuss Programming MSAgent in the VB.net Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Dvanwig
 
Posts: n/a

Default Programming MSAgent - 03-03-2008 , 03:24 PM






Trying to get started programming MSAgent using Visual Basic 2008 Express. I
have VB6 working code, but cannot figure out the new syntax for setting up
the initial declarations to get MSAgent working. Can somebody get me started
with a simple Form with a textbox and a button where if the user clicks the
button, Merlin will popup and say whatever is in the text box? I'll expand
from there. Thanks a bunch.



Reply With Quote
  #2  
Old   
Eric Moreau
 
Posts: n/a

Default Re: Programming MSAgent - 03-04-2008 , 05:07 AM






I did it with VB.Net2003. Probably the same. See
http://www.emoreau.com/Entries/Articles/2005/06/Using-MS-Agent-in-a-VBNet-application.aspx

--

HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc. (http://www.emoreau.com)
Membre du réseau .NET Expertise (www.dotnet-expertise.com)


"Dvanwig" <Dvanwig (AT) discussions (DOT) microsoft.com> wrote

Quote:
Trying to get started programming MSAgent using Visual Basic 2008 Express.
I
have VB6 working code, but cannot figure out the new syntax for setting up
the initial declarations to get MSAgent working. Can somebody get me
started
with a simple Form with a textbox and a button where if the user clicks
the
button, Merlin will popup and say whatever is in the text box? I'll
expand
from there. Thanks a bunch.




Reply With Quote
  #3  
Old   
Dvanwig
 
Posts: n/a

Default Re: Programming MSAgent - 03-07-2008 , 09:31 PM



Thanks for the tip Eric,

I have gotten Merlin to pop up and read some data thanks to your help. The
final problem I'm hoping you can help me with is getting my program to
recognize when Merlin goes into an idle state. In VB6 I use the idle_start
event to ask the user if he wants to do anything else. If there is no
answer, Merlin will unload the form and end the program. However, in VB 2008
Express I can't the program to recognize he idle_start event. Merlin just
sits there and goes through the random idle motions. I know Merlin has gone
into idle mode, but it doesn't trigger any of my code in the idle_start
subroutine. Any tricks for this?

Would it help if I sent you some of my code?


"Eric Moreau" wrote:

Quote:
I did it with VB.Net2003. Probably the same. See
http://www.emoreau.com/Entries/Articles/2005/06/Using-MS-Agent-in-a-VBNet-application.aspx

--

HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc. (http://www.emoreau.com)
Membre du réseau .NET Expertise (www.dotnet-expertise.com)


"Dvanwig" <Dvanwig (AT) discussions (DOT) microsoft.com> wrote in message
news:6B2293D3-6352-4DC8-8D99-3D6DAD3079E7 (AT) microsoft (DOT) com...
Trying to get started programming MSAgent using Visual Basic 2008 Express.
I
have VB6 working code, but cannot figure out the new syntax for setting up
the initial declarations to get MSAgent working. Can somebody get me
started
with a simple Form with a textbox and a button where if the user clicks
the
button, Merlin will popup and say whatever is in the text box? I'll
expand
from there. Thanks a bunch.




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.