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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. hyperterminal part2

hyperterminal part2

Scheduled Pinned Locked Moved C / C++ / MFC
c++comquestion
4 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.
  • S Offline
    S Offline
    Sunnygirl
    wrote on last edited by
    #1

    hello @all, a few days ago, i asked: i would like to build a hyperterminal into a mfc program (after i pressed a button, the hyperterminal is to appear). how can that be done? i got the answer: ::ShellExecute(0,0,"hypertrm.exe",0,0,SW_SHOW); it functions perfectly (special thanks to M A V)! :-D now, when the hyperterminal starts, i must make a few settings (select the com, give a name, baudrate and so on). is there a possibility to load an old "test.ht"? i don´t want to make any settings at the beginning of the hyperterminal. how can that be done? thank you very much sunny

    R 1 Reply Last reply
    0
    • S Sunnygirl

      hello @all, a few days ago, i asked: i would like to build a hyperterminal into a mfc program (after i pressed a button, the hyperterminal is to appear). how can that be done? i got the answer: ::ShellExecute(0,0,"hypertrm.exe",0,0,SW_SHOW); it functions perfectly (special thanks to M A V)! :-D now, when the hyperterminal starts, i must make a few settings (select the com, give a name, baudrate and so on). is there a possibility to load an old "test.ht"? i don´t want to make any settings at the beginning of the hyperterminal. how can that be done? thank you very much sunny

      R Offline
      R Offline
      Roger Allen
      wrote on last edited by
      #2

      Pass test.ht on the command line ::ShellExecute(0,0,"hypertrm.exe", "test.ht",0,SW_SHOW); you may need to pass the full path to the test.ht file. Roger Allen Sonork 100.10016 Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003

      S 2 Replies Last reply
      0
      • R Roger Allen

        Pass test.ht on the command line ::ShellExecute(0,0,"hypertrm.exe", "test.ht",0,SW_SHOW); you may need to pass the full path to the test.ht file. Roger Allen Sonork 100.10016 Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003

        S Offline
        S Offline
        Sunnygirl
        wrote on last edited by
        #3

        thank you for reply, it functions perfectly. :rose::rose::rose: i hope the last question to the hyperterminal: is there a possibility that the hyperterminal window has full screen width? thank you very much sunny

        1 Reply Last reply
        0
        • R Roger Allen

          Pass test.ht on the command line ::ShellExecute(0,0,"hypertrm.exe", "test.ht",0,SW_SHOW); you may need to pass the full path to the test.ht file. Roger Allen Sonork 100.10016 Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003

          S Offline
          S Offline
          Sunnygirl
          wrote on last edited by
          #4

          thank you and i think i found it: i use SW_SHOWMAXIMIZED to get the hyperterminal window has full screen width and i think it works. thank you very much, :rose::rose::rose: sunny

          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