Answer Questions
Zheka Adding button dynamically to an existing control
Hi all, My current client has a requirement for a datagrid that has a collapse/expand button at the top left corner of the Caption row. This is because there are a lot of datagrids on our forms and some are only relevant/useful to some users (but they all have to be there.) It is nothing to do with drilling down or having child-parent data - it simply needs to minimize the datagrid on the form so only the Caption row is showing. When they cli ...Show All
Grayson Peddie ComboBox Sorting Bug
I don't know if this has been adressed here already, but I didn't find a thread about it. When you bound a Combobox to a DataTable and set combobox sort property to true, the displaytext's are sorted but the values are not and this m ...Show All
PhilSmith ToolStripContainer bitmaps in Document Explorer window.
Hi, When you place ToolStripContainer on a form, it provides a ContentPanel control and 4 ToolStripPanel controls that you can see in the Document Explorer window. Internally, the ToolStripPanel control in the System.Windows.Forms assembly has associated a bitmap resource with the attribute ToolboxBitmap(GetType(ToolStripPanel), "ToolStripPanel_standalone.bmp"). However, the Document Explorer window is showing a different bitmap f ...Show All
Siebe Tolsma updating DB & databinding of a textbox
HI, I have VB studio.NETv2003,sqldatabase and a windows appl. IN this I made a master/detail form, wich shows the mastertable and several childtables. I used the databinding of the form, to navigatethrough the dataset, and for synchronising all the child tables with th ...Show All
noyesar AutoScrollPosition can't be setted
Hi, I am trying to set AutoScrollPosition to some value but it doesn't change. How can I solve it Thank's Alexei Hi, I have the wrong data. When I get the value from AutoScrollPosition it gives me X,Y smaller than zero. But when I want to set value I must to set X,Y bigger than zero. Thank's Alexei ...Show All
Tino.NB Where is sqlexpr32.exe?
I have built a C# application that I'd like to distribute on CD with all prerequisites included on the CD so that the end user doesn't have to download any of the redistributables. They include .NET framework 2.0, Windows Installer 3.1, and SQL Server 2005 Express Edition. When I initially tried to publish with the "Download prerequisites from the same location as my application" setting, I was presented with errors such as: Error 5 ...Show All
ZGutt import info into dhcp
im trying to find away to import infermation from a text file our webpage generats into the dhcp database. we assign ip addresses using the users mac address and instead of entering each one by hand i want to have it inport the list we generate. can this be done thanks Use it can be done and you will have to look at WMI, this can be done using vbscript or the System.management namespaces. ...Show All
PK14 Databinding to n:n Table
Hello, i have the following situation: 1 DataTable containing Questions (qID, question) 1 DataTable containing Answers (aID, answer) 1 DataTable connection the Questions to the (multiple! ) Answers. (qaID, qID, aID) now I want to bind a Combobox and/or a CheckedListBox to this tables. Combobox for questions with one possible answer, CheckedListBox for those with n possible answers. How can I realize this with standard Dat ...Show All
Nicholas Key Easy Question: new Table() and new Label()
Hello, I am trying to create a new table in Page_Load(). The number of rows will be determined at runtime. Sofar i have: public void Page_Load(Object sender, EventArgs e) { Table tblClients = new Table(); tblClients.set_BorderStyle(BorderStyle.Solid); tblClients.set_ID("tblClients"); tblClients.set_Width(Unit.Percentage(100)); tblClients.set_Height(Unit.Percentage(100)); //also I have Label label = new ...Show All
Steve Allen Form Resize incorrectly
I have a problem with Form Resize: Make a Form (autoscalemode DPI), place one button in the lower right part of the form(Autosize false - Anchoring None). When I then resize the form, either in design or run mode, the button does not keep its location. Not even if you consider it is the top left corner that should be in the same relative position. The button disapears out of the right corner when the form is made smaller. It looks as if the resi ...Show All
Morel Chang Drag & Drop Reorder of Row
I tried the Drag & Drog reorder of row as shown in the DGV FAQ Doc, but it doesn't work. Selected row was removed but no new row being added at destination. Anyone know the reason Thanks, Hi, I'm sorry, but using the code of DataGridView Faqs and the code above, it doesn't work properly, the row to be reordered always appear as the first row, this is the code, I would appreciate if someone can ...Show All
CarlDemelo tabpage - tabcontrol XP Visual Styles
I seem to have a problem with visual styles and tab controls under .Net 2.0 or am I just missing this I've enabled visualstyles using Application.EnableVisualStyles(); within the application all my controls appear to be fine except with I set my tab control to: tb.alignment = TabAlignment. left; The "Text" of the tab doesn't paint, any help resolving this would be great! Hi Phanf, Please look this link http://www.codepr ...Show All
syperk Hide button, maintain function
I would like to use a background image and hide the buttons over and maintain functions. VB.NET Any suggestions Are you talking about an image with clickable regions Just create an imagebox and parse out the position of the mouse&n ...Show All
blr Programmatically add a row to a dataset table with IDENTITY column
Hi, I want to programmatically add a row to a datatable in my dataset. I have a primary key that is an IDENTITY column in my database. How do I do this If I set the column value to DBNull.Value I get an error about it not accepting nulls. If I set it to 'nothing' it tells me to use dbnull. If I use "" I get a cast problem from string to integer. Sample Code: &n ...Show All
dunnee Webbrowser control with Flash Website problem - PLEASE HELP
Hello, I've got a VS.NET 2005 (VB.NET) Winform App that has a webbrowser control on it. I can open a web site just fine with it and can even open websites that utilize flash just fine. The problem is this: After clicking around for a VERY brief time inside of a flash file within the webbrowser control, the mouse clicks don't seem to work inside the flash movie. They work for a little while, but very soon after, quit working.&nb ...Show All
