|
Ok My problem is i don't know how to make a form modal. I know how to show them modelessly with Show() but as far as displaying them as modal im lost.
|
|
|
|
|
|
.ShowDialog() is what you're looking for. You can even get a return value (DialogResult) if you set it up right.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
How would I display thimbnail images in a DataList control for a photo ablum?
|
|
|
|
|
|
Please don't 'advertise' your article here, it will probably result in it getting some 1 votes, and generally annoy people.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I'm so so sorry
i really didn't mean it
Ahmad Shaban
|
|
|
|
|
LOL - my son tells me he 'didn't mean it', when he plainly did. However, I'm glad you deleted your post, you will definately find that posting ads anywhere except via placing an ad with the site will not result in anything positive for you.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi,
I need to create an application that must be able to load the definition of a C# Windows Forms o User Control and show it properly in a windows forms just like the .NET IDE Designer does. Then the user can select controls and setup some properties.
How can I do this? Using reflection or what?
I appreciate any help or guidance.
FJ
|
|
|
|
|
You can check out the Microsoft Knowledge Base Article #813808[^].
Oh, and I really like your music. <smile />
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
You should have made him sing "The Wall" for us first before helping him.
|
|
|
|
|
You are so right.
If you don't eat your meat, you can't have any pudding! How can you have any pudding if you don’t eat your meat?
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
Ok ok, I'm kind of retired now but what the heck, you asked:
"So, so you think you can tell...heaven from hell, blue skies from pain..."
)
Please, don't tell Roger I'm now into .NET, I don't want another Final Cut )
Thank you
-- modified at 8:54 Friday 17th February, 2006
|
|
|
|
|
Hello everybody, i'm looking for a way to use HTMLHistory in my c# project, but i don't know how to use it, any ideas where i can find info about declaration and use of it?
|
|
|
|
|
You can take a look at this[^] article right here on CP.
It's shocking what you have to go through to get at the browser History.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hi
i written a program and i want user can not kill it in task manager (prevent from end process)
ho to do this ?
please give me an example ...
regards ..
|
|
|
|
|
If you really want to do this (and I think that you should not), then you can implement some crappy kernel-land code as a driver, turn off APC, and restart your killed user-land process.
For information on this, you can check out this short MSDN blog[^].
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
hdv212 wrote: i written a program and i want user can not kill it in task manager (prevent from end process)
ho to do this ?
You can't.
The questions you've been asking over the last few days are suspicious. Are you trying to write a virus? Encrypting executables, injecting exes into already running processed and now wanting to ensure the process cannot be killed.
ColinMackay.net
Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more?
|
|
|
|
|
hi Colin Angus Mackay
i don't want write a virus . i write a cd-copy protection for prevent illegal copy . only this !!!
regards
bye ...
|
|
|
|
|
hdv212 wrote: i write a cd-copy protection for prevent illegal copy
If we knew all the answers you are asking, what makes you think your cd protection will be any good?
|
|
|
|
|
He can't do this[^], and he wants to make a CD copy protection scheme???? I've got to give him credit for having ambition!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I am not sure how to achieve this:
In my VS 2k3 solution, I have about 12 projects and about 9000 methods. What I need to achieve is, for every method insert a try/finally block.
So, the following example shows before and after.
<big>
private void HelloWorld(int x, string y, object z)
{
}
<big>
private void HelloWorld(int x, string y, object z)
{
try
{
CallAutoMethod1(this, "HelloWorld");
}
finally
{
CallAutoMethod2(this, "HelloWorld");
}
}
My goal is to be able to get a trace of when the method was entered and when it was exited. I was initially planning on doing this as a pre-build event through VS macros (using VS APIs) but I do not want to modify the code. Any suggestions?
Can I modify the DLL assemebly and programmatically insert the try/finally?
And what I am trying to achieve cannot be accomplished through a Profiler. I have tried about dozen of them.
Thanks,
- Malhar
|
|
|
|
|
Search for PERWAPI on Google
|
|
|
|
|
Hi all !
when I have "one" DataGrid in my form , for change of Header Text of GridColumn in a DataGrid i do this :
in Property of DataGrid > TableStyles(Collection) > GridColumnStyles > HeaderText
But when I have 2 DataGrid for 2 table that there is a relation "one to many" between them , I can't change the Header Text of GridColumn .
very thanks for any help !
Regards
s_mostafa_h
-- modified at 16:56 Thursday 16th February, 2006
|
|
|
|
|
you could try and add the alias names in your SQL script. Select PO AS [Purchase Order] from POS.
T
Tom Wright
tawright915@yahoo.com
|
|
|
|