SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
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)
    Total Downloaded
    0

    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)
    Total Downloaded
    0

    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
    Points for Confirmed Friends
    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)
    Total Downloaded
    0

    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
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:36 PM.

Copyright BetaSoft Inc.