|
Does your employer know that you don't have any idea how to program? Worse, that you can't even be bothered to try and figure it out: you just want other people to do your work for you.
me, me, me
"The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!"
Larry Niven
|
|
|
|
|
If this is for an ASP.NET page, just drag the login control onto the page. So simple that even you should be able to cope with it.
"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
|
|
|
|
|
Pete, this guy couldnt cope with downloading a zip file (see post below) - you think they can cope with dragging a complex (!) usercontrol onto an asp.net page? You crazy man!
|
|
|
|
|
Are you saying he couldn't pour piss out of a boot, even if the instructions were written on the heel?
Are you saying you're surprised the guy can even breathe on his own without constant verbal guidance?
Are you saying that when god was handing out brains, he thought they said "trains", and he said he'd rather take a cab?
Are you saying he's got the IQ of a two-slice toaster?
Are you saying that he doesn't know much, but he leads the world in nostril hair?
Are you saying that his golf bag doesn't contain a full set of irons?
Are you saying that his mind is so open that the wind makes a wistling sound as it passes through his ears?
Are you saying that if he ever had an idea, it would be beginner's luck?
Are you saying that he's a waterbug on the surface of life?
Are you saying that when he opens his mouth, he subtracts from the sum of human knowledge?
Are you saying that when you look into his eyes, you get the feeling that someone else is driving?
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
He's saying the OP can't even spell IQ.
He's saying that the OP was thrown out of the genepool.
He's saying that the village called. Apparently they wanted their idiot back.
He's saying that when the OP leaves the room, it's as though somebody else has come in.
"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
|
|
|
|
|
Are you saying he couldn't wipe his own arse without a map tattoed on his thigh?
Rhys
"The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it"
They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance."
Terry Pratchett
|
|
|
|
|
I'm living on the wild side of life here.
"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
|
|
|
|
|
...and I need a blowj...
Oh wait - this isn't youporn.com.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Do a search on the internet.
You should find many examples.
My signature "sucks" today
|
|
|
|
|
In addition to that being a stupid question, this is not even the right forum for it.
Harvest some more 1-votes in the ASP.NET forum.
|
|
|
|
|
You guys are terrible.
I think I will let him take my picture though. Now my dumb questions don't make me feel so bad.
|
|
|
|
|
help me in downloading source code
|
|
|
|
|
1) Source code for what
2) What is the original problem?
|
|
|
|
|
attendance management system
|
|
|
|
|
I think you're in the wrong place. You want someone to write you an attendance management system? These forums aren't for that. They are for "how to" questions, not full solutions. Otherwise these posters would never get paid for their work.
|
|
|
|
|
This[^] might help.
"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
|
|
|
|
|
Sure:
Click the link. When the download dialog appears, you choose "Save". Then you select a target folder on your system and click ok.
Do you also need to know how you locate and open the file after download has completed?
|
|
|
|
|
You need to provide more details to what you are trying to do.
My signature "sucks" today
|
|
|
|
|
What's to understand? His question is to blatently leech code off of someone else and turn it in as his own work.
|
|
|
|
|
Hi,
i am making a small image viewer application by using C#. I created a user control which will take the image input and draw it by using the override method OnPaint, and then add the control into the flowlayoutpanel. In FlowLayoutPanel, i set the autoscroll = true. Everything works fine, except when i scroll down the panel, the images become vague and the program has to repaint them. Please look at the screenshot for more details
http://i979.photobucket.com/albums/ae280/jasonvoorheeszzz/bug.png[^]
Have anyone got the suggestion to fix it?
|
|
|
|
|
maybe you are running out of memory somehow.
are those basically large pictures drawn at a very small scale? if so, you should create smaller versions, and use those to do your painting.
we'll need more information, some numbers and some code to offer actual help.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
Thank you for replying me. I dont think this is the problem of the memory usage coz i checked it carefully.
This is the code my ImageArea class (user control):
public Image LoadImage()
{
Image tmpImage = Image.FromFile(imageName);
Bitmap tmpBitmap = new Bitmap(100, 100);
Graphics graphics = Graphics.FromImage((Image)tmpBitmap);
graphics.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic;
graphics.DrawImage(tmpImage, 0, 0, 100, 100);
tmpImage.Dispose();
graphics.Dispose();
return (Image)tmpBitmap;
}
protected override void OnPaint(PaintEventArgs e)
{
Image tmpImage = LoadImage ();
Graphics graphics = e.Graphics;
graphics.DrawImage(tmpImage, 0, 0);
tmpImage.Dispose();
graphics.Dispose();
}
When i press the button ok in the openFileDialog, it will run the AddImageArea function to add the control to the flowLayoutPanel
And this is the code of AddImageArea
public ImageArea AddImageArea(string filename)
{
ImageArea pbObj = new ImageArea();
pbObj.ImageName = filename;
pbObj.Width = 100;
pbObj.Height = 100;
pbObj.ImageName = filename;
pbObj.BorderStyle = BorderStyle.FixedSingle;
return pbObj;
}
|
|
|
|
|
bubuzzz wrote: graphics.Dispose();
that is wrong.
You should dispose of those objects that offer a Dispose() method if you created them (by calling new, or a method with "Create" in the name). you should not dispose of objects others created, such as the Graphics you borrowed from PaintEventArgs.
bubuzzz wrote: return (Image)tmpBitmap;
is OK, however IMO you don't need the cast.
One bad thing is you are loading and resizing all those images inside OnPaint(); OnPaint() should be fast (most of the time), so you would do better by keeping the small images in memory, maybe in a Dictionary (filename, smallImage), which you could load beforehand, or when necessary, but not every time the system decides it has to (re)paint.
Warning: Dictionaries tend to grow all the time, depending on the nature of your app, you may want to take care of that.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
Hi all,
One System having Oracle database with RH Linux OS. in one more system having WinXP OS.
I want to access Oracle database through WinXP System.
How can I achive this?
|
|
|
|
|
by magic... you need to make a magic incantation on oracle database with one of the magic stick (C#, Java, C++, etc) or with one of Oracle's free IDE (e.g. SQLdeveloper)... then you will be able to for feel you're destiny!!!
|
|
|
|