-
- Multiple Forms in tabs
by only_1_dragon
- 1 Replies
- Last post
by Sheng Jiang (?êÉ)
- I'm new to developing with WinForms so I'm probably using the wrong terminology or asking the wrong question, but I've been trying to find out how create a MDI app that supports multiple forms in tabs.
I've seen applications that have 'workspaces' that are tab based that allow the user to select a tab and each of the tabs can have multiple forms and when you switch tabs you see only the f
-
- Database Search
by Jay21
- 2 Replies
- Last post
by mberseth
- I just started using Visual Web Developer Express and want to create a web page which connects to a database table called contacts. What I want to do is have have the user type in the last name of the individual to be searched in a text box and have the results display from a button click event. My question is, how do I code the button click event to grab the requested data from the table which wa
-
- Horizontal Scrolling
by hhoersting
- 10 Replies
- Last post
by hhoersting
- I'm having problems with a C# application. It has several panels and user controls that change layout when the main window is resized to be taller than it is wide (portrait mode). One of these user controls contains thumbnails, and scrolls as necessary to display them all. In landscape mode, the thumbnails are tiled vertically; in portrait mode, horizontally. When the window is in portrait mode
-
- Notifying a progressbar
by Frans Vander Meiren
- 6 Replies
- Last post
by Frans Vander Meiren
- Hi
I have a class in a seperate file. The class is responsable for manipulating thousands of records. Is there any possibility to drive a progressbar in a form that's using the class so one can follow the progress of the action
Thanks a lot
-
- How to create custom button to minimize the form? VB.net or VS 2005(vb)
by Vaish
- 4 Replies
- Last post
by Vaish
- Hi
I have set the form property's "Formborderstyle" to None . So I dont get close, rezise and minimize button and could not move the form around by mouse.
My question is how do I create a button to minimize the form to the task bar (yes only the minimize ) button. If possible could someone please give me a code to move the form around by click and holding the mouse button.
Advan
-
- How to dock form into a form or design a panel at design time
by Scott Kellish
- 3 Replies
- Last post
by Scott Kellish
- Moving from Delphi (win32) to C# (VS2005).
I'm developing an application where I need to "dock" different editor panes into a window based on a selected object in a tree. Delphi had the concept of a "frame" which was like a form in that it could own other components and could be layedout at design time. Unlike a form, a frame could be parented by another form.
Now
-
- DataGridView Custom Columns.
by TkNeo
- 3 Replies
- Last post
by Kev07
- Hi,
I am trying to implement a custom control that can exist in a DGV cell. I had the control already working at many places in my UI but its the DGV part thats tricky and difficult .....
Custom Control:
A combo box that shows a mapped version of database values. So the database column would have B and S and the combo box would display to the user "BUY" and "S
-
- how to change the backcolor or hide the left select column of datagridview?
by jkarpago
- 1 Replies
- Last post
by nobugz
- Hi: I am loking for the way to get and set the properties of the select column that datagridview gets by default, the one that indicates with an arrow what row is selected. I do not find the way, can anyone help me Thanks so much
-
- Leading And Kerning of the Text
by vijay.bhaskar@grey
- 4 Replies
- Last post
by vijay.bhaskar@greypad.com
- Hi friends,
I want to know about "Leading and Kerning of the text". For this i need some help from you.
Which site is good for it.Please give some Links...
Thanking You Vijay
-
- [visual C#]how to run myApp on other computer (how to create setup.exe)?
by Beezgetz
- 8 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hello! I finished myFirstApp, and now I want to distribute it. Simply copying myApp.exe file from Debug folder is not working on others computers. So I'd like to create some kind of setup/instalation wizard/application, that would actualy instal it on other computers. I have free version of visual C#, and I don't know how to create setup.exe file. And another thing...after sucsesfull installation
-
- DrawLine Doesn't Work First Time
by DanDare
- 3 Replies
- Last post
by paoloTheCool
- I'm having a problem drawing a simple line on a label if the label visible is initially set to false. If I click the button a second time the line appears. I've tried refreshing the label which didn't help. My guess is that the label is still being made visible when the DrawLine is called. I note if I insert a delay by calling a messagebox after lblChart.Visible = True the line appears when the me
-
- ClickOnce NUBE - Security Warning
by Alan Z
- 2 Replies
- Last post
by Alan Z
- Hello,
I am new to the concept of ClickOnce and I like it, however, I am slightly confused about one bit of information.
When I deploy my application via ClickOnce, when users attempt to launch the application, they are prompted with an "Application Install - Security Warning" prompt. My question is: How do you set the value of the "Publisher"
Thanks!
Al
-
- Subclassed ToolStrip + Overriding OnPaint Event
by Nazgulled
- 1 Replies
- Last post
by Nazgulled
- I have subclassed the ToolStrip and ToolStripProfessionalRenderer to make a toolbar work much like of Thunderbird's (version 2) options dialog. I have that goal accomplished but I have a little issue... I also tried to override the OnPaint event of ToolStrip so I could 2 little lines just below the ToolStrip, but for some reason, it's producing unexpected results. The first 2 buttons in the ToolSt
-
- Reg. Windows forms .net 2.0 using c#
by vishruti
- 3 Replies
- Last post
by vishruti
- hi ,
i am developing one application using windows forms in .net 2.0 using c#. i am displaying data from the oracle database in the datagridview. but i need to refresh those data every 5 minutes. i can do in web form using <meta refresh>. but in windows forms i am not getting any idea.
can anybody give some idea regarding this
thanks and regards,
vishruti.
-
- Form opens => control should get focus
by HuberSepp
- 1 Replies
- Last post
by nobugz
- If the form opens, then one of the controls (myControl) should get focus. I have in "on load":
this .ActiveControl = myControl;
If the form opens, myControl has focus, but the focus is not shown. For example, within CheckedListBoxes the dotted frame is not shown. I tried a workaround to press a key in "on shown":
SendKeys .Send( "{DOWN}" );
That works, bu
-
- Custom Action that uninstalls a service
by Simon Olsson
- 1 Replies
- Last post
by Mike Wade - MSFT
- Hi
I have a windows service (A) that installs another windows service (B) and keeps it up to date by downloading a new version when available. Service A is installed by an msi package created in Visual Studio and on a uninstall that service will be uninstalled. My problem is that the other service B, downloaded and installed by service A, will not be uninstalled. To solve this I am thi
-
- Creating a smooth dragging of something similar to a form
by Predator14567
- 1 Replies
- Last post
by nobugz
- I am using xna, yes, I realize that I may be in the wrong section, but I'm not, because this doesn't only pertain to xna, its pretty much any set of coordinates, because it all acts the same, windows forms, ect.
Basically, I need to know how to make a smooth dragging of something, using the mouseposition, and the objects location, but I want it to be much smoother than doing object.location=mou
-
- Graphics are being erased by other windows or off screen movement...
by David S. Anderson
- 10 Replies
- Last post
by Dav? S. A???????
- I have am working on a program that monitors the download speed of ones internet connection and draws the speed to a graph. The graph is a simple line graph that is drawn using GDI+. The graph is updated in the WebClients DownloadProgressChangedEventHandler. The problem is that when I move a window or move the program off screen, the graph, or the portion that was covered or went off screen gets e
-
- Move between controls
by worldhello
- 3 Replies
- Last post
by worldhello
- Hello everybody
I need to implement next situation : user need to move between several controls in window by clicking on ARROW keys of keyboard
That's window application. How to do it
Thanks
Yosef
-
- Stripping Coloured Text From RTB
by A.Russell
- 2 Replies
- Last post
by A.Russell
- I am looking for a fast way to strip any text that is not black from a RichTextBox control.
I started to look at writing a parser to scan throught the RTF, but given the nature of the RTF format that would be quite an undertaking.
Currently, I am using the following slow and inneficient method:
Make an array of words from the RTB
For every word in the array:
find the co
-
- Last chance exception caught in Main() : does not work outside VS?
by el_d
- 7 Replies
- Last post
by el_d
- Hello.
The problem is very easy to reproduce.
Create a default windows application project in C# with VS express (it may also occur on other languages or versions of VS, but I did not test it).
Add a button on your wizzard created form. Use the wizzard to create a OnClik() method, and fill it with :
private void button1_Click( object sender, EventArgs e)
{
throw new
-
- RichTextBox not adding lines of text quick enough.
by Siderius
- 5 Replies
- Last post
by Siderius
- Greetings all,
I have a small problem with RichTextBox.
Task: What I am trying to do is receiving data from a TCP socket and display this in a RichTextBox and ofcourse color different lines different colors depending on what they are.
First I tried using
rtb.AppenText(s);
rtb.Select(text);
if (s.contains("string").SelectionColor = System.Drawing.Color.Re
-
- Dataset not accepted into FilePutObject
by janue
- 11 Replies
- Last post
by Zhi-Xin Ye - MSFT
- I used some code in the internet but I'm not sure how does it goes wrong:
Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
SaveFileDialog1.Title = "Select a file to save data."
SaveFileDialog1.Filter = "File Type (*.txt, *.xls)|*.txt; *.xls;"
SaveFileDialog1.InitialDirectory = "c:
-
- Populate ToolStrip with Standard Buttons
by Tile
- 4 Replies
- Last post
by Tile
- Is it possible to populate the ToolStrip on top of my Form with standard buttons like 'File Open', 'Save', 'Print' etc as seen in many Windows applications Where can I find the bitmaps that represent these actions
-
- Need update location of my clickonce installation?
by eldrige
- 1 Replies
- Last post
by Yu Guo ¨C MSFT
- Hi,
How can I find my update location path (I need it because I want to load my own INI file from share by starting my application) I already tried to fint it using:
Dim str As String = _ System.Deployment.Application.ApplicationDeployment.CurrentDeployment.UpdateLocation.LocalPath
Dim myFile As New System.IO.FileInfo(str)
But it doesn't work!
I tried some combina