Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


2 questions: LoadPicture and multi-dimension arrays

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,49867
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> 2 questions: LoadPicture and multi-dimension arrays
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 2 questions: LoadPicture and multi-dimension arrays - 7/23/2007 9:06:37 PM   
  markmcrobie

 

Posts: 314
Score: 0
Joined: 12/12/2006
Status: offline
1) What's the use of the VBScript "LoadPicture" function?

2) Out of curiousity, what's the most amount of dimensions anyone's ever seen used (meaningfully) in an array?

Cheers
 
 
Post #: 1
 
 RE: 2 questions: LoadPicture and multi-dimension arrays - 7/23/2007 9:57:00 PM   
  markmcrobie

 

Posts: 314
Score: 0
Joined: 12/12/2006
Status: offline
As for Q1), I found this code:

blah = LoadPicture("C:\Documents and Settings\mark.mcrobie\My Documents\My Pictures\256.jpg")
MsgBox blah

will return a MsgBox with a seemingly random long number, different every time I run the script

(in reply to markmcrobie)
 
 
Post #: 2
 
 RE: 2 questions: LoadPicture and multi-dimension arrays - 7/23/2007 11:12:18 PM   
  ginolard


Posts: 1053
Score: 21
Joined: 8/10/2005
Status: offline
I've used 3 meaningfully in the past.  Anything more than that I'd consider a different approach (yes, I know there's a 4-dimensional array thread going on right now!)

_____________________________

Author of ManagePC - http://managepc.net
AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm
Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm

(in reply to markmcrobie)
 
 
Post #: 3
 
 RE: 2 questions: LoadPicture and multi-dimension arrays - 7/23/2007 11:27:09 PM   
  DiGiTAL.SkReAM


Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
Try this:

      

I had to do some serious searching via google to find this.  The iTwip value is set to 96 for systems using normal sized fonts, and 120 for large fonts.  other than that, it is pretty self-explanatory.
For a full description of the object, including other properties/methods, go here.

_____________________________

"Would you like to touch my monkey?" - Dieter (Mike Meyers)

"It is better to die like a tiger, than to live like a pussy."
-Master Wong, from Balls of Fury

(in reply to markmcrobie)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> 2 questions: LoadPicture and multi-dimension arrays Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts