Create a gif from an array of bitmap vb.net (visual studio 2013) - vb.net

My goal is to creat a gif from (42) images that I got (screenshots from a graphic after a small rotation).
I managed to find some ways to do it, but each time I must instal some package/component/library (I'm not familiar with those...)
A gif is a succession of images right? Isn't there a easy way to "stick" those image on after an other as a gif? Or there is nothing in visual studio for that (I found somewhere in the project tab ---> add a component ---> image.gif but i can't manage to do anything with it)

Related

Make VB.NET app DPI Aware (Visual Studio 2012)

I'm trying to make an image file from a control using CopyFromScreen, and it fails unless I set the scale to 100%. With a larger scale the image is progressively offset left and up, the further right and down the window is on the screen. (Unfortunately my eyes struggle at 100%)
I initially tried using DrawToBitmap but that fails as there's a rich text box in the control and it's documented that that won't paint.
I've read articles on this forum and followed the suggestion of including the dpiAware setting in the manifest, but that has no effect. I'm no expert and I'm wondering if it's because I only have VS 2012 and my manifest declaration starts with asmv1 rather than asmv3 so I had to amend the example code?
Any suggestions most welcome.

Extract large icon from .exe file in VB.net

I'm trying to get many large (48x48, 256x256, etc.) icons from an exe file and place them in a ListView control. Icon.ExtractAssociatedIcon() only gets a 32x32 image which is too small, are there any alternative methods I could use? I've looked at solutions like this but they don't work.

Blend, big xaml files (cad)

I'm trying to import cad model into blend and then make some storyboard on it.
Idea was to export xaml file from solidworks and then import it to blend.
File open in blend, model is displayed correctly and every thing works until i zoom/move or make any action that results in immediate program crash.
Xaml file is about 5mb, and outside blend works fine in my program i can rotate,zoom it freely with good performance.
Have anyone encountered similar problem, or have good method for converting cad->xaml.
I did when working on an augmented reality feature in a desktop aplication.
My solution was to convert the object to fbx format and use the XMA game studio controls to view it. Then I was able to do what I wish in blend.

Importing an Image into Visual Studio to Code

I don't feel as if what I'm asking is ridiculous. Would I be able to import an image of any kind (png, jpeg, etc) into visual studio and then define regions/hotspots to code as buttons? It would kind of be like an expression blend/silverlight thing but if I already had the design in an image format and I just need to put code behind it.
Expression Studio contains tools that can meet your requirements,
http://www.microsoft.com/expression/products/Design_WhatIsExpressionDesign.aspx
For example, by using Design, you can import existing images and export XAML directly, which can later be used in your Visual Studio/Expression Blend projects.
You have to use such separate tools, such as Visual Studio does not have such features built in.
I have done this with an imagemap and hotspots over button graphics in an image the aspx page.

Change thumbnail size in Sharepoint 2010

I tried to find it using google, but there are only tips for 2007.
I want to change a few layout things, which are:
The thumbnail size of an image library
The thumbnail size in a slide library
I found this good explanation here:
http://vspug.com/keutmann/2007/01/27/how-to-resize-the-thumbnails-in-a-picture-library/
But I can't find the screenshot view (these nice options) anywhere inside my Sharepoint Designer. Its 2010, so maybe they moved it somewhere else. Anyone has an idea where to find this options tab from the screenshot?
Thanks a lot,
Chris
The linked article does not describe SharePoint Designer, but rather SharePoint Manager, which appears to be a third party tool created by the author.
You could give it a try. Like the U2U CAML Query Builder, it might still work for SharePoint 2010, especially if it uses web services to connect to the site.
But if it doesn't, you should be able to write a Feature Receiver that will accomplish the same thing by modifying the ThumbnailSize property. That has to be what the SharePoint Manager tool is doing.
Regarding changing the thumbnail size of the Slide Library (which you cannot use Sharepoint Manager to do unlike the picture library)
This worked for me to get a bigger thumbnail..
Note that the solution relies on having a naming convention for your files which you apply after you have loaded them up to the slide library eg ENG_02_0010, ENG_02_0020 rather than leaving them named as is when uploaded to Sharepoint.
Create another field called Preview say and make it a picture (format url as picture)
For each uploaded slide put the url link as http://siteName/slidelibraryName/_t/ENG_02_0010_pptx.jpg (same name as your slide with a _pptx.jpg extension)
Get rid of the standard thumbnail from your view and put this new column next to the selection box
Worked for me, much bigger and readable thumbnail!
PS
In SP designer you can find all the jpg thumbnails in the _t directory under the slide library
You can also use CSS on the page where you're displaying the thumbnail images. Here is an example:
<style type="text/css">
img[alt="Thumbnail"] {height:100% !Important;width:100% !Important;}
</style>
This looks for the images with an alt attribute of 'Thumbnail'. I successfully tested this with a Slide library in SharePoint 2013 using IE & Chrome.