|
hi,
i checked the way you suggested,
it worked with double.tryparse but there is no such option like datetime.tryparse.
please check this out.
thanks.
Nitin.
|
|
|
|
|
There is a DateTime.TryParse method! It's new with the Framework 2.0 but as you found double.TryParse you're clearly using this version. Maybe you misspelled.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Hi,
thanks for your reply but sorry to say i cant find DateTime.TryParse.
|
|
|
|
|
|
hi,
thanks for the link. it suggest that DateTime.TryParse exits.
but dont know which version of .net m using i cant find DateTime.TryParse.
i ll hv to check the version.
thanks
|
|
|
|
|
You don't know which .NET version you are using? Huh?
Well if you can't use it, then you have .NET 1.1, otherwise .NET 2.0.
But you can also use DateTime.Parse() and catch the exception
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Hi,
Use the try catch block !
try
{
DateTime.Parse(textBox1.Text)
// code if it is date !
}
catch(Exception ex)
{
//error code
}
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
|
|
|
|
|
|
hi guys!
need some help
i want to develop an application which retrieves all the client machines within a network and install a client application on the selected client machine.
something like "ENTERPRISE DEPLOYMENT".
i m trying to use winsocks for transferring files and installing them on client but not getting it done in a proper manner.
can any one help me out and tell what to do.. is my approach wrong..
any help , guideline link ..
thanx.
abhinav
|
|
|
|
|
Hi,
abhinish wrote: but not getting it done in a proper manner.
What problem you are facing ? Please specify details of the problem.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
|
|
|
|
|
thanx for the reply anant
the problem is if i even copy the setup files on client pc it will display the setup wizard.. but i want to do the installation in background without any user interaction
is there any other way to install the setup..
i m quite confused..
any guidence in which direction i should work..
abhinav
|
|
|
|
|
Hi,
abhinish wrote: but i want to do the installation in background without any user interaction
Does your application need the default setup package ? means you can directly do the copy and run the program exe ? Is it possible in ur case ?
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
|
|
|
|
|
no! as many dlls are to be registred..
abhinav
|
|
|
|
|
Hi,
Can you create your own setup application ? This app wont have any GUI and would only register the required dll's. You will run the new application instead of the default setup package.
I actually dont know the complete scenario on your side, thats why i can just guess and ask questions !
<marquee>"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
|
|
|
|
|
What is the code to add a tooltip dynamically over a datagrid.
With Thanks
|
|
|
|
|
|
Hi,
I am trying to use a VB ocx control in C#.
I have done the following
1. Registered the ocx
2. Included the component in VS .Net IDE tool bar.
But when I try to drag and drop the control I am getting an error "Failed to import the ActiveX control. Please ensure it is registered properly."
Any idea why this is happening?
Note:
Internally the ocx control makes use of a C++ dll.
I am using .Net Visual Studio 2005
|
|
|
|
|
Try to create this component dynamicaly.
If it'll works, then it's bugs with form designer, else try to debug your component.
My english is not so good. Please, correct my errors.
Best regards, Alexey.
|
|
|
|
|
Message Closed
modified 27-Apr-15 11:25am.
|
|
|
|
|
I tried this. It is not working.
Looks like there is some problem in creating the wrapper for the ocx.
After drag and drop, under Project->References the wrapper is not available. It simply shows the wrapper's name with a warning icon ( i.e.., the icon used to indicate that the reference is not available or not built).
|
|
|
|
|
I tried this. It is not working.
Looks like there is some problem in creating the wrapper for the ocx.
After drag and drop, under Project->References the wrapper is not available. It simply shows the wrapper's name with a warning icon ( i.e.., the icon used to indicate that the reference is not available or not built).
|
|
|
|
|
How to add a Tool tips defined in a datagrid column which shall be extracted from phone test command database for the connected phone.
With Thanks
|
|
|
|
|
Hi all,
I just need to know if/how it is possible to set a default printer, only temporary and then set it back to the original default printer. In this way i can do my print to the printer of my user's choice and set it back to their original default printer after the print has been succesfully printed.
Thank you in advance...
"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison
|
|
|
|
|
well write some code to access the machine's registry to change the default printer. Here is a quick google result on changing registry values
www.google.com/search?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2007-25,GGGL:en&q=changing+default+printers+registry
-- modified at 3:01 Friday 18th August, 2006
failed attempt at tidying me url
|
|
|
|
|
Hi guys,
In my program I want to view thumbnails.. But when the original image size goes up the program starts to freeze..
In my method I directly load the original image to an Image object and then using the GetThumbnail(....) method resize it and pass to another Image object. But it seems this is not an effective way !!
Is there ny idea, or trick or something else to increase this performance ?
I am open to any advice..
Best regards
.:: Something is Wrong ::.
|
|
|
|