view thumbnails of image files

G

Guest

I want to create an application using VB.Net to have something like
windows explorer to view thumbnails of image files in the
directories.

Is there a control or soemthing to do this?

thanks

mike w.
 
G

Guest

so how do I add and use a c# file in my vb.net project?
On the App I right clicked and added the ThumbnailCreator.cs file
the I added Imports vbAccelerator.Components.Shell to the top of my form but
I get arrors saying it can't find the name space.

So what can I do?

thanks

mike w.
 
G

Guest

thanks but I knew the function for getting thumbnails, but I need a way to
show all the thumbnails in a folder at once.
If you have XP, goto C:\WINDOWS\Web\Wallpaper and change the View to
Thumbnails.

That's what I want.

thanks anyway

mike W.
 
H

Herfried K. Wagner [MVP]

mike w. said:
so how do I add and use a c# file in my vb.net project?
On the App I right clicked and added the ThumbnailCreator.cs file
the I added Imports vbAccelerator.Components.Shell to the top of my form
but
I get arrors saying it can't find the name space.

You cannot mix C# and VB.NET code in the same project. What you can do is
adding the C# project to your solution, set a reference from your VB.NET
project to the C# project, import the C# project's namespace and use the
classes defined in the C# project. To add a reference, select the VB.NET
project in solution explorer and choose "Add reference..." from its context
menu.
 
C

Cor Ligthert

And don't than forget in the added C Project to set the general properties
"output type" to Class Library and to do a build for that before you set the
reference in your VB project.

I hope this helps?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top