-
- richtext box display in different color format
by Niku
- 4 Replies
- Last post
by Niku
- Hi, I have richtextbox and in that i would like to display message in custom format title : titlename message : message details error : <red> error message <red> details : detailsmessage I can now align this using courier new font but i would like to display error and error message in red color so after i generated message can i display error message in red. Thanks, Nik
-
- How can I add a form into my main form
by DongMT
- 5 Replies
- Last post
by DongMT
- hi all MSDN fans,
I have a main form with MDI type and I stuck in with my try to add a form ( nomal form, not MDI) into my MDI main form.
Could I have any way to solve this problem
thank for your help.
-
- Hiding a non-.NET window from a WinForms application
by fafnir
- 2 Replies
- Last post
by fafnir
- I have a WinForms (.NET 2.0) application. At a certain moment when my app is performing its operations, I obtain a window handle to a specific window currently open on screen, which is NOT this application's child WinForm window. And, it is NOT a WinForms window; most likely, it's developed using MFC, but I am not sure about that. This window is opened by my app by invoking a method in a managed w
-
- How to make irregular shape forms
by GLS_1985
- 4 Replies
- Last post
by Keith Rogers
- Hello Please how could I make irregular shape forms in C#.net , Mean like ellipse...etc I have Visual Studio 2005 Pro. Thank You
-
- Showing a form on a new thread isnt showing
by Cminor
- 6 Replies
- Last post
by Cminor
- Hi Guys,
I have a method that is called on a newly started thread from my main application. This method then calls for another form to be opened on that new thread. My problem is the following : When i instantiate the new form i get no errors from the debugger but the form doesnt show. Below is the method that calls the new form and also the new form code.
The code below is for the n
-
- Progress Bar - Controlling From a Class
by Wizard Of Oz
- 5 Replies
- Last post
by Wizard Of Oz
- Normally when I work with a progess bar, the code to update the bar is on the same form that the progress bar resides.
On my current project, my form calls a class that performs several loops and I would like to control the progress bar updates from
inside the class, but can not figure how to control it.
Anyone get me started in the right direction
Thanks
-
- Deploying winforms app including sqlserver Database
by liuc
- 2 Replies
- Last post
by CrossEyesDotTees
- Hi
I have to deploy my winforms application
It uses a Sqlserver database (created with sql server 2005)
how can i deploy it including the database
For subsequent update, how can i prevent the new database version overwrite the older one (avoiding loss of data)
thanks
ps. i'm trying to add a sql server database element to my application but i get an error ; it says i need s
-
- Reorder of Row
by billb59
- 5 Replies
- Last post
by billb59
-
I'm really trying to simply move rows in a datagridview around and having no luck at all...
-
- How to remove the foremost column of DGV?
by YeeBoon
- 3 Replies
- Last post
by Damiaan
- Hi,
In the datagridview, there is one foremost column, when you click the cell of that column, it will select the whole row. If you click the top cell of the foremost column, it will select the whole table.
Can anyone please guide me how can I remove this column.
Thanks a lot!
Best Regards,
Yee Boon.
-
- OnPaint acts different in Vista and in Xp
by andriscs
- 3 Replies
- Last post
by nobugz
- Hi, In my application there is a usercontrol which paints an image. If the image is too large, it adds scrollbars to make it scrollable and displays the image centered in width. In Windows Xp the code below works fine but on Vista the image seems "creased", the image looks like it is painted layer after layer with some offset when the scrollbar is moving. Can it be caused by the new grap
-
- visual basic forms
by Jen Eric
- 4 Replies
- Last post
by Zhi-Xin Ye - MSFT
- I've inherited a program that doesn't compile. I'm so new at VB you can smell the fear. The problem I'm encountering is that I recently had to move the project from on server to another. I found the one reference to the old server in the program and changed it to the new location. Once that server was taken offline all of the forms with drop downs errored off looking for the old server. Is there s
-
- Screensaver Settings Dialog
by Salehen Shovon Rahman
- 4 Replies
- Last post
by Salehen Shovon Rahman
- Hi all!
I'm trying to create a screensaver, where the dialog form is part of the Windows XP's display properties. I want the display properties completely disabled while the dialog form is still running just like any other screensaver settings dialog.
Any help
Thanks!
-
- VB.Net Z-Index
by DanDare
- 4 Replies
- Last post
by DanDare
- I can't find a reference or equivalent to z-index in VB.net forms.
I have a form with several very small labels which I use to create a scatter graph. By clicking on any of the labels I can derive certain information. My problem comes when two or more labels share the same coordinates. I only get info from the label on top.
If I could determine the "z-index" of the top la
-
- process.start(fspec) very slow for Winword and Excel
by BLiu
- 4 Replies
- Last post
by BLiu
- Hi,
I need to develope a form which has an Open button, when click on it, it opens a file with the associated program.
the problem:
in Windows Explorer, I associated .txt with Word, .csv with Excel, when I used the following code
Process.Start("c:\\aaa.txt");
or
Process.Start("c:\\aaa.csv");
it took about 30 seconds for Word or Excel to come up.
-
- pop-up window appear for every intraval of time
by karthik.sr
- 1 Replies
- Last post
by Harsimrat
- I want to make a pop-up window appear for every intraval of time.I have to use timer for this. The pop-up window which appears shud bind the data's from the database. I am new to C#......can anybody help me
thanks,
karthik
-
- RichTextBox SelectionFont
by Demitrius Wheelwright
- 1 Replies
- Last post
by A.Russell
- Ok. I know how to get the font of the selected text in a richtextbox with the RichTextBox.SelectionFont. But I noticed I could get text from a richTextBox by using richTextBox.Text[0]. I was wondering how do I get the font of certain text in a richtextbox without having to "select" it.
-
- DataGridView Link Column
by rahvyn6
- 3 Replies
- Last post
by Yu Guo ¨C MSFT
- Hi All; I'm working in VS2005, and have a DataGridView that is bound to a datasource. Is there a way to change a column to be a link style column after the DataGridView populates Here's how I populate it:
Code Snippet DataSet ds = new DataSet(); dgvShipmentHistory.DataSource = null; SqlDataAdapter da = new SqlDataAdapter(mySQLClass.Query, mySQLClass.SqlCon); da.MissingSchemaAction = Miss
-
- c# - disable panels on a toolstripcontainer
by Raoul_BennetH
- 3 Replies
- Last post
by Martin Thorsen - MSFT
- Hi all On a form, i have a toolstripcontainer and some panels on it. Im looking for a way to disable all the panel at once. For example: foreach(Panel p in myToolStripContainer) { p.Enabled = false; } Obviously, the above code doesnt work because toolstripcontainer do not contain a public definition for GetEnumerator. Thank you at all in advance. RaouL.
-
- VB.NET DLL / VB6 COM
by PIBO
- 0 Replies
- Last post
by PIBO
- Hi,
I'm working on integrating .NET DLL in our VB6 Project.
On my computer, I've generated my .NET 2005 assembly, created the tlb file with REGASM /TLB and share it in the GAC with GACUTIL /I.
Everything is working fine in VB6.
My goal is to copy the DLL in the correct directory on my client machines (that's ok) and create a script to register the assembly....
-
- Use Resource File in IDE(VC.NET or C#)
by Rong Sheng
- 2 Replies
- Last post
by nobugz
- I have created a form, on which is a pictureBox, and I have imported a picture(JPEG file) to the resource file, now, I want to show the picture in the pictureBox when form loaded.
How can I complete the code, thanks~~
-
- Help needed with my DataGridView CheckboxCell
by Rhubarb
- 5 Replies
- Last post
by Vidhura
- Except for the CheckBoxCell, my DataGridView is working to my expectations. When I added the CheckBoxCell, I wanted to update another cell if the CheckBox was checked. My intention was that the user will check all rows that require updateing and click a button on the form to execute the update on the cells, then if the chenges are correct, the user clicks the Save button to save the changes to the
-
- strange behavior backgroundworker
by 1337PCS
- 5 Replies
- Last post
by Derek Smyth
- ok so what i am trying to do is update a text box every 1 second. Problem is it wont update the text box unless i put a messagebox.show with it showing anything right below CheckProcList.Enable = true, if i dont have it, it brings an error up saying it wont run CheckProcList.Enable = true till it does something else. Im sure im missin something ovbious but ya i cant figure it help. Suggestions and
-
- DatagridView with Up and Down Buttons
by DavidKiff
- 1 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hello!
I have an annoying problem with a datagridview and some up and down buttons I created for it. The point of the code is so that when I select the down button then the current row becomes un-selected and the row below it becomes selected.
This is easy and all works, however when there are too many items (i.e. the datagridview has verticle scroll) then the item that is highlighed
-
- How can I add a form into my main form
by DongMT
- 5 Replies
- Last post
by DongMT
- hi all MSDN fans,
I have a main form with MDI type and I stuck in with my try to add a form ( nomal form, not MDI) into my MDI main form.
Could I have any way to solve this problem
thank for your help.
-
- Design mode repaint problem
by Pr.wa&#39;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