|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Windows Formsmicrosoft.public.dotnet.framework.windowsforms
Menu in MDIChild form not possible?
nospam@tgylnospam.no -
8 Jan 2005 8:17 PM - 6 messages
I am making my first windows mdi application. It seems like I cannot add a mainmemu to the mdichild form. The mainmenu can be transferred from the toolbox to the windows form in designmode, but it will not display. Is there ...
OnLostFocus ... who has now the focus ?
cae -
8 Jan 2005 2:38 PM - 6 messages
Hi, since Control.OnLostFocus doesn't supply in the argument the new window that gained the focus, how can I get this information ? Thank you Herve ...
How to add toolbar to a stand alone windows form exe?
Chi Tang -
8 Jan 2005 12:35 AM - 2 messages
Hi, I tried to add a 'toolbar' to a windows form but I did not know what to do next (to add buttons). Is there any .net samples for this? Thanks in advance. CT ...
Nested Groupbox with FlatStyle.System painted wrong
MarkoH -
7 Jan 2005 9:38 PM - 4 messages
Here - [link] and here - [link] This happens in .NET Framework 1.1 SP1 and it seems in 2.0 too, but it was ...
Dynamically Access Control
Casey -
7 Jan 2005 7:43 PM - 3 messages
I have 26 different panels. I'd like to access their properties dynamcially, determined by which "spot" is selected. Here's what I've thought of... Private Function getSpot(ByVal spot As Int16) As Control Select Case spot ...
RaiseMouseEvent???
The Developer -
7 Jan 2005 6:45 PM - 2 messages
Hi All, Has anyone tried to use RaiseMouseEvent method of Control class? I am trying to use it but unable to figure out use of first argument to the method. Thanks for any help... The Developer ...
Writing a simple parent-child dataform
Danny Liberty -
7 Jan 2005 6:25 PM - 2 messages
Hi, I have a simple windows form with a few textboxes bound to a table in a dataset and a datagrid bound to it's child table. I am trying to perform a very simple task : Programatically add a record to the child table. Of course I can do this using the Rows ...
TextColor
saurabh -
7 Jan 2005 4:06 PM - 6 messages
I want to change the color of the text shown in a textbox. Is it easily achievable in C# ? TIA, --Saurabh ...
Pros/Cons of Different Image Formats
Cole -
7 Jan 2005 3:20 PM - 4 messages
Hi all, I am making several forms that will make heavy use of images to create the look and feel of various controls. I typically have just used the bitmap format to store all of my images. Can anyone give me an idea of what the pros/cons of using other file formats ...
Disabling A Tab Page on A TAb Control
mh1mark -
7 Jan 2005 1:47 PM - 6 messages
I have a tabcontrol with three tab pages on it and I would like to prevent a user from clicking on another tab page until he has finished entering data on the current page. Is there a way to disable the other tab pages like you would disable a button? ...
Text Auto-completion
Samir -
7 Jan 2005 12:47 PM - 2 messages
Hi All, I am developing an xml editor, inwhich I want to include text auto-completion. When I finish entering start element (ie.<Hello>) on rich text box, the end element (ie.</Hello>) should be entered automatically and also ...
Dynamically adding array of buttons to form
Hrvoje Vrbanc -
7 Jan 2005 12:34 PM - 5 messages
Hello all, I'm relatively inexperienced with Windows Forms programming so I have one question: what is the best way to dynamically add e.g. 100 buttons in 10 x 10 pattern, each button with different text (numbers from 1 to 100), but ...
UnsafeNativeMethods.CallWindowProc NullReferenceExceptions
Matt Garven -
7 Jan 2005 5:54 AM - 5 messages
We are receiving error reports with NullReferenceExceptions from our users with stacks like the following: at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at System.Windows.Forms.NativeWindow.DefWndProc(Message& m) ...
"Process cannot access file" problem
Paul -
7 Jan 2005 4:03 AM - 9 messages
Hi, VB.NET is saying the file I am creating is in use by another process and won't complete its task of moving the file to the specified destination folder. Here is my code (the main bit anyway).... Private Sub LogChange(ByVal source As Object, ByVal e As ...
Application-Spanning Shortcuts
edx -
7 Jan 2005 1:17 AM - 7 messages
Hi, I have an application consisting of a parent form and several child-forms. The parent form has a menu and uses the default shortcut CTRL+O to open files. I would like to have the shortcut available in the sub-forms (which ...
C++ example for threads?
Dr. Pastor -
6 Jan 2005 10:45 PM - 2 messages
I would like to find C++ example for creating two or more threads, each with its own window, in a .NET and windows forms environment. (No luck in Code Project.) Thanks for any guidance. ...
Using NET controls in VB 6
Bob Costello -
6 Jan 2005 10:29 PM - 2 messages
I have a control that was derived from TextBox. I needed special formatting behaviour. Is there any way I can make this usable in a com aware client, for example, VB 6? Thanks in advance. ...
CryptoStream
Fred Herring -
6 Jan 2005 7:41 PM - 2 messages
If this is not the right new group for a question about CryptoStream please point me to the right place. I have looked at several vb.net code examples for Rijndael encryption but have a couple of questions. My questions concern ...
Color a Row in Datagrid
Rekha -
6 Jan 2005 7:19 PM - 5 messages
I want to display a datagrid with values from a dataset(using Windows application). That works, but now, I want to color the row red if a certain field is empty Can anyone help me? Thanks in Advance Rekha ...
databinding a table with uniqueidentifier PK to a combo in VC++ .Net
bryan -
6 Jan 2005 6:54 PM - 2 messages
I have a table, call it Choices, with two columns, a primary key column called "ID" of type uniqueidentifier and a data column called Choice of type Varchar(10) Col type pk? ...
Delivering of aspx pages fails
John -
6 Jan 2005 6:27 PM - 2 messages
My WEB is served from Win2K with sp 4 as well as a 2003 server. All patches and upgrades are in place on both machines. The issue is that my WEB delivers properly, accessing SQL, delivering all information except for five pages and then the browser times out and I get ...
embed Excel file in Windows Form
Marc Miller -
6 Jan 2005 5:53 PM - 4 messages
Does anyone know of a way to display an existing .xls file in a windows form? Or even references to articles showing how to do this? Is it possible? TIA, m. miller ...
Override Localized Resource Resolution Hierarchy
Eric Goodson -
6 Jan 2005 5:21 PM - 2 messages
Is it possible to override the resource resolution hierarchy of the windows forms resource manager? Basically, I want to create multiple resource files underneath each culture so that an application can have multiple form layouts for each supported culture. Then whenever a form is created, I would like to ...
Get cursor position in combobox?
Becker -
6 Jan 2005 4:16 PM - 4 messages
I have a need to know in one of the keypress events, what position the cursor is in. For example, as I position the cursor and type, I'd like to know for each key I press where in the string of text in the combobox I am. ...
TabPage with Comctl32.dll, version 6
Alexey Vorobyov -
6 Jan 2005 3:03 AM - 3 messages
Hi, I need to show in my application icons with Alpha-channel, so I need to use manifest. And that works fine. But there is a side-effect. Now my TabControl looks strange. Active TabPage has white rectangle as a background. ...
"Cannot access a disposed object" - weird exception.
Ryan Park -
6 Jan 2005 2:26 AM - 8 messages
Hi, //SITUATION I got a panel control that hold a certain position on a form. Every controls or UIs are on this panel. At certain situation, I called dispose() method of this panel control and change it with other panel which contains other business logic and ...
WebBrowser control problem
Vibor Cipan -
5 Jan 2005 10:08 PM - 8 messages
Hi I have two webbrowser controls on my form web1 and web2. I load some HTML in web1, and that HTML file contains links. How to make following thing - when i click on link in web1 control, to load content (loacal file) associated ...
Infragistic suite of Windows Controls
Craig Adams -
5 Jan 2005 4:03 PM - 3 messages
Does anyone have any experience with Infragistic products? I am evaluating them for purchase and I am looking for real life experiences as to their quality and ease of use. I have read some glowing reviews and them seen some reviews that assert that ...
Remove Registry keys
Jeppe Dige Jespersen -
5 Jan 2005 1:54 PM - 2 messages
How would I get key the Uninstaller to remove any keys from Registry that I created during installation? thx /jespersen ...
ListView and ImageList problem - disappearing icons between runs.
Rik Hemsley -
5 Jan 2005 12:00 PM - 6 messages
Hi, I'm using a ListView in Details mode and have assigned an ImageList to it via its SmallImageList property. If I make a trivial change to the code of my application, and then run it, the images show up within the ListViewItems as expected. ...
Getting a text box to focus on application start-up
scparker62 -
5 Jan 2005 6:49 AM - 2 messages
I'm writing a C# program that I want to have the first text box be in focus on start-up. I am using a Text-to-Speech engine to speak the contents of each text box, so when the program starts, I would like to be able to speak ...
Label / TextBox Hot Keys
scparker62 -
5 Jan 2005 6:43 AM - 2 messages
I'm trying to write a C# program that will allow the user to navigate to different text boxes using Hot Keys (ie Alt+P). I also want to have the label for the text box display the hot key for the associated text box. I ...
Combobox with many values
Becker -
5 Jan 2005 12:35 AM - 3 messages
I have a need for a simple combobox on a form in one of my programs that represents city, state. I want to have it autocomplete as the user types. I have a table with these values (about 50k of them) and I'd like to source ...
Inheriting from TabPage
Diego Deberdt -
4 Jan 2005 11:14 PM - 2 messages
I have a form with a TabControl on it. I would like to create customized TabPages. I have added a few class to my project that inherit from TabPage. I can create instances of my customized TabPages and add them to the TabPage ...
Problems creating a custom shaped MDI Child Form
Roger.Smith -
4 Jan 2005 10:10 PM - 3 messages
I have just created an MDI project in VB.NET. I was trying to enhance the looks of a form by making it have a unique shape. I followed the directions from a MSDN article that uses a bitmap for the background, removes the title ...
exception not propagating correctly
RRIMSDN -
4 Jan 2005 8:33 PM - 11 messages
Note this is a repost of an earlier thread (from Dec 2004) under my new, no spam MSDN alias since Microsoft changed the no spam alias rules and didn't tell anyone (you have to re-register a no spam alias to get a ...
.NET framework apps in Terminal Server
ranga -
4 Jan 2005 4:05 PM - 7 messages
hello thanks ranga ...
Multiple Events in a single method
Forch -
4 Jan 2005 1:41 PM - 7 messages
Hello everyone... I have 4 buttons (Button_1, Button_2, etc...), and I want to call the same method regardless of which button is being clicked. Once I am in the event, how do I know which button was pressed? Or do I ...
obfuscate
Pascal Cloup -
4 Jan 2005 11:21 AM - 2 messages
Hello, When obfuscate a localized windows form application, the resulting assembly always shows the Forms in the default language. Someone have a solution? thanks in advance, Pascal ...
Drag and Drop Message from outlook
martinwlarsen@online.nospam -
4 Jan 2005 8:31 AM - 2 messages
I have made a little app that accepts drag and drop from all sources but when I drop a Outlook Email the FileContents is always null. Is there any Microsoft documentation on how to correctly access the .msg using drag and drop from outlook? ...
wiring events
Harshad -
3 Jan 2005 11:25 PM - 4 messages
Last month Bruce Wood responded to my question as below. Can some one give me a little more detail how to "connect up" as mentioned here. Bruce, are you there? Help again, please. 1. If the purpose of MyClass is to interact tightly with a tree view ...
datagrid memory leak?
cyberstrike -
3 Jan 2005 10:17 PM - 3 messages
okay, I have a wierd problem. first of all, when my app loads, it uses a lot of memory. Most of which goes away if I minimize and reopen the application. Second problem is that I have a datagrid on the application and as long as a ...
Clicking a button and pressing Enter key act different in MDI clie
tsiGeorge -
3 Jan 2005 8:45 PM - 30 messages
In our app (see: MDI Client problem - second try) clicking a button hides (me.visible = false) the current client window and displays another client window (form.show the first time and then me.visible = true thereafter ). We have just noticed that if you tab to the button and press Enter the ...
Drag Drop Data pictures to my Form
ravisingh11 -
3 Jan 2005 8:43 PM - 4 messages
Hello all I have a C# application, with two pictureBox 's I can successfully load an image in one of the box drag and drop to the other box. I want to expand this concept so I can drag and drop images from ...
Outlook Style Calendar Control
John Smith -
3 Jan 2005 8:08 PM - 2 messages
Hey folks, Is there a .Net Windows Forms Control which looks like the Outlook Calendar? All I can find is the Drop Down Calendar control, but I don't want it to be drop down, and I need to be able to write text on the individual days. I'm ...
Programming with Dual Monitors
Ben Dunn -
3 Jan 2005 8:07 PM - 2 messages
Is there a way to control which monitor a form is displayed in with VB .NET? We are running on Windows XP with a Matrox Dual Monitor card. ...
New Thread
John Smith -
3 Jan 2005 8:03 PM - 4 messages
Hey folks, This is really simple, but a little hard to explain, so bare with me. I have a C# MDI application. On one of my child Windows there are multiple tabs. One of the tabs is fully populated by a User Control which has on it ...
ListBox:: How to get datavalue
strout -
3 Jan 2005 7:19 PM - 2 messages
In web ASP.net List Box can get the DataValue on selected Item easily. Is there any way I can get DataValue on a Winform ListBox Selected Item? I don't want to use Ctype(selectedItem, DataRowView).Item("ColumnName").toString, neither ...
OT: Replacement for Adobe Acrobat
Simon Verona -
3 Jan 2005 7:13 PM - 6 messages
I'm using the free Adobe Acrobat ocx that comes with Acrobat (v6) to view and print pdf's within a Windows Forms application. This works, pdf's display and print fine. The problem is that acrobat takes several seconds ...
Text not being displayed in a Msgbox
Brandon -
3 Jan 2005 6:39 PM - 2 messages
I was trying to create a simple Hello World application with .Net and when the Message box appears it is blank. There is no text visible on the form or on any of the buttons. If you have any ideas how to fix this problem I would ...
Obtain default curtom control size
MuZZy -
3 Jan 2005 4:24 PM - 2 messages
Hi, I just wonder if someone can help me: I've built a custom UserControl which i use in several apps. Is there a way to obtain it's size (height, width) without actually creating it? Do i need to use reflection to invoke Size property or is there an easier way? ...
Adding/Updating assemblies in GAC during runtime and not during Se
michael -
3 Jan 2005 4:07 PM - 7 messages
Is there an API or suggested technique by which I can add/update assemblies to the GAC during the runtime of my application instead of exclusively during the Setup of the application. I would like to be able to update some ...
MessageBox and Focus
WhiskyRomeo -
3 Jan 2005 3:57 PM - 4 messages
I have a message box that pops up when there is a problem after a user clicks on a button. After the user clicks OK on the message box, I need the focus to return to a different control (a textbox). Intuitively, you would think the line ...
MessageBox and Form load
Jaydeep -
3 Jan 2005 2:13 PM - 2 messages
Hi, I am getting this error when I wrote MessageBox.Show("message") in my Form_Load event. 'System.NullReferenceException' occurred in system.windows.forms.dll' I am developing windows based C# application My solution structure is like this. 1. Test Application(TestApp) Startup project ...
Control Addition safety handling
joeycalisay -
3 Jan 2005 5:49 AM - 2 messages
I was curious about the following scenario but couldn't find the exact handling using disassembler: What happens if an instance of a control already added in the Controls collection of a form is added again? Is there a reference check on each ...
Label with Transparent Background
WhiskyRomeo -
2 Jan 2005 11:05 PM - 5 messages
I need to have text displayed over a picturebox with an image in it. When using a label whose BackColor = System.Drawing.Color.Transparent, the background is not transparent. I came across this explanation as to why .Net does not support transparent ...
Inheritance in forms which inherit template forms
michael -
2 Jan 2005 6:17 PM - 3 messages
I have this "template" form which is based on System.Windows.Forms.Form. I created a new form(the derived form) which inherits this form. I have observed that if, at runtime, I run through all of the controls in ...
Problem with FileSystemWatcher/Tray Notifier App
Paul -
2 Jan 2005 9:39 AM - 3 messages
Hi, I've been developing an application in VB.NET that uses the FileSystemWatcher and a popup notification in order to tell me when files have been downloaded. The FileSystemWatcher code in my project is basically the same one thats ...
Resource Files, Satellite Assembly - newbie
vb -
2 Jan 2005 2:35 AM - 3 messages
This has been bothering me for the last couple of hours. Here is what I would like to do. I want to create a sample when a button is clicked, depending on Culture I would like to display the flag. ...
|
|||||||||||||||||||||||