|
pcaeiro wrote: string [] deleted_dictionarys;
You declare your array but don't instantiate it. You need to do something like this:
string[] deleted_dictionarys = new string[numberofitems];
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
here is easy and short way
string[] deleted_dictionarys = new string[listBox_Delete1.SelectedItems.Count];
listBox_Delete1.SelectedItems.CopyTo(deleted_dictionarys, 0);
Becoming Programmer...
|
|
|
|
|
Hello,
I am wondering if it is really not possible to obfuscate my .NET code by hiding the class names and method names !! I am using XenoCode PostBuild to obfuscate but when I see the decompiled code using Reflector, I can see that only variable names are obfuscated but the Class Name and method names are very clear. For example, - SendKeys.Send("{BS}"); - is clearly visible. My project is such a project that, even one line like this line would reveal my business secret to my competetors and thats why I am worried, if not hiding the Class Name and Method is .NET's limitation or my obfuscator's limitation. Would you please guide me !
Thanks.
|
|
|
|
|
bashiwala wrote: even one line like this line would reveal my business secret to my competetors
What secrets? What have you done that's so revolutionary? Have you reinvented the Internet with go-faster stripes?
If the most groundbreaking aspect of your application is its ability to send keystrokes to the active window, I doubt your 'competetors' (sic) will be worrying themselves too much.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hi,
Thank you very much for pointing my ignorance, actually I gave an example of a snippet like
SendKeys("{BS}"), of course it was not my real snippet that what I was worrying about. I placed this question here to learn about the professional way of obfuscation technique that a .NET GURU can suggest. It is not that I invented something like what you said, but it could be something really matter that I may not want to reveal to my competetors so easily unless they are desparate to break my code, I hope I made my question clear, ain't I.
Again, thank you very much for replying me.
|
|
|
|
|
If you choose to develop in an IL-based language like C#, you will have to accept that someone will a little time and patience will be able to disassemble your application. Obfuscators, even the better commercial variants will only delay this process. If someone is determined enough, they will be able to obtain your source code and 'business secrets'. If this is an absolute priority, maybe C# isn't the right language to use and you would be better served by moving to a language that compiles to native code like C++. Before you do this though, consider whether your source code really contains anything that constitutes a commercial advantage. Are you doing anything that's particularly groundbreaking? If not, your source code probably doesn't contain anything that your competitiors couldn't figure out for themselves.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Thank you Sir, this answer helped me a lot.
Actually my target is to learn software development business using the benefits of .NET. So, I was wondering, if the source code is open then what will be the motive for a developer to participate in e-Commerce !! Now I have understood the reality and got my answer.
|
|
|
|
|
Considering the amount of effort the computer gaming industry and Microsoft put in to stop their products being copied - and how that manages to fail every single time, I'd suggest you don't have much hope.
If your idea is unique and revolutionary, then patent it and enjoy the legal protection.
Without the legal protection, if your technique is really worth lots of money (which I sincerely doubt) then your competitors will definitely find it worth paying a .Net guru to reverse engineer your application. In this case an obfuscator / coding in C++ / executable packers will only make it a little more expensive for your competitors to find out your "IP".
|
|
|
|
|
This[^] might be worth a look.
Dave
|
|
|
|
|
Just change the names to meaningless gibberish.
Way back when I was first learning Pascal there was a program I wrote using only nonsense words for variable names.
|
|
|
|
|
Hello all :
How can I clip cursor on the form while it's executed until pressing a button that can be release this clip,,,,In VC++ there is a ClipCursor() function ,,,, Is there any function can do this in VC#
<<<<<<<<<<<<<<<<<<<<<<<<thanks in="" advance="">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
The way of Professional softwares start in two:
Simple codes and develop it.
Simple but effective ideas.
|
|
|
|
|
Cursor.Clip and set the rectangle
Dave
|
|
|
|
|
Hello :
Thanks for your interesting, but if I want to end(release) clipping the cursor,,,,,how can I perform it???
Thanks....
The way of Professional softwares start in two:
Simple codes and develop it.
Simple but effective ideas.
|
|
|
|
|
Clip is just a property, so get and store its value before you alter it so you can restore it afterwards.
MSDN[^]
Dave
|
|
|
|
|
Hello :
Thanks for your answer, I'm really appraise your support, I run it and it was work , but if I press by keyboard(ctrl+tab) this clip is end....so is there any way to prevent this
<<<<<<< Thanks in advance >>>>>>>>>
The way of Professional softwares start in two:
Simple codes and develop it.
Simple but effective ideas.
|
|
|
|
|
Probably, but you would have to use the Windows API and listen to/intercept/block system keypresses.
I wouldn't recommend this though as the user needs a way to switch to another task or close your program if something goes wrong. Keeping the mouse within the bounds of your app when it has focus should be more than enough. Anything else (and maybe even just this) would be hated by end users.
Dave
|
|
|
|
|
|
|
mahdimoola wrote: i want to learn database programming csharp can you suggest me good
refrence for learn.
First of all, give your posts more meaningful names. 'Plz help me' doesn't give anyone any idea what your problem is. Read the forum guidelines.
Secondly, if you want to learn database programming, buy a book. Amazon[^] provides a list of suggested titles.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
mahdimoola,
My friends Larry and Sergey have a good website, its called google.com
Regards,
Gareth.
|
|
|
|
|
Hi guys
I'm working on a website and have set up a number of stored procedures in my database and now I want to implement the layer in my code where I query my database (business layer).
So I was wondering if someone can give some input on what is the preferred pattern for my business layer. I've been considering the GOF factory pattern or builder pattern, is this a good choice?.
I rather not access my business layer directly from my front layer, instead I want somehow to abstact the creation of objects from my front layer.
Any suggesiton og hints??
Best regards
AL
|
|
|
|
|
coolcoder wrote: Which patterns are the best choice for business layer
Dark blue pin-stripe usually.
|
|
|
|
|
coolcoder wrote: Any suggesiton og hints??
Depends entirely on your situation
|
|
|
|
|
Hi
I am currently working on an addin application of Outlook it is not a professional just my experiments with Outlook Library.
Druing this i have problem displaying the selected email body text
i am displaying it in RichTextBox but it dosenot render all the html code : specialy i dosen't show background + bold text etc but i show the empty line
so what i want from you peoples "how to render HTML in C# windows appliaction"
i am using VS 2005 + MS Outlook Library 11.0
waiting for help from someone
Thakns
Altaf
modified on Saturday, February 9, 2008 1:14 PM
|
|
|
|
|
Why not use the WebBrowser control instead?
|
|
|
|