|
Amazing, I figured out that process not deal with the extension exe. If I use the process name as 'notepad' only it works fine.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Hi,
How can I close child form using Excape-Key ?
Thank you in advance
(Riaz)
|
|
|
|
|
Use Event "KeyDown". If key down is escape, then call Close();
|
|
|
|
|
Not working !
there are three text boxes and my cursor is on textbox1.
and I set Event on form level as you said.
and escap key is not working
(Riaz)
|
|
|
|
|
set : form.KeyPreview = true;
|
|
|
|
|
on key down events
write
C#
if (e.KeyCode == Keys.Escape)
{
this.close();
}
|
|
|
|
|
Hi, I have three separate filter webparts:filter by radiochoice, filter by text input, filter by dropdown.I want join them into one web part, is it possible? and how can I select type of filter through property of new web part?
Looking forward your response !thanks
|
|
|
|
|
Hi,
How can i play any music file from application without opening the system windows media player.
Thankyou
YPKI
|
|
|
|
|
Try the System.Media.SoundPlayer class.
Works in .NET 3.5, not sure about 2.0.
var question = (_2b || !(_2b));
|
|
|
|
|
Hello Experts!!!
I developed c# application inwhich i used vb.net dll file.I made setup file using .net setup wizard.Now my all forms are working well but one form gives error which contain that dll file
Error is like this->
************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'ClassLibrary2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'ClassLibrary2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
I dont knw more about set up wizard????
|
|
|
|
|
First remove the reference of the .dll then again add it and rebuild your program
Thank u
|
|
|
|
|
got same again...any other way???
|
|
|
|
|
It could well be a dependancy further down the line that is missing (i.e. a dll that the dll you referenced references...). Use dependancy walker (or similar) to see what the dll causing the issue is using and make sure they're all deployed with your app.
|
|
|
|
|
Hello experts!!
I want to use flash video on my mdi form,Is it possible??and which tool??
|
|
|
|
|
|
I do same it gave ACTIVX control error....
|
|
|
|
|
Hi All,
I want to convert current datetime (differs in format depending regional setting) into 20090622172120 format.
How do I do that? I want solution that work with any regional setting.
many thanks,
Jeet
|
|
|
|
|
this link may help you...<a href="http://www.codeproject.com/KB/datetime/Seagate_Date_Code.aspx">
|
|
|
|
|
use System.Globalization.Calendar name under this their are different country
Date time format are Provide or change the culture of your application for current thread.
thank u
|
|
|
|
|
Try DateTime.Now.ToString("yyyyMMddHHmmss"); .
Reference from MSDN.
|
|
|
|
|
thanks,
last solution worked perfectly, however how will I convert this into original string back? Please suggest.
thanks
Jeet
|
|
|
|
|
DateTime.ParseExact(dateTimeString, "yyyyMMddHHmmss", null); will give back the original DateTime object (MSDN).
|
|
|
|
|
Method over loading comes under runtime memory allocation or compile time memory allocation??
|
|
|
|
|
|
If I create my own control derived from UserControl, can I put it ( the .cs file ) directly inside the project that's going to use the control, or must the control be inside a control library dll?
|
|
|
|