i am creating a com object in VB that will resize images dynamically. this works fine when called from other VB apps but not from asp, at least not fully. the main points of the dll to note are its SrcPic property which takes the form:<BR><BR>Property Set SrcPic(p as StdPicture)<BR>...<BR>End Property<BR><BR>Function CreateNewImage(Optional SourcePath, Optional DestinationPath, ...)<BR>...<BR>End Function<BR><BR>if you set the SrcPic property, then SourcePath is not required when you call CreateNewImage as it uses the picture object you have supplied. DestinationPath is the path to save the newly sized image to, and if it is not passed to the function, a temp file is used instead. the idea is to use this from an ASP page to load large images scaled down, so something like:<BR><BR>&#060;%<BR>Dim imgDll<BR>Set imgDll = Server.CreateObject("Dll.Class")<BR>&#060;img src="&#060;%= imgDll.CreateNewImage(srcpath)%&#062;"&#062;<BR>%& #062;<BR><BR>or something like that so you can load smaller thumbnailed images or whatever your needs may be. however, it only works if you set the SrcPic property AND specify a destination path...so something along the lines of:<BR><BR>&#060;%Set imgDll.SrcPic = LoadPicture(srcpath)%&#062;<BR>&#060;img src="&#060;%= imgDll.CreateNewImage(, destinationPath, ...)%&#062;"&#062;<BR><BR>thats the only combination that works, but from a VB app it all works fine, regardless of how you pass the source image or destination image. any ideas why?