Showing results 1 to 2 of 2

Thread: VBA Wizard

  1. #1
    Join Date
    29.07.2007
    Location
    Rosenheim
    Posts
    34

    Default VBA Wizard

    Hallo

    ist es möglich die Einstellungen der IP-Adresse für den Remote-Transport über einen Wizard zu verändern?

    Ich finde in der VBA-Doku in der Projekt-Klasse nur das DynProperty("ProjectModidata"), dies gibt aber nur den angezeigten Text des Editores wieder

    Grüße
    F.

  2. #2

    Default Re: VBA Wizard

    Hallo F.

    Unten ein Beispiel aus der VBA Hilfe (Object RemoteTransport).

    Private Sub CreateCustomOption()
    Dim obRemoteTP As RemoteTransport
        
        Set obRemoteTP = MyWorkspace.ActiveDocument.RemoteTransport
        'define basic remote transport settings
        obRemoteTP.HidePasswordDialog = True
        obRemoteTP.TransportType = tpTCP
        obRemoteTP.TcpByIp = False
        obRemoteTP.TcpIpName = "COMPUTERNAME"
        'create custom options for the remote transport
        obRemoteTP.CreateCustom
        obRemoteTP.CustomItem(0).Comment = "TEST: Copy - Execute"
        obRemoteTP.CustomItem(0).ActionType = tpCopyExecute
        obRemoteTP.CustomItem(0).Active = True
        obRemoteTP.CustomItem(0).SourcePath = "source"
        obRemoteTP.CustomItem(0).TargetPath = "target"
        obRemoteTP.CreateCustom
        obRemoteTP.CustomItem(1).Comment = "TEST: Copy"
        obRemoteTP.CustomItem(1).ActionType = tpCopy
        obRemoteTP.CustomItem(1).Active = False
        obRemoteTP.CustomItem(1).SourcePath = "source1"
        obRemoteTP.CustomItem(1).TargetPath = "target1"
        obRemoteTP.CreateCustom
        obRemoteTP.CustomItem(2).Comment = "TEST: Copy - Register"
        obRemoteTP.CustomItem(2).ActionType = tpCopyRegister
        obRemoteTP.CustomItem(2).Active = True
        obRemoteTP.CustomItem(2).SourcePath = "source2"
        obRemoteTP.CustomItem(2).TargetPath = "target2"
        'save the changes...
        obRemoteTP.Save
    End Sub

Similar Threads

  1. VBA Wizard Zuordnungen
    By perschke in forum VBA
    Replies: 1
    Last Post: 14th July 2011, 12:32
  2. Replies: 3
    Last Post: 17th September 2010, 10:22
  3. Fehlermeldungen aus Projekt Wizard
    By guido in forum VBA
    Replies: 5
    Last Post: 22nd July 2010, 15:09
  4. Replies: 2
    Last Post: 21st April 2010, 12:43
  5. Replies: 0
    Last Post: 20th August 2007, 13:08

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •