|
Sorry for confusing you - I assumed you were refering to Napoleons' lack of Frenchness by refering to Barcelona. Hence the Corsica reference, that being where NB was born.
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Maybe if we close the curtains and turn off the lights, he may think we're not in.
My failometer has shot off the end of the scale!
I seem to have misplaced my ban button.. no wait... found it!
|
|
|
|
|
Just ignore him. I reported him via the Microsoft MVPs I know last week, and they were delighted to get this information - I suspect they've been in touch with Chris; they do guard the MVP status rather well.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Do you know what, if any, action will be taken? Simply wondering out of curiosity. I would imagine that got them quite upset.
|
|
|
|
|
Knowing Microsoft they'll probably send Steve Balmer round to dance at him.
Mind you that would scare the hell out of me...
There are three kinds of people in the world - those who can count and those who can't...
|
|
|
|
|
I'm not sure what they could do, to be honest. Not much, I doubt.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
That's what I figured.
Pretty hard to stop the entire internet from adding a line in a signature on every forum that exists.
|
|
|
|
|
Hello,
Can somebody provide me a code snippet "To Change Windows Theme Programmatically using C#"
I know i have to work with UxTheme.dll and its Export Functions. Could you guys tell me what function to use and How to use it.
DllImport[UxTheme.dll , XXXX, XXXX]
Thanks
Aady
|
|
|
|
|
For uxtheme implementations, check http://www.pinvoke.net[^], scroll down the list on the left to find it
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
I got the functions list but thing is i donno how to implement these functions with correct Arguments ... so looking for some basic snippet.
Thanks.
|
|
|
|
|
You could do worse than learn to use google or CP search.
Here's a start.
Advanced UxTheme wrapper[^]
Find more for yourself.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
|
public static System.Drawing.Drawing2D.GraphicsPath Transparent(Image im)
{
int x;
int y;
Bitmap bmp = new Bitmap(im);
System.Drawing.Drawing2D.GraphicsPath gp = new System.Drawing.Drawing2D.GraphicsPath();
Color mask = bmp.GetPixel(0, 0);
for (x = 0; x <= bmp.Width - 1; x++)
{
for (y = 0; y <= bmp.Height - 1; y++)
{
if (!bmp.GetPixel(x, y).Equals(mask))
{
gp.AddRectangle(new Rectangle(x, y, 1, 1));
}
}
}
bmp.Dispose();
return gp;
}
Then in your form load event handler
System.Drawing.Drawing2D.GraphicsPath gp = Resources.Images.Transparent(pictureBox1.Image);
pictureBox1.Region = new System.Drawing.Region(gp);
I know nothing , I know nothing ...
|
|
|
|
|
First, don't use PictureBoxs. Next, Color.Transparent is not really Transparent as you're expecting it to be. Transparent only tells the control to take on the background properties of the control that contains it. In other words, there is no true Transparency.
Having said that, in your example, the control in the middle will NOT be visible in the transparent areas of the top control. It'll disappear behind the borders that makes up the top control window.
A better option would be to drop a Panel control on the form, resized or docked as needed, then just draw each image yourself in the Paint event of Panel control. You'll have much greater control over the transparency.
|
|
|
|
|
Hi guys,
How can we execute a particular piece of code on a specific date. I mean if its 15, then it will print Today is 15?
Algorithm here:
if ((Date.Now)==15)
{
Console.WriteLine("Hey, today's 15)
else
{
return;
}
Any ideas?
|
|
|
|
|
if(DateTime.Now.Day == 15)
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Hey Musefan,
This really worked dude. Thanks a (__________LOT!__________)
|
|
|
|
|
That piece of code looks rather familiar. Are you Rajdeep.NET?
Between the idea
And the reality
Between the motion
And the act
Falls the Shadow
|
|
|
|
|
Rajdeep.NET?! Who's that guy?
|
|
|
|
|
Yes, he is. Here[^] is where you saw that code.
|
|
|
|
|
Yes, I am Rajdeep.NET. Although I was kicked out of CodeProject, I somehow managed to get in. I just wanted to hide my identity with that username. But please, dont reveal my identity to other members. I am requesting you guys. I am changed and I promise not to ask those malicious types of questions again. Please Please Please.... I have my exams soon (maybe from 17 to 20th) of june and I'll be needing your help. So please forget whatever I did earlier, as because a new Rajdeep.NET is here in CodeProject.
Father told, "Leave the village". Villagers told, "Leave Paaroh". Paaroh told, "Leave consuming wine". Mother told, "Leave the house". A day would come, when somebody would say, "Leave to live"...... (Taken from Bengali Novel-Devdas written by Satyajit Ray).Converted.ToEnglishByRajdeep==True;
|
|
|
|
|
You JUST admitted it yourself.. everyone can see your posts.
Rajdeep.NET wrote: I am changed and I promise not to ask those malicious types of questions again.
Glad to see you've admitted your malicious intent.
Rajdeep.NET wrote: I have my exams soon (maybe from 17 to 20th)
You're going to fail. You're posts show your extreme lack of understanding of basic principles and concepts, you cannot pass your course or test without working throughout the semester and reading, you've done neither.
|
|
|
|
|
Rajdeep.NET wrote: I have my exams soon (maybe from 17 to 20th) of june and I'll be needing your help.
Really?
The point of exams is to evaluate how much you, the student, has learned. Not to measure how well you can con people into helping you, or even how well you can use Google.
How do you think you'll cope if you get a programming job (as if...) and your boss asks you to work on developing something? You can't just run to Code Project for help. How do you think your team-mates will react if they see you're searching the net for even the simplest of things, things that you should know as basics?
Perhaps you should consider another career before you spend too much time trying to grasp the basics of this one...
There are three kinds of people in the world - those who can count and those who can't...
|
|
|
|
|
I'm not really bothered by who you are. If you've changed from committing fraud by impersonating MVPs, then I don't have any reason not to welcome you as a member of the community (provided you have changed, not just putting on a show. Your actions will show either way)
Between the idea
And the reality
Between the motion
And the act
Falls the Shadow
|
|
|
|
|
Rajdeep.NET wrote: Although I was kicked out of CodeProject, I somehow managed to get in.
No, you weren't. You just didn't show up.
Rajdeep.NET wrote: I just wanted to hide my identity with that username.
You can change usernames all you want, you cannot change who you are, which is reflected in your style of posts and will give you away every time.
Rajdeep.NET wrote: But please, dont reveal my identity to other members. I am requesting you guys.
Notice, I started the subject line with "If it isnn't [already] obvious"...
Rajdeep.NET wrote: a new Rajdeep.NET is here in CodeProject
Only time will tell that...
|
|
|
|