473,513 Members | 2,624 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How see character of Microsoft Agent in VC++ .NET?

To see character of Microsoft Agent in Visual Basic .NET 2003, we create the
project: File, New, Project, Visual Basic Project, Windows Application. In
Form1 we place two controls: Button and Microsoft Agent Control 2.0. We
write the code:

Dim myGenie As AgentObjects.IAgentCtlCharacterEx

Const DATAPATH_1 As String = "genie.acs"

Private Sub Button1_Click(ByVal sender As System.Object, _

ByVal e As System.EventArgs) Handles Button1.Click

AxAgent1.Characters.Load("Genie", DATAPATH_1)

myGenie = AxAgent1.Characters("Genie")

myGenie.Show()

End Sub

After Start and click of button we see Genie.

To see character of Microsoft Agent in Visual C++ .NET 2003, similarly we
create the project: File, New, Project, Visual C++ Projects, (.NET), Windows
Forms Application (.NET). In Form1 we place two controls: button and
Microsoft Agent Control 2.0. We write the code:

using namespace Interop;

static AgentObjects::IAgentCtlCharacterEx* myGenie;

static String* DATAPATH_1 = "genie.acs";

private:

System::Void button1_Click(System::Object * sender,

System::EventArgs * e)

{

axAgent1->Characters->Load("Genie", DATAPATH_1);

myGenie = axAgent1->Characters->Character("Genie");

myGenie->Show(myGenie);

}

Building is fulfilled without errors, but after Start we do not see Genie.

How in VC++ .NET 2003 to write this code, to see character of Microsoft
Agent?

Beforehand many thanks for the answer, Dr. Zharkov V.A., Moscow, Russia.
Nov 17 '05 #1
0 1508

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

163
14484
by: Shiperton Henethe | last post by:
Hi Know any good utilities to help me strip out the tags that Microsoft Excel 2002 leaved behind when you try and export an HTML format file? This is driving me NUTS. And really makes me...
0
2458
by: Greg Grosiak | last post by:
Hello, I am tring to execute a downloaded file from the ms agent website. When I execute any of the charceter executable files(Peedy, merlin ect...) I get not a valid win32 application. Is...
32
5425
by: Bob | last post by:
Can anyone point me to a place where I can obtain the Microsoft C/C++ Optimizing Compiler Version 7.00. It was distributed about 10 years ago on floppy diskettes. I had a valid license but...
1
2361
by: TK | last post by:
Hello everyone, I'm making in MS VC++ 6.0 a program which publishes articles to MySQL database in order to show them on my website. However, I've a problem - I don't know, how to change default...
4
3006
by: HeroOfSpielburg | last post by:
Hello, I am trying to using the Shift_JIS character set in my web pages, and have specified it as such in the <head>. <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> ...
0
1352
by: Dr. Zharkov | last post by:
To see character of Microsoft Agent in Visual Basic .NET 2003, we create the project: File, New, Project, Visual Basic Project, Windows Application. In Form1 we place two controls: Button and...
1
1400
by: Dr. Zharkov | last post by:
Hello. In project on Visual Basic .NET 2003 (File, New, Project, Visual Basic Project, Windows Application) after occurrence of Genie of Microsoft Agent and pressing of key Scroll Lock below Genie...
1
2351
by: =?Utf-8?B?UGF1bCBQaGlsbGlwcw==?= | last post by:
I have read many things about this but I haven't got a clear vision on what to do if anything about this. I have a system that tries to find holes in my web site. One of the things it has...
2
9006
by: joelkeepup | last post by:
Hi, I made a change this morning and now im getting an error that says either "a is undefined or null" or "e is undefined or null" the microsoft ajax line is below, I have no idea how to...
0
7259
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7158
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7380
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7535
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7523
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.