Answer Questions
Frederic Enesys Disposing UserControls in WindowsApplication
Hello, I have a windows application which has a main form and a panel. I add UserControls dynamically to this panel through clicking on specific buttons in the main form. My problem is how I can dispose any resources used by every UserControl ...Show All
Sequel Automated Printer Install
Hello, was wondering if it's possible to automate printer installs on the print server Not actually installing printers on users systems, but into the print server itself. My organization has over 50 printers and we're planning a server upgrade. I've taken&n ...Show All
GapToN Custom control with data binding sample
Hi everyone I am trying to find a nice and simple example of a custom control that supports complex data binding (like a simple grid or a listbox). Surprisingly, I couldn't find anything useful in the SDK nor on the Web. All the sample either&n ...Show All
Thomast22 Problem with Mdi forms and Show method
Hi guys, I have a Mdi Container that can be minimized to tray. So when when I click minimized button I Hide the form and I show the notify icon. The problem is that during the mdi parent is not visible, maybe I have to create new  ...Show All
Mike Thorpton Threading
I Have 3 Functions Timer_Tick, this one gets started with the Timer 'Ticks' GetMails, that returns emails in an array of string InsertMails, that inserts the emails in to a database's When I run the app the form hangs untill all the functions are complet ...Show All
julo ClickOnce, assembly validation failed.
Ok, I have a very strange problem. I have a class library and I create a windows forms application that uses it. I Publish it as a ClickOnce online only setup. When I try to run it it fails the validation and I get: ERROR DETAILS Following errors were detected during this operation. * [01/06/06 9:47:45 PM] System.Deployment.Application.InvalidDeploymentException (RefDefValidation) - Reference in the manifest does not match the ...Show All
Rovshan Align data in drop down list
i have a drop down list in an ASP.Net application: i displayed two field from the database in the drop down list a part of my code is: With DynColumnEvent .ColumnName = "EventCodeDescription" &nbs ...Show All
Paul Huizer Authorization & Profile Application Block versus ASP.Net 2.0 Membership API
I'm looking for feedback on the virtues/vices of choosing one of these approaches over another. It appears that to leverage the builtt-in ASP.Net 2.0 Membership & Profiling API's in Windows forms apps it would be best to create your own wrapper/helpe ...Show All
haraldhw Windows form keeps dissappearing
Hi, Ive got a rather silly question... hope someone can help. I have created a project with several forms. One form in particular is causing me problems. I cant seem to find my main form (form 1). This is the second project this has happened in. The solution explorer lists all my forms except form 1 which is my main form. When i debug/run the code, my form comes up as per normal. Whats going on Why cant i find my form in solution exp ...Show All
peter feakins Assembly.LoadFrom
Hi, I have a Windows Application. When user clicks some button, I call Dim asmApp As [Assembly] = Nothing asmApp = Assembly.LoadFrom(filePath & ".dll" ) This assembly is output of a "Class Library Project" which contains Forms. After loading the assembly, I create some Forms from this assembly and show them. When an unhandled exception occurs in the loaded assembly's code, the MyApplication_Unhand ...Show All
RKA how can I get value form listview ?
some checkboxs showed in Listview ,each row have two datafields as prefix ,type user can update the value of type ,I want get the value of type after user checked .how can I do it please give me suggestions ,Thank you very much . sorry ,is from not form ...Show All
Glen Clark Client changes to app.config after click-once publish and delivery.
I have a VS 2005 Win Forms Application that is being developed for a client. Once system tested, I want to hand over the application to the client with some instructions for installation and setup in their environment, i.e. they need to specify connection strings, web service url's, timeout periods, etc in the app.config. There are many settings here that they could potentially change (10-15). However, when I use click-once to publish the ...Show All
jpdb difference between as and =
Hello can sombody explain me the difference between as and = opperator in the following sample: * Dim insert_log = New SqlClient.SqlCommand("spINSERT_log", Conn_log) * Dim insert_log As New SqlClient.SqlCommand("spINSERT_log", Conn_log) What is the difference ...Show All
Mish87879 Subject: Printing Crystal Reports in a Windows Forms App
Hello, I have an application that uses the version of CR.NET that came with VS.NET 2003. The CrystalReportViewer control prints the report fine when initiated by the user on the form, but I have problems when I try to call PrintReport() or PrintToPrinter(1, false, 1, 2). Calling either meathod, I get the following error: " '-1' is not a valid value for 'value'. 'value' must be greater than or equal to 0. " and blank reports print out. I ...Show All
einaros Closing a Windows Form
Probably a silly question, but I'm a novice. How do I write code to respond to the click event of the 'X' in the upper right hand corner control box. (ie: I want to display a MsgBox saying "Are you sure you want to&n ...Show All
