Hello,
Everytime I create new form in my application, it uses "Microsoft Sans Serif, 8.25pt" font by default. I'm not changing it, because I know that in this case my form will pick up whatever default font in system is. However, when I run my application, the font is still anything but Segoe UI.
Why this happens? How do I make sure th...
I have an MDI application that allows me to open different types of child windows. I can open multiple (but different) instances of the same type of child window. (Example: I can open 3 instances of child window type A and 2 instances of child window type B. All 5 windows are distinct entities and do not share data until unless the us...
I have a windows application project that has to be signed. I received the .spc and .pfx files from my client. I converted these files to .pfx and by right clicking an assembly - Properties - Signing I specified the .pfx file. Everything OK with no errors. The problem is that after compiling the assembly is not signed - the 'Digital Sign...
I'm passing a reference of a form to a class. Within this class I believed I could use formRef->Controls["controlName"] to access properties on the control.
This works for a few labels, but on a button I receive a "Object reference not set to an instance of an object." when I try to change the Text property.
Help or explanation appreci...
Currently I have a ListView (using the Details View). I would like to implement the behaviour whereby when a user selects a single item (log entry) the log entry expands (from one line to multiple lines) to provide more detailed information about the error that occured.
My question is this: Is this possible? If so, is there a good resou...
I have a TabControl within a TabControl. I want the outer TabControl to show its tabs on the left. However, with Visual Styles enabled, left-aligned TabControls don't display properly. Can I disable Visual Styles for just the outer TabControl?
I'm aware of the third-party TabControl replacements - that's not what I'm after.
...
I have a WPF user control I created that is used to show the state of tasks in my UI. I get the odd report back that the control sometimes has a nasty looking border to the left and I cannot reproduce it.
The control looks like this (when working) (grey tick=not run, green=OK,red cross=fail,hourglass=running);
It looks like this when...
I'm working with a WinForm app in C#, after I type something in a textbox I want to hit the Enter key but the textbox still has focus (flashing cursor is still in textbox), how can I achieve this?
Thanks
...
Hi,
This Question asked about embedding a flash player in .net. The provided answer is to host the ActiveX Flash player on the form.
This works for simple things, like playing a flash movie. But what if you want to provide data hosted by the .net application to a flex application? Is there an efficient way to transport data from the .n...
Well, heres my scenario.
Client/Server winforms application with SQL Express as the DB. I need to be able to print invoice, packing slips etc..
i would like the customer to be able to modify the invoices. ie. be able to put their logo or change font sizes etc...basically format the display.
Things i have considered so far are.
1) Use...
I've created a windows form control which works successfully hosted in Internet Explorer. I'd like to give it an event and be able to respond to the event through javascript. I found a link that talks about it here. It shows me how to create the interfaces but I'm not sure how to fire the event from my control?
Here's my code snipp...
Hi,
Is it possible to create an integer (or DataTime, etc) column in ListView? It is quite important, because I would like to properly sort the list according to this column.
The only way to add subItems to a ListViewItem I found are:
listviewitem.SubItems.Add("1");
I would like to avoid parsing these strings to get the int represen...
I love grids - especially the cool third party ones like Devex, C1 etc..
Our programmer doesn't think end users can handle them - so he always designs his forms with read-only grids (with read-only classes). Choosing to edit an item in the grid opens up a detail form that allows editing.
This app is going to be used by general busin...
How to implement some of the tabs need to close by some events or some button click?
...
I have a problem with a Winforms application written in Visual Studio 2005 (C#). It has a MDI main form with one maximized mdi child form. In Windows XP the child form is perfectly resized and maximized with the MDI Parent.
With Windows Vista (Enterprise and Business) resizing works great, but when you maximize the MDI form the child fo...
Hi
What is the easiest way to convert a simple form into an exe file?
I have an offline paper based form. I need to convert it into a software that people can use on their computers to fill and submit information. Since the form (it is a tax return) requires considerable time in filling, it is not convenient to have it online. I would...
Hi there,
I have created a windows installer for a windows forms app as an MSI.
I have published this and put it in a zip file and sent it to the client.
When they try to run the installer they get the message
'The publisher could not be verified. Are you sure you want to run this software?’
Is there a setting or something i need to do...
Is it possible to embed a windows form within another windows form?
I have created a windows form in Visual Studio along with all its associated behaviour.
I now want to create another windows form containing a tab view, and I want to embed the first windows form into the tab view. Is this possible?
...
Hi there,
have downloaded Orca to edit an MSI file. I want to remove some banner text during the installation. I have managed to do this to the MSI and saved it with the MSI. However am having problems in saving a template and then applying that to subsequent installers. Have looked at the help file for Orca and am basically lost on how ...
Good morning,
I am working on a C# winform application that is using validation for the controls. The issue I'm having is that when a user clicks into a textbox and attempts to click out, the validation fires and re-focuses the control, basically the user cannot click out of the control to another control.
My desired result is to have ...