|
Hi,
anyone here experienced with Word automation?
I have a application, in fact a COM component, provide functionalities for
extracting Word document data, it was tested well with Word XP, Word 97, but
failed with Word 2000
the error is very strange, when I create a Word instance by
CoCreateInstance, it's failed and return error: 0x80080005 - Server
execution failed
I have spent whole day to fix the bug, search entire MSDN, but the result is
nothing, although have some articles cover this bug, but neither of them
have final approach (and feasibility) to work-around.
It's still the bug, I will try with other copy of Microsoft Word 2000, but
if you know what problem is, give me the way to solve, pls.
thanks a lot,
Tien,
|
|
|
|
|
|
Our problem was solved, it's the Norton Antivirus's fault
Thanks so much for supporting from Microsoft Developer Support
Q246018 - BUG: Automation Error 8001010A when Automating Word 2000
http://support.microsoft.com/support/kb/articles/q246/0/18.asp
But let me add some information, we didn't find the solution ourselves
because this bug isn't covered in any articles in MSDN, also the reason is
the same, the error code is different, in our case, the
_com_ptr_t::CreateInstance return error CO_E_SERVER_EXEC_FAILURE
(0x80080005: "Server execution failed") when instantiate Wors.Application
object.
(in Visual Basic, the error is error 409: ActiveX component cannot create
object).
|
|
|
|
|
Is any body know how to make a flat window, I mean there is no separate line between the menu and tool bar.
Thank you
|
|
|
|
|
If I create a new edit control class derived from CEdit and handle WM_CONTEXTMENU this gets called when you right-click in the edit control, as you would expect. However if I do the same with the tree control, it only gets called when you double right-click, does anyone know why this is and how to make it respond to single right-clicks?
Thanks,
Mark
|
|
|
|
|
|
Thanks Tomasz, you're a star!
|
|
|
|
|
Can Any body help me regarding DDE. The following is the problem.
I want to communicate with an Application which is already communicating with some application using DDE.
at the moment I have completed these tasks.
I get the information of the servers and I have also build up a conversation path with those servers. I do have all of the information of the registered strings handles.
At the moment my application could establish DDE Comunication.
What I want to know is that there is any mean to know the Data handles structure being accepted by the server application.
please tell me this
regards
Asim
|
|
|
|
|
Hello,
Any simple way to rotate the whole content of a view from 0 to 360 degrees?
I need GDI method, so that it can work on both Win98 and Win2000. It is simple with GDI+, but it is a way long porting the whole project to the GDI+.
Best regards,
Paul.
Paul Selormey, Bsc (Elect Eng), MSc (Mobile Communication) is currently Windows open source developer in Japan, and open for programming contract anywhere!
|
|
|
|
|
|
Nice reference, thanks so much.
Best regards,
Paul.
Paul Selormey, Bsc (Elect Eng), MSc (Mobile Communication) is currently Windows open source developer in Japan, and open for programming contract anywhere!
|
|
|
|
|
Hi all,
Q1- How can i create .HLP file for my program ?
Q2- I wanna when user need help in one of my dialogs in program, and when user hit F1 button, then program show the help which user need ! ok ?
Please help me !
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
|
Hi again Mr.Michael,
Are you sure your URL address is right ?
Because, my browser shom me the error like this, This URL not exsist !
Can you check it again ?
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
|
Hi all,
I'm writing program in Dialog-based mode !
I have a toolbar on that, i wanna set Tooltip for all button !
I tried CBRS_TOOLTIPS flag in SetBarStyle function,
But i don't know how can i set tooltip !
Please help me
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
Check the DLGCBR32 sample that comes with VC6. And please stop using exclamation marks at the end of every sentence.
Tomasz Sowinski -- http://www.shooltz.com
|
|
|
|
|
Thanks Tomasz,
Your help was very useful !
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
I would disable Help button on the "Customize Toolbar" dialog box
but I wan't use the caption of the control for a code independent of the language.
Thank you for your collaboration.
|
|
|
|
|
Hi!
Question: can I programmaticaly install the driver (printer driver, to be more specific), and if I can - then how? Do I need for this to deal with DDK? I'd never touched it before.
I cannot find something useful in the MSDN.
I mean conventional install, not hacking the registry.
Thanks in advance.
Regards,
Gennady
|
|
|
|
|
Which printer driver? I tend to just call the drivers own setup program from my setup. If it is a third party driver and not one of your own, using their installer is a lot easier.
Have you looked at AddPrinterDriver and AddPrinterDriverEx?
Michael
|
|
|
|
|
Thanks, Michael!
AddPrinterDriver is exactly what I looked for. Cannot understand, how I missed it !?
Thanks once more.
Regards,
Gennady
|
|
|
|
|
- I want to implement such function:
- When I press an "Enter" key, the program stops immediately and a messagebox occurs. When I press any other key (after closing the messagebox), the program goes on.
- Can you give me a sample code?
- Regards,
Maer
|
|
|
|
|
Is this an MFC application. Does the GUI have any controls on it such as edit controls. Look at WM_KEYDOWN for catching the Enter key.
Michael
|
|
|
|
|
May I add the avi to the resource file my project? If yes, then how?
Best regards,
|
|
|
|