Answer Questions
Edwin Jongsma MDI child call parent variable/object
Can MDI child call back parent variable or any object e.g. - frmParent -Public String conn = "abc.mdb"; - frmChild - Public String test = "demo"; - frmChildTest - how can we frmParent.conn - and can we call frmChild.test , too the issue i would like to call parent variable, It would like to create the database connection in parent , so each child only need to call parent connection, and dont need to recreate on each ...Show All
jimmmmmmmmmmmmmmmmmmmmmmmmmm What to use...
If I want an information rectangle to pop up after hovering over a stationary target for x amount of seconds, what should I use for the information rectangle A form or what Thanks, Devin Cool, that worked really well! Thanks. Sounds like a tooltip to me. http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbcontooltipcontroloverview.asp ...Show All
trakatelis Datagridview - Esc key pressed on new record - NoNullAllowedException
Hi, I have a form with several related, bound datagridviews. When a new record is added to any of these dgv's starting from empty , then cancelled before it is committed using the esc key, a NoNullAllowedException is raised, with the message 'Column '[my_column]' does not allow nulls.' This is happening when a new row is being cancelled rather than committed. I do not want to change my data structure to accommodate this error and it seems ...Show All
AtinLango DataGridViewComboBoxColumn Selection is not retained
Hi, I created a DatagridView and added two columns to it. One of them being a ComboBox Column. After running the form, I click on combobox, select some different value and leave the cell. At this point, the value I selected is getting lost and it reverts back to its original state. If someone has made samples on how to use the different column types, can you please put them on the net or mail it to me Thanks, Kunal ...Show All
Kerberos Mansour Smart Client Error,help
Dim FrmAsm As [Assembly] = [Assembly].LoadFrom("Http://127.0.0.1/SmartClient/SmartClient.dll") Error: System.IO.FileNotFoundException: File or assembly name SmartClient.dll, or one of its dependencies, was not found. File name: "SmartClient.dll" i hav ...Show All
plenderj Menubar buttons like Outlook, IE and Skype etc.
Hey, can anyone tell me what to look into for creating buttons like the ones used in the top menubar in programs such as Outlook, IE, Skype ... The buttons are not outlined, only when the mouse moves over, and they dont have that coloured line as xp style buttons How are they created are there some specific style to look into / download Best regards Martin From The buttons that i am reffering to are ...Show All
vasu4us login with function, how to enables menuitems in the parent form?
hi, i have to make a login with an access table! first the mainscreen pops up, with menubuttons disabled, accept from the login! When you open the login, you have to use a username and pasword, and it looks in the accesstable if it exists! in&n ...Show All
Peter Cox New Way automation Keeping Track of Time?
Can anyone help me out with this I am in the process of jumping from VB6 to VB.Net 2005 B2. I can't seem to be able to get this coded properly. I want to have a simple label that will increment time from the moment I press a "Start" button until the moment I press a "Stop" button. The time would be in the following format hh:mm:ss Anders, thanks. I will try this when I get home from work tonight and let ...Show All
HMJMS DataGridView and ContextMenuStrip
Hello all, 2 questions about using ContextMenuStrip in conjunction with DataGridView: 1. How can I get a ContextMenuStrip to open only if the user right-clicks on a cell, and not a cell header/row header/background/etc My current solution is to associated the CMS with the columns, and not the DataGridView, i.e.: datagridview1.ContextMenuStrip=Nothing For Each c As DataGridViewColumn In datagridview1.Columns c.ContextMenuStrip = dgvContext ...Show All
Darren Harvey WebBrowser Control Fails to refresh
I'm trying to use the webbrowser control to display some dynamically created content. It's pretty simple really. I use a stringbuilder, create some html, and set the DocumentText property to stringBuilder.ToString(). This works great the first time. If, after showing the initial document, I create a new string of html to show, it fails to update the view. I'm calling the identical code and it fails to show the updated html on the second call. H ...Show All
Beaulieu MSDataSetGenerator and xsd:import
Hi, I'm trying to use the MSDataSetGenerator with a couple of XSD files that rely on importing some common xsd files with <xsd:import>. However, when setting the schemaLocation attribute to a relative path I always get an error message saying something like: Type [insert type name here] is not declared, or is not a simple type. It works fine if I use an absolute path, but that certainly isn't a good option.. Any clues to a solution /Ande ...Show All
Alex Ellis Please help - FileSystemWatcher Problem
Dear Experts, I am using the FileSystemWatcher method to watch a folder. When a file arrives it will move the file to a process folder. My problem is when a large file is put in the folder the move command errors with Unhandled Exception: System.IO.IOException: The process cannot access the file "c:\temp\test.zip" because it is being used by another process. Obviously the file has not finished copying to the directory. Is there an attribute on ...Show All
Mr Rix docking ...
why can we not have two controls on a form and both have Fill set for Dock property, so that when one control is collapsed the other one takes the remaining area and vice versa In the <A HREF="http://www.windowsforms.net/Ap ...Show All
hollander67 How to delete from datagrid
Hello, I am trying to add a delete button to a datagrid and I am having troubles with the code. Could someone help me.. i will really appreciate. This is the code I am using: Private Sub DataGrid1_DeleteCommand(ByVal source As Object, ByVal e As Sy ...Show All
zotje Error: DataGridViewComboBoxCell Value is not Valid
Greetings, I am using VS2005 and Sql Server 2005. My database table contains a column (mycolumn) defined as char(10), no nulls, default value blank. This table is added to my dataset with default value blank, default control type is datagrid, mycolumn default control type is ComboBox. I created a sample form and dragged the the dataset table on to the form, a datagridview was automatically created. I changed my columntype to datagridviewco ...Show All
