|
Hi Vikram,
Guess the following link will help you.
http://www.kdkeys.net/forums/785/ShowPost.aspx
Thanks and Regards
Pani
|
|
|
|
|
Thanks, Kodanda Pani.
I don't know VB, but I should be able to decipher it.
Thanks very much.
Cheers,
Vikram. "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton.
i dont mind to be
a stupid,better than being a moron - Adnan Siddiqi.
|
|
|
|
|
Reflection is the way to go. You can use Assembly.Load[^] or one of its variations to get an Assembly object, then use the GetExportedTypes[^] method on that Assembly object to retrieve types in that assembly. You can then iterate over the types and use FindInterfaces[^] to check if that type implements the interface you want. Activator.CreateInstance[^] creates instances given the type and you should find it simple from there on.
Remember though, the assembly gets loaded in your AppDomain, so it won't get unloaded till your app (or your AppDomain) shuts down. So if some other process tries to write to that assembly, it will fail.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Thanks, Senthil. I'll look into your links.
Would you be interested in writing an article with me, on something that uses this? If you're interested, I'll explain what it's about.
Cheers,
Vikram. "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton.
|
|
|
|
|
Hello,
I want to get html flow when the page is called. I need to save the flow of page when user valid page to save it under txt file. Have you got an idea.
Thanks
|
|
|
|
|
|
In fact I want to save the contents of the page when the user valids it. To do this I try to use WebRequest command but I have an error when I called the page whith specifique control (security error). It's important for me to keep a trace of html contents. If you have another idea to do this tell me about it.
|
|
|
|
|
Hey howzit,
I am very new to the C# .NET environment and am learning every day, but I need to be able to launch the default mail recipient e.g. Outlook from my C# application. Could anyone help me out, please try keep the code simple.
Much appreciated!
|
|
|
|
|
The following snippet launch the systems default email client
<br />
System.Diagnostics.Process.Start("mailto:test@test.com");<br />
DevIntelligence.com - My blog for .Net Developers
|
|
|
|
|
Hey there,
Thanks for that code. Is there way of specifying which file(s) to include in the new email as attachments?
|
|
|
|
|
I don't know, but you can use third party component like DotNetOpenMail[^]
.Using "mailto:" you can specify subject ,body - but not file .
DevIntelligence.com - My blog for .Net Developers
|
|
|
|
|
Hi howzit?
Does anyone know how to add annotations to an EXISTING PDF programmatically? I have been fiddling with iTextSharp from SourceForge.net but it only allows you to create new blank PDF's and then add annotations.
Any help would be greatly appreciated!
|
|
|
|
|
|
i want to make an application that can find out what windows media is currently playing like the feature in MSN Messenger that displays what the user is currently listening to. is this possible and how would i go about it?
|
|
|
|
|
There is an article which explains something like this with the itunes library at http://msdn.com/coding4fun
|
|
|
|
|
Hello,
I have some experience in openGL. I plan to deploy in C#. But is there any way to use it in C#? Specifically I want to have a nopenGL view control on my C# form without loosing the features of C# form. I found CsGL.BaseCode but it says I should have CsGL.BaseCode.dll. But I do not have it. I have CsGL bins CsGL.dll and CsGL.native.dll but not that. Is any one can send me an example related to my problem?
I will be so glad to hear for your feedbacks.
|
|
|
|
|
The Tao[^] framework supports OpenGL. It's officially supported by the Mono[^] project and it's supposed to compile under Visual Studio .NET too. It might be what you're looking for.
I have no experience with it. So, fingers crossed.
Here's some more info[^] on it.
|
|
|
|
|
Maybe you want to check SharpGL[^].
"..Commit yourself to quality from day one..it's better to do nothing at all than to do something badly.."
-- Mark McCormick || Fold With Us! || Pensieve || VG.Net ||
|
|
|
|
|
i need to use the log off mechanism of windows operating system but to display log in form containing one Textbox to enter and a button and the background desktop become inactivated to user clicks or browsing ?
Is there anyway in win32 functions i can use that please help me with this functions
Thanks for you all.
Human knowledge belongs to the world
|
|
|
|
|
You mean you want to override the standard Windows logon / station locked dialogs?
If that is what your looking for you'll need to build your own GINA[^] library, from what I can gather it isn't that difficult to do but your going to need to resort to good old fashioned C++ or something as you'll need to create a standard Windows DLL, something you can't do in C# AFAIK.
A better explaination of what GINA does and how you can to customize it can be found in this MSDN article[^].
Gavin Taylor
w: http://www.gavspace.com
|
|
|
|
|
how do i change the default icons of binary files using C#?
|
|
|
|
|
You would need to change the systems registry files to change the file type associations to match your program, that's all i know sorry, but you should get some good Google results from that
|
|
|
|
|
Do u want to display a icon for the dll's that u create in C#?
if yes then write the following code before the class
[ToolboxItem(true)]
[ToolboxBitmap("icon_application.bmp")]
The string in quotes is the bmp file that u need to include in
your project.
Hope that works for u
Regards,
Pramod
|
|
|
|
|
Pramod, I think that he wants to associate his application with certain filetypes rather than set an icon for his actual application
|
|
|
|
|
that's y i asked him wht really he wants to do...
Thanks & Regards
Pramod
|
|
|
|