Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. vb script/connecting to an as400 session

vb script/connecting to an as400 session

Scheduled Pinned Locked Moved Visual Basic
questiontools
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Buuldawg
    wrote on last edited by
    #1

    What script can I use to connect to an AS400 session from Excel? I can use Excel to input and retrieve data from an IMS session (using Attachmate for Extra) with the following code: Public Sessions As Object Public System As Object Public Sess0 As Object Sub GetInfo() Set System = CreateObject("Extra.System") Set Sessions = System.Sessions Set Sess0 = System.ActiveSession Can VB script be used for the same connectivity to an AS 400 session? If so, what is the code for setting the objects? Buuldawg

    D 1 Reply Last reply
    0
    • B Buuldawg

      What script can I use to connect to an AS400 session from Excel? I can use Excel to input and retrieve data from an IMS session (using Attachmate for Extra) with the following code: Public Sessions As Object Public System As Object Public Sess0 As Object Sub GetInfo() Set System = CreateObject("Extra.System") Set Sessions = System.Sessions Set Sess0 = System.ActiveSession Can VB script be used for the same connectivity to an AS 400 session? If so, what is the code for setting the objects? Buuldawg

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You'd do it the same way, but the catch is VBScript or Microsoft 'anything' doesn't come with objects standard that would do that. In your example, your using a 3rd party object to make the connection. For AS400, you'd have to use another 3rd party object, like Rumba from NetManage. RageInTheMachine9532

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups