I've had the same problem and found by closing and reopening it solves the problem. As far as what causes it I ain't gotta clue! Good Luck Mike
Life is not measured by the number of breaths we take, but by the moments that take our breath away. "George Carlin"
You can as long as the type you are using can be evaluated to a numerical value.
================================ Wirth's law: Software gets slower faster than hardware gets faster.
Hey, Thanks for your reply. The classes are marked as public and the methods that I need are also public, but in debug mode when the webservice returns the collection object first of all it reinitialize my private objects and then calls the constructor of the class. These classes I talk about are wrapped in a DLL and imported in the WS.
Do your best to be the best
Maybe you should use the constructor where you pass in a BufferDescription object to describe the format you're using. This is just a guess, but I think that since you got your stream for a capture buffer that it's not going to have the headers at the beginning that a stream loaded directly from a wave file would have. Thus you need to provide that info with the BufferDescription object. But don't quote me on that...
Use reflection. Because you are using members you will have to use FieldInfo not PropertyInfo. Of course, like others have mentioned, I would use a hash instead of members.
File Not Found
Why, oh why, would you identify the method using a string? Perhaps you should explain what it is that you are trying to accomplish, instead of asking how it's done the way that you think that it should be done.
--- b { font-weight: normal; }
If you want to prevent the Paint event from firing (which is a very odd thing to do, btw), then you can override OnPaint and do not call the base implementation. The base impl fires the event. :josh: My WPF Blog[^]
You can load a usercontrol dynamically using the Page's LoadControl method. So you just need some place to add the control. A PlaceHolder control is perfect for this. Drag the PlaceHolder on to the place where you want to load the user control. Then use the code
Control userControl = Page.LoadControl("myUserControl.ascx");
placeHolder1.Controls.Add(userControl);
I don't think there's a limit to the nesting of usercontrols within usercontrols, but I could be wrong Kind regards - Jakob :cool: Three kinds of people in the world: - Those who can count.. - Those who can't!