|
Dear friends,
How can I find that a DLL file is a .NET Managed class library or a COM activex library.I have a DLL file and I wand to Register it if it was a COM unmanaged library.How can I recognize that ?
Best Regards,
[ _ Always there is another way _ ]
|
|
|
|
|
I guess the simplest (and least efficient) way would be to simply try loading the assembly using Assembly.Load[^] and handling the exception it throws if it's not a .NET dll.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Thanx Senthil...
That is a cool cheat.I found another way to recognize that but I think,your idea has less overhead and is a less time consuming task.You can see this methode here :
http://geekswithblogs.net Again thanx for your instant reply,
XironiX
[ _ Always there is another way _ ]
|
|
|
|
|
Hi All,
i am using cystel report viewer in our program.what i want is ,at run time when entries added to report viewer it will automatically scroll down as the entries added.ones page is finished it will move to another page. without click next button of reportviewer or press the scroll button to scroll down.
please help me out.
Amit Grover
CDAC R&D
|
|
|
|
|
i want to convert hexadecimal value to string...
can anybody give me a solution for it....using C#
|
|
|
|
|
i want to convert hexadecimal value to string...
can anybody give me a solution for it....
|
|
|
|
|
|
0x00BABE.ToString("X")
-- modified at 8:08 Wednesday 31st May, 2006
|
|
|
|
|
hi
i was opened a exe file binary and save it as Byte[] on disk.
i want to create blank process and inject byte[] to this process and restart process.
how to do that ??
|
|
|
|
|
Hackety hacketing?
-Larantz-
|
|
|
|
|
Let's see, this is C#, I assume you want to load a .NET assembly, if not please disregard the rest of the answer and go ask in the C++ forum.
Assembly ass = Assembly.Load(byte[]);
ass.EntryPoint.Invoke(null, null);
|
|
|
|
|
leppie wrote: ass.EntryPoint
|
|
|
|
|
|
hehe
|
|
|
|
|
haha!
-Larantz-
|
|
|
|
|
I have written the code like for ShowNewFolderButton = false
DialogResult result = folderBrowserDialog1.ShowDialog();
folderBrowserDialog1.ShowNewFolderButton = false;
if( result == DialogResult.OK )
{
txtFileName.Text = folderBrowserDialog1.SelectedPath;
}
//folderBrowserDialog1.ShowNewFolderButton = false;//
This line of code is not working
|
|
|
|
|
try out
folderBrowserDialog1.ShowNewFolderButton = false;
DialogResult result = folderBrowserDialog1.ShowDialog();
if( result == DialogResult.OK )
{
txtFileName.Text = folderBrowserDialog1.SelectedPath;
}
rahul
|
|
|
|
|
MSDN :Setting ShowNewFolderButton to false does not work on Windows 2000.
|
|
|
|
|
FolderBrowserDialog folderBrowserDialog1 = new FolderBrowserDialog();
DialogResult result = folderBrowserDialog1.ShowDialog();
folderBrowserDialog1.ShowNewFolderButton = false;
if( result == DialogResult.OK )
{
txtFileName.Text = folderBrowserDialog1.SelectedPath;
}
|
|
|
|
|
Just repasting the question isnt a sufficient answer...
|
|
|
|
|
Shiv5 wrote: DialogResult result = folderBrowserDialog1.ShowDialog();
folderBrowserDialog1.ShowNewFolderButton = false;
ShowDialog halts the running of the current code until the user closes the opened dialog form. Therefore, setting ShowNewFolderButton = false after this line will definately not affect that property when the window is shown! It will set that property AFTER the window is closed.
Swap those two lines around.
folderBrowserDialog1.ShowNewFolderButton = false;<br />
DialogResult result = folderBrowserDialog1.ShowDialog();
That said, I also remember reading somewhere that this property does not have any affect on Windows 2000.
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
J4amieC wrote: That said, I also remember reading somewhere that this property does not have any affect on Windows 2000.
Probably in the documentation. They tend to hide information in there.
|
|
|
|
|
hello all i want to know the various ways of analysing text in C# and thank you all
abdelhameed81
|
|
|
|
|
abdelhameed81 wrote: i want to know the various ways of analysing text in C#
Refine your question. Analyzing text is theory and not language-bound.
|
|
|
|
|
hi
im currently workin on a windows applicatin in c#.net........
my requirement is tat iv got a windows form with a simple text box and a OK button on it.....
wen some text is entered into the text box and the OK button is clicked... a new .cs file has to be added to the project's solution...
and this text from the text box has to be inserted into the file.....
tat's it...
could u pls help me out with it...
thanks n regards,
Pavithra..
|
|
|
|