-
- How can I disable on my form the windows keys?
by Martonx
- 3 Replies
- Last post
by Gavin Jin - MSFT
- I have a little tron game (in VB.NET 2005), and very disturb, the windows button. If somebody press windows buttons, the whole game drawing crashed for some mins. I would like to disable the windows keys, but I don't know how Please somebody help me!
-
- How to iterate and check menuItem for setting Click Event for them?
by pvphuc
- 8 Replies
- Last post
by pvphuc
- I want to iterate through the menuStrip to set Click Event for each menuItem. If menu has submenu, it is not set the event. For example : - File => the File wont be set the Click Event. New Edit Close Please help me solve this problem. Thanks a lot pcphuc
-
- how do i get information from a text box on to a rich text box in another form
by random_kid
- 0 Replies
- Last post
by random_kid
- i have a program that i am writing and need help in taking information from a text box on one form and putting it in to rich text boxes on other forms please could some one help me urgently
-
- ComboBox problem
by balusmca
- 5 Replies
- Last post
by Daryl F
- Hi, I did set AutoComplete property of ComboBox as 'Suggest' for get suggetion while typing in combobox. In the 'KeyDown' event of the form, im closing the form if keycode is 'Escape'. But, before that i need to check that combox is Dropped down or not. when AutoComplete mode is 'Suggest', DroppedDown property is always false in combobox. so, how i can get correct value that combobox is droppeddow
-
- How to make VB.NET DataGridView as fast as VB6 DataGrid?
by rwbogosian
- 2 Replies
- Last post
by rwbogosian
- I have two programs: one written in VB6; the other in VB.NET. Using a table with 41025 records the VB6 version fills a DataGrid in about 4 seconds. The VB.NET version takes nearly three minutes to fill a DataGridView. How can the speed of the VB.NET version be improved
They both use the SQL statement: SELECT * FROM [TblSchema].[TblName] ORDER BY [DateTime]
Here's the VB6 version:
'creat
-
- Clearing the controls in Win Application.
by vaioks
- 3 Replies
- Last post
by vaioks
- Hi All, I have a windows wizard application. It contains a baseform and some Usercontrols. I kept all the usercontrols in a List and by increasing the index i am displaying a usercontrol each time. Baseform contains Back and Next buttons. I need to clear the listview contents in the 2nd usercontrol depending on the 1st usercontrol selection. The problem is, application doesn't clear the contents i
-
- RichTextBox problem
by cygnusx
- 4 Replies
- Last post
by Owen37
- Ok,let's say that i have this code string word1 = "safdsa"; string word2 = "sdfafds"; string word3 = "asdas"; richTextBox1.AppendText(word + word2 + word3); And i want word2(just for example) to be with different font and cursor.How to do that
-
- Listview -- Hiding Columns.
by Ke Sun
- 5 Replies
- Last post
by decyclone
- Hello there,
I am writing an app that will verify user priviliges, and then decide which columns of data in a listview to show to them. Is there a way I can selectivly hide the listview columns I have 4 of them, and would like to hide the last 2 when the user does not have the right priviliges. Thanks.
Ke
-
- Details View Add to SQL
by Lawrence 007
- 2 Replies
- Last post
by Lawrence 007
- Hi,
I have a detailsview that is being populated by Items in my Database. I have a button in the Item template as well as a Text box. The item description and Price is being displayed by Labels.
If someone clicks the button, what code can I use to add that "Item" that was clicked to a Orders table in my SQL database with the Text box quantity as the Quantity.
This wo
-
- IssueVision for VS2005/.NET 2.0
by ar43r
- 1 Replies
- Last post
by Gavin Jin - MSFT
- hi Everybody! I'm looking for for IssueVision for VS2005. 3 weeks ago I have downloaded IssueVision2005.zip from href="http://www.msguayaquil.com/Descargas/3/IssueVision2005.zip" and everything worked fine. Now the link is broken. Could somebody post a link to subj, or send me the source to ar43rs@hotmail.de please!!! ar43r
-
- Custom Control Library
by EduardoPayan
- 2 Replies
- Last post
by EduardoPayan
- Hello.
I'm developing a group of custom controls, and i need to link some of them (ie: a label linked to a textbox, so that when i write an Id into the textbox, a description is shown in the label)
I need to know how to list my controls that already are included in the container form in design time, like the way a DataGridView lists the DataSets in the DataSource property
Thanks in advanc
-
- Changing border color of GroupBox
by Kapalic
- 10 Replies
- Last post
by Anonymousx123
- Is there any way to change the border color of GroupBox
Thnx!
-
- How do I deploy a program?
by Shimi Weitzhandler
- 9 Replies
- Last post
by PhilWilson
- I want to deploy a program by giving the user an installation package including everything connected with the program he will ever need, like references, dll's & .NET components,
what do I need to do to implement this
thanks all of you
-
- Binding a DataGridList to existing custom data via the "custom business object" approach?
by Greg C
- 11 Replies
- Last post
by mepurathu
- Hi, Regarding using Visual Studio 2005 Beta 2 and the ability to bind a DataGridView to a custom object. If I have an existing instantiated list of custom objects with the data already populated, say similar to “List<myCustomClass> mylist” based on your Word class: Q1 – How do I tie my already existing list of data to the DataGridView/DataSource (i.e. noting in the data so
-
- C#; Serial Communication and Threads
by mcdvrd
- 2 Replies
- Last post
by RizwanSharp
- I am trying to write a Kiosk application using C# and the vista operating system. What I want is for the application to be controlled by both the user-interaction AND the input from a proprietary serial device.
I created an application that uses the StateManager to iterate through multiple screens due to mouse clicks and button clicks. The problem I am having, however, comes from the SerialPort
-
- prevent dashed border from being drawn around panel
by giangurgolo
- 3 Replies
- Last post
by Oleh Svintsitskyy
- The dashed border that is shown around the panel control (and several other kinds) when BorderStyle is set to "None" makes it more difficult to see exactly how the gui will look when the app is actually running, and while I'm trying to position the controls in the designer. How do I keep the dashed border from being drawn at all Also, in regard to the TableLayoutPanel, when I put a cont
-
- Two forms and checking 2nd forms text box
by ShawnKY
- 10 Replies
- Last post
by ShawnKY
- Hello all, I am coming from a VB .NET background and I am a little confused with how to access another forms properties in C#. Basically I am taking one of the exercises from my VB book and trying to convert to C# to help me learn C#. Anyhow, here is the task at hand. Form 1 is basically a list view of items that were sold for a particular day. One of the buttons on this form allows the user to op
-
- ClickOnce Updates - ObjectModel changes == invalid user Cache. solutions to a common problem?
by Matt. S.
- 0 Replies
- Last post
by Matt. S.
- in our clickonce application we have the problem that an update may
change the object model. if a user works offline and has data
checkedout into their cache, the update may contain a different object
model which is incompatible with their cached data. so data must be
checked in before the update is allowed. does that sound like a
reasonable solution to this problem, and how many have encount
-
- i need some
by Speak
- 10 Replies
- Last post
by Speak
- i need some good tutorials on looping items in listbox2 with all the items in listbox 1 aka :foreach, for, do while, while
-
- label control - writing results back to a label.
by kholmes1
- 4 Replies
- Last post
by kholmes1
- Hi all, I'm completely new to C# and programming. I'm trying to run through some books that I've purchased but I'm having trouble with writing a variable back to a label. Can anyone help Here is my code:
namespace TemperatureConversion
{
public partial class Form1 : Form
{
double celciusNumber = 0;
double farenheitNumber = 0;
public Form1()
{
Ini
-
- Setting DateTimePicker value to null on instantiation of form
by Shippa
- 2 Replies
- Last post
by nobugz
- I have attempted to set the DateTimePicker control's text property to null programatically but when I render the form when the application is debugged it is showing today's date. I also tried changing the value to null in the designer but it replied with an error message stating that "Property Value Is Not Valid" which to me means that the property cannot be made null. Is there any way a
-
- textbox accepts 0.99 to 99.99
by Santhosh Pathipati
- 1 Replies
- Last post
by Rong-Chun Zhang - MSFT
- Sir:
Iam Doing c#.net Windows application .my requrement is A textbox will accepts only greatherthan 0.99 and lessthan 99.99 only but dont accepts characters i dont know regular expressions so please give me the code
-
- A question on using listview and lock object
by wenliang
- 3 Replies
- Last post
by wenliang
- My way of using listview is listed here:
Code Snippet
//////////////////////
//2 使用 ListView
listViewMonitor.BeginUpdate();
listViewMonitor.Items.Clear();
ListViewItem [] item = new ListViewItem [12];
// 添加 程保 !!!
lock (channelInfo)
{
for ( int channel = 0; channel < 12; channel++)
-
- Load real system hand cursor (instead of Cursors.Hand)
by LonelyPixel
- 7 Replies
- Last post
by LonelyPixel
- Hi, the Cursors.Hand mouse cursor icon (the one used for hyperlinks etc.) shows some .NET default icon, along with several more that aren't generally available in Windows. But this one is not the cursor that's configured for that purpose in the Windows settings (Control panel -> Mouse -> Pointers...). When I try to load the real cursor from the file (the location can be read from the registr
-
- cross thread error on form resize
by Cyber22
- 14 Replies
- Last post
by decyclone
- If a thread is working, when I resize the form (or when I maximize it) this error occures:
Cross-thread operation not valid: Control 'panel3' accessed from a thread other than the thread it was created on.
panel3 is a component of the form, but it is not created inside the thread and neither is it accessed from that thread... How can I resolve this error
oh, I forgot... all