|
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?
|
|
|
|
|
It can just be in the project.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Well then I can't understand why I can't get my control to show when I add it to the form's Controls collection:
MyControl newControl = new MyControl();
Form1.Controls.Add( newControl );
newControl.visible = true;
And the control doesn't show up.
|
|
|
|
|
Guess that depends on how you coded it. Can't really tell from here.
only two letters away from being an asset
|
|
|
|
|
I understand what you mean, but what "coding" could possibly cause it not to show up?
I just created a new UserControl, plopped some controls onto it, and that's it.
What should I check?
|
|
|
|
|
Thanks for your attention, I figured it out.
|
|
|
|
|
Yes you can use it directly, however, a better approach would be to package it as a separate assembly. Chances are, if its worth creating a custom control you'll probably use it in future project also.
only two letters away from being an asset
|
|
|
|
|
i have done major portion of the coding in C#. got some image processing applications to perform through MATLAB. my platform shud remain C#. can i link the two? if yes, How?
thanks in anticipation
|
|
|
|
|
If you search this forum, this has been asked countless times.
In short, you can use COM or p/invoke to call methods that are in non-.NET projects.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
|
why not?
Three ways to connect to matlab
1. Using Matlab COM
2. Using P-invoke
3. Using low level C DLL API or Stand alone application in matlab
I have worked on all of these, if you required any further help feel free to ask
Better if you try to distinguish the functionality in C# and matlab(using Scripts)
|
|
|
|
|
thank u for the reply. will be in touch with u for further help. thanks again
|
|
|
|
|
Dear all
Iam new here,i heard alot about this site,iam trying to make a program that will help deaf people .
so my first step i should be able to detect the mouth weather its OPEN or Close.
any demo or source code or idea,,will be much appreciated.
thanks for the help.
waiting to hear from you
best regards
|
|
|
|
|
Absolutely no chance! you know how hard it is to even get decent facial recognition software working well? Let alone detect the lips to the accuracy you would need to eventually have any kind of recognition for spoken words.
Even for a specialist in this area I think it would be a massive challenge. I don't usually like to discourage people but I really think you want to try something a bit more, well, achievable.
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
thanks for the replay it is much appreciated
but...
once you choose hope everything is going to be possible..
|
|
|
|
|
There are many things that are just not possible.
Thou, your problem is not one of them. However, it will not be possible by most 'current' people. The fact you are asking for even the basic of help means that if you are to achieve this then you are a long way off. By all means, go for it. My suggestion would be to start by finding yourself a good 2D Graphics Book/Course.
Keep me posted...
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
i am already finished graphics course 5 days ago and i took it in java..
i came here to find som1 who can give me the correct direction,,or from where to start
thanks for your help..
best regards
|
|
|
|
|
This[^] might be of some use to you, it deals with facial recognition and a simple google search turned it up.
I doubt you'll have much luck getting more refined source code, you will probably have a huge undertaking of research and development before you have a destributable product, this isn't a small project.
Edit: Please do not double post
|
|
|
|
|
thanks for your help
|
|
|
|