|
BadJerry wrote: How can I make a silverlight application communicate with an MFC application?
Silverlight beta 2 supports WS-I Basic Profile 1.1 and socket.
BadJerry wrote: Should I simply use sockets or is there a way that an MFC application can act as a webservice?
I don't have that much idea MFC. You may need to ask about that in MFC forum.. From Silverlight point of view, if you wanna use web service, you need to follow WS-I Basic Profile 1.1. (ASMX, WCF service works pretty well with Silverlight. )
|
|
|
|
|
Thanks for your reply... much appreciated!
I amm now thinking of instanciating a COM object in the instance object of a Web Service... and use that as the channel of communication... Do you think this could work? any caveats?
|
|
|
|
|
BadJerry wrote: I amm now thinking of instanciating a COM object in the instance object of a Web Service... and use that as the channel of communication... Do you think this could work? any caveats?
You may be able to instantiate the COM object in webservice but you won't be able to do that in Silverlight. If you are talking about socket, please check-out this post. a>[^]
IMHO, Silverlight 2 beta1 has a lot of issue for networking things. If you are just using ASMX web service or WCF, I'm sure it will be working fine. Otherwise, I'm not so sure about that.
|
|
|
|
|
Thanks for this - and great blog as well. I have bookmarked it!
|
|
|
|
|
I have a canvas and on that I am drawing few lines on perticuler locations along with some text. Once the drawing done I want the mirror image of the same. How to do that.
It is not a bitmap
|
|
|
|
|
|
Hi all. I want to design work flow. Services, Some procedures, functions, classes are represented by objects. Each object has some events, some actions.. So i want to design workflow of my project and generate some codes behind. And I will insert to database all these codes, object's features, object's place (left, top).. Again you open this project
you can change object's properties, places or logic of the project with grapichs. How can i do this, if anybody have an idea please help me. thanks all..
S.A.A
|
|
|
|
|
sorry subject is wrong. Write a workflow diagram with WPF ???
S.A.A
|
|
|
|
|
Hi Friends,
I am very new to silver light.But i have tried some simple graphics silver light applications.But they are not useful to me. I want silver light applications which are required for normal application and for business applications.I want to generate some reports by using silver light layouts
Can u please suggest me some links? Your help is really appreciable
Regards
Kishore
|
|
|
|
|
kishorekumar.malla@live.com wrote: I am very new to silver light.But i have tried some simple graphics silver light applications.But they are not useful to me. I want silver light applications which are required for normal application and for business applications.I want to generate some reports by using silver light layouts
Can u please suggest me some links? Your help is really appreciable
What about DataGrid control of Silverlight 2 beta1? Otherwise, you will have to make your XAML looks like reports.. If you are familiar with Blend, it's not so hard to do..
|
|
|
|
|
Thanks michael for ur quick reply.
I am not that much familiar with blend,worked on that,but not that much confident.
I nees some example applications how to do those applications in silver light and how to develop those one by using silver light.i need only guidance
just look this example,it provides all the business operations and reports. i have to develop in such a way. i dont need completely. just i need i some guidance and some example applications
i can develop my application in a such a way.go thorugh below example
http://www.cookingwithxaml.com/meals/financials/default.html[^]
Thanks
Kishore
|
|
|
|
|
|
Thank you very much micheal
|
|
|
|
|
if u find some more,can u pls add it
|
|
|
|
|
Hi,
We've developed an app that uses Silverlight (mostly plays videos). We're using VS 2008. The app runs fine when launched from VS 2008. When we publish to a website using VS 2008, and launch the page, the page does not display any SL controls. Right-clicking on the page simply display the right-click menu with 'Silverlight Configuration'.
What are we missing? Do you need to install any server compnents for Silverlight? We have installed the plug-in for the browser. We'd like to go live with this end of May.
Thanks.
Shefali
|
|
|
|
|
shefali_sinha wrote: hen we publish to a website using VS 2008, and launch the page, the page does not display any SL controls. Right-clicking on the page simply display the right-click menu with 'Silverlight Configuration'.
Have you registered MIME type for xap? You need to do that if you are using IIS.
shefali_sinha wrote: Do you need to install any server compnents for Silverlight?
No.
shefali_sinha wrote: We have installed the plug-in for the browser.
Is it the correct version?
shefali_sinha wrote: We'd like to go live with this end of May.
AFAIK, Silverlight 2 beta1 can't be used for commercial application. You will need to wait Silverlight 2 beta2 that will be released with Go-Live commercial license.
|
|
|
|
|
Michael,
Thanks.
About going live, please see http://silverlight.net/GetStarted .
Its says:
"Microsoft recommends companies begin to experiment and build with the Beta to ensure applications can be deployed on subsequent releases, there is also a Go-Live license available for Silverlight 2 Beta 1 for early adopters."
So, I think we're OK deploying with SL2 beta 1.
Thanks.
Shefali
|
|
|
|
|
shefali_sinha wrote: So, I think we're OK deploying with SL2 beta 1.
I know you will say like that because we have some discussions about that in Silverlight forum..
Based on what MS guy said, it's not allowed to use it for commercial application...
Ref:
Ashish from Microsoft said[^] ~
When is Silverlight 2 - final version expected to be released?
We are targeting late Summer
Here is a rough timeline:
Silverlight 2.0 Beta 1 (Q1CY08 with limited (non commercial) Go-Live)
Silverlight 2.0 Beta 2 (Q2CY08 with Go-Live)
Silverlight 2.0 RTM (Summer 2008) – Exact timing TBD
Silverlight v.next – We are working on a v.Next plan and have nothing to announce at this time
Silverlight for mobile – No date available
Tom Taylor from Microsoft Silverlight team said,[^]
The license in the current version of Silverlight 2 (beta 1) does not allow for commerical use. This will change for Silverlight Beta 2, and obviously for the final release.
So, you decide! I'm just sharing something that I got from MS guys....
|
|
|
|
|
Hi,
i tried to implment the MVP Pattern in silverlight 2 but i found some problemes.
First i create a several project:
- Silverlight project (views: xaml pages )
- Presenter project (presenters and viewInterfaces)
- WebServices project
- Model project (buisness object)
When i tried reference my presenter project to silverlight project ( the view implement the view interface) Visuel studio 2008 poste this error message:
"Silverlight projects can only be referenced by other Silverlight projects"
this is understandable for deployed code but what is the solution for this, how can i add this reference.
thanks for your help
|
|
|
|
|
Hello,
almora007 wrote: When i tried reference my presenter project to silverlight project ( the view implement the view interface) Visuel studio 2008 poste this error message:
"Silverlight projects can only be referenced by other Silverlight projects"
this is understandable for deployed code but what is the solution for this, how can i add this reference.
You can't reference other .NET dlls except Silverlight Class Library only. When you create the presenter project, you need to choose Silverlight Class Library template.
almora007 wrote: - WebServices project
Another thing that you should know even you didn't ask..
If you are using Visual Studio Development Server, you can't use different webservice project because of cross-domain issue. You will need to add the web service item to ASP.NET project....
|
|
|
|
|
Can you please advise on checkbox in a combobox and binding, where itemsource is a collection.
|
|
|
|
|
Can you please provide a more detail of what you are trying to accomplish?
This article I wrote covers using a CheckBox inside a ListBox so the binding will be similar in that you'll use a Data Template to accomplish what you need.
http://www.codeproject.com/KB/WPF/WPFProblemSolving.aspx[^]
modified 27-Feb-21 21:01pm.
|
|
|
|
|
I have a simple question that I hope someone can help me with.
All of the Wpf examples that I have seen which bind a ListView to a collection do so by declaring the collection as static. How do you accomplish this with a non-static collection?
Here is the typical example that I have run across:
public partial class Window1: Window
{
public static ObservableCollection<string> TheCollection = new ObservaleCollection<string>();
public Window1()
{
InitializeComponent();
}
}</string></string>
The XAML file:
<Window.Resources>
<CollectionViewSource Source="{Binding Source={x:Static local:Window1.TheCollection}}" x:Key="TheCollectionView"/>
</Window.Resources>
<Grid>
<ListView Name="TheCollectionListView" ItemsSource="{Binding Source={StaticResource TheCollectionView}}" />
</Grid>
What is the syntax for the binding when the ObservableCollection is not static?
I hate to ask what seems to be such a basic question but after several hours of searching I cannot find any example that does not use static.
|
|
|
|
|
Have a look at Bea's site. This post has what you are looking for: http://www.beacosta.com/blog/?p=17[^]
Bea's if the "First Lady" of WPF data binding with many great examples of using the platform.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
I'm using Visual Studio 2008 and MS Expression Blend to create a Silverlight application with C# and WPF.
My original goal was to rewrite a WinForms custom-drawn control in Silverlight / WPF, but from what I've seen, simply responding to a paint event and drawing stuff on a surface is a foreign concept to WPF. Fortunately, I found a few places that told me it was possible to simply host a Windows Forms control in a WPF application, which would solve my problem neatly and save me a lot of work in the process. (One such article here.)
The problem is, I can't seem to add any references to Windows Forms or Windows Forms Integration to my project. There don't seem to be any Windows Forms 3.5 assemblies on my system, even though I'm reasonably sure I've installed .NET 3.5 and everything. The only Windows Forms Integration DLL I have is from version 3.0, and I can't add any of these assemblies to my project because they were not built against the Silverlight libraries.
So what am I to do? Everything seems to indicate that hosting a WinForms control in WPF is possible, but does the fact that I am using WPF in Silverlight make this impossible?
If so, my secondary question would be: is there any way to just get a hold of a drawing surface in WPF and render text and shapes to it, like one would do with System.Drawing.Graphics? The new system of creating a bunch of shape objects seems really awkward for my purposes.
Any help would be greatly appreciated!
[Insert witty and relevant signature here]
|
|
|
|