|
I solved it so, that I have small SeccondaryBuffer (size is much smaller than size of replaying WAV) and SeccondaryBuffer is in loop. Paralel Timer writes new data in to small SeccondaryBuffer from large byte array of WAV.
|
|
|
|
|
I created a new WinForms project and got this error:
The designer could not be shown for this file because none of the classes within it can be designed.
I have not yet added any code to the project. It appears as if all of the necessary assemblies are referenced, but intellisense can't seem to resolve the Form class.
EDIT ---------------------
Shutting VS2012 down and starting it back up again solved the issue. Weird.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "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
modified 9-Nov-12 12:34pm.
|
|
|
|
|
And most certainly there is an implicit question hidden in that post somewhere.
If I could only make it out.
Hmmmmmm ...
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
|
|
|
|
|
I'm a asp.net beginner I want to sharp my C# skills. It will be a great help, if any one can suggest me a project, so that while developing the same I can enhance my C# skills.
Thanks in advance.
|
|
|
|
|
Here is one that I recently did as a convert to C#: Football Club Competition/Fixture Management in WPF and MVVM. (Extra points for rolling your own re-usable MVVM Project framework)
I don't speak Idiot - please talk slowly and clearly
"I have sexdaily. I mean dyslexia. Fcuk!"
Driven to the arms of Heineken by the wife
|
|
|
|
|
No idea why this got downvoted. Ive 5'd for balance.
|
|
|
|
|
I thank you Sir.
Maybe the fact that I mentioned WPF when the OP was looking for ASP.NET was the reason. I don't see how my answer was wrong in that context as you could esily substitute the WPF front end with a ASP.NET version (or have both, and....).
Sheesh.
I don't speak Idiot - please talk slowly and clearly
"I have sexdaily. I mean dyslexia. Fcuk!"
Driven to the arms of Heineken by the wife
|
|
|
|
|
If you dont even have the imagination to think up a basic project, there is no way in the world youre going to have the imagination to design and write it.
Give up now.
|
|
|
|
|
Search the ASP.Net Articles here Code Project itself. You will get some idea
|
|
|
|
|
If the topic isn't something you are interested in, or have knowledge of, then you will give up on it and that won't help you. Find something that interests you and use that as a basis of your project.
|
|
|
|
|
Simply start with a project which include ado.net and gridview. You can practice kinds of gridview events like adding, updating and deleting from gridview. also sorting and paging of gridview.
|
|
|
|
|
Try this link for a simple project i.e. school management system.
|
|
|
|
|
You forgot the link.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
|
Well, you need to put it in the message to the original questioner, not to me.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
First of all this is wrong place to ask this question. Such question could be asked in GIT or Lounge.
Secondly, I appreciate the intention that you have behind posting this question i.e. learning but perhaps(like others said) you should be able to come up with some ideas on your own.
thirdly, my suggestion would be to start small application like contact book/address book or small forums. but keep in mind that your sole focus should be on learning various concepts related to C# and ASP.NET than just getting your project done.
Every now and then say, "What the Elephant." "What the Elephant" gives you freedom. Freedom brings opportunity. Opportunity makes your future.
|
|
|
|
|
Hi Team,
I am trying to build an application where I can take any system remote connection(like mstsc) using .NET application. I found one windows application Remote Desktop using C#.NET[^], similarly i want to have in web application.
Or, is it possible to embedd the windows ActiveX control in web app?
Please help on this, thanks in advance.
|
|
|
|
|
|
void SomeFunction()
{
backgroundworker bw = new backgroundworker;
bw.DoWork += (object, eventargs) =>
{
};
}
So what I'm asking is instead of having a separate method for DoWork, is it bad style to put it in the same method that the UI would call?
|
|
|
|
|
Daniel Sheets wrote: So what I'm asking is instead of having a separate method for DoWork, is it bad style to put it in the same method that the UI would call?
Not that I'm aware. A ThreadPool-thread with a delegate does seem more readable though;
void SomeFunction()
{
ThreadPool.QueueUserWorkItem(delegate {
});
}
|
|
|
|
|
That local BackgroundWorker is not likely to survive long enough to actually finish.
As soon as SomeFunction exits it will be available to be GC'd.
I know this is just a quick, throw-away example, but the many beginners on CP might see this and not think of this issue.
|
|
|
|
|
Thanks for the replies.
And Matt... yeah, it was just meant as a throw-away example.
Still a good point to point out the GC though.
|
|
|
|
|
Nothing wrong with that syntactically. But my preference is that if the method is more than a couple lines long, I like to break it out into it's own method so that readability and maintainability is a little easier.
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
If the "time consuming work" is more then a few lines, I'd say it is bad style. Its not bad style to call a method or mess around with the parameters, etc. That is often quite handy. For example, if you used the stock handler there, you couldn't pass in any arguments. Its often a lot more useful to do something like:
bw.DoWork += (x, y) => MyCustomMethod(someLocalObject1, someLocalObject2);
To be honest though, I've shied away from BackgroundWorker as I find async to be much cleaner.
|
|
|
|
|
If you are using VS 2010 and Framework 4, use Tasks, I have not used VS 2012, so probably async is better. I like to us lambda expressons even for more than a few lines, but obviously not too many lines. What would I consider too many, maybe 10. It keeps everything together.
|
|
|
|