Answer Questions
RBA Remotely detect permissions, help my admin!
I have used the .NET Configuration Tool (2.0 by the way) to create an MSI that changes settings on the Intranet ZONE. I can use the fillowing command localy: caspol -listgroups to see if the permission was set properly by the MSI. What I am trying to figure out is how can I look at machines remotely to see if the permission was set properly. As we roll this out to our entire company is not feasible to go to each machine as they are not at ...Show All
AntonioCS Change color in bitmap
Hi, I need to change Black color to White color in bitmap that created from array of pixels. Thank's Alexei Try this: Bitmap b = new Bitmap(image); for ( int x=0; x<b.Width; x++) { for ( int y=0; y<b.Height; y++) { Color pixel = b.GetPixel(x, y); if ( pixel.Equals(Color.Black) ) { b.SetPixel(x, y, Color.White); } } } -chris ...Show All
WilliamW inherited controls (solved)
I would like to have, say, textboxes of 2 different sorts: A and B. I think inherited control (inherited textbox) is the ideal concept. The goal is to have event handlers ONLY in the Parent Form (from where inherited forms will be created,  ...Show All
Vander Sort out on date to verifier that it is indeed a value dates VB.NET?
Hello, I attempt one sorts out on a column of date it works well if all the column receives only values (date) but if there is another typifies (strings), that does not sort out any more. How is that it works in everything the cases Example&nbs ...Show All
fdaske Identity permission in winform app
I have a winform application, which needs to open some word documents located on network drive. As this application is going to be deployed to desktop via one-click, to minimize the issues with accessing resources and also to accomodate client's request, it needs to use a service account (other than the loggedin user) to access the documents. I am thinking to open the document in a broswer window to take advantage the word file extension ( ...Show All
Fr&#233;d&#233;ric Degraeve What is "Out of Memory" when I have lots?
VS.NET 2003 I have a OwnerDrawFixed ComboBox. Sometimes, only sometimes but too frequently, when I click or is scrolling through the list (5 items) I get an Out of Memory exception in the DrawItem event handler at the point where I was drawing a dashed line (my drop down list is a list of dash styles). The exact error is "'System.OutOfMemoryException' occurred in system.drawing.dll" I have plenty of memory. A cursory chec ...Show All
byronfromwesleyan How to do query if a property/method is supported by the object?
Thanks If you're checking to see if a single method or property is supported, you can use GetMethod and GetProperty. If these return null, then the method was not found. Make sure you get all the flags (and parameters if there are overloads) correctly. The follow with retrieve the Textbox's instance method Clear() TextBox textbox = new TextBox (); MethodInfo clear = textbox.GetType().GetMethod( &quo ...Show All
Mike B. Tale of Woe - Convert KeyCode to Char - Please Help
Hi, I have been trying to create a combo box that does autocomplete (a bit like in the address bar in IE) but I would like to be able to make it so that if I set a flag it will only allow the user to enter values that&n ...Show All
Phil Rounds OpenFileDialog "hangs" on Windows 2000
I have a WinForms remoted application using a simple OpenFileDialog control. When I instantiate the dialog, the program hangs and never responds. This only happens on Windows 2000. The program functions perfectly on Win XP & Win 98. The ...Show All
Lupison Databinding and custom control
I have a custom combobox that has a on it. When I databind to that property, it doesn't seem to work. What do I need to add to the property code to make it databind compatible Public Property SelectedKeyID() As String Get Dim obj As Object Dim _SelectedObject As Koolsoft.ListItem If Me .SelectedItem IsNot Nothing Then obj = Me .SelectedItem If obj.GetType.ToString.Trim.ToLower.EndsWit ...Show All
chrisOmni Subcribing to a parent event from a child....form / usercontrol...
RE: Windows Forms / User Controls and VB.NET From within a user control, how can i recieve notification when the control's parent form is closing. I want the notification before anything is disposed so that i can save control states to the registry, ...Show All
jcdotcom designer can't load form. Where is 'more information'?
after going from beta2 to rc1, the designer all of a sudden cannot load my forms anymore. instead, i get the infamous window with the red top that says some errors may go away building the project, while other need code changes. needles to say: the file compiles fine, the form could be opened with the beta2 and vs2003 designers and obviously doing a rebuild doesn't help at all. now what the additional error message says; Unable to load one or m ...Show All
DLG007 Server not responding error on login
I set up the application, but get the error "Server Not responding. Please try again." I successfully installed everything and can access the database on my local SQL Server. SQL Server authentication is enabled. What did I miss ...Show All
andy18 Missing object in Office.Word.Interop.MailMerge
I have a piece of code that has worked in the past with no problems. Now as I do some work on somthing not related to the code no longer works. Can anyone please help me with this issue Here is the code in question: &nbs ...Show All
Duracellko WebBrowser control and new window
I have a little problem with the WebBrowser control. I need to open a page that contains JS open up another page. (Like those popup windows) However, the new window will leave my original WebBrowser control. How can I make the new window open in my WebBrowser control instead I've tried the Navigating and NewWindows events of WebBrowser without success. Please advise. ...Show All
