-
- DragDrop file into RichTextBox *without* icon?
by smarr
- 6 Replies
- Last post
by smarrocco
- I wish to drag a file from a folder on the desktop and drop it into a RichTextBox in my app. It works, but all I really need is the path & filename of the dropped file, which I can get from the dropped event. However, my RichTextBox always get the big icon of the file (an empty square with the filename to be exact) dropped into the dropped mouse location. How can I prevent this icon from appea
-
- How to show intermediate form while processing...
by Maheshkumar.R
- 4 Replies
- Last post
by Yu Guo ¨C MSFT
- Hi Groups, I've a complex report, when the user click the report button..I want to display an intermediate page in the middle of the screen with message "Processing please wait...." and once the report is ready i 've to hide this message form. How can I do this and best options in .NET.. Mahesh
-
- EventHandler Timer
by iq662000
- 1 Replies
- Last post
by Mark Dawson
- I have implemented a method that lives
inside EventHandler. Inside that method, I have a while loop. I trigger the timer before it even goes in the
EventHandler. However, the timer stops ticking and the while loop takes
over. When while-loop parameter becomes
false, it leaves the while loop and resumes to the timer again. My windows form
freezes because of this. Any Idea Thank you
-
- how to create custom folderbrowsedialog
by vineel kumar reddy
- 10 Replies
- Last post
by nobugz
- Hi everybody I am new to win forms ... Can anybody plz suggest me how to create our own custom FolderBroswerDialog control .........I want to put an extra text field to FolderBrowseDialog Control ( along with that usual file system directories). I searched the documentation and to my surprise FolderBrowserDialog is a sealed class ....so there is no chance for me to extend its features by simply in
-
- Clickonce not autoupdating
by Anonymous123sdaf
- 9 Replies
- Last post
by TheVillain9
- I have a clickonce application that I have publish and installed on a client pc. When I do a second publishing (second version) via the IDE (VS 2005) I can get the updates via the client by just starting the clickonce app on the client. But if do the subsequent versions via MSBuild and publish the same project file I can NOT get the client pc to get the updates. WHy .....what can I do in MSBuild t
-
- The Color of a TextBox when it unabled.
by yem
- 2 Replies
- Last post
by yem
- Hi!
In default, when the TextBox is unabled, it's text color is very hard to see for me.
what color do you choose at that state
best regards.
-
- Latest Office updates and previous Office updates won't install on my PC.
by Phazon
- 0 Replies
- Last post
by Phazon
- I get the error 0x80070643 and I've tried numerous times at installing them. It's only this months updates and last months.
-
- Virtual mode in datagridview
by DaPosh
- 6 Replies
- Last post
by 2020
- is there any way i can use a virtual mode for a datagridview bound to a datasource. I used the data source wizard to create my connections for the datagridview and now need to implement some sort of caching performance will be a factor in this application. any help will be helpful
-
- How to deploy the same application twice to the same computer, each time using different configuration files?
by Javier Callico
- 6 Replies
- Last post
by Javier Callico
- Hi
I want to be able to deploy the same application twice to the same computer, each time using different configuration files. The first config file contains the connection string pointing to the "User Testing" database, the second configuration file points to the production database - pretty basic, right Well t he problem is that only the latest configuration deployed will work
-
- Passwords!
by Yodatg
- 1 Replies
- Last post
by Holger Graudejus
- Hey guys, Another problem! I have a form designed with 2 text boxs, one for a username and one for a password. I want to be able to set a password and username for a user to log into the application. How do i go about coding this Thanks again! Tom
-
- UserControl: Change default value of base control
by laqula
- 5 Replies
- Last post
by laqula
- I created UserControl that inherits from standard windows control. How can I set some of base control properties to another default value e.g. When I placed my control on a form I want it to have another border than base control.
-
- ListView Control generates beep on left-click/selection changed
by Matt Kellner _MSFT_
- 9 Replies
- Last post
by Matt Kellner _MSFT_
- Hi there. I have a ListView control (.NET FW 2.0) that is generating a beep whenever I do any interaction with it - select an item (arrow keys, mouse), click an item, double-click it, etc. How do I get it to stop doing that
I created the control using Forms Designer, populate the control at runtime when the form is created, and I am only handling one event (OnItemActivate). I have the follo
-
- How to execut an SQL statement using BindingNavigator
by Sculptor
- 2 Replies
- Last post
by Bob zhu - MSFT
- Hello
suppose we have some text boxes already binded with BindingNavigator how to execute an SQL query using the code so the binded data can be specified with this SQL statement
-
- DataGridViewComboBoxColumn value display
by idonotwantaname
- 1 Replies
- Last post
by Zhi-Xin Ye - MSFT
- I am having a problem getting the correct information to display in a DataGridViewComboBoxColumn. I have a table that contains key values that link records to a list of names in another table. I've setup the column as follows:
doctorGrid.DataSource = doctorTable;
doctorTable.Columns[ "contactID" ].DefaultValue = -1;
DataGridViewComboBoxColumn cbc = new DataGridViewCombo
-
- Clean specific DatagridView cell
by Lug Vélez Schmitz
- 1 Replies
- Last post
by Ken Tucker
- Hi everyone...
I fill a datagridview with an image, something like this:
Code Snippet
for ( int i = 2; i < dgvInfo.Columns.Count; i++)
{
for ( int j = 0; j < dgvInfo.Rows.Count - 1; j++)
{
cells[j] = new DataGridViewImageCell ();
cells[j].Value = imageList1.Images[4];
dgvInfo[i, j] = cells[j];
}
}
Now... I want change so
-
- Can't Drag Table Onto DataGrid
by VickyN
- 4 Replies
- Last post
by VickyN
- Hello, I'm totally new to VS.NET and need help badly!
I am following a basic "Using a DataGrid Control to Access a Database" tutorial from a book I picked up. And am working with Visual Studio.NET and SQL Server Express 2005.
I am trying to retrieve and display data from my database. I've created a new project in VS.NET and dragged a DataGrid control onto my form. I also created a conn
-
- Will Usercontrol improves the performance???
by My Vizai
- 4 Replies
- Last post
by My Vizai
- Hi
I've a doubt about using usercontrol.
Can anybody tell the use of Usecontrol improves the performance or it only meant for Reusability.
Thanks in advance
-
- Pen object scaling issue
by Syed Shujaat Hussain
- 3 Replies
- Last post
by Yu Guo ¨C MSFT
- Hi,
I am drawing on a pre-scaled Graphics object (scaled using g.ScaleTransform(sx, sy)) with a Pen object. Obviously, I don't want the Pen object to be affected by that scaling, so I am doing a reverse scaling on my Pen object using p.ScaleTransform(1/sx, 1/sy). This works perfectly and the pen width looks good in both x and y dimensions. The only problem i am facing is that when the DashS
-
- Combo Box Questin VB.net 2005 Item value and item text
by Ljhopkins
- 5 Replies
- Last post
by Eli Gazit
- I have a list of items I need in a combo box, is there a way to put both the item ID value and the TEXT that is displayed. then they slelect one I get the ID Value not the text value
Example
my data
ID TEXT
1 Texas
5 Illinois
16 New York
I show them the TEXT but ID is the number I capture
Dim objconn As N
-
- Dynamic Filling of TextBox AutoComplete not working
by ernieracer
- 14 Replies
- Last post
by Makoto
- Hi guys,
i would like to fill the textbox autocomplete stringcollection "on the fly" while typing. i don't want to fill the collection while initializing, 'cause it's too much data: the sql server-table has about 100.000+ rows. the filling takes too much time and the "autocomplete-popup-find-something-box" itself is getting too slow, too.
my configuration: .NET-Framework: 2.0.507
-
- Make Enter Key Move to Next Column
by ackid32
- 14 Replies
- Last post
by Zhi-Xin Ye - MSFT
- i want to use the enter key to move next col. i did that by traking the key and use
dg.currentcell = dg.item(next_col_index,same_row_index)
but when i was in edit mode i track the ENTER key and use
dg.currentcell = dg.item(next_col_index,same_row_index) the focus is on next_col_index and same_row_index+1 (means the next row!)
i thought the ENTER key acts like terminater of
-
- Unregistering event using reflection
by yuvalken
- 14 Replies
- Last post
by nobugz
- Hi, I'm running a form which contains an activeX on framework 1.1 The problem is that when I add this control to the Controls, it registers the VisibleChanges event, and it's not released. I know that this problem was fix in .NET 2.0 but I still need to run on 1.1 . I've tried different ways to unregister the event using reflection, but all of them failed. Any ideas currently, when I try to run M
-
- Validating properties in a PropertyGrid control
by Snickel65
- 4 Replies
- Last post
by PhilipDaniels
- Does anyone know of a way to validate individual properties contained in a PropertyGrid control and display an error message or an ErrorProvider-like symbol next to the individual properties that are in error
Is there any way at all to show the user his errors entered into the PropertyGrid
-
- Button Hover Color C#
by MattHei
- 7 Replies
- Last post
by nobugz
- I was wondering how to disable the button hover color in a program in the form.cs. Is it possible or is there some other way.
-
- :: I have never succeeded in hiding a property ::
by assassin316
- 4 Replies
- Last post
by assassin316
- Here is my situation:
I have a control inherited from MaskedTextBox . I added a property called Value . I want the users of this new control to use the Value property and not use the Text property when setting a new value to this control. Therefore my intention is to hide the Text property from external use. I tried making the property Private but that doesn't work.
Anyone h