I want to Change the source of an Image programmatically.
I found that it's done with help of the class BitmapImage. The class is in System.Windows.Media.Imaging
But I don't have this package! I suppose I have to install something, but I don't know what and how. Searching also didn't help, I only find examples using this class, but not how to get the package. I'm using a fresh installation of Visual Studio Express 2012.
System.Windows.Media.Imaging.BitmapImage is part of WPF and cannot be used in a Windows Store app. Perhaps you are looking for Windows.UI.Xaml.Media.Imaging.BitmapImage.
Related
I'm new at this.
I would like to use in my visual studio project calwidget dll.
I add the dll to my project and i was able to edit some properties but i don't know how to create/save/retrieve appointments (similar to the outlook style).
Create more than one calendar (in monocalendar.exe you can create more than one calendar)
I just found this thread
Free schedule/timetable GUI library for .NET
But unfortunetly wasn't helpful (probably because of my beginner level)
Can anyone please give me some advice or help me?
Thanks
To use the dll, you need to refer it first.
In Visual Studio 2012 (others too) go to:
Project-->Add Reference --> Click on Browse button and browse your DLL.
Once you refer to DLL, use Import statement in your code to refer to the DLL library.
To create more than one calander, You can create more than one intance of the class or usre one winform per user. It is something depend on your application.
As I promised a sample code, I have done a video on the same. I am not sure if you were able to follow my instructions above. So I put those all here. Click Here...
Hopefully someone can tell me what I am doing wrong here. I have a SharePoint 2010 workflow I am coding in Visual Studio, and I was trying to emulate what is being done here, but as soon as I hit this line:
PdfConverter pdfConverter = new PdfConverter();
My workflow errors out.
I have Phil's book (workflow's in action) which contains an old version of the winnovative dll in one of his code samples, and thinking that might be the issue, I downloaded the newest version from winnovative's site, updated the using line at the top from:
using Winnovative.WnvHtmlConvert;
to simply:
using Winnovative;
as per the developer documentation that came with this newer version, and still no luck. Is there something else I need to do that I'm missing when using this with SharePoint? When utilizing an XSL style sheet for some transforms I had to deploy the xsl to the templates via my project utilizing the sharepoint mapped folder from within Visual Studio. Is something similar required for the winnovative dll to be utilized as well, so that the functions within the dll can be accessed? Do I need to do regsvr32 on the sharepoint server to utilize (something that literally just occurred to me as I'm writing this post), or is adding the reference in visual studio and compiling my code enough? Sorry, not the world's greatest developer, so some insight would be HUGELY appreciated. Thank you in advance for your time.
I figured it out. Following the breadcrumbs of my questions, I found out the dll needed to be deployed to the GAC. Once I did that it worked. This has been a big learning experience, but at least now I know. Thanks for looking.
I am looking fora timepicker control for WinRT. I have looked at few nuget packages like callisto and winrtxaml but they dont seem to have it. Is there any package online which implements it ?
Something Like this-
I believe there is one coming with Windows 8.1. Otherwise (if you need it for 8.0) there are some component libraries that come with one - see a list here. If I were to choose to do more work over paying a few dollars to get one - I'd check if the Windows Phone Toolkit had one and port it to Windows 8.0.
Since you are on Visual Studio, I would highly recommend Synfusion's XAML Studio. You can check my Blog Post on DatePicker Control here, http://darkcore.in/getting-started-with-syncfusions-date-picker-control-for-winrt/
You can also visit their Official Site : www.syncfusion.com
Regards
I've poked around looking for a zip function from with Visual Studio but haven't found anything.
Is there a function? Reason I'm asking, is I'm currently creating a process within my code to call 7zip, but this program isn't installed on all user machines and installing the program is an option, just not an ideal option.
Suggestions?
Try the System.IO.Compression library that comes with C#:
ZipFile Class
I have used dotnetzip.codeplex.com with very good results. There is definitely some coding and qa work to do to ensure it's handling your data correctly. But you're quite right that it's easier to deploy to random client machines than calling out to 7zip.
I noticed the other day that the Zune PC Software exposes a type library (ZuneCore.dll). It seems to be related to the WMPLib API in some way but I can't figure out how to use it either from VB6 or C#.
Has anybody tried this and had any luck?
Dave
May be an old question, but this link might help: http://zunelcd.codeplex.com/ If you download the source for this project one of the class libraries is a decent API for communicating with the Zune Software.
i just found out about this -> http://soapitstop.com/blogs/fleamarket/archive/2008/03/03/read-the-zune-collection-in-net-from-zune-s-own-api.aspx but it seems a bit outdated Initialize method now takes some parameters and i dont know what to put there!
Try adding a reference to it from a .NET project in Visual Studio. Perhaps this namespace will appear magically: MicrosoftZuneLibrary