File in use!

people! I've got a problem! I use

dotNetControl dropbtn "System.Windows.Forms.Label" pos:[70,4] width:155 height:121
dropbtn.BackgroundImage = (dotNetclass "System.Drawing.image").fromfile (....001.jpg)

and everything is working ok, but when I change the file 001.jpg and try to save it, it sais : cannot save, file in use :(((

how to solve that? It is very important to know!

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
artrender.info's picture

but are you sure

that this image viewer - imagelistview won't use the file like usual dotnet label?

barigazy's picture

...

Probably have different preview options then .net label.

barigazy

artrender.info's picture

10 years ago I was working in C++ but I forgot everything!

hm, let's see! Thx Barigazy! Good Night!

artrender.info's picture

ok!

But is it possible to make preview of a file in maxscript without net, with the support of rescaling this picture, update it ...?

barigazy's picture

...

No. Thake look these thread by fajar. http://forums.cgsociety.org/showthread.php?f=98&t=1107357. Then see link in the first post. You want something like that :). Me to. But I not know C# or C++ or VB. You need to find good programer to compile that tool for you.

barigazy

artrender.info's picture

don't give up!

what happens when you press on "view image" btn?

barigazy's picture

You will be open "Open"

You will be open "Open" dialog window. Are you want .net solution for that?

barigazy

artrender.info's picture

however

I still think there is a way of solving it without making thumbs! Think, Barigazy! You know a lot! Just get in your labyrinth and you'll get the solution, I'm sure of that! You can do anything in maxscript!

artrender.info's picture

I think

it should also be sensitive of source file changing! If I make thumbs, and I list some textures, they should update only those that changed, otherwise, it will be very slow!

barigazy's picture

In any case will be slow for

In any case will be slow for sure. That's why people create plugins for that reason. Mxs is not for that.

barigazy

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.