Answer Questions
JuniorDB Hide certain standard control's properties from designer
Hi, I created a custom control which inherited from Forms.Button. There's no problems to create & expose custom properties but... I cant find anyway to hide the standard Button's properties... Note that I'm using J# Thanks override the property, apply the Browsable(false) attribute. . . call the base property to access it. this is c#, but the approach should be the same: public partial class ...Show All
David Brazier Timer Problem
hi iam having two windows forms , one form is using timer for refreshing, but if i open the other form in front of the first one the second one disappears i want to refresh the first window with timer only if it has the focus pls help Thanks in advance Hi, FYI: If you think your post is answered, could you please click on "Mark as Answer" so that it marks the post as answered. Thank you, Bhanu. The form has a Focus ...Show All
pavel989 Detecting Scrollbar Visibility at Runtime
Is there a way to detect, at run time, if the scrollbar is visible in a RichTextBox when multiline is true and scrollbar property is Both My requirement is not to show the scrollbars at all and automatically increase the size of the richtextbo ...Show All
Warez_Willy Help with getting a index from a listBox
I would like to get a index from a listBox but when clicking on a item in the listBox nothing happens but if clicking on the form the program crashes at: ListBox lb =( (ListBox)sender); Any ideas how to do this Thanks Here is the code. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace ListBo ...Show All
Marc_S. share violation access on files in windows
how can i discard share violation access on files in windows in c# thanks hassan azizi I'm not exactly sure what you mean. Are you saying that you are trying to open a file programatically and getting a Share Violation When a file&n ...Show All
Mike Bouck How to sort bound Header/Detail DataGrids?
VS2003 I have 1 Typed Dataset dsMyDataset with 2 tables tHeader and TDetail with DataRelation tHeader<-TDetail 2 DataGrids (dgHeader and dgDetail) dgHeader.DataSource=dsMyDataset dgHeader.DataMember=tHeader dgDetail.DataSource=dsMyDataset dgHDetail.DataM ...Show All
marksrv6 DataGrid Update
Hi All, Going crazy.. record is not getting updated .. don't know what to do... Here's my code.... CODE A: ----------- Dim cmdUpdate As SqlCommand = cn.CreateCommand() Try &nb ...Show All
Michael Green - MSFT Help me designer has Bugs bugs bugs
For some reason whenever I use certain controls in Visual Studio 2005 the designer will not reload the form and I get Initialization errors in the designer. Ive downloaded the TaskVision app to see if it was something that I was doing, but I am unable to view any complex forms in that project either.. One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuildi ...Show All
Elv Newbie module question
Hi, I have a form named Form1 and a module named Module1. I have created a main() function in the module where I want to load the Form1 from. I load the form from the module main() using the following lines of code: <CODE>Dim frmFoo As&nb ...Show All
Netscorpion Wheel mouse event
Hi, How can I catch the wheel mouse event on panel (or user control, or every othe control) Thank's Alexei Mouse wheel data is retrieved as delta values (amount of change since the last update). I don't know of any way to get the mouse state without hooking an event such as MouseWheel etc and inspecting the MouseEventArgs , I would have to go poke around the Control class until I found something. If you find a way to get the wheel d ...Show All
cpavlov How can i get the serial number of Hard disk or mainboard
hi i want to program a software lock for my application and i want to know How can i get the serial number of Hard disk or mainboard or any suggestion for software lock in vb.net thank you so much thank you goncalo.borrega f ...Show All
essgee Change databinding of a single datagridviewcell
Hello! I'm looking for a possibility to change the databinding of one single datagridviewcell during runtime. It has to be changed on row enter and row leave. Does anybody have any ideas Thanks! The DataGridView only databinds the whole grid with fields/columns databinding at the column level. There is no concept of databinding at the cell level. You would have to implement virtual mode for the whole ...Show All
mbartulovic Timer running in Taskbar project
I would like to create a little timer that sits in my taskbar and ticks away. I have an interface set up and working the way I want it to. The only thing left is to get the output to display in the taskbar, rather than on my form. Could anyone give me a shove in the direction that I need, please Any tips are appreciated. That look very promising, thank-you. Upon first read, it seems that this will only ...Show All
BabuKP Desktop Shortcut
Is there any way of creating a desktop shortcut using a ClickOnce Install Regards, Alan Thank you :) as you can see ms cannot implement it in this version, but they will consider in future. Is this not a bit of a shortcoming with Clickonce Are there any plans to include it with the production release of VS2005 (I am using Beta2 with Windows Forms) Regards, Alan Ralph, I have put my vote onto the site. Regards, I a ...Show All
Rashar Setting up Simple Windows Form Role Based Permissions without hardcoding
I am currently developing a new program which has several features I want to be able to lock out to certain users. I have a backend Access Database which I can save role security and users. I already have a form that logs the users&nb ...Show All
