|
Graphics card is a NVIDIA Qaudro NVS 285 with 1GB of RAM
|
|
|
|
|
Hokay = that should be more than powerful enough. You might want to look at these[^] tools.
|
|
|
|
|
Hi,
This sounds really odd ... the graphics card you mention is totally up to the job. If your finding problems with running some of the demo apps I really don't understand why your seeing problems. Currently I'm running a 7600GS video card with half the RAM you have on a machine with 2GB Fast RAM and a single core 2.6Ghz Athlon and its 100% ok. Before this video card I had a 64Mb ATI powering a 21" CRT at 1600 x 1200 whilst developing WPF ... I had no problems there either!
Are you sure you have the video card setup correctly? Maybe even some BIOS settings need adjusting ... Your video card is probably up to handing HD video editing so WPF should be flying on that card.
I'm currently working on two WPF apps, one is a Client/Server type app for my employer (very much LOB!) and one is a personal project. In my personal app I'm using the Infragistics grid with record sets of over 100,000 ... no performance issues. I've also had this app out to Beta Testers and none of them have reported performance issues either. Obviously, my employer will be stipulating a minimum spec machine for running our app and that only states a 256Mb Video Card is required.
If you give WPF a chance you'll propbably find yourself wondering how you ever did that logic screen in WinForms! Believe!!
|
|
|
|
|
Hi Jammer,
thanks for your reply. It is an odd one - I have checked the graphics card setting and got one of the hardware bods here to look at the settings etc and he seems to believe its set up correctly although I will seek a second opinion. One intersting thing is that Visual Studio 2008 also sometimes crawls to a halt (which 2005 never does) sometimes scrolling through the intellisense lists are like wading through treacle so maybe that's a sign of a more significant malaise.
I will stick with WPF - it would be a shame to slide back down that learning curve, as I said I think I just needed to vent and the people around me at work were getting fed up with me cursing at the screen
It's reassuring to hear that others are having no problems running WPF apps although it does rob me of an excuse
|
|
|
|
|
No problem fella.
I don't see VS2008 doing this either ... it does other weird things tho!
I hazard a guess that you possibly need to refresh that machine. At least uninstalling/reinstalling all VS2008 / .NET 3.5 / Silverlight Betas etc ... and starting again. Although really my vote usually goes with starting at the OS level.
Check video card drivers and make sure you have the latest. With the best will in the world business machine hardware bods don't always know the ins and outs of things like setting up video cards etc ... have a read online and see if anyone is having problems with that card. That said, it doesn't sound like its the card at fault here. It may also get as drastic as needing firmware updates ... there maybe a new motherboard BIOS for instance. Does the video glitch with anything else?
What order did you install things btw? That can make a difference.
|
|
|
|
|
Hmmm, I might just get a new PC - I will have a look at the Video Card settings though and clear down a few things and see what happens. Thanks for your help.
|
|
|
|
|
Hello World!
I want to learning wpf, what I do for this? ...
Tanx World ...
if(Human.live)
{
Human.peaceful = false;
while(true)
{
Human.love(Human girl, Human Boy);
}
}
|
|
|
|
|
Read Google!
Cheers,
World
|
|
|
|
|
You will need the right version of the .NET framework, a suitable version of Visual Studio or one of the express editions and to buy some books.
|
|
|
|
|
If youre already familiar with .NET, it's enough to read some articles here on CP.. It just takes a bit longer then.
|
|
|
|
|
I would really get some books. They are a big help (as long as they are the right ones).
|
|
|
|
|
In the code of a WPF custom control, I am updating Property1 in the Set{}
of another Property2(i.e. when another property changes). the Property1 is updated properly, but the updated value is not diaplayed in the Property Dialog Box of Visual studio. How can I get the updated value diaplyed in Property dialog box.
<br />
public string ControlID<br />
{<br />
get<br />
{<br />
return controlid;<br />
}<br />
set<br />
{<br />
controlid = value;<br />
Propertytoupdate = value;
<br />
}<br />
}<br />
|
|
|
|
|
One thing you need to do is implement INotifyPropertyChanged, and have the change notification raised when the property changes.
|
|
|
|
|
help to create a seprate dlls ?
|
|
|
|
|
|
Each project you add to your solution will compile into an assembly.
If you add a project of Type: Class library, WPF User Control Library or WPF Custom Control Library, these will all compile into their own .dll.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
|
|
Pleasure. Glad you like it.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Hello All,
Is there any way to bind TreeView with nested object without using HierarchicalDatatemplate?
For example:
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300">
<Grid>
<TreeView Margin="10,10,46,52" Name="familyTreeView"
/>
</Grid>
</Window>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace WpfApplication1 {
/// <summary>
/// Interaction logic for Window1.xaml
/// </summary>
public partial class Window1 : Window {
public Window1() {
InitializeComponent();
List<Person> _family = new List<Person>();
Person mom = new Person() { Name = "Hteik Tin May" };
mom.Children.Add(new Person() { Name = "Michael Sync" });
mom.Children.Add(new Person() { Name = "Shwesin Sync" });
mom.Children.Add(new Person() { Name = "Aye Nyein Thu" });
mom.Children.Add(new Person() { Name = "Kyaw Zin Thu" });
_family.Add(mom);
familyTreeView.ItemsSource = _family;
familyTreeView.DisplayMemberPath = "Name";
}
}
public class Person {
readonly List<Person> _children = new List<Person>();
public IList<Person> Children {
get {
return _children;
}
}
public string Name { get; set; }
}
}
It's not working without HierarchicalDatatemplate.
Any idea?
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
|
|
|
|
|
Any specific reason you don't want to use this HierarchicalDataTemplate?
You can always add TreeViewItems manually.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
I want to depend on the structure of my object. not Hierachical DataTemplate which is static.
or Am I missing something?
What should I do if I want to change the level of treeview? For example: 2 level Hierachical structure to 5 level Hierachical
2 level Hierachical structure
-111
---22222
---22222
-333
---44444
---44444
5 level Hierachical structure
-111
---22222
--------333333333333
-------------44444444444
-------------------------55555
---22222
-333
---44444
---44444
|
|
|
|
|
|
Hi
I just need to ask a quick question where do I insert my xml data into my wpf application. Like when the user clicks a button it should display for example (a dialog, picture, play a sound, ect.)
Thanks
Andrew McIntyre
|
|
|
|
|
Andrew,
Can you provide a few more details so we can lend you a hand.
modified 27-Feb-21 21:01pm.
|
|
|
|