|
Hi, do you know what exactly do we need to install first to allow msagent characters speak?? and what files exactly are needed for them to take commands?? I have a little application that uses them and every time I just install everything related to ms agents to run it and hence not sure what files are being actually used
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Hi!
I want to do the following:
All seconds I want to delete an existing picture and do Graphics.DrawImage with a new picture. So my problem is: I can't delet the old picture from Graphics and so no changes are shown on my screen.
Does anybody know help?
thanks
Josi
|
|
|
|
|
I have no idea what you mean by 'delete the old picture from Graphics'. Calling Invalidate() forces a paint event, which will redraw the form.
How are you drawing/storing the image ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
just set previous object to null
|
|
|
|
|
How to change the color of the group box border line?
I see no property that does this.
Thanks.
|
|
|
|
|
You can derive from groupbox control your own control and override onpaint event
|
|
|
|
|
|
I am developing an application an using Main Menu.when I run my application, the Menu is not being displayed.
Tell me how it will be displayed?
|
|
|
|
|
Hello,
I have an problem with my project.
The project is written by C#, $ used SQLServer 2005 DB.
I also use Web service & Seasar to retrieve A database.
And on webservice side, I have to refer to another package that is built to DLL.
That package retrieve B database.
My problem is when I retrieve B database and update data via dll's function. if it is success, I update A database. But A database cannot update because some error that i cannot control.
How can I rollback the data that was updated in B database?
Snow
|
|
|
|
|
I am working on project to create a mailbox in Exchange 2007. I successfully created a user in AD but not in the exchange.
Besides using cmdlet in Powershell, what are the other ways to create the mailbox.
|
|
|
|
|
Hi ,
I have a windows service qith my class X, now is it possible to make a mehtod call with parameters to that service ?
what I have found on net is that u have to use 'OnCustomCommand' but I want to call a method with parametrs from my service controlling application ...
Is it possible to do ???
And is it possible to fire events from class X (my windows service class) and i would be able to capture these events within my service controlling application ???
Thanks
Thanks
ZINK
|
|
|
|
|
whould there be a problem if I created a backgroud process in my app that starts an endless loop checking to see if a date and time has been reached. then in the loop pause for x number of hours or days. What is the best way to pause? not looking for the code just the method that would work with the least over head
|
|
|
|
|
Umm umm... well try System.Threading.Thread.Sleep ( ms )
|
|
|
|
|
how the mouse works?
If we move the mouse slower...the distance from desktop it's smaller than distance when we move mouse faster.
I'm interested about relation between speed, acceleration and distance.
any advice..links..tricks...??
thanks in advance
-- modified at 18:33 Friday 11th May, 2007
|
|
|
|
|
You need to use DateTime.NOw to time the interval between mouse messages and store the points. Once you have locations and times, you can work out acceleration, speed and distance.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Computer mice must convert the motion of the mouse across a surface to the motion of the on-screen mouse pointer. The translation between the physical and on-screen motions is determined by an algorithm (a mathematical, two-dimensional function) that adjusts the rate to allow for both rapid and precise mouse targeting. When the mouse is moved a given distance slowly, the pointer will move a shorter distance than if the mouse is moved that same distance quickly.
I'm interested about algorithm (physical motion vs on-screen motion)
|
|
|
|
|
duta wrote: Computer mice must convert the motion of the mouse across a surface to the motion of the on-screen mouse pointer
No, windows does that.
duta wrote: I'm interested about algorithm (physical motion vs on-screen motion)
All you're able to access is the rate of motion on the screen, Windows has already performed that conversion beforehand. It's not fixed, you can set the rate in your control panel settings
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi
i need an article to compare c# and vb.net applictaions that what exe has better performence ?(not to conapre syntax)
i want to comparing advance diffrence between these two languages in performences and architecture.
thanks
|
|
|
|
|
They both compile to MSIL which is then JIT compiled optimised for the processor that is currently available. If I run the same EXE on my laptop and my desktop machine they are unlikely to JIT compile to the same code.
|
|
|
|
|
There is a very small number of things C# can do that VB cannot, and a couple of nice things that VB does and C# does not ( but the VB stuff is syntactic sugar, C# can do anything VB can do ). But, as has been said, they both compile to MSIL. The reason people assume C# is better is because VB6 was crap and C++ is still the best performance language, as C# looks like C++ and has C in the title, people assume the same is true in .NET. It is not.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
There are a few cases where VB generates less efficient code, e.g. casts from object to int (C# will only unbox the int, but VB does an additional check if the object is a boxed short/long/etc., unboxes that and then does a conversion). Also, VB has some features like late-binding that result in sub-optimal performance if you use them accidentally (e.g. if forget the "As DataType" part in a Dim statement).
However, in most cases you won't notice any performance difference between VB and C#.
|
|
|
|
|
i have a managed c++ dll, now i need to call a c# method(not in dll) from the managed c++ dll.
how would i go about it?
i cannot find anything on this topic, everywhere people call from unmanaged c++.
rather have something you don't need, than need something you don't have
|
|
|
|
|
Hi again,
you can mix all managed languages in one app, provided you use dll's.
Each dll/exe can contain only one language.
Calling C# from managed C++ is identical to calling managed C++ from C#.
|
|
|
|
|
thanks again for your reply.
only problem is that the c# code is not a dll, can i add a reference to a c# exe in a managed c++ dll?
rather have something you don't need, than need something you don't have
|
|
|
|
|
thanks for the help, i added a reference to the c# exe and it works!
rather have something you don't need, than need something you don't have
|
|
|
|