|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Windows Formsmicrosoft.public.dotnet.framework.windowsforms
SelectedNode
gmb -
21 Apr 2007 9:58 AM - 5 messages
Hi everyone again, How to check SelectedNode's child? There is ->SelectedNode->Parent, but how to check/control a child? Thanks in advance, gmb ...
Menu Control ( 2.0)
VJ -
20 Apr 2007 7:14 PM - 3 messages
Is there any way I can make the main menu bar for a MDI windows forms application, floating and hidden.. anybody know of the trick? ...
Accessing a forms control menu
Tim Greenwood -
20 Apr 2007 6:52 PM - 3 messages
I've got some base classes I'm creating with a specific set of functionality that needs to be present throughout our app. I'm not finding any way to programmatically get to the control menu in the upper left of each window. ...
Detecting a tray control
Larry Smith -
20 Apr 2007 4:52 PM - 3 messages
Hi there, I need to determine if an arbitrary control appears on a form's design tray or the actual form itself (or other parent container). Is the following check reliable or is there an official way (or something cleaner). Thanks. ...
is there a 'flush' type method in VB.Net
Elmo Watson -
20 Apr 2007 3:32 PM - 3 messages
Here's the scenario - I'm iterating through a directory, dynamically adding picturebox controls to a container, with a For Loop On screen, you don't see anything until it actually fully populates In ASP.Net, there is a command - Response.Flush - you can put this before ...
ReportViewer and Terminal Services
Theresa -
20 Apr 2007 3:36 AM - 3 messages
I have an application with vb.net using reporting services local (rdlc). When I run under windows, it prints fine. When I run under Terminal Services, sometimes it takes 3 times to print. Print, and it looks like it did, but it ...
Disable Form Resizing
Mahesh Nimbalkar -
19 Apr 2007 7:58 PM - 3 messages
How do I disable form resizing for users in Winforms 2.0? ...
copying an event handler in vb.net
Adrian Leeming -
19 Apr 2007 6:26 PM - 3 messages
I am using vb.net and basically I am trying to build a series of buttons at runtime based on menu entries created at design time on a ContextMenuStrip What I would like to do is make the Click event of a button created at ...
Prevent a window from moving when taskbar gets autohide disabled.
KenDev -
19 Apr 2007 5:52 PM - 6 messages
I have a windows form that shifts position when the taskbar autohide property is disabled. The windows does not move back to the original position when the autohide property is turned back on. I have not been able to catch the position changing anywhere in my code and ...
Internal error in ToolStrip
Chavdar -
19 Apr 2007 5:26 PM - 3 messages
Please help! System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.ArrayList.get_Item(Int32 index) at System.Windows.Forms.ToolStripItemCollection.get_Item(Int32 index) ...
DGV CellValidating event not letting new forms be focused
LGHummel -
19 Apr 2007 5:24 PM - 7 messages
I have a form with a DataGridView in an MDI application that handles the CellValidating event. If I set DataGridViewCellValidatingEventArgs.Cancel to true, I can't navigate off the cell within the form as expected. However, If I use the MDIParent to create a new instance if the child form, the focus ...
DataGridViewComboBox required two times click to select item
Neeraj -
19 Apr 2007 3:15 PM - 2 messages
hi guys I put DataGridViewComboBox in datagridview .but its required two times click. i want such that when user click once on DataGridViewComboBox cell, dropdown should comes.I tried but didn't ...
Dynamically Adding Controls to Forms
ks -
19 Apr 2007 11:44 AM - 2 messages
Hi , I am required to create a Table like structure in Windows forms to which i need to add controls dynamically. what is the best control available for this requirement. i tryed using TableLayoutPanel but failed coz each row is accepting ...
clickOnce (more instances of installation)
Ondrej Dobecka -
19 Apr 2007 11:28 AM - 4 messages
Hi, I have created a basic application, which is deployed as clickOnce and has some dll and one config file. Application 1 = main .exe file + dlls + one specific .config file Application 2 = main .exe file + dlls + another specific .config file ...
Change the Internet Explorer Window Title in C#
imad.sabonji -
19 Apr 2007 10:39 AM - 4 messages
HI I am using Visual Studio.Net 2003 and using C# I would like to know how is it possible to change the Internet explorer window title? ie. i want to get rid of "Microsot Internet Explorer" that appears after my application name on the title bar and if possible, get rid of ...
Form.Closing event not fired always when i call Form.Close method
berylwilson -
19 Apr 2007 6:32 AM - 2 messages
Hi, Form1 form1 = Form1; //Form2 is created and closed inside Form1. When I call form1.form2.Close() method the following method is called when I run the application in few machine but not in others. private void Form2_Closing(...) Any clues on this? ...
How to install a font in VB.Net?
Elmo Watson -
19 Apr 2007 4:38 AM - 3 messages
How can you 'install' a font, using VB.Net? I tried System.IO - just copying it, but it didn't add it to the system's list of installed fonts immediately. when my app loads, it populates a combobox with the installed fonts - then, I need to install a font, clear ...
Get computer's Windows or Windows Fonts directory
Elmo Watson -
19 Apr 2007 12:25 AM - 2 messages
In vb.net 2005 - I know that to get the system directory, it's system.environment.systemdirectory. I need to find the fonts directory - - which is normally inside the Windows directory - so how can I locate either or both of these (if I find the ...
Application.Run questions
SushiSean -
19 Apr 2007 12:24 AM - 2 messages
I need create winForm application with this architecture I have code [STAThread] static void Main() { Application.Run(); ...
ClickOnce broken
GiddyUpHorsey -
18 Apr 2007 11:13 PM - 3 messages
One of our users has a problem reinstalling ClickOnce after running System Restore and uninstalling our ClickOnce application. They get the following error when trying to reinstall the ClickOnce application. Why does this problem happen and how can I fix it? ...
windows program deploy question
Paul -
18 Apr 2007 7:30 PM - 8 messages
Hi, I did a batch build on a 2005 .net windows app and copied the exe file to a machine running windows windows 2000. When I tried to run it I got the error missing dll mscoree.dll. I then tried to run it on another machine ...
Shared settings
MarcG -
18 Apr 2007 3:12 PM - 12 messages
I have a solution with multiple projects, each with its own EXE, and its own Properties.Settings.... They are all part of the same solution. I want to have a set of settings that are shared by all of the EXEs. That ...
How to find Internet IP address from vb.net
Tim -
18 Apr 2007 2:55 PM - 6 messages
Please give me some advices. I know how to find my machine IP address, but don't know how to find Internet IP. Please help me. Thanks, Tim ...
Hexadecimal displayed instead of Integer
Ibrahim. -
18 Apr 2007 2:10 PM - 2 messages
Hello all, I have a c# project, while debugging I get the object values in Hexadecimal format, how do I get it Integer format by default, in debugging mode. I dont want to see it in Hexadecimal format. do I have to make any setting in visual studio.net 2005 ...
SHGetFileInfo
JB -
18 Apr 2007 11:37 AM - 3 messages
I am using SHGetFileInfo to get the list of icons for a bunch of files, and taking those icons and putting them in an ImageList. The ImageList is then being used with a ListView control to display the list of files and their associated icons. ...
dual hard drive
cordezzy -
18 Apr 2007 12:42 AM - 4 messages
i was trying 2 insall windows on a intenal haeddrive for my laptop. i gave up on it because i keep getting a error message, so i took off the harddrive. now when it trys to boot up it gives me the option of booting up from two ...
Error when calling a webservice from a windows service
GD -
17 Apr 2007 9:42 PM - 5 messages
Hi, I am trying to call a webservice from a windows service application. It works only if I launch the windows service app from VS.Net 2005 (Worked around from Main()) or from a winform test application. However, it generates a kind of security error after I install and start the service in ...
Visual Studio 2005 and XAML
Flack -
17 Apr 2007 9:08 PM - 2 messages
Hey guys, I've never used WPF/XAML and would like to start playing around with it. Am I able to do so using VS 2005? If so, can someone tell me what I need to download/install to be able to develop apps using XAML? ...
Two-layered image control
Massimo -
17 Apr 2007 9:03 PM - 5 messages
Hi to all. I need to create a custom control which does the following: - It should contain a first, fixed image. - It should manage a second image, which will change programmatically. - It should display the second image on top of the first one, updating it in ...
Global Variable
Elmo Watson -
17 Apr 2007 7:32 PM - 3 messages
I have a handfull of variables that I'd like to make Global to my application In the old VB6 days, I'd create a Module, and put them there, accessible from any form in the application However, in VS.Net 2005, I added a module, and it acts somewhat like a ...
problem with inherited Windows Form
Brandon Owensby -
17 Apr 2007 4:05 PM - 2 messages
I wrote a screen that has a grid on it and a few controls. Later I needed the same screen but with a few more controls...but I still needed the old configuration. Since this was the case and since there was alot of code ...
ClickOnce Deployment in a Plug-in architecture context
Frank -
17 Apr 2007 3:18 PM - 3 messages
Hi all, I've been browsing through the different posts for a few days now but I didn't found the answer. We are considering the use of the ClickOnce deployment framework for a C# application that has a plug-in architecture. Plug-ins are developed as ...
Generated Program.cs uses special way of disposing native resource
martin -
17 Apr 2007 11:54 AM - 3 messages
Hi, To properly clean up native resources, one should always use "using (Blah blah = new Blah())" for types "Blah" that implement IDisposable. It seems to me that the code generated by Visual Studio in Program.cs doesn't live by ...
datagridview multiselect without keyboard !
oliharvey -
17 Apr 2007 9:53 AM - 3 messages
howdy.... in a datagridview - the user can select multiple rows by holding the Control key down as they click with the mouse. I am looking for a way to achieve the same result without the use of the keyboard (I have a touchscreen application). ...
Forms and labels
Allen Maki -
17 Apr 2007 2:55 AM - 4 messages
Hi Everybody, I am new to Famework Programming and I need your help. In Visual C++ .NET Forms. Labels. If I want to add XXXX to the label, I can do that through the "Text" property in the property editor. But I want to add the XXXX during run ...
Open File Dialog problem
Elmo Watson -
16 Apr 2007 7:48 PM - 2 messages
I have a combobox, listing file extensions (JPG, BMP, etc) in my OpenFileDialog, I have: Const sFilters As String = "JPG (*.jpg)|*.jpg|GIF (*.gif)|*.gif|BMP (*.bmp)|*.bmp|PNG (*.png)|*.png|TIF (*.tif)|*.tif|Wmf (*.wmf)|*.wmf" Dim ofd As New OpenFileDialog ...
Login window vs Main window
Flomo Togba Kwele -
16 Apr 2007 5:34 PM - 3 messages
I have developed a Windows application which is started with a Shared Main object. The first thing it does is launch a login window. If the user types in a correct company, username and password, the login window is disposed and the ...
How to read Default Values from App.Config for User Settings?
herceg -
16 Apr 2007 12:54 PM - 2 messages
Hi all; How can I read default values for user settings from the app.config file? I've seen someone mention using the .DefaultSettingValueAttribute and reflection, but I don't know how to use them. I am trying to do the following: ...
Draw in form titlebar from external code? [.NET 2.0]
Steve Marshall -
16 Apr 2007 2:31 AM - 2 messages
I want to be able to insert some text into the active form's title bar, from code that is external to the form. It's essentially a timer showing time elapsed since something happened in the application. I ...
Databind a nullable date to a masked textbox
RobinS -
16 Apr 2007 1:03 AM - 6 messages
Is there a way to databind a nullable date to a masked textbox? I have a nullable date defined in a business object and have bound it to a masked textbox, but when I clear out the date in the field, it will no ...
Save File Dialog question
Elmo Watson -
15 Apr 2007 11:31 PM - 2 messages
Let's say I have a filename in my Save File Dialog - then, from the filter dropdown, I choose a different filetype - - How can I change the filename (in the textbox), to show the extension that was just changed in the filter dropdown? ...
print the current time on the screen
Allen Maki -
15 Apr 2007 9:10 PM - 4 messages
Hi everybody, I need help. I want to print the current time on the screen. After research I managed to run the codes below in regular C++. But I could not make it to run in .NET Framework environment. Can anybody tell me how to make these codes to work ...
Newbie question: how to set focus to a usercontrol
Christian Stapfer -
15 Apr 2007 7:19 AM - 2 messages
I have a usercontrol that contains another usercontrol, which in turn contains a PictureBox control. Under a certain condition, I need to set the input focus on the outermost usercontrol. But once the PictureBox control (the outermost usercontrol's grandchild) has got ...
|
|||||||||||||||||||||||