Hi Robin,
Thanks for your response for clarity. When I tried out most of
the
WPF examples, I created a proj file to build it by msbuild, defining
the
source as *.cs. Then I double-click the exe file to see the
application
product first. Then, I walked through the code. Finally, I did the
reading.
This is my personal learning style.
I have not installed the SDK at work yet. I copied a
SayHello.exe
file from home to my computer at work, I double-clicked it, it works.
It
is
the environment with only .net 3.0 runtime installed. Now I feel much
more
comfortable that I am potentially able to use WPF technology for the
client
mahcines with XP. Thanks again.
PeterK
March 7, 2007
:
I can't double-click on the xaml file either. I didn't know you could
do
that in Vista. I stuck it in a WPF project in Visual Studio to try it
out.
Odd.
Robin S.
---------------------------------
Hi Robin,
I copied and pasted your code, and double-click the XAML
file,
it
idid not work on my machine with window XP, Service pack 2.0, a
typical
Dell
machine. Even my machine experienced one automatic window update
before I
tested your code.
I tried out WPF examples smoothly at home in Vista . It is
kind
of
strange. Thanks.
Peter
Boston, March 6, 2007
:
I would also point out that when I save this as a .xaml file and
double-click on it in Windows Explorer, it tries to open it in
Internet
Explorer, and doesn't work. There are a ton of messages about
permissions.
Is this the problem you are experiencing?
Robin S.
----------------------------------
Do you have the Window declared outside the page? I put this
into
XAML
in
a WPF project, and it works. Here's my XAML:
<Window x:Class="TestXaml.Window1"
xmlns="
http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="
http://schemas.microsoft.com/winfx/2006/xaml"
Title="TestXaml" Height="300" Width="300" >
<Page WindowTitle ="Xaml Page">
<StackPanel>
<Button HorizontalAlignment="Center"
Margin="24">Hello,Xaml!</Button>
</StackPanel>
</Page>
</Window>
I've actually not used the Page object, but I'm only halfway
through
the
gigantic WPF book.
Robin S.
-------------------------
message
Hi Peter,
Peter wrote:
Hi folks, I have installed .net 3.0 framework sucessfully in
a
machine
with XP, service pack 2. In the window explorer, I clicked
a
simplest XAML file, I got error message, "...msctf.dll not
found...." .
Then, I copied it into the local web server, and I tried to
access
it,
I got the similar error. The xaml is as below:
<Page
xmlns="
http://schemas.microsoft.com/winfx/2006/xaml/presentation"
WindowTitle="Xaml Page"><StackPanel>
<Button HorizontalAlignment="Center"
Margin="24">Hello,
XAML!</Button> </StackPanel></Page>
Please advise, Thanks. Peter
We're seeing this same problem on some of our development
machines.
Are
you by chance working with so called CAT PCs?
Greetings,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog:
http://www.galasoft-LB.ch
PhotoAlbum:
http://www.galasoft-LB.ch/pictures
Support children in Calcutta:
http://www.calcutta-espoir.ch