-
- Maximum number of rows in Datagrid
by swingme
- 3 Replies
- Last post
by nobugz
- Hai, Is there any limitations regarding the number of rows that can be loaded into a data grid using dataset If any limitation exists, is the behavior in dot net 1.1 and 2.0 different I appreciate any help.. Thanks in advance swingme
-
- PropertyGrid Key events not firing
by AaronLST
- 2 Replies
- Last post
by AaronLST
- I wasn't sure if I should resurrect old threads or not, but a couple others have had this issue with no resolution. The KeyUp, KeyDown, KeyPress, and PreviewKeyDown events of my PropertyGrid are not firing. Is anyone able to get these to fire
-
- Drawing parts of an Image
by Alex-MyRpg
- 14 Replies
- Last post
by Alex-MyRpg
- Hi - quick question. I need to use DrawImage/DrawImageUnscaled to draw certain source areas from a certain Bitmap, using a Graphics object, many times. I've tried many variations of the call and they all are very slow... 30~50 iterations takes almost a second. There's nothing I can do about the size of my image file either, unforunately. Making it a small-size PNG doesn't help at all. Also, I real
-
- Listbox control
by Leefri
- 4 Replies
- Last post
by fcoder
- I've got a form with a listbox and a button to add an item to the listbox. Now in the VS2005 editor I've dragged the listbox onto the form. The thing is I would assume that the listbox would be part of the TaskList Class that I have.
I assume if I'm programming full OO that the list box would be created in the class and not by me dragging the listbox onto the form Am I correct
I as
-
- Datagrid - disabling different fields in different rows
by DotNetUser
- 3 Replies
- Last post
by BonnieB
- I have a datagrid that is linked to a datatable. Is it possible to disable different fields in different rows Would the change be made on the datagrid or datatable
-
- Non background image on a label.
by Michael Hogue
- 3 Replies
- Last post
by nobugz
- I want to show a little graphic directly to the left of a piece of text in a windows forms applications. The System.Windows.Forms.Label control seems like the obvious place to go for this... I create my Label control and set the .Image property to my image and set the ImageAlign property to MiddleLeft. Unfortunately, the image is underneath the text... not adjacent to it... not exactly what I want
-
- Web search.
by sparrow
- 7 Replies
- Last post
by Andreas Johansson
- Hi, I try to create a Webbrowser and everything works perfect except the webpage search. When I search a webpage like this " xtremevbtalk " then it gaves me Page not found. If I however try to search a page like this " www.xtremevbtalk.com " then it gives me the real page. My question is: How can I make my code that it search a webpage only with the name of the page and not wit
-
- SpeechRecognitionEngine SetInputToDefaultAudioDevice() fails with "Value does not fall within the expected range"
by ssssssssss
- 4 Replies
- Last post
by nobugz
- Hi.
Strange, this code works under Vista, but fails with totally not logical reason:
////////////////
_speechRecogniser = new SpeechRecognitionEngine ();
_speechRecogniser.SetInputToDefaultAudioDevice();
////////////////
at the second line within SetInputToDefaultAudioDevice() call with this weird kind of exception:
System.ArgumentException was unhandled Message="Val
-
- Resizing and rescalling Forms
by luben111
- 9 Replies
- Last post
by Gavin Jin - MSFT
- Hello,
I have in my project a form with several buttons and ~20 PictureBoxes loaded with some images.
How I can resize and rescale the whole form (by pulling right bottom corner of the form), so I can get all components, images, fonts... everything inside resized and scalled proportionally. For example if I make the form twice smaller I want to make all images to schrink twice, fonts to bec
-
- Events checking
by cosmicX
- 2 Replies
- Last post
by cosmicX
- i would like to ask about checking an event handler in another event... for example, in the button A click event, I would like to check if button B click event occurred or not So, any idea on writing this without using any control variables thank you
-
- Capturing Arrow Keys in Windows Form Applications
by bmw2011
- 7 Replies
- Last post
by nobugz
- I am trying to caputre the arrow keys in an a Forms application instead of windows grabbing them to change focus. The documentation states I need to override the IsInputKey method but no direction on how or where.
Do I need partial class definitions for each control class used with the override
Do I need to to address all keys in the overriding method, or can I just override the key
-
- Bind DataBinder.Eval()
by XCT Adolfo
- 3 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hello...
I Has 2 table in one data set, this data set is fill when I do a httpwebrequest to a WebService. the WebService Send me a XML Data that give me a 1 data set with 2 tables on it.
I'm Using repeater and this is what I do:
Repeater1.DataSource = anserw (thi is the dataset with the 2 tables);
DataBind();
on the asp page I do this.
< div align =j
-
- TableAdapter.Update Fails Please Help.
by Shannon333
- 1 Replies
- Last post
by Shannon333
- I have tried everything I can think of but nothing works.
I have created a Visual C# windows CE 5.0 application. I first created a data source with the wizard, using Microsoft sql server 2005 compact edition database. I created a table called Product with Upc as the key and two other fields. I then dragged the datasource to my form creating the data grid. I then double checked my dataset to
-
- Customizing installation directory
by mranzani
- 2 Replies
- Last post
by velatech
- Hi all! When I install an application onto a computer via ClickOnce,
I do not have a choice over where to store it. For example, when I installed my VB 2005 Express application, the
application files were stored in C:\Documents and Settings\MY NAME\Local
Settings\Apps\...... and so on. How could I customize the default installation directory and how to make it manually choosable when startin
-
- Form size - odd behaviour
by RichLeyshon
- 3 Replies
- Last post
by RichLeyshon
- I have a number of forms (I'm using VB by the way) that have identical layouts, a certain size with a centered Rich Text Box and a Back button - very simple.
However, one of the forms, always displays larger than the others despite having the same Size properties. In the designer, it looks fine.
There is no code whatsoever that could be changing the size - the only line of code added is the
-
- past in datagridview
by Gpg
- 2 Replies
- Last post
by Gpg
- hi all
this subject was already trheaded but i'v not found issue into it
I want copy une row in a grid view and past it into the same grid.
i've setted my grid for copy and, when i past in excel or in notepad, i've found my selection, but not wen i past into my grid. nothing is pasted
if you have an idea...
thank's a lot
-
- datagrid combobox selection problem
by Ather.
- 8 Replies
- Last post
by Gavin Jin - MSFT
- i m dynamically add values in the datagrid combobox column but when we first time select the item it is not select but the second time the item is select. i want to select the item first time can anyone tell me what is the problem
thanks
-
- Click once bootstrapper - VS not 'seeing' new files
by RichLeyshon
- 2 Replies
- Last post
by RichLeyshon
- My application includes pre-requisites on the CD as some people who will want to use it do not have web access. However, I notice that on Vista, my included SQL Exress file bombs out as it insists on SP2.
So I followed the procedure in the link below to generate a bootstrapper for SQL SP2.
http://blogs.rbaconsulting.com/agrocholski/PermaLink,guid,d5b577b9-120f-43f7-b0f3-2adc80f393f5.
-
- HI!!! well is there any way to load a custormise bitmap on a form!!!!!!!!!!how to make its background transparent!!!
by syhzaidi
- 13 Replies
- Last post
by syhzaidi
- hi..
well it is a problem here that i have loaded a bitmap on a form ....now the problem is that my bitmap is a polygon type ....means it has a artistic look...which has not squared cornors....means that how and that cornor are white....and they are also coming on the screen..............now i make u undertand that by a direct x example in direct x we make a image a racing car but the racing ca
-
- Windows Form to access websites?
by jzfredricks
- 3 Replies
- Last post
by Damiaan
- I play a browser-based game. I'd like to make a windows form UI for it, mainly to improve navigation and a bit of automation. To do so I have to; 1) 'fake' http posts (as in submitting html forms) 2) be aware of response.redirects (I might tell it to load page1.aspx, but that in turn might load page2.aspx. I need to know which page is sent back to me). 3) 'fake' certain things like cookies, agent
-
- Bug in Datagridview designer? Columns disappears
by James_Steven
- 3 Replies
- Last post
by Jason517
- I'm having a weird problem with a datagrid i'm working on.
Everything was fine, with about 10 columns nicely adjusted, and then i edited one column, and when clicking OK, all columns had disappeared. Then i press ctrl-z and they get back, but not aligned like before, and some columns missing. I can't ctrl-z anymore.
Now when i try to add the missing columns, i can't use the original name
-
- Design Time or Compiler Bug? Form Resizing But Not Resizing Anchored Controls
by RHartness
- 4 Replies
- Last post
by JOZZ
- I'm pretty sure this is either a bug but just in case I figured I'd ask my fellow developers.
I have a WinForm that has a max size (735,1200) and a minimum size (735, 554) specified. On this form is a series of panels that contain all of the user modifiable contols. These panels are anchored to the various sides of the form and when the form grows or shrinks the anchoring works properly.
-
- show autowords in multiline textbox ??
by manoj
- 1 Replies
- Last post
by Rong-Chun Zhang - MSFT
- hi all,
In my C# window form i have one multiline text box in which i have to enter many words again and again. I wants when i am press any word the its show me list of word which i am entered many time like i am enter m then system show me the list of word which are started with m ( Like manoj,mohan,mango,monika ETC all these word i m entered in text box again and again)
how i can do
-
- HowTo Remove TabControl Margin
by BradR
- 8 Replies
- Last post
by Mick Doherty
- I'm trying to implement something similar to the Java Card layout - a tab control where the tabs are not visible. I found a useful link that shows how to prevent the actual tabs from being displayed. It works great, however, there is a 3px margin/padding that I can't seem to get rid of. Wondering if someone can point me in the right direction. here is the code i'm using
Code Snippe
-
- using XPandercontrol
by no-cool
- 4 Replies
- Last post
by no-cool
- first off all can i use XPanderControl.dll in my porject I been trying to use it. I have added XPanderControl.dll in my project. But i could not see any control in my toolbox to add expander control list in my form. Like in taskvision i can select that list (xpProgress,xpProject) work with it...........how could i do this............
or any alternatives to use like xpandercontrol..