|
got same again...any other way???
|
|
|
|
|
It could well be a dependancy further down the line that is missing (i.e. a dll that the dll you referenced references...). Use dependancy walker (or similar) to see what the dll causing the issue is using and make sure they're all deployed with your app.
|
|
|
|
|
Hello experts!!
I want to use flash video on my mdi form,Is it possible??and which tool??
|
|
|
|
|
|
I do same it gave ACTIVX control error....
|
|
|
|
|
Hi All,
I want to convert current datetime (differs in format depending regional setting) into 20090622172120 format.
How do I do that? I want solution that work with any regional setting.
many thanks,
Jeet
|
|
|
|
|
this link may help you...<a href="http://www.codeproject.com/KB/datetime/Seagate_Date_Code.aspx">
|
|
|
|
|
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
|
|
|
|