473,671 Members | 2,319 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.IA gentCtlCharacte rEx

Const DATAPATH_1 As String = "genie.acs"

Private Sub Button1_Click(B yVal sender As System.Object, _

ByVal e As System.EventArg s) Handles Button1.Click

AxAgent1.Charac ters.Load("Geni e", DATAPATH_1)

myGenie = AxAgent1.Charac ters("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::I AgentCtlCharact erEx* myGenie;

static String* DATAPATH_1 = "genie.acs" ;

private:

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

System::EventAr gs * e)

{

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

myGenie = axAgent1->Characters->Character("Gen ie");

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 1516

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

Similar topics

163
14607
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 hate microsoft with a passion. I literally just want "compact HTML" - ie just the data,
0
2465
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 there a known bug or a work around ? ms help support wont help... Hope someone can...
32
5457
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 accidentally threw out the diskettes when I cleaned up once. Now I need to install it and I therefore am looking to replace the diskettes. Thanks.
1
2366
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 charset encoding in Edit Boxes to iso-8859-2. (I'm Polish and Polish pages should be in iso-8859-2, but windows uses window-1250 :/) Could you help me, please? Thanks in advance && best wishes, Tomasz Kaczmarczyk
4
3018
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"> This used to work just fine, but recently I migrated all of my web pages to a new server. Now I find that when I view the web pages they
0
1359
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 Microsoft Agent Control 2.0. We write down a code: Dim myGenie As AgentObjects.IAgentCtlCharacterEx Const DATAPATH_1 As String = "genie.acs"
1
1406
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 there is help "Genie is listening for command", and further it is possible to operate Genie through commands in a microphone. That Genie understood commands in English, in a code on Visual Basic one line is written down: myGenie.LanguageID =...
1
2365
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 found and has been sent to me is an Invalid_Viewstate exception. I will provide the stack trace below. If you read down the stack trace it talks about "Invalid chararcter in a base-64
2
9031
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 figure this problem out. Any suggestions? thanks Joel
0
8473
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8911
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8819
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8597
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6222
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5692
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4222
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2048
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1806
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.