Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-27-2004, 12:03 PM   #1
Its the Dark Side!
 
ComputerNut's Avatar
 
Join Date: Jan 2004
Location: Kitchener, Ontario, Canada
Posts: 1,111
Send a message via MSN to ComputerNut
load command in VB

Alright, im building a program in VB6, and im trying to find out how to load an image object times the number from a textbox. here is my Interpretation:
Code:
Private Sub Command1_Click()

For i = 0 to Text1.Text

    Load (Disc(i) as Image)

Next i
Where:
- Text1 is a textbox which the user inputs the number of times the object is loaded (or I like to say "cloned") )

-disc(i) is the object, being loaded. there is already an existing one set with a control array: "disc(0)"

the problem is that when I try to follow the popup's syntax:

Load(object as object)

What am I doing wrong?
__________________
CN
My Rig: "Dark Lord"
Asus P5B - Intel Core 2 Duo E6400 - 1GB DDR2 667 RAM - Seagate SATAII 80GB HDD - Seagate SATAII 250GB HDD - Lite-On DVD -/+ RW Drive - nVidia GeForce 7600 GS - ATi TV Wonder VE

ComputerNut is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:47 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2