-
- Problem with form nesting!
by x-ninja
- 6 Replies
- Last post
by x-ninja
- How to nest the UI of an existed application software in a Form(or Container), when the form is opened, the UI of the software is shown in this form somewhere. For example, I want to nest the UI of Spark in the left side of a SplitForm, how should I do Thx for ur help!
-
- Docking interactions between sibling controls
by omgtifbs
- 2 Replies
- Last post
by Demitrius Wheelwright
- When one control is dock-fill and one control is dock-[right or left or top or bottom], I believe the behavior is supposed to be that the "fill" one takes up whatever room is left over after the dock-edge control takes its space. I.e., the controls are supposed to be adjacent but not overlapping. But this only actually happens when the dock-fill control is put into the Controls collectio
-
- Displaying a Tooltip if text entered is UpperCase
by Phiban
- 6 Replies
- Last post
by Phiban
- Hi all, I've a quick question, I'm building a Login forum for my application and I was wondering is there a way that when a user is typing his username/password that if he/she enters a Uppercase char that a tooltip will be displayed to tell them that Caps lock is on Heres what I was thinking: Private Sub usernametxt_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressE
-
- Child form focus problem
by swingme
- 4 Replies
- Last post
by Rong-Chun Zhang - MSFT
- hai, i have a serious problem what i never expected will cause a problem. In windows form A i want to display one dialog D1. when i press the enter Key OK method of D1 should be called. So far its ok. Now having focus in D! i display one more Dialog D2. When i press the enter key with D2 having focus, the OK method of Dialog D1 is getting called. How this happens What have i done wrong...To get an
-
- Active Hosts on Network
by Tricos
- 2 Replies
- Last post
by MayRob2
- Someone gave me an api way, but I'm hoping there is something in the framework that would return me a collection of all "active hosts" or "ip addresses in use" on a network.
Any ideas anyone
Tony
-
- adding a combox in my datagrid, but the datagrid is bound to a datasource how do this without affecting the binding method
by jilan3109
- 3 Replies
- Last post
by Rong-Chun Zhang - MSFT
- I using VB 2005 i created form which has a datagrid and it is connected to a sql database. Im able to update, insert records etc. I want to make my datagrid a little more user friendly by having some predefined selections with a combo box of some sort for the user to select and store back to the database.
Can someone show me a example if i can do this in my datagrid even though im using bi
-
- Emergency Problem with Desktop Handle when All Windows Minimized(plz Help)
by arash.vezvaei@micr
- 1 Replies
- Last post
by Yu Guo ¨C MSFT
- Hi, I wrote a piece of code to get the locations (Coordinates) of all desktop Icons(e.g The Location of "My Computer" Icon which is on the top left corner of my desktop is {X=2,Y=23} ) and I used these functions to get the desktop handle and so on. IntPtr vHandle = FindWindow("Progman", "Program Manager"); vHandle = FindWindowEx(vHandle, IntPtr.Zero, "
-
- RichTextBox_Leave event never getting fired when the form is closed
by Michael Harris
- 1 Replies
- Last post
by nobugz
- I am handling the RichTextBox_Leave event that takes the typed text and saves it to a database. This works well except when I close the form. If I am typing in the rich text box and then close the application with the focus still in the rich text box the leave event handler is never called and thus I lose the text I was typing. My Form_FormClosing event handler is called but I need to somehow han
-
- Deploying ClickOnce from multiple deployment servers
by Enemaerke
- 5 Replies
- Last post
by paolo1959
- Hi
We have kind of a special deployment scenario and are not sure we can get our head around how ClickOnce may or may not help us. Here's the setup
An application needs to be deployed to clients on different network, that is not all clients are able to see a single unique deployment server. This means a number of different deployment servers on the different networks will be deliveri
-
- Getting current row values from my BindingSource in C# VS 2005!!!
by Mathew1972
- 11 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hello,
How can i get a current row values from my BindingSource. I have a DropDown List that points to a view, and I set a column of my view to be displayed in my DropDown list and another column as it's value. I need to display another column of my view in a ReadOnly TextBox right near my DropDown list.
Thanks so much in advance,
Mathew
-
- using customautocomplete with keydown
by Fox-Jazz
- 5 Replies
- Last post
by Fox-Jazz
- I am using a custom autocomplete with keydown event.
Since someone suggested putting the keydown event on the form, I am testing for it on the form, however how do I know if the textbox has focus.
I can create a variable I guess and put it in the form and trip it everytime the textbox has or leaves focus, but this seems messy.
Is there an attribute on the textbox that allows me fo
-
- Launch icon in the icon tray at the end of setup.
by fasttrack
- 4 Replies
- Last post
by Varun Gupta
- Hello,
I have this problem:
I have created a vb.net appliaction and deployed. Everything works...the application is installed with installer, works and can be de-installed with install and remove application.
The apploication, also create an icon and it is installed in the icon tray: if the exe is run the icon is show.
My problem is:
how to launch (show) the icon in the icon tra
-
- Pass Parameters between Forms !
by Rushd R. Momani
- 1 Replies
- Last post
by Steve Py
- hi here what i want to do.. when run, its mainly 1 form..(Form1) with some buttons.. one of them is "Setup the Form" (which change the form appearance or add/remove some controllers in it). when i click the "Setup the Form" button, i made new instance of a 2nd form (Form2) .. which have some text boxes, and check boxes. ill ask about the simplest thing (just to get the idea!!).
-
- changing the icon for windows form using c#
by Ramesh goud
- 10 Replies
- Last post
by NathanWang94086
- Hi friends,
I want to change the icon of a window form which wil be on the top of the form..
i have taken a new icon and replaced the oldone ..new icon was replaced but there is no change in the form icon..
In the properrties also i changed.
but i did not get it............
Ramesh d
-
- vb.net ListView control
by nbk5533
- 2 Replies
- Last post
by nbk5533
- Does anyone know of a good link, a resource article or some code on exporting Data from a ListView control to Excel (using VB.Net)
I can't use a DataGrid. I was but once I implemented Multithreading, I couldn't use the DataGrid and had to use the ListView control.
I would appreciate any help.
Thank you,
Wallace
-
- VS 2005: how to do a batch update
by rtaiss
- 1 Replies
- Last post
by rtaiss
- Hi, I have a SQL table called BarCodes . BarCodes actually includes a kind of bar code numbers that should be assigned to printed tickets. Each time we print a ticket, we give that ticket a barcode number and we mark that barcode as "already assigned = true" in BarCodes table So you guess my need: Let s say I have an array of tickets: tickets = {ticket1, ticket2, ticket3} I need to send
-
- PowerStatus
by haihtomy
- 5 Replies
- Last post
by haihtomy
- can anyone help me with this problem
Dim myPowerStatus As PowerStatus
TextBox1.Text = myPowerStatus.BatteryLifePercent.ToString
Variable 'Pwr' is used before it has been assigned a value.
-
- How to display xml in webbrowser control
by tonn
- 2 Replies
- Last post
by tonn
- Hi,
I am creating an in memory xml document which I want to display using a WebBrowser control. It works fine if I save the document to a temp file and use the webBrowser1.Navigate(...) method. A clear xml document including tags, comments etc is shown.
Now I want to do the same without using the temp file.
How to do this
I has been suggested to use the webBrowser1.DocumentT
-
- XBAP Deployment Problem
by Will Flor
- 2 Replies
- Last post
by Steve Greatrex
- Hello, folks.
My problem today is with the deployment of an XBAP my team is currently developing. (I realize that this is a Forms forum but I thought that you guys would be the experts on ClickOnce, and that seems to be the problem here.)
I can deploy and run it from my own machine if I access it within the LocalMachine zone (i.e. from an absolute directory path starting with a lette
-
- DataGridView and ContextMenuStrip
by Jeff Siegel
- 14 Replies
- Last post
by jr78
- Hello all, 2 questions about using ContextMenuStrip in conjunction with DataGridView: 1. How can I get a ContextMenuStrip to open only if the user right-clicks on a cell, and not a cell header/row header/background/etc My current solution is to associated the CMS with the columns, and not the DataGridView, i.e.: datagridview1.ContextMenuStrip=Nothing For Each c As DataGridViewColumn In data
-
- Working with multiple forms
by Arturo_08
- 2 Replies
- Last post
by Arturo_08
- Hey,
I have two forms open and visible to the user. We'll call the form in the background: form 1, and the form in the foreground: form 2. Form 1 initiates form 2. After form 2 is initiated, I disable form 1 - I want both forms to be visible to the user, but only form 2 to be accessible by the user.
How do I get form 1 to be re-enabled if form 2 cannot call any form 1 functions nor c
-
- Hiding / showing 'slideout' panel?
by planetthoughtful
- 3 Replies
- Last post
by nobugz
- Hi All,
I'm relatively new to C# and to Windows Forms programming in general. I'm wondering if anyone can give me some idea where to begin reading about how to programmatically show and hide a panel in my application.
In essence, I'm trying to simulate the behaviour of the tool or solution explorer tabs in the Visual Studio IDE, where you click on the tab and the panel moves out, a
-
- C#: Can't Get a Form to Scale
by DennisV
- 6 Replies
- Last post
by DennisV
- I cannot get my forms to scale.
Form1 is too small on the PC the program is going to run on.
I have AutoScaleMode set to "Font."
I put this .Font = new Font ( this .Font.FontFamily, 9); in Form1_Load, and this did enough in some areas (went from 8.25 to 9 font size).
I looped through the child controls but not all child controls scaled properly.
I
-
- c# program not reflecting changes made when running
by 123shailesh
- 2 Replies
- Last post
by Citizen on the earth
- hi, i am having some trouble running my C# code. I made soem changes to the forms but it is still showing the previous layout. I tried building and rebuilding the solution, but still it is the same. I tried adding new elements on the form but they are not being displayed at all. I even tried delelting some forms but they are still being displayed when my program is run. what coudl be wrong
-
- Design mode repaint problem
by Pr.wa'el
- 2 Replies
- Last post
by Pr.wa'el
- Hi , I have small problem. In one of my previous threads i faced problem with changing Form background to be with gradient color , and finally problem solved with this code which i wrote within OnPaintBackground event . My Code is like this code
Code Snippet
Protected Overrides Sub OnPaintBackground( ByVal pevent As PaintEventArgs)
m_GradientBrush = New Drawing2D.Linea