Answer Questions
noiile I want to have darg-drop and onmousedoubleclick for a listview
If I override the onmousedown method onmousedoulbeclick is never called. How can i solv this Hy, I assume you are using .net 1.1 You can use System.Windows.Forms.MouseEventArgs.Clicks to detect a double-click, however, when a double-click occurs, you'll get a MouseDown with MouseEventsArgs.Clicks=1 and immediately another MouseDown with MouseEventsArgs.Clicks=2. Can you use ItemDrag event instead of M ...Show All
Phil Higgins Newbie-level question: How do you maximize a form programmatically?
As an Access programmer, I am used to being able to do things really easily. So when I want to maximize a form I just issue a line of code like this... DoCmd.Maximize How do I do this in VisualBasic.Net I can't seem to find the answer in the on-line books, and no-one seems to have asked such a simple question before, probably becuase it's so easy, right Many thanks Algis Check out the WindowSta ...Show All
Benedito Santana Need explanation please on formatting...
Ok guys, Can someone shed a lil light on me about when/where and why use each of the different formatting methods.... Example, converting datetimes... -- FormatDateTime(myDateTime, ShortDate) -- Convert.ToDateTime(myDateTime) -- CDate(myDateTime) -- CType(myDateTime, DateTime) All serve the same purpose but which is more effecient than the other and why. I saw a video once that said you should practice the newer methods because it ma ...Show All
Ryan Osman Bringing controls out from design-time
I'm using standard DesignSurface for control design in my custom editor and I'm trying to serialize designed controls with my custom serializator that simply recursively parses the root component and emits custom serialization data for each and every component. The problem is that some components contain objects that were created by their designers. For example, the MenuStrip in its Items collection has a DesignerToolStripMenuHost object tha ...Show All
Joey.Net Simple Databinding in WinForm, but not using a DataGridView
I have a WinForm with some standard controls on the surface. I'm using a strongly typed DataSet as a return value from a Web Service. I'm using a BindingSource to "connect" the columns in the DataSet with the controls. Using the above, I can populate the controls just fine. My problem lies in getting changes back to the database. Now, I realize that I will be using a Web Service for this, and I know I've got to provide a ...Show All
Bart Devriendt Inheriting from Data Source Designer
We are working on a project that will use plugin controls on a large scale (At least 200 controls.) We would like to create a base control that contains objects created with the Data Source Designer and inherit from this control. When we attempt to inherit from the base control none of the data objects created with the designer are visible either from code or in the design window. The datasets are "public" as created by the designer ...Show All
SUN999 No-Touch Deployment - Who is using it?
Hi all, My company is writing an enterprise app and we are strongly considering no-touch forms for the workhorse parts of it. I am curious about how prevelent the no-touch approach is becoming. Are people seeing a lot of interest in no-touch   ...Show All
Participant Displaying small Icon on top of a Control (in Design Mode)
I have a standalone forms designer up and running ( using the new designsurface). For some of my custom controls, that get created using my custom designer, I want to display some small icons on top of their drawing surface. I solved that for some "label" like controls by overriding their Paint() Method and draw some bitmap on top of them. But for some other controls I have (checkboxes,...) i cant properly paint over their drawing surfaces, beca ...Show All
Kathy0505 BindingSource.Find throws exception on empty DataSet
I have a problem with a bindindingSource very similar to the problem reported here but I've tried the solution outlined (explicitly setting the bindingSource's DataSource before the call to Find) but it doesn't help me (the DataSources for my BindingSources are correct) - so there's no chance for the DataSources to get set incorrectly. My situation is slightly different because I'm adding the BindingSources from the toolbox (not by ...Show All
E Renken HyperLink with JavaScript
I have a datagrid with a hyperlink column. The code is : <asp:HyperLinkField DataNavigateUrlFields="ccod" DataNavigateUrlFormatString=var newwin=window.open('serii.aspx cod={0}',null,'width=692,height=25');" HeaderText="Serii" Text="Serii"> <ItemStyle Width="5%" /> </asp:HyperLinkField> but it's not working. I haven't a hyperlink with this code it's ...Show All
Dan_Icon Oh, the magic that the Tab key does (focus)
[Using VS2005 Beta2...] The FocusRectangle is a very fickle thing. Create a form with two buttons on it. Create a KeyPress event for the form that cycles focus between the two buttons (turn on KeyPreview for the form): private void Form1_KeyPress( object sender, KeyPressEventArgs e) { if (button1.Focused) { button2.Focus(); } else { button1.Focus(); ...Show All
Wait-a-minute VerificationException?? why??
Why am I getting this exception LoadEvent Exception: System.Security.VerificationException: Operation could destabilize the runtime. at Rebif.RandomMove(Int32 movingSpeed) at Rebif.LoadEvent(Object sender, LoadEventArgs e)- this is the code void RandomMove(int movingSpeed) { int&nb ...Show All
ZenX Remote Server Is Unreachable - New Install
I downloaded the install for the source today. I ran the install. Verified that the database was created and that the tables had been poplulated. Also verified the virtual web was created in IIS. Database and client are on the local sys ...Show All
simpleText Linked and phantom control error in Visual Studio .NET
Basic information: I've created a form (using VB.NET) with various text, label, and tab controls. I've seemed to run into an odd problem. Specific information: I have four comboboxes that are filled using the DATASOURCE property. The data source its self&n ...Show All
mschelstrate Using windows control library in IE
hi, I am new to this part.I am using windows control dll in IE.My question is that Is it compulsory to have dotnet frame work installed on the client machine to be able to view the windows forms If you write it in DOTN ...Show All
