|
Trouble is, it does absolutely sod all to protect your IP.
|
|
|
|
|
I definitely see obfuscation as a deterrent. At least it's going to cost them more to reverse engineer.
But sure if there just hunting down algorithms, it's pretty well useless.
"You get that on the big jobs."
|
|
|
|
|
RobCroll wrote: Obfuscation will not only make the exe smaller but also protect your IP.
Really!
I didn't know this before !
|
|
|
|
|
And you don't now. Obfuscation does not protect your IP. As a deterrent, it is next to useless if someone has a reasonable toolset available.
|
|
|
|
|
|
What's her email again?
Peter
Software rusts. Simon Stephenson, ca 1994.
|
|
|
|
|
1.5 Mb isn't that much; why is it a problem and what are you trying to achieve?
Bastard Programmer from Hell
|
|
|
|
|
Good day everyone. I have panels with text and images. During scrolling, painting the entire panel becomes slow. I'm therefore trying to paint only the invalid rectangle from Graphics.ClipRectangle. Processing was still slow so I had to step through the code and realised something.
I realised the paint event handler is called twice. In the first call, not all parts of the panel become invalid. I am able to get the invalid rectangle for painting.
However, after drawing in the invalid rectangle and the paint event handler exiting, the paint event handler is immediately called again but this time the invalid rectangle comprises the whole rectangle for the panel control on which i want to draw.
Thus drawing takes place twice, first for the smaller uncovered portion during scrolling, and second for the whole panel which causes the whole panel to be drawn again.
Is there any way to stop the whole panel from being invalidated after drawing only in the uncovered part of the panel during scrolling? It will really help to speed up processing. Thanks.
|
|
|
|
|
Dan_K wrote: and second for the whole panel which causes the whole panel to be drawn again
Are you invalidating the (entire) grid?
Can you post the painting code?
Bastard Programmer from Hell
|
|
|
|
|
i want to know remote network interface type & macaddress
|
|
|
|
|
|
Hi there,
Really stumped with being able to Print an envelope from my C# WinForms application.
At the moment we print from Word with the document size/type set up as a C5 or a DL envelope. When printed the printer will request a C5 or DL envelope to be placed into the manual document feeder before printing.
I want the application to be able to do the same but at the moment I am having no luck. Here is the code I am using:
Code:
aPD.DefaultPageSettings.Margins = new System.Drawing.Printing.Margins(0, 0, 0, 0);
if (radSizeDL.Checked)
{
aPD.DefaultPageSettings.PaperSize = new System.Drawing.Printing.PaperSize("DL Envelope", 220, 110);
aPD.DefaultPageSettings.PaperSize.PaperName = System.Drawing.Printing.PaperKind.DLEnvelope.ToString();
}
else
{
aPD.DefaultPageSettings.PaperSize = new System.Drawing.Printing.PaperSize("C5 Envelope", 229, 162);
aPD.DefaultPageSettings.PaperSize.PaperName = System.Drawing.Printing.PaperKind.C5Envelope.ToString();
}
aPD.DefaultPageSettings.Landscape = true;
aPD.OriginAtMargins = true;
aPD.PrinterSettings.Copies = Convert.ToInt16(numCopies.Value);
aPD.Print();
I am quite happy to upload the code for anyone to see if they can help me?
Please help!
Thanks.
|
|
|
|
|
Crosspost
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
|
What that means is that someone using the exact same name as you posted the exact same question Printing Envelopes from Manual Feed[^]. It's called cross posting.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
Whats the point in having a site with two places to ask questions if you cant post in both of them though? Surely now with this "Crosspost" I am exposing the question to more viewers and potentially a faster answer.
I find that posting an answer of "Crosspost" is blantant vandelism of a post and would detract a user from replying to me as I appear to have broken some kind of Code Project rule.
I should admit just now and accept sentance: I have posted the same question on many different forums all over the Internet. I would imagine that this might also be punishable under your strict penal code?
Jeez! All I want to do is finish the last bit of my project...
/rant
|
|
|
|
|
tip2tail wrote: would detract a user from replying to me
As a matter of fact, you cross posting this question is more likely to get your question not answered more than my pointing out that you are cross posting.
tip2tail wrote: punishable under your strict penal code
It's not my penal code as you say. It's called being a good net citizen and having some manners. There is a god reason cross posting is frowned upon.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
It's not my penal code as you say. It's called being a good net citizen and having some
manners. There is a god reason cross posting is frowned upon.
So what is this devine reason that it is frowned apon!
|
|
|
|
|
|
|
Hi everyone! I have a panel that contains a list of panels modeled as sheets of paper. The background panel has AutoScroll set to true and scroll bars appear. However, when I try to scroll using the middle-button (mousewheel), scrolling does not occur. Any way of solving this problem? Thanks in advance.
|
|
|
|
|
Never done that, however a Panel in AutoScroll mode has HorizontalScroll and VerticalScroll properties that yield the scrollbars; these have an OnMouseWheel event, so that is the way I would go.
|
|
|
|
|
Luc, I trapped the MouseWheel event but that part of the code did not execute. I installed the event handler this way:
SheetsBackground.MouseWheel += new MouseEventHandler(MouseWheelEventHandler);
I defined the event handler as follows just to know if it will execute.
private void MouseWheelEventHandler(object obj, MouseEventArgs mea)
{
MessageBox.Show("Mousewheel event handled.");
}
However, the event handler was not called. I thougt it will even work without trapping the mousewheel event. Now trapping it does not seem to work as well.
|
|
|
|
|
There could be an issue about selection/focus: which control has focus? only the one with focus will get events delivered. That must be why clicking/dragging the scroll bars works just fine, whereas the MouseWheel doesn't. You may have to set MouseWheel event handlers (could be the same one over and over) for a lot of controls there...
|
|
|
|
|
Hello -
The LA times page has a 2 move mate problem every Sunday.
I was trying to use Jacques Fournier's chess program to solve it, but I can't get down to the initial position.
Is there another way to set that up?
|
|
|
|