Re: Don: Lost Mode of Operation in DSS

new topic     » goto parent     » topic index » view thread      » older message » newer message

Al Getz wrote:
> 
> don cole wrote:
> > 
> > Al Getz wrote:
> > > 
> > > Hello Don,
> > > 
> > > 
> > > I just thought i would let you know that we seem to have lost a mode
> > > of operation in DSS3 that worked fine in my original Slide Show 
> > > Picture Viewer.
> > > 
> > > This mode is: when you want to open a pic file with the viewer in
> > > the command line such as for example:
> > >   DSS3.exe "MyPicFile.jpg"
> > > or something like that, or when you use another program to open the
> > > viewer program with a certain pic file using Euphoria:
> > >   system("DSS3.exe picfile.jpg",0)
> > > or something like that.
> > > 
> > > Same problem trying to use Windows' SystemEx() C func call.
> > > 
> > > The main problem seems to be DSS3 can not find the sdata file when
> > > the program is called from some other program or command line.
> > > It finds it just fine when you double click on the 'bound' exe file,
> > > but never works any other way. 
> > > Apparently it relies on the current directory setting so it cant
> > > find the sdata file when this directory is not the same as the
> > > directory where the bound DSS3.exe file is located.
> > > I would suggest getting the correct directory for the sdata file
> > > from the command line command_line().
> > > 
> > > Perhaps you may wish to look into this?
> > > I might too.
> > > 
> > > 
> > > Al
> > > 
> > > 
> > > My bumper sticker: "I brake for LED's"
> > 
> > Hello Al,
> > 
> > If I read you corectly this happens when you try to open only one picture
> > with the Slide Show. What would be the point of that?
> > Anyways I will try your tests and see what happens. BTW did you try my
> > Winlib
> > to
> > wxEuphoria program ,I posted a few posts back?
> > 
> > Don Cole
> 
> Hi again Don,
> 
> 
> One of the points (which i use all the time) is to be able to 'open'
> a picture from Windows Explorer, where you have all the files in
> the right pane and you select one, right click on it, and use 'open with'
> to open the picture, or, you set your system up so you can double click
> on the file name to open that picture with DSS3.  Either way, you dont
> have to first open DSS3 and then try to find the picture you want to
> see by navigating through directories and whatnot.
> I did this all the time with my viewer because it just seems to be
> easier.  Also, once you open a pic in some directory through Windows
> Explorer you can then go from pic to pic with the viewer same as you
> would if you opened it first and then nav'd to the picture file.
> 
> To sum up...the viewer should be able to work like any 'normal'
> Windows program in that you should be able to set it up on your system
> to open files from any directory you choose through Windows Explorer.
> It shouldnt take much and in fact i'll try something today to see if
> it works.  I'll post results in a few minutes or so back here.
> 
> 
> Al
> 
> 
> My bumper sticker: "I brake for LED's"

O.K. Al 

My mistake change line 1445 in dlixSS3.exw

from: data=load(start_dir&"//ssdata.dat")
to:   data=load(start_dir&"\\ssdata.dat")

And in the second line of Viewer_Globals.ew change

from:start_dir=current_dir() 
to:  start_dir=the_dir_you_actually_put_dlixss3.exe_in

That should fix it. let me know.

Don Cole
 A Bug is an un-documented feature.
A Feature is a documented Bug.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu