Answer Questions
Natalie F. VS 2005 Toolbox Refreshing
Hi, I have noticed that the toolbox in VS 2005 contains a tab for every projects in my solution that contains a component derived class. During builds of the solutions each of these tabs are being refreshed / rebuild and it can take a little time. Is there anyway of stopping this refresh, or is it a matter of removing the tab from the toolbox Maybe this is a bug that has been fixed post Beta 2 Thanks for your help Graham ...Show All
MsFiT STAThreadAttribute problem in managed c++ windows forms
hi, i m developing a windows forms application using MC++, when i do debug the project , it fails in the line of ' openFileDialog1->ShowDialog(); ' and gives an error like that : An unhandled exception of type 'System.Threading.ThreadStateException' occurred in System.Windows.Forms.dll Additional information: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main functio ...Show All
# 2 Dessi Grouping Extender Provider properties in a Tree View manner
Hello All, With regular properties, you can apply a TypeConverter to group related controls together in a TreeView manner (eg they display in the PropertyGrid with a plus sign that you can click to expand the list). This helps to organize related properties together regardless of property names. I would like to do the same thing with Extender Provider properties but have not been able to figure out how to do so. I am assuming (I know, I know) th ...Show All
ijemiD How can I have one event for a group of controls
I have a windows form user control that has about 45 textboxes on it. I would like to bind all 45 textboxe's lost focus event to one sub routine. Is there a way to do this without having to use the "handles" keyword f ...Show All
Lori D. Pearce DataGridView Refresh issue
Hi I currently have a dataGridView that is responsible for displaying all of the data from a table within my database. Whenever the table is altered thru another form, the changes doesn't get reflected in the dataGridView until I close and reopen the program. I tried to use the Refresh() method but it seems the compiler does not detect anything new to redraw. I also tried to Invalidate() and redraw the grid, but that doesn't work either. Does ...Show All
LarsK Open a file using default application
Hello, Back in VB6, I used the ShellExecute api to open a file using it's default application. In other words, .XLS files would open in Excel, .DOC files would open in Word, etc. The call looked like this: Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _ (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, _ ByVal lpDirectory As String, By ...Show All
Kent_8848 Dockable Windows in VS .NET 2005
I am currently n the process of evaluating Visual Stidio .NET 2005 for Dockable windows feature specifically, I know that there are 3rd party components to do this... But I need to know only that :- Does .NET 2005 provide Dockable windows like in VStudio TollBox like to developers .. in other words Can I be able to create a Pushpin window (be Windows Form or userControl) that will only use .NET 2005 classes and NOT 3rd party compo ...Show All
Per Bröms WebBrowser Control Printing
Dose anyone know how to print a custom header/footer using the webbrowser control I found the following link: http://support.microsoft.com/default.aspx scid=kb;EN-US;Q267240 but am clueless when it comes to vc++ Thanks, Trey It's easier and more flexible through the regist ...Show All
rottengeek Could not bind ... ValueMember
Hi I'm trying to run the code below: Me.cboPreferredContact.DataSource = respComms.Tables("Table").DefaultView Me.cboPreferredContact.DisplayMember = "comBy" Me.cboPreferredContact.ValueMember = "comById" and I keep getting the error: "Could not bind to the new value member. Parameter&nb ...Show All
BreSmith Windows Menus Role management
Is their any special way to limit menu items based on roles For example I have five menu items one role has access to all five menu items but another menu role only has access to two items How would you do this Thanks Chris When you load the page, for each item just set: menuitem.Visible = myrole; where 'myrole' is a boolean value of whether or not that role can see the item or not. ...Show All
mathboy314 Web Services as datasources
Hi, First of all, congratulations on a great release for beta2, it feels like a Ferrari when you've been working in beta1 for months. I really love the databinding story for windows forms against direct database access (sqlclient), from the RAD level to the "low level" implementation of typed datasets/tableadapters. Will there be a similar story for webservices I've already implemented a fram ...Show All
sgollapu Multi-screen/display Cofiguration?
How I can make a Aplication for a multi-screen cofig with WindowsForms and c#. Example: 2 forms in 2 difrents screens/display Use the Screens class to get the secondary screens. Then simply use the bounds and location to put a ...Show All
PetterL keydown event doesnt fire if you have a webbrowser object on your form
Topic is pretty self explanatory... any suggestions as to why this is happening If i take the webbrowser object off my form, the event fires. If i put it back on again, event does not fire. I have keypreview set Do you receive a example ..... Thanks a lot Can you Plz send me the same example to me. I hope you will do this small favour. Thanks in Advance,. ...Show All
dotnetgirl data binding to a user control
Hi, I created a user control that binds to a dataset. I noticed that the changes from the dataset are available in the user control right away. This is all good. The problem I ran into is that the changes I type into the text boxes p ...Show All
toecutter ClickOnce Installs fail, ADODB 7.0.3300 required?!
While trying to use the new ClickOnce in 2.0 (RTM), the installs fails on the majority of machines. I receive the error that says. "Unable to install or run the application. The application requies the assembly ADODB 7.0.3300 to be installed in the Global Assembly Cache (GAC) first." The only 2 depenencies that this app requires is the .NET Framework 2.0 and the report viewer pack. I believe it the report view ...Show All
