|
Hello,
I am trying to develop an addin for Visual studio 6.0(msdev.exe).
I am using DevStudio Add in Wizard for it.
It provided me default code for handling application events and debugger events.
But my objective is to handle copy,cut,paste ,print commands in editor.These command are not the part of IApplication events or IDebugger events.
Could anybody please help me in
finding the best possible solution for this.
As per my understanding Cut,Copy,Paste methods are part of ITextselection interface ,which i try to implement in my class,but unable to handle those events as there is no proper event passing.
Thanks and regards,
Ruhina.
|
|
|
|
|
hi ruhina,
it would be great helpful, if u post some samples on Dev studio add-ins.
Regards,
Prashanth.v
|
|
|
|
|
voorugonda prashanth wrote: it would be great helpful, if u post some samples on Dev studio add-ins.
http://www.codeproject.com/macro/[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Ruhina wrote: per my understanding Cut,Copy,Paste methods are part of ITextselection interface ,which i try to implement in my class,but unable to handle those events as there is no proper event passing.
try this section :- http://www.codeproject.com/macro/[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Dear All
Is it possible to use an ActiveX control inside another ActiveX control? Or a COM component with a UI inside another COM component which will have a UI as well?
A.U Haq
|
|
|
|
|
You can use a COM inside another COM
I am not so sure how you can use an activeX control from another one if it is possible.
For me CAR is Challenge, Achievement and Recognition.
_AnShUmAn_
-- modified at 6:25 Tuesday 9th May, 2006
|
|
|
|
|
aleemulhaq wrote: Is it possible to use an ActiveX control inside another ActiveX control? Or a COM component with a UI inside another COM component which will have a UI as well?
In fact these two things are the same since an ActiveX is a COM component and the simple answer is yes.
--
Roger
It's suppose to be hard, otherwise anybody could do it!
|
|
|
|
|
Thanks for your reply...is it also possible to wrap a com component inside a .net user control (not web user control) and use it on a webform as an object?....inside <object> tag O'coz
A.U Haq
|
|
|
|
|
aleemulhaq wrote: is it also possible to wrap a com component inside a .net user control
Sorry, have no idea about that since I haven't done any .NET yet.
But I suspect it to be possible through something called "the interop layer", which lets .NET make use of COM.
I think this is a question that is better asked in the Managed C++ and .NET forum[^].
--
Roger
It's suppose to be hard, otherwise anybody could do it!
|
|
|
|
|
hi
I am running a client/server VC application which uses DCOM.Everything was working fine until i installed Windows XP Service Pack2.
Now when the client in other system wants to connect to the server in my system he gets "Access Denied" Error message.I configured all the DCOM settings (including Anonymous permissions) but still he gets the same error message???
what more do i need to do??
"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
|
|
|
|
|
You have switched off the firewall that XPSP2 provides, haven't you?
Steve S
Developer for hire
|
|
|
|
|
Even i have tried the DCOM and faced same problem
what is firewall that XPSP2 provides?
look forword to your reply
Knock out 'T' from CAN'T ,
You 'CAN' if you think you 'CAN'
-- modified at 0:49 Friday 12th May, 2006
|
|
|
|
|
XP SP2 introduced a firewall, which by default will disable DCOM, since it only allows certain connections. However, it also introduced stuff for launch and access security in DCOM. It's probably this which is affecting you. There's an article on MSDN all about it here[^]
Steve S
Developer for hire
|
|
|
|
|
This may drag up some bad feelings from the old days, but I need some help. I have a old DOS program that is running in a command window and the customer has a bad habit of closing this program out by clicking on the 'X'. Is there anyway type of program out there or setting that would not make this available on a command window? We are working on a windows app, but it just isn't ready yet.
Any help would be aprreciated.
Jude
|
|
|
|
|
Hi..
I want to use the CmdLoadFromResource() method of ths speech SDK 5.1 to make the xml file that includes the Grammar embeded but i dont know how to use this method in C#.
This code shows how i used this method:
[System.Runtime.InteropServices.DllImport("kernel32")]
private static extern long LoadLibrary(string lpLibFileName);
private void button2_Click(object sender, System.EventArgs e)
{
this.objRecoContext = new SpSharedRecoContext();
this.objRecoContext.Recognition += new _ISpeechRecoContextEvents_RecognitionEventHandler(RecoContext_Recognition);
this.objRecoContext.State=SpeechRecoContextState.SRCS_Enabled;
grammar = objRecoContext.CreateGrammar(0);
int hModule=Convert.ToInt32(LoadLibrary("ReviewWinApp.dll"));
int langID=409;
grammar.CmdLoadFromResource(hModule,"tryRecog.xml","CFGGRAMMAR",langID,SpeechLoadOption.SLODynamic);
grammar.State=SpeechGrammarState.SGSEnabled;
grammar.CmdSetRuleIdState(1,SpeechRuleState.SGDSActive);
}
When i click this button i got the error:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in ReviewWinApp.exe
Additional information: The specified resource type cannot be found in the image file.
I am not good in COM programming.Could any one give me a C# code sample for using this method?
|
|
|
|
|
ummm i deleted all of the hotfixes off of my computer and now the sound is screwed up. everythig on the internet sounds like chipmunks. the cd player sounds just fine tho. all i want to do is install all of the hotfixes but all i can find is articles on them- no installation- ever. if someone could help that'd be great. i cant listen to any music until its fixed !!
♥ jess ♥
|
|
|
|
|
i want create a com in VVB.net and have to use it in MFC Application. Can any one help.
mission
|
|
|
|
|
|
Can anyone tell me how to make a COM Control, that performs some or the other function when added in MS-Word, or Excel.
|
|
|
|
|
Are you talking about Addins for MS-Word or Excel which is loaded when application starts.
Knock out 'T' from CAN'T
You 'CAN' if you think you 'CAN'
|
|
|
|
|
In Word, go to View->ToolBars->ControlToolBars then select the hammer icon which is for "More Controls", I am talking about that Control.
A control which we might develop in .Net or COM
|
|
|
|
|
|
Hello,
I have a COM object and a .NET object that need to talk to each other.
The COM object creates the .NET object, but then the .NET object needs to
call methods in the COM object. It appears to me that the best way to do this
would be via connection points.
How do I do it on the .NET side? After decorating with ComSourceInterfaces,
how do I get to the interface? Note that these are not events, so I would
like to call the methods as if I had created the COM object.
Is there a way to EnumConnections?
Is there a completely different way of doing this?
Thanks,
Marius Matioc
|
|
|
|
|
hI
I am a com beginner can anyone guide related to com materials or any ebooks. if u do hv any links or ebooks then plz forward to raghuji.rao@gmail.com
|
|
|
|
|