Results 1 to 6 of 6

Thread: calling remote files with shell

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2001
    Posts
    7

    Question calling remote files with shell

    i want to create an activex control that loads a prog with a remote fila as an argument. How should i write the argument in the shell(the url form doesn't work) it only works for local files
    Thanx

  2. #2
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    could you clarify please? what exactly do you want to do? do you want to execute files on a remote machine?
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2001
    Posts
    7

    Question

    i want the activex control to load a wap emulator(installed on the remote machine) but the file will be called from my machine using its url
    for example to call notepad.exe to open the file
    http://xxx.xxx.xxx.xxx/index.wml
    the prob is that in the emulators screen i receive
    file not found /http://xxx.xxx.xxx.xxx/index.wml
    i believe the slash is the prob
    thanx

  4. #4
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    did you try using a UNC (//compname/index.wml) instead of a URL. most software doesn't support TCP/IP for file trasfer over a network(not that i can think of)
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2001
    Posts
    7

    Question requesting code

    in vb this goes like
    shell("c:\...\program.exe //compname/index.wml")
    could you give me an example?
    thanx

  6. #6
    jim mcnamara
    Guest
    Shell("\\computername\disk\directory\file.exe",vbHide)

    or with a share

    Shell("\\Jobs\file.exe",vbHide)

    Assuming I understood what you want....

Posting Permissions

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



Click Here to Expand Forum to Full Width