Home All Groups Group Topic Archive Search About

Windows Forms

microsoft.public.dotnet.framework.windowsforms
Score clickonce applications on linux with mono project?
Jeje - 22 Sep 2007 8:21 PM - 1 message
Hi, I want to known if I can run clickonce applications on linux or Mac. Specially I want to run Report Builder. From what I see the .application is not loaded from the web site. so I manually copy the reportbuilder folder and try to run it, but nothing ...
Score printing source code from vs 2005 solution
Jesse Aufiero - 22 Sep 2007 6:43 PM - 2 messages
is there a utility program, other than 'VS.Net Code Print', that can print source code from a visual studio 2005 solution?  'VS.Net Code Print' is buggy and crashes before completing the print of my solution. Thanks!!! ...
Score Grid view readonly property
Chakravarthy - 22 Sep 2007 5:48 AM - 1 message
I am having  problem with the fallowing piece of code foreach (DataGridViewRow Rows in prePDDataGridView.Rows) { Rows.DefaultCellStyle = null; Rows.ReadOnly = true; DataGridViewDisableButtonCell buttonCellSave = (DataGridViewDisableButtonCell)Rows.Cells["Save"]; buttonCellSave.Enabled = false; } The above code will make all the rows in data grid view as readonly  and the ...
Score A treeView node with multiple columns?
Andrew - 21 Sep 2007 8:04 PM - 2 messages
Hello, friends, I need to have multiple columns in a TreeView node. How can I do this? Thanks a lot. ...
Score Threading question
Trust Me; I'm from the government - 21 Sep 2007 8:03 PM - 4 messages
Let's say I have an event handler that spawns another thread In that original event handler, is there a way to check, and do something ONLY after the thread is complete? ...
Score printing source code
Jesse Aufiero - 21 Sep 2007 3:10 PM - 2 messages
is there a utility program, other than 'VS.Net Code Print', that can print source code from a visual studio 2005 solution?  'VS.Net Code Print' is buggy and crashes before completing the print of my solution. Thanks!!! ...
Score binding CheckBox.Enabled to ComboBox selection
Jiho Han - 21 Sep 2007 2:56 PM - 4 messages
I have a combo which is bound to a List<MyCustomObject>. One of the properties of MyCustomObject is a boolean which I would like to bind to a checkbox so that depending on the selection on the combobox, the ...
Score RTF Parsing super/subscript
Brian Richards - 21 Sep 2007 1:57 PM - 2 messages
I'm looking for some sample code to implement super and subscript in an RTF control w/o using the baseline offset and font size division/multiplication. I want to actually use the \super and \sub tags from the RTF spec. Even some ...
Score Where is the application setting file?
Andrew - 20 Sep 2007 7:16 PM - 2 messages
Hello, friends, As you know, we use application settings to store and retrieve property settings (such as window form size/location) for our application for each user. But, I could not find the file that stores all these info after running our ...
Score Class Finalize - how to kill a class
SimpleMan75 - 20 Sep 2007 7:01 PM - 3 messages
Let's say I have a class - so to instanciate it, I put : dim cWhatever as New myClass My question is, do I need something to remove it from memory, once the form's closed? What are the recommended ways of doing this (in the class itself/in the form ...
Score Spurious internet activity in simple forms application
Paul - 20 Sep 2007 5:18 PM - 4 messages
My vs2005 windows forms program is trying to access the internet at runtime. There is no network access in my code. Could it be due to the framework or the infragistics controls? I know that at build time the framework's license compiler tries to use dns or other internet access. Could this be happening at runtime also? ...
Score Question about DataGridView binding
B. Chernick - 20 Sep 2007 3:46 PM - 1 message
I have not used the DataGridView that much.  I'm writing a Winforms app using a datagridview bound to a datatable.  For reasons too involved to go into, the grid is not editable.  When I need to edit a record, I double-click on a ...
Score Array initialization in class
gol - 20 Sep 2007 3:30 PM - 11 messages
Hi all, I have an array defined in a class. The type of the array is the class type. For example: class MyClass     {         private int a;         private int b; ...
Score Add question mark to title bar
Carlos Sosa Albert - 20 Sep 2007 3:14 PM - 5 messages
Hi guys, I'm working with a small Win App (.NET 2.0, C#) and I was wondering: Is there a way to add the typical question mark to the title bar of my app, and then link that question mark to an "About" box? (no help) ...
Score create nice interface with WPF
James - 20 Sep 2007 2:55 PM - 2 messages
Hi people, i would like try the new capability of WPF included in VisualStudio 2008 to create Nice (3D effect & more) but i dont know where to begin ? di you have any link how teach the begining to use WPF in VisualStudio 2008 ...
Score Blue Screen
mfeiner@csc.com - 20 Sep 2007 2:52 PM - 2 messages
Many of our users are getting the blue screen problem.  The file  psg.sys is being blamed for these crashes.  No one has been able to find a psg.sys file on their system when a search is done. ...
Score crystal report with image
George Ter-Saakov - 20 Sep 2007 1:42 PM - 3 messages
Hi, I am trying to develop a crystal report  (invoice) and i need to show picture of the item in detail section. I do not see how can i do that.... I have picture of the item ordered in the file (on the machine i show ...
Score ERROR inrelease
Luc - 20 Sep 2007 9:08 AM - 2 messages
Hi, I've deployed  a small application, by my opinion well tested, runs perfect on mu development (Vista) and test machine (XP) but when installed at the customers site, displayed an unhandeled exeption when loading the first form. PLease HELP!! ...
Score When is a form disposed? (unexpected ObjectDisposedException errors)
Mr2001 - 20 Sep 2007 5:14 AM - 1 message
I have a multithreaded app that creates a progress form on the main thread and interacts with it from a worker thread. The code is more or less like this: void MainThread() {     MyForm form = new MyForm();     ThreadPool.QueueUserWorkItem(WorkerThread, form); ...
Score Help, App hanging after screen saver
Randall Berkeley - 20 Sep 2007 3:48 AM - 1 message
I have an VS 2005 C# app that hangs after the screen saver activates.  The debugger shows the following stack when this happens. Does anyone know what the app is waiting for? STACK: [In a sleep, wait, or join]    ...
Score Draw over multiple controls
HaySeed - 20 Sep 2007 2:30 AM - 2 messages
When a user grabs the border of an object to expand the size or move it I would like to draw a rectangle to show the growing size or changing position. The problem is that the MouseDown eevnt is within the active control, while ...
Score Why is my .exe so large?
Jim Bob - 19 Sep 2007 8:45 PM - 1 message
This is a question.  I have developed many vb.net Windows apps.  Most apps .exe are under 100kb.  The app I am presently writing is now 2400kb.  What makes the exe get so large? I am vs2003 and .net framework 1.1. ...
Score Why is my .exe so large?
Jim Bob - 19 Sep 2007 8:19 PM - 10 messages
This is a question.  I have developed many vb.net Windows apps.  Most apps .exe are under 100kb.  The app I am presently writing is now 2400kb.  What makes the exe get so large? I am vs2003 and .net framework 1.1. ...
Score Different DPI settings on monitor may make form layout displaced.
Andrew - 19 Sep 2007 6:58 PM - 1 message
Hello, friends, As you know, different DPI settings of monitors may make form layout displaced. In our app (developed at DPI 96 using c#.net 2005), some buttons are displayed only half at the bottom of a form when this app is running at ...
Score NativeWindow.OnShutdown is causing a StackOverflowException
Reinyn - 19 Sep 2007 4:44 PM - 1 message
Hello, I have a .NET class that creates a form and displays it using ShowDialog. This .NET class has a COM visible interface that is called by the main app which is C++ COM. The form displays correctly and everything seems to be fine, but when the ...
Score Listbox captures focus
Michael Conroy - 19 Sep 2007 2:48 PM - 2 messages
This is very strange... I have a simple UserControl based on a System.Windows.Form. I have a databound listbox on the form, along with two radio buttons which aren't bound to anything. If I launch the form, everything is clickable. ...
Score Get FileType
SimpleMan75 - 19 Sep 2007 2:34 PM - 3 messages
Using System.IO, is there any way, using FileInfo or any other way, to tell what filetype the file is? In other words, if I have a group of files, and I want to do something with only .doc file, can I do this using the System.IO class, or am I just stuck ...
Score registry error
AVL - 19 Sep 2007 12:32 PM - 2 messages
hi, i'm trying to read out the registry keys in my win application.. but fir few keys..i'm encountering the below error "Request access to the registry isn't allowed". how can i solve it... what settings should i prefer? ...
Score reading registry
AVL - 19 Sep 2007 12:28 PM - 2 messages
hi, i've a requirement to scan the registry keys programatically in a console application  and read the data of the keys.. given a registry key, say,"HKEY_USERS". user should be able to scan the subkeys of the given key recursively(i.e. all the subkeys of the given ...
Score custom control focus
dragonslayer008 - 19 Sep 2007 4:17 AM - 2 messages
Hello, I made a custom control which derives from UserControl, which handles mouse input (e.g., rotates an object) when the mouse moves.  I am handling the OnMouseDown, OnMouseUp, OnMouseWheel, OnMouseMove functions. When I click on my control, it doesn't seem to get focus however, ...
Score restore from maximize
dragonslayer008 - 19 Sep 2007 4:11 AM - 2 messages
When I maximize a form, it sends a resize event, which I handle. However, when I click the restore box on the form's frame, it restores the window dimensions (physically) but my resize code is not executed.  I can tell it is not being called because my resize code ...
Score control naming conventions,
dragonslayer008 - 19 Sep 2007 2:51 AM - 6 messages
When I drag a control onto a form, visual studio gives it a dummy name.  I'm wondering, what are good naming conventions you use for controls?  I like to indicate the control type: for example, "submitButton" or "showResultCheckBox".  Although I find this ...
Score control naming conventions
dragonslayer008 - 19 Sep 2007 2:50 AM - 2 messages
When I drag a control onto a form, visual studio gives it a dummy name.  I'm wondering, what are good naming conventions you use for controls?  I like to indicate the control type: for example, "submitButton" or "showResultCheckBox".  Although I find this ...
Score Deployment Problem
DBM - 19 Sep 2007 1:51 AM - 2 messages
I'm deploying a C# desktop application using a .Net deployment project.  The application installs fine on my development PC, but it gives the following error when I attempt to install it on laptop that doesn't have the ...
Score Hide main form initially
Oleg Ogurok - 18 Sep 2007 6:12 PM - 3 messages
Hi there, Is there a way to start a Windows Forms application with the main window not visible? Then later on when an external event occurs, I want to display the form. Thanks. ...
Score RE: Bind Combobox with enum values to a datagridview
Paul S - 18 Sep 2007 5:20 PM - 2 messages
I found this more simple solution if you're  willing to pay with performance because of the casting:             using (List<DictionaryEntry> myList = new List<DictionaryEntry>()) ...
Score WWW link on win form?
DzemalTipura - 18 Sep 2007 8:37 AM - 2 messages
How can I put WWW link on windows form so user can click on in and go to that page via external default browser? Thx you ...
Score Clearing a dialog box to create a new record - suspend binding?
dbuchanan - 18 Sep 2007 4:50 AM - 4 messages
Hello, I have a dialog box in which the user edits records. (The main form has a datagridview which displays all the records. The user normally selects the desired record and opens a dialog to edit that record.) There is also a [New Record] button on the dialog box which allows the user ...
Score Where to add event handlers so they don't fire during form load
dbuchanan - 18 Sep 2007 1:43 AM - 3 messages
Hello, Where do I put the code that adds my EventHandlers so that they do not fire during form load? ========= Here is my code: ==========     public partial class AddEditMasterTask : bsfAddEdit     {         public AddEditMasterTask() ...
Score Inserting Text into a Doc File
GaryDean - 17 Sep 2007 10:14 PM - 3 messages
I have a need to be able to insert various text strings into a .doc or .rtf file at specific locations.  I know I could probably do this by reducing the ..doc to a byte array but is there a better way? ...
Score AutoScaleMode.Font crashes program
Paul - 17 Sep 2007 6:04 PM - 2 messages
Windows Forms, .net 2.0, vs2005, xp pro. Setting AutoScaleMode.Font (or Dpi) on my main form crashes my program on some computers. If I set it to None or Inherit program runs ok. It's a very simple form with a picturebox, combobox and a slider. ...
Score UI Updating
steve.a.bennett - 17 Sep 2007 10:10 AM - 6 messages
Hi My Windows Forms applications consists of a listview control containing of approximately 1000 items, and a worker thread that performs a lot of execution. After performing some portion of execution I update the main UI by using a delegate on the main form to ...
Score Word Macro in VS 2005
Don - 16 Sep 2007 11:36 PM - 3 messages
I am Trying to run a Word Macro in VS2005  with Word 2007 (in Vista) The following Code worked with VS2002 and Word 2003 (in XP) Dim WordApp As New Word.ApplicationClass() Dim FileName As Object = FileName Dim isVisible As Object = True ...
Next »