Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to open pictures with jpeg extension using getfolderitem?

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 26-07-2011
Member
 
Join Date: May 2011
Posts: 101
How to open pictures with jpeg extension using getfolderitem?
  

I am a new to real studio programming language so I dont have much knowledge about this, I also dont know many programmer who use this platform for coding, and so can someone please help me on how to open a set of pictures in the slideshow format so that the user can use it with the same fashion so please help me out,till know I have figured out how to set the folder in the code, but I just don t want the whole folder instead what a to open each picture.

Reply With Quote
  #2  
Old 26-07-2011
Member
 
Join Date: Apr 2009
Posts: 567
Re: How to open pictures with jpeg extension using getfolderitem?

I am just guessing on this, but I am really not sure if this would work on windows based platform, I am using a Mac to code this one. so just see that you are have written a similar code.
Code:
Dim f As New callfolder("favPics")
Dim nPics, p As Integer
Dim nNames(-1) As String
Dim pics(-1) As Picture
  If j<> Nil And j.Exists Then
    numPics = j.Count
    For p = 2 To numPics
      pics.Append Picture.Open(j.Item(i)) // this could be nil ...
      nNames.Append f.Item(p).Name
    Next
  Else
    MsgBox "no images found ."
  End
Reply With Quote
  #3  
Old 26-07-2011
Member
 
Join Date: May 2009
Posts: 503
Re: How to open pictures with jpeg extension using getfolderitem?

I have a better way out , you can save the image and get the same full image in the CGimage on a Mac Dave that might just help you to get your tip back going , however , that may sound you pretty easy by reading it but , it is not as simple as you think , while you are de-bugging the code .On the other way round if you use Rstudio save picture function you are tend to lose may lose some data and metatag,I hope that help you out .
Reply With Quote
  #4  
Old 26-07-2011
Member
 
Join Date: May 2009
Posts: 617
Re: How to open pictures with jpeg extension using getfolderitem?

I think that a really difficult start even for a expert on this field the things that you are trying to do it all depends upon what are you trying to do with that , I had the same problem and I have figured out an solution for this may be it too tricky but I think that you should check for any nil objects that are measured in the in the box , I have been used this , or if you still cannot do that , download a third party software that you allow you to do that with a greater efficiency .
Reply With Quote
  #5  
Old 26-07-2011
Member
 
Join Date: May 2009
Posts: 531
Re: How to open pictures with jpeg extension using getfolderitem?

I think that you can do this with the help of the following code, I the location of the folder might change accordingly to your choice and the images can be set directly so, just stay with it and you could be able to use the same, I would rather recommend you to have some kind of help help :

Code:
Dim f as callfolder
f=GetFolderItem("D:goldmode", FolderItem.pathtypeabsolute)
If f.exists then 
MsgBox f.AbsolutePath
Else
MsgBox "The callfolder does not exist."
End if
Reply With Quote
  #6  
Old 26-07-2011
Member
 
Join Date: May 2009
Posts: 523
Re: How to open pictures with jpeg extension using getfolderitem?

I have checked the code that the above user and have mentioned and it is accurate to a slightest , .so I think you should first tally your coding with the syntax that is given above ,if still the problem persists , then you should go for the open command in the documenntaion and then check for he select folder function and then find the folderitem class after that look at the count property with the item number in the folder .
Reply With Quote
  #7  
Old 27-07-2011
Member
 
Join Date: May 2011
Posts: 101
Re: How to open pictures with jpeg extension using getfolderitem?

I have personally checked all the check the certification on all you bring up- Picture. Open command, Select folder function, folder item class (count property & article function), but as of now I am still having difficulty finish my goal. Fundamentally, I still haven't figure elsewhere how to programmatically take hold of the Staff JPEG files I
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to open pictures with jpeg extension using getfolderitem?"
Thread Thread Starter Forum Replies Last Post
auto size the jpeg files into excel while importing and inserting pictures Raju Chacha Windows Software 3 07-01-2012 10:37 AM
Cannot open JPEG file from email on Mac OSX Benjhonson Operating Systems 4 12-11-2010 11:11 AM
problem to open JPEG and GIF file with MS Photo Editor spuff Windows Software 4 24-02-2010 10:35 PM
Unable to open jpeg.nco file in windows XP Swetlano Windows Software 3 13-02-2009 06:08 PM


All times are GMT +5.5. The time now is 10:57 AM.