Answer Questions
Sathish Kumar.R Using HTML Forms instead of WinForms in C# Standalone Application?
Hi We are building a new stand-alone application in C#/SQL/.Net and I was wondering if it's possible to do our forms in HTML, and display it in an IE window within the application (since we already have the forms done in HTML) and then control those fields with an ActiveX object for validation and business logic. How hard is that to do and what are the limitations vs. WinForms Does anyone have an ActiveX object for doing this Thanks! ...Show All
Jadewolf Expression frustration
OK, I have a typed dataset with three tables. Project, Task and Project Task. The ProjectTask table captures the many to many relationship between Project and Task, and has a composite primary key of ProjectID and TaskID, together with some additio ...Show All
szembek StartPosition don't work correcty.
I have a MDI form, when I iopen new form inside it I do : My .Forms.FrmNovita.StartPosition = FormStartPosition.CenterParent My .Forms.FrmNovita.MdiParent = Me My .Forms.FrmNovita.Show() but this show the for on the top left side. You can find a possible solution here: http://dotnet247.com/247reference/msgs/20/100528.aspx Really though, a quick search on google gets you lots of answers. Try this: http://www.google.de/g ...Show All
ethom209 Databinding, Synchornization of Data Problem
Hello All, I have 2 user Controls. The first one having the text boxes and second one having Labels. all the textboxes and labels are bound to same Table Columns.in the DataTable. When I edit the Data with Help of TextBoxes, the Lables in other Controls are not getting updated. For the DataBindings of TextBoxes I have specified DataSourceUpdateMode as DataSourceUpdateMode.OnPropertyChange. even then my labels in the Second Controls are not upda ...Show All
DeveloperStudent12 Form close button
Anyone could help me how to disable the modeless and model form close button and disable the moving of the form. It would much more appreciate if anybody share your programming experience in .NET 1.1. 1. To hide the close button, use the property ControlBox = false. this will also hides the maximaize\minimaize buttons. 2. Another option is to handle FormClosing event like this: private void Form1_F ...Show All
Siupo What is the equivalent of VB's AddHandler statement in C#
I'm trying to redo an assignment I had in a visual basic class into C# as a starting point of teaching myself some of the differences in the languages, but I can't find a proper translation for this VB code: AddHandler flashTimer.Tick, AddressOf timerTick The closest I could figure out in C# was this: flashTimer.Tick += new EventHandler(timerTick); But I get an error that reads "No overload for 'timerTick' matches delegate 'Syst ...Show All
Brummi which grid control to use.
Hi guys, I am doing a box office ticketing application. I need to figure out what grid control to use for the seats selection screen. I dont want to use databinding. I was drawing picture boxes in a for loop but it is quite slow...dwaring 600 boxes takes noticible time lag. Any other ideas Cheers Rishi I would create one big picture box and draw ...Show All
laszlo.gosztola scroll richtextbox with custom scrollbar
I want to scroll richtextbox with a custom toolbar ( a vscroll control ) and want to disable scrollbars of richtextbox. Any idea on how to go on that path any samples Hi, If you're scrolling a RichTextBox control (or any control that is scrollable), you can do it by interop, here's how: // First import the SendMessage function from user32.dll: [DllImport("user32.dll", EntryPoint="SendMessageA")] internal static extern ...Show All
Ramez Awad Adding image resource causes design view error
After adding a PNG to the form's resource files (but not doing anything with the resource) is causing the VS IDE to generate an error when I attempt to open the form in design view. The program will still executes fine from the IDE, and I can go into the code view. It's just design view that generating the error. The error being generated is: Could not find a part of the path 'C:\Documents and Settings\richard\My Do ...Show All
Andrew Tregonning Windows Forms Tab Control problem !!
Hi all, I'm trying to select a tab from the windows form's standard tab control on right clicking of mouse button on the tab button (when the context menu is shown) The mouse event args gives me the location of the mouse pointer. But the tab control doesn't expose any method or property to get the tab on which my mouse pointer is hovering. If anyone has the solution I will be thankful if you can let me know. Hoping to hear from you guys... ...Show All
Matt Spy Two Questions ?? Special dialog & Auto Hide
hi for all Thanks For all at Microsoft and Of course especially the team here I have two questions 1- I want through Windows Forms to display a file dialog like This one at : http://www.vm.s5.com/m-omar/getPic.JPG !!! Sorry I do not know how to embed a picture in my post Please tell me how to do that 2- I want to implement a very simple tree view But It is on a form which ...Show All
Sam Stokes ClickOnce Updates Fail for Signed Assemblies
Am experiencing a ClickOnce Beta 2 issue where if the application assembly is signed (versus just the manifests), when new versions are deployed the version makes it to the client but the older version is executed. I can see the new version on the client workstation under c:\documents and settings\local settings apps, so I know it was sucessfully deployed - but the previous (earliest deployed) version actually ...Show All
sridhar reddy mitapalli multiselect algorithm
I was wondering if anyone knew the algorithm used by windows for selecting multiple files (can be used by listboxes as well). I'm trying to implement the algorithm myself but I'm not quite sure of some of the details of it. If this is about visual studio: I am not sure about selecting multiple files, but for selecting multiple entrys in listboxes you might use (VB) ListBox1.SelectedIndices.Add(index as integer ...Show All
daemon9 Exporting OCX files
I have created a control in Visual Basic 2005 Express Edition Beta. When I build it, it just makes a dll files. Where is the OCX toolbox file I'm not familiar with ActiveX controls but the assembly file (dll) you produced& ...Show All
Thomas GG Inheritance using Forms
hi i am just wondering if it is possible in c# to inherit methods from a .cs class to a partial class form.... i am trying to have a parent class public class parent { public void display(string msg){ } } public partial class child: from <--- how do i inherit parent to that child to have method display so i can calls bas { public void display(string msg ){base(msg);} } ...Show All
