Solved

I have a dotnet dll that uses system.drawing, how can I call this from silverlight or lightswitch - it is a desktop app

Posted on 2014-07-24
3
473 Views
Last Modified: 2014-08-04
I have a dotnet dll that uses system.drawing, how can I call this from silverlight or lightswitch - it is a desktop app
0
Comment
Question by:sparksolutions
3 Comments
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
What would be the purpose of this dll?
As far as I know, in lightswitch it's only possible to use a silverlight control as a custom control in your UI screens for example.
In order to do this, you can add an extra project to your solution that holds the silverlight controls and refer to this project from your lightswitch client project.
Then you can use the "custom control" option in the designer to use a custom control from this project.

A few links that can  help you on your way to creating custom controls for lightswitch:
How to: Create a LightSwitch Control
Creating A LightSwitch Custom Silverlight Control
0
 

Author Comment

by:sparksolutions
Comment Utility
I have a class for en oding a magstripe
If is a dotnet class
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
Comment Utility
you should wrap your desktop dll with a web service (WS-* or RESTful), so it can be consumed by the silverlight application comfortably.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Retain selection in datagridview 2 22
How do I get the id from URL? 19 47
Chat Room 1 25
Copy/Clone an object. 9 10
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now