SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Feb 2001
    Location
    Milton, Ontario, Canada
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cast STRING to WINDOW datatype?

    Hi,
    Has anyone ever tried converting a string
    to a window datatype?
    eg.
    Have:
    string sWindow = "Notepad.File"

    Need to use as:
    Notepad.File.Open.Pick()

    Thanks for your help.
    Marcus

  2. #2
    Member
    Join Date
    Jan 2001
    Location
    Westborough, mA, USa
    Posts
    91
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Cast STRING to WINDOW datatype?

    Hi Marcus

    You can do that as
    String s1 = "Notepad"
    String s2 = "File"
    and then @s1.@s2.Open.Pick()

    Hope this helps

    Let me know
    Sandeep

  3. #3
    Guest

    Re: Cast STRING to WINDOW datatype?

    Here is the code that I use to do this.


  4. #4
    Junior Member
    Join Date
    Feb 2001
    Location
    Milton, Ontario, Canada
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Cast STRING to WINDOW datatype?

    That's perfect.
    Thanks John and Sandeep!

 

 

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 03:47 AM.

Copyright BetaSoft Inc.