|
Hi all
Iam using WMI(windows management Instrumentation) to PING other Systems. I ahve developed a sample Application which is working fine on WINdows XP operating System . But when aim trying to run same application on WIndows 2000 it is giving me error.
I know the problem is with CoInitializeSecurity .
CAn u please suggest me how to proceed further to ping using windows 2000.
Thanks in Advance
abhi
|
|
|
|
|
|
I have some DLL files which I have cerated few yrs back but nwo fund that the source code of thos files I have lost but that source code i want so is their any way to open the DLL files and get the Source Code.
Can anybody give me the solusion of this or any code in DOTNET do open the DLL files OR any code to crack the DLL files, Coz I have lots of such files of which Source Code i have lost and some of the code i lost bcoz of the virus
Is anyone have such program to open the DLL files so please give me that or any solusion fo that it's very urgent.
Harshad
|
|
|
|
|
nope, you cant do that. its gone.
-Prakash
|
|
|
|
|
Hi,
Having a problem with sink and wondering if any one can help. The problem is i want revieve notifications back from a COM object (Netmeeting SDK INmCall and INmCallNotify). I assumed it would be a case of overriding INmCallNotify and replacing how it handles callbacks with how i want it to handle call backs, however this doesnt seem to be the case.
Can any one offer any light on the subject please, i have read a post about this but still am a little unsure.
Tbanks
|
|
|
|
|
Can you be more specific? Perhaps post some of your code.
Steve
|
|
|
|
|
Have you gone through NetMeeting SDK Documentation and samples.
KIRAN PINJARLA
|
|
|
|
|
I am tryng to create a C# application that will load a plugin that implements the following interface:
public interface IPlugin
{
bool OnMessage(IMessage Message);
}
I am trying to create a language independent plugin.
What do I have to do?
How do you create a type library for this interface?
I am not sure how to go about this.
|
|
|
|
|
|
Thanks I will have a look.
|
|
|
|
|
how to trap tab change event in IE7 or how to get active tab ?
|
|
|
|
|
i found the way to get tab change event and get the active tab.
|
|
|
|
|
I known app that use Com.
I want to spy it. How i do??
Because i don't know much about com. Dont laugh at me!!!
Another question: I always see examples about com like this
class obj{
class XI1: public interface1{
//code here
} m_x1;
..............
};
So, If my app want to use as many interface1 as i want.
How i write my com object.
Thanks
|
|
|
|
|
The only real way to see what's going on with an existing application that uses COM is to somehow implement a proxy object that can sit between the two existing objects. That's not at all straightforward, but I did do it once to try to understand what was going on with Pocket PC's Soft Input Panel input methods, so I could write one of my own.
The example you've illustrated is the 'nested classes' pattern of implementation. Here, every COM interface is implemented as its own function. The advantage of this style is that functions with the same name and parameters from different interfaces can be implemented differently, if required. MFC uses this pattern.
The other main pattern is the 'multiple inheritance' pattern, where your class derives from all of the interfaces. ATL uses this pattern. This style has a lot less 'glue' required. Personally I prefer it.
I'd recommend that if you're just beginning with COM, you should obtain the book "Inside COM" by Dale Rogerson (sadly, out of print).
|
|
|
|
|
Hey, Thank for your help. But i can't find myself "Inside com" or similar things. I'm very happy if you send me some of your book :->!!!
If possible my email: sea.loves.you@gmail.com
Thank very much.
|
|
|
|
|
I have a simple component. It receives and stores data. The data needs to be decoded before can be used. Then I set a CodecManager in the component. When I try to retrieve the data in a event processing, the codec manager should provide a codec for use. But at this point, CodecManager failed. I don't know why? Anybody help. Is it legal to call CoCreateInstance in event processing?
|
|
|
|
|
U can call CoCreateinstance in the event handler but it is better u create the component some where else say add an Init function and within this u create it and use in the thread.
Sudeesh
|
|
|
|
|
|
The information u given is too abstract. provide more clarity on ur problem or place some piece of code for reference. becaz we cant find out the root cause without code samples.
Kamaraj[in]
|
|
|
|
|
When you say 'event processing', do you mean in a COM sink interface, or normal message handling?
What HRESULT does CoCreateInstance return?
Can you write a minimal COM client that calls CoInitialize(), and successfully CoCreateInstance the codec, then release it and call CoUninitialize()?
Steve S
Developer for hire
|
|
|
|
|
i am working with Active-x test container in that i have add control through edit,now i am able to get connected with server with invoke function>My Q is :
1.if i want to save my userid and password in that for future use is that possible.
2. when i get connected to server it is giving me a "session id" and each time it will b new one
so if i want to use that session id for further procedure like "request Price" etc without
user interface how it can b done.
3.Is it possible to invoke more then 1 or 2 function from test container.
any suggestion will b helpful to me.
Thanks
|
|
|
|
|
I need help for following.
I want to list of URLs to which User visits using any browser. I wrote Browser Helper Object using MSDN code. This helps for Internet Explorer (and Windows' Explorer also) only.
How can I do same for NetScape/FireFox (other browsers)?
Is there any universal code useful for all browsers?
Can it be done using JavaScript or any other script?
Can any one guide please?
First deserve then desire. Let be deserved first.
|
|
|
|
|
I'm trying to make Outlook addin that will add one button to outlook context menu---
(VB.net / C# .net (NO C++ .net))
first,
ActiveExplorerCBars = applicationObject.ActiveExplorer.CommandBars
then
cmdbar = ActiveExplorerCBars.Item("Context Menu") 'cmdbar is commandbar object "^getting error here"
control = cmdbar.Controls.Add(MsoControlType.msoControlButton)
With control
.Caption = "kedar"
.visible = true
..... other props
End With
but i'm gettin an error that the parameter "Context Menu" is incorrect @ cmdbar = Active......
"i have seen code working in vb but not in vb.net so keep that in mind and reply for vb.net"
i've refered -- http://www.outlookcode.com/codedetail.aspx?id=526
http://www.outlookcode.com/codedetail.aspx?id=314 ?
and similar codes but they'r not of any use to me,.....
I think "Context Menu" is not a valid parameter. But accordg to other resources i've cometo know that outlook has that Named menu.
I'd like if anyone can post a code to add the button to context menu.
thnx in advance
"You can do any thing you set to your mind" - theGhost_k8
|
|
|
|
|
HAI,
I want to know whether its possible to access a substorage directly from the root storage.
For eg.
LPSTORAGE pStorage;//Main storage
LPSTORAGE pSubStorage;//Substorage
//StgOpenstorage(...);
hr = pStorage->OpenStorage(L"abc\\13\\456",........., (&pSubStorage));
Thank you
Beginner
|
|
|
|
|
that OCX is developed by VB6.
i can import it into CB6 through 'import ActiveX control'
but the .cpp file is empty. that mean its not included any class declear.
how can i use a VB-OCX normaly in cb6?????????????????????????
|
|
|
|