|
I believe NDoc has an option to include privates though. I wouldn't change code just so that they show.
|
|
|
|
|
Hi,
I have two datatables the first consists of 4 columns Name, Test1, Test2, Test3 and numerous rows
and the second consists of 4 columns
Result, Test1, Test2, Test3
Min,?, ?, ?
Max,?, ?, ?
Average,?, ?, ?
So basically I need to fill the second table with the Min, Max and Average of the tests in the first table im not quite sure what the best way to go about this is so any help of advice would be appreciated
Thanks in advance
Tim
|
|
|
|
|
tadhg88 wrote: im not quite sure what the best way to go about this is so any help of advice would be appreciated
Pay attention in class, or ask your professor.
only two letters away from being an asset
|
|
|
|
|
ya its too late for that im afraid, 2 years 2 late infact
so any ideas no???
|
|
|
|
|
Hi
I want to send a string to MSMQ.But when i call the send method its showing me an error Format is not valid.Can any one help me on solving this issue
I have written only this much code
System.Messaging.Message mm = new System.Messaging.Message();
MessageQueue mq = new System.Messaging.MessageQueue(XMLMSMQPath);
mq.Formatter = new XmlMessageFormatter(new String[] { "System.String,mscorlib" });
mm.Body = xmlFileName;
what do i need for this.Please help me in this
mm.Label = "FileNames";
mq.Send(mm);
Regards
DilipRam
|
|
|
|
|
message.Formatter = new BinaryMessageFormatter(System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Simple, System.Runtime.Serialization.Formatters.FormatterTypeStyle.TypesAlways);
Thats what I use and it seems to always work. This is assuming that you don't want XML formatting for a particular reason.
|
|
|
|
|
Hi thanks for the reply..but still format invalid error arises..
the code which i am executing is
System.Messaging.Message mm = new System.Messaging.Message();
MessageQueue mq = new System.Messaging.MessageQueue(XMLMSMQPath);
mm.Formatter = new BinaryMessageFormatter(System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Simple, System.Runtime.Serialization.Formatters.FormatterTypeStyle.TypesAlways);
mm.Body = xmlFileName;
mm.Label = "FileNames";
mq.Send(mm);
but at the mq.send(mm) it is showing formatname is invalid...
Please help me..Am i missing any thing in this code..
Regards
DilipRam
|
|
|
|
|
hi
how can i place my program icon into desktop toolbox?
|
|
|
|
|
hi ,
I'm not entirely sure what you mean by Desktop **toolbox!?
If you mean the Visual Studio toolbox you need to add the ToolBoxBitmap attribute over the class:
[System.Drawing.ToolboxBitmap("c:\\stop.bmp")]
class MyStopControl
{
}
If you mean the StartMenu , then check out deployment in .NET (search google)
Gideon
|
|
|
|
|
hi
so thanks for your help
|
|
|
|
|
Hi,
Is Nothing (in VB.NET) and null (in C#) the same thing? Why I ask is because I saw a piece of VB code where they set a DateTime value equal to nothing. Now I know that DateTime can't be equal to null.
Regards
ma se
|
|
|
|
|
ma se wrote: Is Nothing (in VB.NET) and null (in C#) the same thing?
Yes.
Interesting. You're right, it works in VB but not C#, I wonder what the reason for that is.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
So how should I then implement this?? Should I then just set it to DateTime.Now?
|
|
|
|
|
ma se wrote: So how should I then implement this?? Should I then just set it to DateTime.Now?
Depends on what you want. If you want to initialize it to any value, DateTime.Now is as good as any. If you specifically want to store a value that indicates it wasn't given a 'real' value, I suggest you pick some standard value, say, 2000-01-01 00:00:00.
Cheers,
Vıkram.
After all is said and done, much is said and little is done.
|
|
|
|
|
DateTime.MinValue is typically used for "no value yet".
|
|
|
|
|
Or a DateTime? equal to null is used for "no value yet".
MinValue can lead to very ugly bugs
Happy Programming
Urs
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
|
only two letters away from being an asset
|
|
|
|
|
If you need DateTime as null you can use a Nullable type
Nullable<DateTime> dt = null;
or shorthand
DateTime? dt = null;
-- modified at 9:25 Friday 29th June, 2007
only two letters away from being an asset
|
|
|
|
|
Because VB is all about nothing
only two letters away from being an asset
|
|
|
|
|
|
|
There are a few little differences like this between VB and C#. I spent some months on a contract doing VB .NET after having done C# and I was caught out on a few things. Example, locals are automatically initialised to defaults in VB. But not in C#. Actually, I think VB is correct in this case, but nevertheless it is a difference.
Kevin
|
|
|
|
|
'Nothing' and 'null' are not equivalent.
'Nothing' in VB is the default value of the type. For reference types, this is equivalent to 'null' in C#, but for value types 'Nothing' means the state of the value when created.
That's why you can use "Is Nothing" in VB for reference types and "= Nothing" for value types.
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
C++ to C# Converter: converts C++ to C#
C++ to VB Converter: converts C++ to VB
Instant C++: converts C# to C++/CLI and VB to C++/CLI
Instant Python: converts C# to IronPython and VB to IronPython
|
|
|
|
|
Hi all,
How can i integrate the ImageMagick with c# .net. If you have any samples or links please let me know.
thanks in advance
|
|
|
|