Search Results

Showing results 1 to 36 of 36
Search took 0.07 seconds.
Search: Posts Made By: Diamonddrake
Forum: C# 1 Day Ago
Replies: 26
Views: 563
Posted By Diamonddrake
you could in theory take your image and load it in as a byte array, not as an image, sift through the bytes and find the start of the image data, then apply them there, but idk what the results would...
Forum: C# 1 Day Ago
Replies: 26
Views: 563
Posted By Diamonddrake
your extention was jpg but the image was NOT a jpeg. extensions mean nothing. Listen.

1. If you want to preserve your changes you cannot compress it, because compression codecs change those...
Forum: C# 10 Days Ago
Replies: 2
Views: 244
Posted By Diamonddrake
sending information over a network is done using a stream. you write bytes to it. these bytes can be anything. Text, audio, pictures, whatever. Its simple, just find a way to compress your audio, but...
Forum: C# 28 Days Ago
Replies: 3
Views: 296
Posted By Diamonddrake
an Idea would be to draw the graph to a bitmap. Then display the bitmap, and just modify one of those 10,000 zooming picturebox controls floating around the net.
Forum: C# Nov 9th, 2009
Replies: 9
Views: 357
Posted By Diamonddrake
there is no fool proof way, but you could embed the videos into the application, when you needed to play them create a memory stream from the resource and play it from there, or copy it to temp, play...
Forum: C# Nov 2nd, 2009
Replies: 3
Views: 226
Posted By Diamonddrake
That's really up to the programmer. If you work for a company that expects this, then its up to them, but if you are just writing software by your self it doesn't really matter.

The big selling...
Forum: C# Nov 1st, 2009
Replies: 5
Views: 353
Posted By Diamonddrake
Don't you love those people who obviously just joined the forum for the single purpose of asking a complicated question in a manner that makes it seem just a simple as "which way is the bathroom?"
...
Forum: C# Nov 1st, 2009
Replies: 10
Views: 410
Posted By Diamonddrake
If you write an application targeting the .net framework it will work across XP, vista, and windows 7 no problem. the 32/64 bit crossover might give you trouble if you use a lot of windows interlop....
Forum: C# Oct 23rd, 2009
Replies: 13
Views: 877
Posted By Diamonddrake
that my friend is because you are sleeping the thread before the paint event is finished, this means windows is never told by your program that it wants be be repainted, and since nothing you are...
Forum: C# Oct 15th, 2009
Replies: 12
Views: 846
Posted By Diamonddrake
I decided to goahead and write that article for code project. Its still pending moderator approval but the link is :
http://www.codeproject.com/KB/cs/DDFormsFader.aspx

I wrote a user32 wrapper...
Forum: C# Oct 12th, 2009
Replies: 12
Views: 846
Posted By Diamonddrake
suspend and resume layout just stop the form from updating while making a lot of changes. since you are only making one change, it won't help you in your case.

you would use this.Refresh();...
Forum: C# Oct 5th, 2009
Replies: 5
Views: 1,644
Posted By Diamonddrake
that's really neat danny. Idk when i might ever need it. But I'll add it to my private code snippet library just in case. right next to that numbers only with 1 decimal point only textbox class.
Forum: C# Sep 24th, 2009
Replies: 21
Views: 1,725
Posted By Diamonddrake
setting any variables as public is considered no longer acceptable in 3.5. because in theory the variable could be attempted to be read from or written to at the same time crashing the app, now you...
Forum: C# Sep 21st, 2009
Replies: 2
Views: 398
Posted By Diamonddrake
Ok, the simple solution is to have your program save the embedded resource swf movie to disk if it doesn't' already exist. then pass the path to your load movie function.

more importantly, instead...
Forum: C# Sep 19th, 2009
Replies: 2
Views: 251
Posted By Diamonddrake
Button B = this.Controls[buttonname];

That should work for what you are looking for.
or you could add each control to a list and access it that way, I can think of a lot of ways, but this is the...
Forum: C# Sep 16th, 2009
Replies: 15
Views: 1,440
Posted By Diamonddrake
I have been working on a custom Hue Slider, when you drag the knob the color of it changes to its hue value. (ex 0 is red). I added a little gloss to the knob, I feel its not done, I Just don't have...
Forum: C# Sep 16th, 2009
Replies: 8
Views: 945
Posted By Diamonddrake
Oh yes! I forgot to answer the "official" question about diagonal lines! lol

ok here's the dig, pixels don't have to be square! they can be rectangular!
but as far as images in .net 3.5 are...
Forum: C# Sep 16th, 2009
Replies: 6
Views: 450
Posted By Diamonddrake
ok lets jump off this dock.

the X and Y properties of a location type cannot be set directly. so no you can't set them that way.

the "anchor" property should do what you want, but only if the...
Forum: C# Sep 12th, 2009
Replies: 6
Views: 398
Posted By Diamonddrake
That's interesting sknake, I never would have thought of catching the close method like that.

But as far as all these answers go, the Simple response is the X button does only call the form to...
Forum: C# Sep 11th, 2009
Replies: 18
Views: 841
Posted By Diamonddrake
I would also like to point out that the code sknake posted is a "per machine" list of installed programs, some programs are installed on a "user" level and would not appear in this list.

also most...
Forum: C# Sep 10th, 2009
Replies: 1
Views: 412
Posted By Diamonddrake
idk about authentication, but I have done much heavy scripting in flash, as far as I know, if a flash application is not scripted to accept external modifications of its variables. then you won't be...
Forum: C# Sep 9th, 2009
Replies: 1
Views: 321
Posted By Diamonddrake
depends on what you consider a reference, a temporary one using reflection is the one only way without using a reference at design time.

here's an example...
Forum: C# Sep 8th, 2009
Replies: 15
Views: 1,074
Posted By Diamonddrake
Scott he's not using the form's graphics object because he needs to draw in front of them so he's drawing to the screen.

back to the OP.
I messed with you example the object not set to an...
Forum: C# Sep 2nd, 2009
Replies: 12
Views: 496
Posted By Diamonddrake
To answer the OP's question, Keyloggers could be written in any language, although it will require some simple calls to the windows API. If you have any experience in programming I don't see how you...
Forum: C# Aug 31st, 2009
Replies: 11
Solved: C# Hotkeys
Views: 1,226
Posted By Diamonddrake
That is a pretty good article adatapost, but keep in mind. The problem with "registering" a hot key using those functions, is that there is only 1 windows message for a hotkey that is passed to your...
Forum: C# Aug 28th, 2009
Replies: 8
Views: 440
Posted By Diamonddrake
Do you have Microsoft office installed on your computer?
Forum: C# Aug 5th, 2009
Replies: 3
Views: 624
Posted By Diamonddrake
of course, set the formborderstyle to siziabletoolwidow. then simply change the controlbox property to false, then you get a titlebarless window. still the border, but I believe you can clip the...
Forum: C# Jul 2nd, 2009
Replies: 6
Views: 1,456
Posted By Diamonddrake
what is this webin object that is used to load the html? It seems to be already created before the function that calls the print. you could try creating it loading, printing, then disposing that...
Forum: C# Jun 30th, 2009
Replies: 22
Views: 1,129
Posted By Diamonddrake
The code ramy posted was sound. It had a little left to chance, but I don't see how anyone could have a problem with it.

I have included an example project, just compile it and click the button,...
Forum: C# Jun 13th, 2009
Replies: 4
Views: 344
Posted By Diamonddrake
It is possible just to create a public method in the form and call it from the panel. though it makes the panel easier to reuse in other forms when you use an event. i'm not sure exactly how he was...
Forum: C# Jun 2nd, 2009
Replies: 11
Views: 831
Posted By Diamonddrake
you need to call the close() method from inside the login form's code...

just add the line to this section


//Open Main CRM Form
CRMMain crmMainForm = new...
Forum: C# Jun 1st, 2009
Replies: 11
Views: 831
Posted By Diamonddrake
This is actually a bit more tricky then its given credit. The problem is, when you run your first form, that is, in the program.cs file, you call Application.Run(new Form1); //or whatever the log in...
Forum: C# May 27th, 2009
Replies: 8
Views: 1,021
Posted By Diamonddrake
I have posted an example of what I was talking about, I just used that codeproject alphablendform and created a form that inherits from it, used a mousemove to set its position. But inorder to pass...
Forum: C# May 17th, 2009
Replies: 6
Views: 942
Posted By Diamonddrake
Using a csv file would only be a good choice if the program would allow for multiple users, or for multiple sets of data, or on a portable media such as a flash drive and you wanted to be able to...
Forum: C# May 16th, 2009
Replies: 13
Views: 1,924
Posted By Diamonddrake
ok, I have edited the example that comes with the download you linked me to to support a background thread that supports cancellation. It works perfect. Turns out with that code several things had to...
Forum: C# May 12th, 2009
Replies: 9
Views: 1,739
Posted By Diamonddrake
wow. there are free graph classes out there, tutorials too, if you can't find one, then you aren't looking hard enough. Also, if you found something you can't implement, you are much better off,...
Showing results 1 to 36 of 36

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC