|
Well, for one thing I needed to add a reference to System.Design
I think I actually need to use System.Windows.Forms.Design.ParentControlDesigner , and I've tried, but still no joy.
|
|
|
|
|
Or maybe it's System.Windows.Forms.Design.UserControlDocumentDesigner , still trying...
|
|
|
|
|
Hmmm...what is the behavior you are expecting and/or not seeing? When I added the System.Windows.Forms.Design.TabPageDesigner it gave me the same design time experience as the normal TabPage does.
|
|
|
|
|
Hi all, we are currently developing with the .net 2.0 version because we were asked to ensure compatibility with mono. Since Mono is implementing some of the features of the 3.0 version we thought to give to 3.0 a look, but we aren't sure what to install. Do we need a new version of the sdk? We Have found the redistributable package download, but it seems that the sdk is a separate file of more than 1 GB. Does it really require all that memory, given that we already have the 2.0 installed, or is there somewhere an update file?
Thank you!
|
|
|
|
|
It's not memory, just HDD space.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Err... thank you, perhaps my english is worse than I thought, I do know of course that it refers to the size of the file, not the memory required.
What I meant, is that we don't really need 3.0, we just want to give it a look, and we would be very unpleased to saturate the (currently limited) band of our temporary internet connection for 5+ hours just to discover that it is the wrong file.
So my question is:
Assuming that we have already the 2.0 sdk and runtime installed and running, which files do we need in order to be able to compile and execute a 3.0 program? And to be even more precise, we are working with c#.
Thank you again
|
|
|
|
|
|
|
|
We really need a "Mr Nice Guy" status just for you. You really do have the nicest approach on the site. Oh how I wish I was like you instead of the cynical, sarcastic me. Nah - cynical and sarcastic is so much fun.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Pete O`Hanlon wrote: We really need a "Mr Nice Guy" status just for you.
LOL.
Pete O`Hanlon wrote: You really do have the nicest approach on the site.
Thanks. I think. I guess I take that approach because I've seen so many people take the other path and not get anywhere in trying to get through to some of these people. I figured I would try a different tack and see if it works. I guess it has...at least so far.
Pete O`Hanlon wrote: Oh how I wish I was like you instead of the cynical, sarcastic me. Nah - cynical and sarcastic is so much fun.
Oh believe me...I can be super cynical and sarcastic if I need to be. I don't know if you remember the The code monkeys are invading![^] posts from a few months ago, but it was spurred because of one of my blog posts...which was a rant about the level of stupid questions appearing here on CP. I've posted a few such rants on my blog over the past year or so.
|
|
|
|
|
Scott Dorman wrote: I don't know if you remember the The code monkeys are invading![^] posts
I remember it well - I also remember people getting hot under the collar about what was basically a very valid point.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Pete O`Hanlon wrote: I remember it well - I also remember people getting hot under the collar about what was basically a very valid point.
Yes, it did get people a bit hot under the collar...oh well...it was just a rant on a valid trend I was seeing (and still am).
|
|
|
|
|
cignox1 wrote: we are currently developing with the .net 2.0 version because we were asked to ensure compatibility with mono.
That's just a bit of a ridiculous requirement since Mono hasn't implemented all of the .NET 2.0 classes yet.
|
|
|
|
|
Hi,
Currently I'm developing a project with ASP.NET (C# code behind), and I m expecting a bug when I try to upload a file with more than 4Mb.After making some research I find out that 4Mb is the standard file size that can be uploaded.
We can change this limit in the web.config but it s not really what I'm expected.
I'm doing a check on the server side, but this means that the file is already in the cache.
The fact is, even if I check the size limit on the server side , the error is through before.
So how can I display my own error message ?
In advance thanks
|
|
|
|
|
The actual limit is 3mb which is why you are getting the error. There are two web.config settings you need to worry about:
<httpRuntime executionTimeout="300" maxRequestLength="15360"/>
The maxRequestLength in this example has been set to 15mb. The other setting you need to be worried about is the executionTimeout which is this example is set to 300 seconds which is 5 minutes. If these two setting are set correctly you should have no issues upload files to your system.
Hope that helps.
Ben
-- modified at 15:06 Tuesday 2nd October, 2007
|
|
|
|
|
You may want to repost your example. You forgot to check the "Ignore HTML tags in this message" box before you hit the "Post Message" button. Your example isn't visible.
|
|
|
|
|
Thanks Dave,
Usually I am the once asking the people posting a question to do that. It is sort of funny because when I posted my reply I thought to myself, make sure you check that box. Of course, then I forgot to. Anyway, thanks for letting me know.
Ben
|
|
|
|
|
Hi All,
We need small help regarding audio files processing. For
reducing the noise in audio files, is there any API or DLLs available
in .net means in either C# or in VB.
Please help us if anybody knows this problem.
Padma.B
|
|
|
|
|
I don't know of such a lib, but if you feel like to take the dirty way, then you may try with the FFT (fast fourier transform). Well, it is not trivial to use it to process a sound, and I'm not an expert myself, but using FFT (you should be able to find it somewhere) you can transform the sound in a sequence of amplitudes, Each element of the sequence defines the amplitude of the sound at a given frequency. You can sample the noise in a short time of silence (where only noise is recorded) and then use the FFT to get the frequencies that compose the noise. This should let you remove (or better yet reduce) those frequencies from your original sound, thus reducing the noise in it.
Hope this helps
Alessandro
|
|
|
|
|
I look over some projects in CodeProject about creating FolderViev, FolderTreeView etc. in An "Explorer Style" and I see everywhere are used shell operations. Is that the only one way to do controls like this? Isn't there any simple method? Does C# and .Net provide owns classes and methods including shell instructions, or I have to write it always myself? And I have one more questions: Is there any reason that everybody use shell to manage folders instead of using such C# classes like Directory[info], File[info] and others classes included in System.IO namespace?
|
|
|
|
|
Maybe everyone is too lazy to RTFM about the file system / IO classes?
I do not believe they are right who say that the defects of famous men should be ignored. I think it is better that we should know them. Then, though we are conscious of having faults as glaring as theirs, we can believe that that is no hindrance to our achieving also something of their virtues. - W. Somerset Maugham
My New Blog
|
|
|
|
|
I don't know "what" projects you looked over. Some may explain the "why" they are using a specific approach, otherwise they are not very good articles.
|
|
|
|
|
Hi everyone,
I'm trying to compose an XML with serialization in VB.NET, but I'm having a problem with an array. What I'm looking for is to get something like this:
<root>
<item>item 1
<item>item 2
<item>item 3
But if I use a XML array with code like this:
<xml.serialization.xmlarray(elementname:="item")> _
Public Property Item() As List(Of Item)
Get
Return m_items
End Get
Set(ByVal value As List(Of Item))
m_items= value
End Set
End Property
What I get is something like this:
<root>
<item>
<item>item 1
<item>item 2
<item>item 3
How should I do it in order to get the item elements right under the root and not indented inside <item>? This is my first work with serialization and maybe I'm missing something stupid. I've been looking in some forums but I haven't found an answer to this.
Thanks in advance
|
|
|
|
|
If you just have a list of items like:
<item>
...
</item>
<item>
...
</item>
then you would need to deserialize an array like "List<Item>". Here you pass "List<Item>" as the type to the XmlSerializer. I'm not sure of the VB.Net syntax though.
-- updated: had to correct < in my post
-- modified at 9:59 Monday 1st October, 2007
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|