ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » VB API To send a File

Post new topic  Reply to topic
 VB API To send a File « View previous topic :: View next topic » 
Author Message
nik_iway
PostPosted: Sun Apr 02, 2006 10:36 pm    Post subject: VB API To send a File Reply with quote

Centurion

Joined: 21 Jul 2005
Posts: 115

Hi,

Can anybody give me a sample code to send a file (PDF, PPT) by VB(6) API to MQSeries Sever by MQClient. I am using IBM provided ActiveX Classes.

Any General layout of the Program...............

Regards
Nik
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 03, 2006 3:40 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Step 1: Open a connection to MQ
Step 2: Open the output queue
step 3: For each file
Step 4: Read the entire contents of the file
Step 5: Write the entire contents of the file into an MQ Message
Step 6: Put the message onto the output queue
Step 7: End for
Step 8: Close the output queue
Step 9: close the connection

These steps apply to EVERY kind of file, and every kind of data.

But you're much better off buying a product to move files over MQ for you.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » VB API To send a File
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.