Answer Questions
sloch property best way
what is the right way to get a value in the following case >>> class NameBuilder Private _name As String sub new(byval initName as string) Name = initName end sub Public Property Name() As String Get Return _name End Get Set(By ...Show All
Vahid Taslimi CodeDom & Winform
I have code that generates a winform via the codedom as an exe. When I run the exe it starts from the console. How can I make this run like a normal win exe Sorry, I just re-read your original post. You&nb ...Show All
Chris Ambler Returning value to mother form
I open new form simply by Form2 frm = new Form2(); frm.ShowDialog(); in this new form are just two textboxes and buttom. I need to get values of those textboxes back to form which is opening new form after buttom click. I tryed some stuff about ...Show All
iemad zooming in on images at run time
I'm trying to display an image in a picture box, and then let the user click on the image, and take a small section of the image(based on where they clicked) and expand that small section to fill the entire picture box. Does anyone know how to accomplish this Thanks in advance, smtraber This is probably a stupid question, but could you elaborate on what you mean by a "placeholder control" smtraber First thing you need to do is get ...Show All
Sitrion have a problem while AutoResize the DataGridView Columns and Rows on Beta 2
Hi, My Trouble is easy ! The Code blocks are below do not run CORRECTLY when rebuild and execute in Microsoft C # 2005 Express Edition BETA 2 although it was developped in MS Visual Studio 2005 Beta 1 dataGridFirmAccount is System.Windows.Forms. DataGridView ... dataGridFirmAccount.AutoGenerateColumns = true ; dataGridFirmAccount.AutoResizeRows( DataGridViewAutoSizeRowsMode .AllCells); dataGridFirmAccount.AutoResize ...Show All
bwhunan Bad quality of drawn metafiles
Hi, I'm working under .NET Framework 1.1. It is known that anti-aliasing is not supported when drawing metafiles using Graphics or converting them to bitmaps. I would really want to avoid writing my own class which plays metafiles records with anti-aliasing turned on - afaik EmfPlusPlayRecord is the largest enumeration in .NET Could anyone point me to some ready source code over the Intermet I'm sure it does present somewhere ...Show All
Spy versus Spy Modal dialog turning into modeless
This is the issue: When a parent window is disabled while a modal dialog is being shown, the shown dialog ends up behaving like a modeless dialog on re-enabling the parent window again. Any ideas why this behaviour Sounds like a MS .NET framework bug! The summary is like this: 1. A main form spawns a thread. 2. The thread method displays a modal dialog (by calling ShowDialog() on a Form object (let us cal ...Show All
tasker1986 MainMenu and MenuItem controls
I added a Tag property to the MenuItem control using inheritance: Public Class MenuItemPlus Inherits MenuItem Private _tag As Object Public Property Tag() As Object Get   ...Show All
Zeit Problem using CheckBoxField in GridView Control
Hi, I am developing an ASP.NET Web Page in Visual Basic.NET. I am displaying data in a GridView control, the fields of my table are: Number_Id Varchar(10), FirstName Varchar(15), SecondName Varchar(15), Status Bit. When I execute the web page that I developed, I can see that GridView control displays Number_Id, FirstName,SecondName and Status, but Status field has a CheckBoxFields, CheckBoxFields are checked if Status fields are 1. I ...Show All
Sk8tz Accessing component from another form
Hi all I'm totally new to Visual Studio , coming from Delphi . My question, I'm sure is pretty trivial. I'm using C# I have a component class (Project/Add Class/Component Class). In this component class, I drop an ImageList. Now, in my main form, I put a button. I would like to define the ImageList property of my button to be the one created in the component class. I can achive this by code but I want to define visually (at design time) the prop ...Show All
Papuashu Date Time Picker
Hi, Anyone know how to format the Date Time Picker in C# to shows MONTHS only Ya thanks, i had got what i wanted to display in the List View now. But allow me to ask another questions regarding to the List View items. In the List view items, i have four colums of 'TIME_IN', 'TIME_OUT', 'DATE', 'TOTAL_HOURS'. How should the records display according to the order in each columns Now all the data display i ...Show All
unionize C# code problem
Hi !!! I have translated a VB code to C# code but i have problem as it gives me an error that i can not solve. my code is :- this.treeView1.Nodes(refEmp.Type).Nodes(refEmp.SSN); Type and SSN are read only properties that return only <b>: 'System.Windows.Forms.Tr ...Show All
Vinod Potty How to create a DropDownList/ContextMenu style window?
I need a popup window(no border) to input some text. But it should be something like the drop down list of a combobox which doesn't make the owner form inactive. Making it a child window does that but it will be clipped by the owner form, while drop down list won't be clipped. I've tried changing the CreateParams to use different set of flags, but not successful. And I've been googling the whole afternoon... I saw someone says not to make ...Show All
Shai Zohar - FXM Viewing a word doc within a Windows Forms Application
I would like to display a word document within my windows form application. Currently I am using the IE activeX control and passing it the word doc location. There must be a more elegant solution. There is a more elegant solution. I currently use the DsoFramer control sample to embed an Excel application into my Windo ...Show All
Eddie Tse "Unknown Publisher"
I built a project in VS NET 2005 and used the "Publish" process to create an installation package to install from a CD. When I run the install and get to the "Application Install - Security Window" it always shows the Publisher as "Unknown Publisher" even though I have the company name in the Publisher Name section of the Publish Options settings. How can I get it to show the company name instead of "Unknown Publishers" Thanks Daniel. I'l ...Show All
