|
in this project I make a game.
I've been downloaded an image with .png extension that edit it's vector with Inkscape than to make it compatible with the newest AI format so I change this .png into .pdf extension...
expression design can read this .pdf, but it requires the file to have ai. format. that's way, I needed to rename the file exported from Inkscape as PDF.
However, I didn't export to XAML from Inkscape because there are some incompatbilites in that conversion. The most secure way to export to XAML these days is using Expression Design.
But when I load this XAML in browser, it can't shown my file..
|
|
|
|
|
Can you open the XAML using Expression Blend and see whether it is opening perfectly or giving some errors. If so, there might be some issue in XAML, may be one reason of issue in conversion.
Let me know what happen after opening it in Expression Blend. If you don't have Blend installed, try to download the trial version from Microsoft Site.
Regards - Kunal Chowdhury | Software Developer | Chennai | India | My Blog | My Tweets
|
|
|
|
|
I'm sorry for the late reply.. I decide to change the image with image control..
i'd like to use button template. thx for your respons.. help me if i have any problem.. i'm newbie. here..
|
|
|
|
|
Hi i am using VC7 and i want to connect mysql 5.1 through odbc driver mysql 5.0.
i have conncect database by cdatabase class . after successfuly open the database we called open method of Crecordset but it give exception.
CRecordSet rs(m_db);//
rs.open(CRecordSet::Dynaset,"Select * form Tablename",CRecordSet::none);
above line guve exception aboiut dynaset. we are unable to call open function of Crecordset.
|
|
|
|
|
Please post this in the Visual C++ forums - you'll have more of a chance there. This forum is for Windows Presentation Foundation, Windows Communication Foundation and Workflow Foundation.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
sorry i have some mistake
|
|
|
|
|
Im trying to write a poker application in WPF and Im having trouble figuring out on how to animate "dealing of cards" from dealer to player seats.
The dealer position is located on the topmost-center position and each chair is located on every edge of the table.
The chairs are positioned and aligned using Grid using Grid.Column and Grid.Row this way when the window resizes all elements in the window follows up.
-How can i animate a card object from dealer seat to players seat position?
-What if the window resizes?
-how can i set the target for the animation?
for example, I would like to deal card at player seat 5 located at Grid.Row = 3 Grid.Column = 2?
by this the card animation will target the grid location of the said player..
Can you guys give me idea on how to do this?
Thanks,
|
|
|
|
|
Hi
Maybe you could switch the grid with something else, wich will give you more granular control over the position of the elements - maybe canvas. The other aproach I can think of is to animate the ScaleTransform of each element.
Uros
|
|
|
|
|
How can I set the Visual Studio as the default external editor in Blend 3?
I know that by right clicking on C# or XAML file I can get a context menu in which VS is one of the items. But I mean something different: in the Properties panel, under "Events", when I write the event name and then want to jump to VS in order to edit the event.
Thanks,
David
|
|
|
|
|
Sorry, this behavior is not present as best of my knowledge.
Regards - Kunal Chowdhury | Software Developer | Chennai | India | My Blog | My Tweets
|
|
|
|
|
Thanks for trying to help. Meanwhile I found the answer:
In Blend 3, under Tools>Options>Project, there is an option: "Use Microsoft Visual Studio to create and edit event handler code…". And that is what I was looking for.
Regards,
David
|
|
|
|
|
Oh, Thanks David...
Regards - Kunal Chowdhury | Software Developer | Chennai | India | My Blog | My Tweets
|
|
|
|
|
hi,
I'm trying to create some kind of a wizard framework in wpf, but since I'm not too experienced in wpf I don't know how to solve certain things.
What I would like to have is a basic wizard and a basic empty wizard page that provides the "look" of every wizard I need in any part of my application, and, if possible, I would like to provide a basic functionality for the forward and backward buttons.
In a winform environment, I would create the wizard and the page as "usercontrols" and derive a certain wizard or a certain wizard page from those base classes.
I just don't know how to do it in wpf (the way it is supposed to be done in wpf). There seem to be so many ways,..styles, controltemplates, usercontrols, customcontrols, datatemplates...all I know for sure is that I want to use mvvm. And I know I should use commands for the button clicks etc.
I do not like the navigation approach in msdn..it's too weblike I think. Google didn't help either, I came across many wizards but they all had fix pages.
Actually I'm very fond of the internationalized coffee wizard by Josh Smith and Karl Shiffet here on codeproject, but it has fix pages, too.
I hope somebody can point me in the right direction (what should I use,..usercontrol, controltemplate,...?).
thanx a lot in advance
sth_Weird
|
|
|
|
|
|
thanx for your reply!
actually in my initial post I mentioned that I do not like the Navigation example on msdn because it looks so weblike...but well I thought I might google for it a bit more and see if I could find any better examples (I am not fond of the msdn examples, they are small and do their job but most of the coding is bad).
I found out it is possible to restyle the frame/page system so that it looks less weblike and more like a decent software wizard. Maybe it's not that bad after all.
I'll give it another try!
sth_Weird
|
|
|
|
|
Hi, in the mean time I am responding you.
I was suggested you, to use NavigationService using Frame with windows. This will not behaving like browser application.
After 1 or 2 hours I will post you sample code.
Parwej Ahamad
ahamad.parwej@gmail.com
|
|
|
|
|
thank you very much for your help!
it is very kind of you to offer me sample code, but since I want to dive deeper into wpf and not just "copy, paste (and edit)" I will try to implement it on my own (I am experienced in c# and I know the basics of wpf, so I hope this won't be too much of a problem for me). I will return if I encounter problems!
sth_Weird
|
|
|
|
|
No problem. I like your sprit towards the WPF. Thanks
Parwej Ahamad
ahamad.parwej@gmail.com
|
|
|
|
|
Have you worked with any of the commercially available wizards? It might give you an insight as to how it is actually structured.
I've only used the Actipro wizard which is pretty good. Might be worth going down this route to kick off some thought processes.
Cheers,
|
|
|
|
|
Thank you for your answer.
I've heard about the Actipro wizard but I don't want to use any commercial products (it says on the homepage it's only a trial, and the included source code shows how to use the wizard but it does not include the source code of the wizard itself).
EDIT: I think I'll give the navigation approach (frame/pages) another try, I've found a couple of useful examples of how to restyle it an make it look less weblike. Maybe it's not that bad after all.
sth_Weird
|
|
|
|
|
|
I have created a wcf services that are hosted in console application,and binding is done using netNamedPipeBinding. Now i am adding this service as a service refernces in silverlight .web part.
How can i use it to display data. Here wcf services uses database.
please put ur valuable comments
Thanks in Advance
|
|
|
|
|
If you succeeded in getting a service reference then you are halfway there.
Let's say you saved that reference as MyWcfService. That name becomes your namespace extension. So if your project is MyWeb, then your full service namespace is MyWeb.MyWcfService.
In your program you now have to find the name of your DataClient. After that the rest is a piece of cake.
MasterClient client = new MasterClient();
client.OpenAsync();
client.GetInformationEventHandler+=new EventHandler(ProcessResults);
client.GetInformation();
client.CloseAsync();
The event handler sets the CallBack from the asynchronous call.
The GetInformationI() call is actually whatever your calls are in your service. (event handlers are automatically generated for you)
You can make multiple calls to multiple methods on the same instance of the client. But if you have to make two calls to the same method, you need two separate instances of the client and two instances of the event handler. (such as loading the customer address and billing address)
|
|
|
|
|
I have created WCf services in console Application in C#. How can i use this services in silverlight .web part.using this services i have to display data.
|
|
|
|
|
You have already posted this question here.
Please do not repost....
Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|