problem with expander control in publishing - wpf

I have expander control that it works in vs and blend correctly but when i build a setup file and executed it cant work correctly.(does it work correctly in win xp?)

It works fine on Windows XP. But you should install latest updates for .net framework.

Related

WinForms designer breaks on VS2005 when using Windows 7

We have an old project that is designed using VS2005 and WinForms. Everything works perfectly on Windows XP, but when I open the designer on Windows 7, everything breaks down.
The controls get sized to random size and some of them dissappear (or are moved to random coordinates).
What can we do to solve this issue? Should we switch to VS2008?
A newer version of VS should help, but i'd be surprised if this can't be fixed in 2005.
Try commenting everything out in the method where initializeComponent runs, or any properties that set UI change. You should find it easy enough, it's a method that has long lists of calls against the controls on the form.
The problem was that we used TableLayoutPanel inside a GroupBox and not on the form. When we added the TableLayoutPanel on the form and moved the GroupBox into it, the designer stays ok.

ActiveX Ms Chart Control Not Rendered Under IE 7

We're using Visual C++ 6.0 to develop a web-application, which uses ActiveX controls.
One of them is this Microsoft Chart Control(6.0), to show some statistics or something.
Well, it works and shows up fine when the .ocx is run under a PC that has Internet Explorer 6.0.
But under an IE 7 machine, that chart isn't displayed; there is a blank image instead. It doesn't show up. No errors or exceptions thrown.
When I run the application from Eclipse in hosted mode though, it works fine again. Only when opened in IE 7, that chart disappears.
This MS Chart Control apparently uses MSCHART20.ocx
Thanks in advance for any advice towards a fix, or a workaround, or a needed upgrade.
I don't like upgrades though. But I need to figure out what kind of upgrade can be done to make this work.

Winforms control spacing in Windows 7

We have an in-house .net 2.0 winforms app currently developed on Visual Studio 2005 in Windows XP. Everyone in the office until now is running Windows XP, and there are no issues.
We recently ordered a new computer with Windows 7 for one of our managers we were hoping to use, and the app installs fine. The issue is the spacing around every label, textbox, and button - making some forms not fit.
Is there some setting that we can use to make Windows 7 display each control where it is placed in our XP development environment and like the rest of our XP clients show?
Ugh, what kind of idiot management team gives a new machine to a manager instead of a programmer?
Control Panel + Display, Advanced tab, change the DPI setting to repro the problem on your XP machine. Read the docs for the Form.AutoScaleMode to find out what's going on.

Reset VS2010 Project Templates?

I installed Blend 4 RC recently but strangely it deleted some of my VS2010 projects templates, including the most important ones being Silverlight User Control and Silverlight Application.
Does anybody know how to get back these templates or tell VS2010 to reset all templates?
A bit frustrating, I'm having to create projects on my laptop then copy them to my desktop manually :(
No matter, I just reinstalled SL4 Tools and I've got my templates back once more.
Blend 4 RC also confused VS2010 on my machine, causing the WPF UserControl template to disappear. I don't use the SL4 Tools, so solved the problem on my machine by placing the template from Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\CSharp\WPF\1033 in My Documents\Visual Studio 2010\Templates\ItemTemplates\Visual C#\WPF.
A better solution is also described here.

No Terminal Window, Compiling With gmcs Necessary For Mono?

I am compiling a Winforms app for use with Mono and using the .Net stuff built into Visual Studio 2008 for a Winforms app. Everything works fine, but I'd like to run without the terminal window opening.
Do I need to use gmcs to get this line to work:
-target:winexe
as seen here? Or can I do it with the built-in commands that Visual Studio uses for .Net?
In VS, make sure the project type is set to "Windows Application" and not "Console Application" on the project properties page.
If that doesn't fix it, try using monow.exe instead of mono.exe to run the application.

Resources