Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-03-2003, 03:05 PM
Junior Member
 
Join Date: Aug 2003
Posts: 7
Default converting from VB to SWF Question

I am trying to use an ActiveX component and have the following Visual Basic example to go on...

Invoice1.CustomerName = "John Q. Customer"
Invoice1.ItemCount = 2
Invoice1.ItemName(0) = "Our Company's Product"
Invoice1.ItemAmount(0) = 14000 'number of cents
Invoice1.ItemName(1) = "Our Company's Product"
Invoice1.ItemAmount(1) = 14000 'number of cents
Invoice1.Add()


The code works except for the line with the indexes (0).
it seems that they are not being sent properly.

Ive tried brackets, quotes...

Any suggestions?... BTW this is a activex for communicating with quickbooks.


Reply With Quote
  #2 (permalink)  
Old 01-11-2004, 10:44 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:converting from VB to SWF Question

You must use

Invoice1.ItemName[0] = "Our Company's Product"

Thanks
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:46 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.