|
Strip Images From Animated Gif:
http://www.eggheadcafe.com/articles/stripimagefromanimatedgif.asp
...these actions in reverse may work
P.S. Google: 'c# gif'
|
|
|
|
|
thanks for that i will have a go at doing it, pls let me know if you think of anything else which might help.
Thanks
|
|
|
|
|
|
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/colorquant.asp
this one is nice, that explain how to make a palette.
PS: the transparence doesn't work you must patch it.
|
|
|
|
|
thanks ive had a look at that already, if there is anything else you guys can give then pls do,
btw i want to do this in c# i dont want to use adobe or anything else.
|
|
|
|
|
Is there a way to compile IL code into native x86 ?
I think in some cases is IL code impractical:
1) speed - some time-critical applications need to be executed quickly, without Just-In-Time debugging (like image viewers)
2) security - this is my case: my app using some product key validation algorithm, which is vulnerable to cracker. Even if the code is obfuscated, attacker can see sensitible data (numbers, math operators and parameters in .NET method calls ).
I heard about something like "pre-jitter" - a tool from Microsoft for additional compilation of your code.
It's better for me to make six releases of my program, than to have multiplatform and unsafe one.
Maybe the program can be grabbed directly from memory.
Have you some experience with IL code security?
|
|
|
|
|
IL to native would mean compiling the .NET virtual machine and your app into one big file. The security of a native program is not much better than the security of IL, because somebody who really wants to see what it does can still disassemble it.
What do you think of this idea:
You encrypt the .exe file during installation, and decrypt it on startup.
The only .exe file the user sees in the installation directory is the decrypter, the actual application exists only at runtime.
_________________________________
Please inform me about my English mistakes, as I'm still trying to learn your language!
|
|
|
|
|
Well, it's not a bad idea. I looked over a RemoteSoft's Slamander site. They provides something called "protector". It works with code encryption and seems to be enough for code safety:
http://www.remotesoft.com/salamander/protector.html
(there's also some talk about MSIL -> native code)
|
|
|
|
|
i want any paper talk about MDI forms and different types of conrtols that i can open it inside MDI form (Ex. DLL, OCX.....) using C#, please anyone know anything about this please answer me
|
|
|
|
|
Doesn't exist.
An MDI Parent or Child form is just another form, with all the abilities of a normal form.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Do you mean that i can't call DLL or OCX from MDI form
|
|
|
|
|
No, you can!! Just like any other form can.
Just the documention you want doesn't exist, because there are no functional differences.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
thanks for your help
if you have any papers or link talk about how to use DLL and OCX in C#.Net please tell me
thanks again
|
|
|
|
|
There are examples all over the place.
For OCX, or ActiveX, controls, add it to the Toolbox or add a Reference to it.
For using .DLL's, checkout DllImport, or look on http://www.pinvoke.net[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi to all,
how can i assign a BackGroundImage to a RichTextBox
best regards and thanks in advance
fady
|
|
|
|
|
You can't using the normal RichTextBox.
The underlying control that the RTB class wraps doesn't support it. You can try creating your own, inheriting from the RTB, and owner-drawing the control with the background, but I've been hearing that even that doesn't work as expected.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I want to check out if the point is in region or not, does C# have the same function as C++ PtInRgn??? And another conditions - point on line, point on point...
|
|
|
|
|
For a point in a Region: Region.IsVisible
For a point in a GraphicsPath: GraphicsPath.IsVisible or GraphicsPath.IsOutlineVisible
For a point in a Rectangle: Rectangle.Contains
For a point on a Point: Point.Equals
For a point on a line: dunno, maybe add a line to graphicspath and then GraphicsPath.IsOutlineVisible ?
Hope this helps!
|
|
|
|
|
Hi,
What I would like to do is have an MDI form 'look' to see what components are available and set-up a menu accordingly. I guess I would like it to be like a framework so I can use it for anything and just make available the components I want the users to use.
How can I do this?
I am not sure how to load the component and then show it in the MDI?
Any links to articles that cover this or any help would be appreciated.
Thanks
|
|
|
|
|
Hello,
I have a strange problem. I have to write a regular expression which should match a line which is a comment (//) in a source file. I'm using Expresso to test my expressions. It is not complex, //.+?\n . When I copy from the file and test it with expresso it works. But when I read the file in a string in my program there are no matches found. I copy the content of the string in Expresso and it also finds nothing. Can you help please?
Thanks
|
|
|
|
|
What's the string ? Have you tried copying a string from Expresso into your file ? ( I've had a sitation with some characters where unicode has a couple that look the same, and I get the wrong one ).
Also, make sure your regex settings are the same as the ones being used in Expresso.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
The string is the files content. When I copy it from the file and paste it in Expresso it is formatted, but when I paste it from the program's string it is not but the text contains \r\n . I try the following //.+?\r\n , but it doesn't work, expresso selects the whole string and not the different comment lines.
|
|
|
|
|
"// EditReportsDlg.cpp : implementation file\r\n//\r\n\r\n#include \"stdafx.h\"\r\n#include \"resource.h\"\r\n#include \"SPSystem.h\"\r\n#include \"EditReportsDlg.h\"\r\n\r\n#ifdef _DEBUG\r\n#define new DEBUG_NEW\r\n#undef
This is a part of the string. The expression \r\n doesn't return matches. Could you explain why?
Thanks
|
|
|
|
|
Ooops,
very dumb on my part. I should use \\r\\n.
|
|
|
|
|
I'm copying the input I give to regex.Matches and regex.Pattern in Expresso and get match results, but not in my program, the matchcollection object's count property remains 0. Any suggestions?
|
|
|
|