Hi
I have a form with the DateTimePicker control on it. When I select a date it gives a value like "date time" (Eg.: 5/12/2010 12:20:35 PM). But here the time returned is current time. What I need is for the date chosen from the picker automatically set the time to 00:00:00 instead of the time when the date was picked.
Any suggestions?
Thanks.
User Profile
Collapse
-
pandehrushikesh started a topic Open file dialog does not show the mapped drive or network locationsin WindowsOpen file dialog does not show the mapped drive or network locations
I am using Vista Business SP1. When I run some application "As Administrator" (even if I am administrator), Open file dialog does not show the mapped drive or network locations. any Idea??? -
I have to use thread becouse if I directly launch the open file dialog (ofdGetNetPath. ShowDialog) in the custom action, it gives following error
"Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your main function has STAThreadAttrib ute marked in it. This exception is only raised if a debugger is attached to the process."Leave a comment:
-
Open file dialog not showing network locations
I am doing setup project in VS 2008. I used custom action to select file from local drives. On the button click of custom action form, I am launching Open file dialog as
ofdGetNetPath.S howDialog
When I run the setup on Vista, and click the button to open the openFileDialog, it hanged, form becomes non responsive and I have to cancel the setup.
on debugging I got following error
"Current thread must...Last edited by Frinavale; Jun 3 '09, 02:32 PM. Reason: Added code tags. Please post code in [code] [/code] tags.
No activity results to display
Show More
Leave a comment: