|
I think this is the method i should use to retrieve a bitmap i added to resource [its not in a resource file!] in sharp develop. now i want to load that, but do not know how. some help please.
Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk "All programmers are playwrights and all computers are lousy actors."
|
|
|
|
|
Check the bitmap properties?
Build action = Embedded Resources!
Normski. - the next bit of code is self modifying ... jmp 0xCODE
|
|
|
|
|
|
Thats a setting for files in a VS.NET project. Obviously not going to help you.
IIRC the FromResource method is used to load a Win32 resource out of a resource-only satelite dll; so it wouldn't be of much help to you.
James
"Java is free - and worth every penny." - Christian Graus
|
|
|
|
|
Is there similary method in C# like IntersectRect() function in C?
I want to use it for square "collisons".
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
You mean myRect.IntersectsWith() or myRect.Intersect() ?
James
"Java is free - and worth every penny." - Christian Graus
|
|
|
|
|
James T. Johnson wrote:
You mean myRect.IntersectsWith() or myRect.Intersect()?
James, yes!
And it was damn easy to use!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Well...I have a problem here ..I can't debug my applications from VS.NET...not even an empty command-line application.
I can build all the stuff normally and launch it from the VS.NET command prompt and it works perfectly fine, but I would like to use the GUI debugger in VS.NET.
When I click Run, the output screen outputs all the normal lines until "Build: 1 succeeded" etc. Usually I get another "Deploy:" line, but VS.NET hangs before it gets there. I have to use the Win2000 Task Manager to shut it down and launch the program again (Quick Launch button).
I conjectured that VS.NET can't identify the process and to check, I clicked Debug Processes under Debug and sure enough, VS.NET hanged in the same way.
Anyone has the same problem or know how to fix it?
I'm using Windows 2000 and have administrator privileges.
|
|
|
|
|
You're going to want to ask this in the VS.NET IDE issues forum...
David Stone
dstone@newcenturytitle.com
Procrastination is like masturbation; it's all good until you realize you just screwed yourself.
-Writing on a bench at college
|
|
|
|
|
How can I copy a complete directory and its content? The File class has the
Copy/Move method, the Directory class has the Move method only. Why not the
Copy method?? Is there any reason?
Pranoti
|
|
|
|
|
|
How can we change this C++ function in C#?
foo(int x, int y = 10)
{
.
.
}
main()
{
int i = 5;
int k = 2;
foo(5);
foo(5, 2);
}
Thanks in advance.
|
|
|
|
|
I think you'd have to do this
<br />
private void foo(int x, int y)<br />
{<br />
.<br />
.<br />
}<br />
<br />
private void foo(int x)<br />
{<br />
foo(x, 10);<br />
}<br />
Andy Gaskell, MCSD MCDBA
|
|
|
|
|
Hi,
Anyone got a sample or a link to a sample of exception handling across threads?
i.e. got a worker thread that throws but i want to catch it in my main thread.....
|
|
|
|
|
There is an event on the AppDomain object that lets you know when an unhandled exception is thrown; but its only a notification that it happened; you can't do anything about it [AFAIK].
James
"Java is free - and worth every penny." - Christian Graus
|
|
|
|
|
Hi,
How to create separtor line in menu. (like in Visual C++)
|
|
|
|
|
neatSeparatorMenuItem.Text = "-";
Andy Gaskell, MCSD MCDBA
|
|
|
|
|
Does anyone else think this is an evil way to create separators, or is it just me?
I was thinking more along the lines of a MenuItemCollection.AddSeparator() method, or perhaps a class MenuSeparator derived from MenuItem.
Dunno if I got those names right, because I'm away from my dev computer -- stuck on this miserable vacation
Anyways, I'd be interested in other people's thoughts on this issue.
-Domenic Denicola- [CPUA 0x1337]
MadHamster Creations
"I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."
|
|
|
|
|
|
Eric Gunnerson (msft) wrote:
I think it's evil.
Nice one, Eric.
I'd be interested what your recommendation was/would have been for this.
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
I am afraid that looks horrible
|
|
|
|
|
it doesn't mean that session will be terminated when you close the window.
james liu
|
|
|
|
|
|
I want to do some job on Session_End in global.asmx, but when I close the IE, it cannot be occured.
I'm amumu, and you?
|
|
|
|
|