| Scrolling windows/frames programatically (2 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi there, I have placed an Internet Explorer ActiveX placed on form, and a range of buttons that are used to control the behavior of the IE control (navigate to other pages, etc). I would now also like to scroll the contents of the IE ActiveX Preferably i would like to be able to scroll each frame independantly. Up untill now, I've been able to scroll up/down by doing this: mshtml.IHTMLDocument2 d... |
|
| click on Form1 (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Guru: I have a base form say Form1, whenever I click on Form1, Form2 will display. My question is: while Form2 is showing, how could I catch click event on Form1? Here is the fuction to show Form2: privated: void DoubleClickHandler() { Form2 ShowDialog(); Form2 Refresh(); } |
|
| One file instead of two (.cs & .resx)? (4 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Is there any way to have just one file instead of two (.cs & .resx) when working with WinForm source in C#? Regards, // Martin R L |
|
| ASCX (4 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I have notice some file with extension *.ascx Could someone tell me more about it. I am currently got a fully done web project, but the files with extension *.aspx Is there any way to compile such file to *.ascx. Or perhaps someone could tell me how to create *.ascx some useful reference would be great if got. thank you |
|
| What's the chance of Control.Invoke doesn't return AND my UI thread is not blocked (2 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| please help....I tried to debug this for many days and still can't find the answer... thx |
|
| sideways text ? (4 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello folks ! can anyone tell me how to draw some text that is on it's side going up the page ? Thanks, Ian. |
|
| Crystal Report Viewer - capture PrintReport, or ExportReport Cancel - How? (2 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello, I have a button on my Form that also includes the Crystal Report Viewer component. If I invoke the ExportReport, or PrintReport methods of the ReportVieiwer when the button is clicked, they both display dialog boxes however, I cannot seem to get the result back from these dialog boxes to know if the user did in fact print/export the report or if they chose to cancel! Can someone help me out... |
|
| Export Data in Dataset (vb.net) to HTML format (3 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| May I know how could I export my data under dataset to HTML format |
|
| Alignment wrong (3 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I have some Labels, all the same size. I right align these on a Form, and also set the Alignment property of each to Right Middle. I'd naturally expect all label text to be shown neatly right aligned, but it doesn't (in designer or at run time) indeed they are all over the place. What's wrong here ?? Seems like a very basic fault .... |
|
| Error Provider Question (3 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, If I have a data entry form containing a few text boxes that I would provide some input validation for. Do I have to add error providers for each text box, or can I use just one error provider for the whole form? Thanks. |
|
| Is there an AutoScrollPositionChanged event? (3 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I have a panel with AutoScroll set to true. The contents of the panel is large enough to show the vertical and horizontal scroll bars. Is there a possibility to get an event whenever the user scrolls horizontally or vertically? The problem is that I want to synchronize the scrolling with another control. I can read the AutoScrollPosition property of my panel. However, I need an event to know w... |
|
| How can I automate a running instance of a winforms app? (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| The Knowledge Base article below explains how to talk to a running instance of an Office program: http://support.microsoft.com/default.aspx?scid kb;EN US;316126 Is there any way I can talk to a running instance of a winforms app? I.e., Can I call some public method in a running winforms app from another winforms app (or maybe a service)? Does .Net even work like this?!?! Thanks! |
|
| Keyboard Shortcuts without set focus (2 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| How can i define keyboard shortcuts for a control, but if the control does not have the focus set to it. I can do it if i define the text of the control with the & sign, ex: &myText , but this way i can only use alphabetic characters. How can use the arroy keyboard keys?? |
|
| TitleBar color (2 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Is there any way to change the forms' titlebar color? |
|
| Custom Control Reference Issue (2 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| I have written 2 custom controls in VB.NET that I am referencing in a VB.NET windows application. The controls derive from standard .NET controls, 1 from the label and the other from the button. I have added these to my toolbox and dragged them into forms in my windows project. They all work fine, but the trouble I am having is that studio occassionaly removes the declarations of them in the windo... |
|
| textboxt control with syntax highlightings (2 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello ALL, May be you can help me... I want to create universal textbox control with the syntax highlighting, jumping out "codelists", visual bracket matches and error underlines... I need you help: articles, sources, samples, ideas. Of course I know about yacc clones like CSTools or GoldParser. And I'm going to use them. But I don't have a big expirience in "error recovering" in yacc and yacc clo... |
|
| Detect change in TextBox + currencymanager without calling EndCurrentEdit() (5 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I want to enable a 'Save' button when a bound textbox changes. I am using a dataview and binding my textcontrol to a field on that dataview. I cant find ANY event that will tell me when the textbox changes. Any message I can find online regarding similar issues tells me to call 'EndCurrentEdit' on the currency manager or data row before i save it. Well thats not the problem here. I want to be able... |
|
| Going crazy trying to make a form full-screen (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I'd like to display the main form of my application full screen on demand. I've looked in google groups and found several topics related to this problem, the solution being to set the form's FormBorderStyle to none and its WindowState to maximised. I've tried that on a very simple form with just one menu and some buttons and it worked fine. However, when i do that on my main form, the task bar... |
|
| Can't add user controls in forms designer anymore (4 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| All of a sudden (after a reinstall) my Visual Studio .NET (2002) no longer allows me to add user controls to a C# form. What happens is that if I create a new control, everything looks fine up until the point where I try to drag it from the toolbox into the parent form. Then VS all of a sudden can't seem to find the control. I get the following error message: "The user control ' control name ' cou... |
|
| vbc.exe error (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I'm having a problem when trying to compile a user control from the command line. I know I have the path mapped correctly but it immediately throws the error "vbc is not a valid Win32 application". This is driving me nuts. N |
|
| Problems rendering controls when DPI > 96 (3 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| We have a commercial .NET WinForms apps that is having problems on client machines running greater than 96 DPI. I think there is a bug in Windows or in the .NET framework with rendering controls at a higher DPI. For example, if you configure your display setttings by choosing Display Properties/Settings tab/Advanced/General and selecting 150% (144 DPI) the view is total screwed up. I've narrowed i... |
|
| Populate ListBox (3 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| I am getting a dataset from SQL server. How can I populate a listbox with that data? |
|
| How do I mask the input of a Text Box in VB.NET (3 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| I am using a standard VB.NET Textbox to allow the user to enter a SSN in a windows form which I submit to SQL Server. I would like to mask the input so the format is of 999 99 9999 to limit bad data entry. Is there a way to do this? ... |
|
| Good Solution for Persisting Dialog Position? (3 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I am looking for a good solution to storing my dialog size and position between instantiation. I would like the dialog to read/store/restore state each time it is shown. In MFC I used to store the data in the user's area of the registry, but I thought Microsoft was going away from that. Is there a prescribed methodology for this? Any examples of well designed methods? Thanks, |
|
| DataGrid out of sync with DataTable? (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I'm trying to take advantage of the DataGrid functionality by using it with an in memory DataTable. In this case, the order of rows is important, and I would like to let the user move the rows. I found some boilerplate on a FAQ site, but there is a nasty bug in the sample code the grid and table get out of sync. I've checked the KB, newsgroups and Google, but have had no luck finding a workaround.... |
|