|
Hehe, I will answer that!
Open the .NET/VS Command Prompt, and run the following:
xsd /t:MyNamespace.MyType yourdllorexe
|
|
|
|
|
Can you point me out in some directions of how to support drag and drop between my application and windows explorer?
The only article that I found on this was the this one written by Michael Dunn, but it's implemented in C++ and it's not even working with Windows Vista.
This article it's doing exactly what I need, but unfortunately it's not working under windows vista even though I'm running it with administrator rights
modified on Wednesday, June 11, 2008 9:33 AM
|
|
|
|
|
|
Thank you Eslam!
I found that article too but it only supports copy from the console while I am more interested in a mouse drop rather than ctrl c
|
|
|
|
|
razvan_dme wrote: but it only supports copy from the console
What console!!! It's drag and drop.
Eslam Afifi
|
|
|
|
|
Sorry, it was a typo(I meant clipboard). The application you sent me works perfectly under windows xp, but under vista it's not working anymore
|
|
|
|
|
Well, I haven't worked with Vista before so I'll leave it to the experts. Sorry I couldn't help.
Eslam Afifi
|
|
|
|
|
What error(s) are you getting under Vista?
I bet it's something to do with permissions - you may have to add an application manifest file and alter the requested execution level.
Dave
|
|
|
|
|
Hello everyone,
I think convert from Single or Double to Decimal is always fine since Decimal has broader precision and broader range. Why it is mentioned,
"Conversions from Single or Double to Decimal throw an OverflowException if the result of the conversion is not representable as a Decimal."
http://msdn.microsoft.com/en-us/library/system.decimal(VS.80).aspx
thanks in advance,
George
|
|
|
|
|
George_George wrote: I think convert from Single or Double to Decimal is always fine since Decimal has broader precision and broader range.
floating point types will always have a bigger range, but not precision.
|
|
|
|
|
Float type has bigger range than Decimal?
regards,
George
|
|
|
|
|
George_George wrote: Float type has bigger range than Decimal?
Yes.
Single (float) has a range of -3.402823e38 to +3.402823e38.
Decimal has a range of -79,228,162,514,264,337,593,543,950,335 to +79,228,162,514,264,337,593,543,950,335.
So, the value 8e29 can be stored in a float but not in a Decimal.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Thanks Guffa!
Question answered.
regards,
George
|
|
|
|
|
|
Hi Eslam,
From the link, it is not mentioned explicitly Nan can not be converted to Decimal. If I missed anything, could you point out please?
regards,
George
|
|
|
|
|
Can't you just try it out for yourself?
float f = float.NaN;
Decimal d = Convert.ToDecimal(f);
yields a OverflowException
modified 12-Sep-18 21:01pm.
|
|
|
|
|
My mistake, Greeeg! Float has less precision, but broader range.
regards,
George
|
|
|
|
|
How would you represent INF or NaN as a Decimal? And as leppie said, floating point types cover a wider range than Decimal.
Double.MaxValue = 1.79769313486232E+308
Single.MaxValue = 3.402823E+38
Decimal.MaxValue = 79228162514264337593543950335
Eslam Afifi
|
|
|
|
|
My mistake, Eslam! Float has less precision, but broader range.
regards,
George
|
|
|
|
|
Eslam Afifi
|
|
|
|
|
Thanks Eslam,
Question answered.
regards,
George
|
|
|
|
|
I am trying to get the owner/parent form of my CollectionEditor. I have tried looking in:
CreateCollectionForm()
And checking the return values properties such as Owner/Parent, but they are set to null.
Does anyone know how to do this?, and if its not possible via the CollectionEditor, how would i do this via P/Invoke as i am guessing this would be possible...
Regards,
Gareth.
(FKA gareth111)
|
|
|
|
|
Hello,
I want to interact with the website which is having Java Applet using C#.net or VB or VBA. That is send the command to Java Applet Application and after that copy the data from Java Applet Application.
Please suggest me about it.
Thanks in Advance,
Vanitha
|
|
|
|
|
Check out my article. hope this is you want.
JAVA.NET [^]
|
|
|
|
|
hi!
there is a path of log files present in system, lets say "E\Perl Logs\EDD\ex080318.log".
there will be two user entry by the user "Month" and "Year" , lets say "02" and"08".
I must get all the log files present by this date. log file present itself been names as 02 and 08 as i have shown in the path above.
Wht i have done, i have stored this path in a variable by the name "filename" .Right now i am getting all the files present in the folder.
any logic tht can be helpful to carry out this work
thnx
Shriya
|
|
|
|