Answer Questions
Shawn Kovalchick combobox
Hi, I am binding a combobox to a table in a database according to the following code: Dim cmd As New SqlCommand("select MaintenanceTypeID, MaintenanceType from MaintenanceTypes", connectionToDatabase) Dim sda As ...Show All
Suresh Beniwal Tiny WebBrowser Print Preview
Put the following code in a form: WebBrowser b; public Form1() { InitializeComponent(); b = new WebBrowser(); b.DocumentText = "This is a test."; b.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(b_DocumentCompleted); } void b_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { b.ShowPrintPreviewDialog(); } Why is the preview window so tiny Can anyone confirm Eyvin ...Show All
skyma Creating a task list like control.
Hi All, I am trying to find a control that looks like the Task List in the Visual Studio .NET IDE. The problem with the standard list view is that it's borders are 3D and if you try the flat style, the border colour is a dark&nb ...Show All
strengthnow.com Windows Explorer Style App
hi... as i said my app has windows Explorer look and feel i need to do the drag and drop i have diff case...(one at a time) TreeView to TreeView TreeView to ListView ListView to TreeView so currently i tried for TreeView to&nb ...Show All
Saravanan_article RowUpdated event not firing
Hello everyone, I am stuck on this one! Here are the basics: DataAdapter daPeriods = new SqlDataAdapter(); daPeriods.ContinueUpdateOnError = true; daPeriods.RowUpdated += new SqlRowUpdatedEventHandler(daPeriods_RowUpdated) daPeriods_RowUpdated(object sender, SqlRowUpdatedEventArguments e) { //Do stuff ...Show All
Dwight Kulkarni Close multiple forms
I've create a no. of Windows Forms and they are related in the following sequence. FormStart --> FormA1 --> FormA2 FormStart --> FormB1 --> FormA1 --> FormA2 The problem is when I reached end of FormA2. I need to provide a method to close all the Form and back to FormStart. How can I achieve this I can't simply use me.owner.owner.close as the no. of level is not equal. There could be another way to do this but I p ...Show All
mutantbc My app starts out minimized, how can I show a form?
I'm writing a program that will be started in the minimized state by an external application (e.g. with the WindowStyle property of the ProcessStartInfo structure). The problem is, I want to show a form in the middle of the screen when my program starts, but I can't make it appear without un-minimizing the program by hand. I've tried setting the form's WindowState property, but even though the property value changes from Minimized to Normal, th ...Show All
Nikolaus Brennig Opening a form in a new thread? [VB2005]
Hello everybody! I'm trying to open a windows form (which has a very time and processor consuming _Load event, thus locking the complete application) in a seperate thread in order for the rest of the application to stay responsive. However, if I simply create a new private sub whose only task is to open the form, and then create a new thread which should start that sub, the form shows up for a brief period of time (half a second ) and then clo ...Show All
sky35366 DataSet.ReadXml for multiple DataTables
I have managed to create an xml file using DataSet.WriteXml for two tables in a DataSet. However, when it comes to reading this xml file back in, only the first DataTable is populated. Would be very grateful for any help. Maybe you&nb ...Show All
Marco Gouveia FileVersionInfo bug !?
in a winForm project into my AssemblyInfo.vb I have : <Assembly: AssemblyCopyright("© All rights reserved XX Inc.")> and Public ReadOnly Property FSI() As FileVersionInfo Get Return FileVersionInfo.GetVersionInfo(Applica ...Show All
Zaremba Design-time DataSet
Hi Guys, I am creating an n-Tier application with Four layer.. DAL -> Web Serice -> Business -> UI. I am passing data using typed datasets. In business layer I am storing these dataset as static dataset. Basically fecthing them from Web s ...Show All
lori1171963 Raising events from extern form
Hi there, I'm making a new menu system like the OfiiceXP 2003 menu. So when I click a button, a form (included in the .OCX) pops up and lists different menu-items. On the form there are a couple of labels and shapes etc ... So how to raise ...Show All
julo Leaking Main Menu
I have an application that creates a modal form. The modal form has a mainmenu. I notice that when the form is closed and dispose is called on it, the form remains in the heap. Examination of the heap using the CLR profiler indicates that the menuitems are holding on to the modal form. Has anyone seemed this problem before or know why it happens Both the form and mainmenu on the form should have gone out of scope. By disposing the form, the m ...Show All
Alene Brief Basic Steps - any help ??
Hello - Reading through the security documentation is so dry it's killing me. Would any of the security gurus be so kind as to post a brief walkthrough of: Assuming: 1) A WinForms HelloWorld program exists and is compiled 2) HelloWorld.exe exists on a public& ...Show All
Sohail Ch. ADO - aggregate functions
Can someone please confirm my understanding of this code snippet dtParent.Columns.Add("P5Sum", GetType(Decimal), "Sum(Child(GroupBy2Summary).P5)") This code snippet should add a column to the parent table named P5Sum, which will contain the result of the sum of all&n ...Show All
