I was wondering if its possible to make a File Dialog (Open/Save as) become the child window of a parent form and be fully "contained and bounded" in it. I can`t find any straight-forward way to do this, like Controls.Add or anything since they inherit from Component class.
I also tried calling the Win32 SetParent function but it has no effect.
I am developping one windows Application, In that i am working on Adio Mute & TrackBar Controls
I am using Check bOx for MUte functionality, TrackBar for Increase or Decrease the volume. For this Iam using Mixer Object. I Added the WaveLib.AudioMixer; Library to my project.
1. when i Check the Mute Checck Box then Audio should not be recorded while recording,
2. when i Uncheck the check box then Default volume will set. ( tracker bar volume).
right now i am using this Code but it is not working.
Mixers mix = new Mixers();
if (Settings.Default.Mute == true)// here i have setting page by default the mute is set to False.
Is there a progress bar for .NET that has an unsigned 64-bit maximum value? The number of items I'm processing can easily exceed 32-bits, but the Windows Forms progress bar only accepts a standard int.
Why don't you set the maximum to 100 and set the integer percentage value when it has changed? Setting the value a billion times will slow down your application anyway, and users won't see a difference.
Good point. We had created a form that has a progress window and a display of the number of items being processed, and we had just been using the ProgressBar.Maximum property for that value. But yes, your suggestion would be a better design choice.
Does anyone know a good way to make a control draw and work outside the bounds of a form in vb.net? I am trying to make a control that works like a combobox in that it drops down, but I need the part that drops down to be a datagridview. If the datagridview dropdown is taller than the form has room for, I need it to go past the edge of the form, just like a combobox dropdown.
Thats the only thing I could think to do as well. It seems there has got to be a different, cleaner way to do it, because combobox/menu dropdowns can do it. I guess for all I know thats how combobox and menu dropdowns work too.
Anyway, this is probably what I'll end up doing. Thank you for your help.
It's not neccessarily a bad way at all. I don't know today's implementation for example in Vista which is based on WPF but if I remember correctly, originally in Windows combobox was constructed using:
- textbox (editable or noneditable)
- button on the right side of the text box
- listbox placed in a separate window
i just dont know yet how you did it.but in case you were running/invoking the windows application from onStart()method of the windows service,use the MMConsole,navigate to services,look for the name of your windows service->properties,logon tab,check the checkbox--allow service to interact with Desktop.ope it works
was wondering if you culd help with your code for this application(both winform and winservice)
You can use timers and then invalidate the form with the new graphic afterwards.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
My company has licensed Dotfuscator pro, so we have to obfuscate our releases using it. However, after a couple of weeks of using it, I can say it's a piece of ...(you know what). There is no reliable control about obfuscating and removing processes, tool hangs up itself or crashes VS. There is even no validation of assembly after obfuscation, which can result in some strange errors in releases.
I have seen that there are many obfuscators on the market right now, but have no time to evaluate all of them.
So, please - could anyone recommend something?
ps: What I really need is obfuscation, linkng and removing unneeded stuff in .NET 2.0 winforms apps and services, with nHibernate layer