|
|
oh.. Great.. Thanks Giorgi
|
|
|
|
|
You are welcome
|
|
|
|
|
hi everyone;
yesterday, i fond a exciting example about topic sound recording using C#, then i had download that sample. however, when i run that program, C# said something is missing, so it can start.
when i checked, C# just know such code like Microsoft.win32; .internal; .VisualBasic ; .CSharp; .SqlServer; no .DirectX
please help me. Thank you for helping me, or anyway, reading that message
|
|
|
|
|
Perhaps you don't have the necessary dll added to references list.
|
|
|
|
|
Yea.. it could be a version mismatch too.. try removing and re- adding those referenced directx dll's.
|
|
|
|
|
thank you. i added them, and then C# could know about that.
however, my program can run, but it don't work i'm writing a progrma for recording sound using my soundcard by C#. could you give a hand
thank you so much
|
|
|
|
|
i'm writing a project in c# similar to task manager , i need to know how to get the username of each process , i tried:
Process p=new Process();
p.startinfo.username;
but nothing is returned, what's the problem??
|
|
|
|
|
Hope you did't see the answer to your first question.
Which was
"You can use System.Diagnostics.Process.GetCurrentProcess to get the list of process which are running, assign it to the "Process" class one by one and then you can find a whole lot of info about each process"
"Process p=new Process();" create a new... i mean fresh instance of .Net process class which helps you to manage an external process.
and almost all of it's initializers will be empty unless you provide one
System.Diagnostics.Process.GetCurrentProcess get an array of processes which you can use
Process[] p = System.Diagnostics.Process.GetCurrentProcess [];
|
|
|
|
|
What is your Opinion about Generics in .Net 2.0. The good parts.. bad aspects. and it's actual use in designing a good architecture.
|
|
|
|
|
Thats kind of like asking an oppinion of a hammer. If you're banging in nails, a hammer is great - if you're trying to paint your spare room its not quite the tool for the job.
Use generics for what they're for.
|
|
|
|
|
Ok.. And that yourself have told that "Use generics for what they're for."
And i am expeing the answer "what they're for". explain your thoughts if you dont mind. rather than a negative answer.
Let others also post their thoughts. we can have a collective set of good things which will defenetive contain some good points that even you were unaware or not thought about till this point of time.
|
|
|
|
|
If you picked up a book, or did some online research, you would know exactly what generics do, when to use them, and what they're "for".
This forum is to provide specific answers to coding problems in C#, not to do your research for you.
|
|
|
|
|
Please do understand that i dont want to do any research and right now im not of any use on generics.
|
|
|
|
|
Skpananghat wrote: i dont want to do any research
And you expect us to share our opinions? What's the value of an opinion if it isn't based on experience or research?
QPQ, I'll give my opinion on generics once you can tell me in three lines (or less) what a "generic" is and how I might recognize one when I trip over it
I are troll
|
|
|
|
|
I certainly love generics.
I use them all the time, I don't get why so many people still use arrays in C# when only few or rarely used .NET methods need them.
Enough opinion?
|
|
|
|
|
Megidolaon wrote: Enough opinion?
Yeah, but my point was that an opinion isn't a research-tool for the lazy. I like red, but that opinion doesn't make red a "good" color for the walls or the ceiling. Asking generally for peoples' opinion because one is too damn lazy is like asking what color your ceiling should be. It should be red. Because I like red. The TS should avoid generics because his "research" (which consists of the collection of answers to his question, therefore our posted opinions) state that "red" is better than "generic".
Without the usual sarcasm;
I enjoy using generics as it increases my productivity, compared to handwriting strong-typed collections. It saves the time that is required to launch and execute CodeSmith, and I enjoy having a built-in collection over an external generated collection as reduces complexity and improves readability and maintainability.
I are troll
|
|
|
|
|
As good as they are, they don't go far enough.
|
|
|
|
|
i am developing a aplication in c#, and i need your reviews for my application, i am a chilean programer and i need a evaluation for my job, i am student of enginering of the informatic in first year.
here my aplication its name FastInfo.
http://rapidshare.com/files/202732805/FastInfo_Installer.exe.html[^]
thanks to all.
PD: sorry by my bad english.
modified on Thursday, February 26, 2009 5:39 AM
|
|
|
|
|
what this exe is??
and review you want for this??
|
|
|
|
|
1) Upload sourcecode, not binary. Executables are scary and may contain monsters and virusses.
2) A nice introduction to "FastInfo" would have been appreciated, so that one knows what you're getting into before you download.
So, where's the source, Luke?
I are troll
|
|
|
|
|
There is a bug in my application that on resizing Form it changes top,left position of user control on it. I have gone through all code and nowhere in my application i have written code to do this.
Is there any 'property' that does this?
Any help would be good.
Thanks,
AksharRoop
|
|
|
|
|
Check the Anchor property of that user control.. It should be set to top left alone to get it corrected as you wish
|
|
|
|
|
It worked.
Thanks a lot,
AksharRoop
|
|
|
|
|
Check the control's anchor property. You probably set it incorrectly.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|