Sorry no, but it's just a question of using the interop features to read and rewrite the file, while removing or changing certain information. You could try a Google search for articles on the subject.
One of these days I'm going to think of a really clever signature.
I have a textbox with autocomplete set to suggest.
I want to execute my code in the Textbox_KeyDown event on the enter key,
but enter key is also invoked when I select an item from the text box autocomplete items.
That is not what I want.
I want the selected item in the textbox and then execute my code.
privatevoid opdrverwTextbox_KeyDown(object sender, KeyEventArgs e)
if (e.KeyData == (Keys.Enter) && !string.IsNullOrEmpty(opdrverwTextbox.Text))
//here is the problem. In debugging if I select from dropdown
// with mouse click: e.KeyData = LButton | MButton | Back
e.Handled = true;
a lot of other code........;
opdrverwTextbox.Visible = false;
opdrverwLabel.Visible = false;
I don't want to set autocomplete to suggest-append.
is there a workaround for this?
I am developing an c# application and
it uses many .net assemblies. For some
reason i need to move a dll to program
files folder and that dll depends on
many other assembly present in the
application folder and this makes me to copy all dependent dlls to programfiles
folder. This will cause duplication of dll
in both application and programfiles
directory. I know that moving
dependent assembly to GAC will resolve
this issue but i shound not put many assembly in GAC. So please suggest a
way to make .Net dll to reference its
I am not sure whether i have confused.
Lets put that again, during deployment of my application i need install a particular dll to program files sub directory (eg. C:\program files\test). But my application will be in different directory. Since the dll Installed away from application directory and it uses/references many dlls present in application directory. How do i make that dll to pick dependent dlls from application directory. I dont want to move to GAC. Hope its clear.