Results 1 to 9 of 9

Thread: I think this is a simple fix but I can't work it out.

  1. #1
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    I think this is a simple fix but I can't work it out.



    the above is a menu based on VBScript and all I want to do is add an small .gif to the top left hand side of the screen. Does anyone know how to do this?

    thanks.
    Last edited by Jay; 20-08-2009 at 05:47 PM.
    □ΞVΞ□

  2. #2
    Registered+
    Join Date
    Apr 2005
    Location
    Manchester
    Posts
    36
    Thanks
    0
    Thanked
    1 time in 1 post

    Re: I think this is a simple fix but I can't work it out.

    Don't know, but I'd like to! Subscribing

  3. #3
    I R Toff Pandi! TAKTAK's Avatar
    Join Date
    Mar 2008
    Location
    Vergon6
    Posts
    7,450
    Thanks
    553
    Thanked
    1,013 times in 748 posts
    • TAKTAK's system
      • Motherboard:
      • ASUS ROG STRIX B450-F GAMING
      • CPU:
      • Ryzen 7 3700X
      • Memory:
      • 16GB Corsair Vengeance LPX 3200MHz
      • Storage:
      • 500GB Samsung 970 EVO
      • Graphics card(s):
      • 5700 XT 50th Anniversary
      • PSU:
      • Be Quiet SFX-L 600W
      • Case:
      • Lian Li PC-O11 Mini
      • Operating System:
      • Windows 10
      • Monitor(s):
      • LG Ultrawide
      • Internet:
      • 200Mb FTTP

    Re: I think this is a simple fix but I can't work it out.

    Post Counts and Other Rewards, Rules, Folding@Home, Fans: Push vs Pull vs Push-Pull, Corsair PSU OEMs.

    Quote Originally Posted by razer121 View Post
    Would you like me to enter you? it would be my pleasure
    TAKTAK.co.uk

  4. #4
    Senior Member
    Join Date
    May 2009
    Location
    Norfolk
    Posts
    474
    Thanks
    3
    Thanked
    26 times in 26 posts
    • pipTheGeek's system
      • Motherboard:
      • Asus P6T Deluxe
      • CPU:
      • Core i7 920 @ 3.6GHz
      • Memory:
      • 3 * 2Gb Corsair XMS @ DDR3 1800
      • Storage:
      • 300GB 15K SAS + 500Gb
      • Graphics card(s):
      • GTX570
      • PSU:
      • corsair 760i
      • Case:
      • Corsair 550d
      • Operating System:
      • Windows 7
      • Monitor(s):
      • Dell Alienware 23"
      • Internet:
      • VM 50Mb

    Re: I think this is a simple fix but I can't work it out.

    First up, I am a programmer, but I haven't used VBScript for a long time, so I may well be wrong.

    I don't believe it is possible to change that icon. Inputbox has no way to specify an icon, it normally uses the icon of the application that is calling it, but in this case that would be the script host, which is not something we have control over.
    You might be able to hack things so that a different icon is displayed, but it would be on a per machine basis and not related to the script in anyway. The sort of thing I am thinking is to locate the icon that is being displayed then change the file on disk so that it contains a different icon. Might be displayed in a few more places than you want if you do that though

  5. #5
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: I think this is a simple fix but I can't work it out.

    Quote Originally Posted by pipTheGeek View Post
    First up, I am a programmer, but I haven't used VBScript for a long time, so I may well be wrong.

    I don't believe it is possible to change that icon. Inputbox has no way to specify an icon, it normally uses the icon of the application that is calling it, but in this case that would be the script host, which is not something we have control over.
    You might be able to hack things so that a different icon is displayed, but it would be on a per machine basis and not related to the script in anyway. The sort of thing I am thinking is to locate the icon that is being displayed then change the file on disk so that it contains a different icon. Might be displayed in a few more places than you want if you do that though
    out of curiosity what language do you program in?
    □ΞVΞ□

  6. #6
    Does he need a reason? Funkstar's Avatar
    Join Date
    Aug 2005
    Location
    Aberdeen
    Posts
    19,874
    Thanks
    630
    Thanked
    965 times in 816 posts
    • Funkstar's system
      • Motherboard:
      • Gigabyte EG45M-DS2H
      • CPU:
      • Intel Core2Quad Q9550 (2.83GHz)
      • Memory:
      • 8GB OCZ PC2-6400C5 800MHz Quad Channel
      • Storage:
      • 650GB Western Digital Caviar Blue
      • Graphics card(s):
      • 512MB ATI Radeon HD4550
      • PSU:
      • Antec 350W 80+ Efficient PSU
      • Case:
      • Antec NSK1480 Slim Mini Desktop Case
      • Operating System:
      • Vista Ultimate 64bit
      • Monitor(s):
      • Dell 2407 + 2408 monitors
      • Internet:
      • Zen 8mb

    Re: I think this is a simple fix but I can't work it out.

    Jay, instead of using the standard javascript prompt like you have above, how about using one of the AJAX frameworks and creating you own modal dialog box that you can completely customise?

    I don't know exactly how you do it, just that it is possible. Look at Facebook, they do this all the time.

  7. #7
    Custom User Title
    Join Date
    Oct 2005
    Location
    Wirral UK
    Posts
    1,168
    Thanks
    10
    Thanked
    14 times in 14 posts
    • cougarslam's system
      • Motherboard:
      • Asus Maximus Formula SE (ROG)
      • CPU:
      • Core 2 Duo E6600 @ 3ghz
      • Memory:
      • 4gb Corsair DDR2
      • Storage:
      • 1TB
      • Graphics card(s):
      • BFG Nvidia 8800GT OC 512MB
      • PSU:
      • Corsair HX520
      • Case:
      • Zorro
      • Operating System:
      • Vista Business 32
      • Monitor(s):
      • 2 x 17" crt
      • Internet:
      • adsl max (entanet)

    Re: I think this is a simple fix but I can't work it out.

    http://abeautifulsite.net/notebook_files/87/demo/

    jquery plugin that can be used instead of alert boxes and styled with css etc.

  8. #8
    Now 100% Apple free cheesemp's Avatar
    Join Date
    Apr 2007
    Location
    Near the New forest
    Posts
    2,948
    Thanks
    354
    Thanked
    255 times in 173 posts
    • cheesemp's system
      • Motherboard:
      • ASUS TUF x570-plus
      • CPU:
      • Ryzen 3600
      • Memory:
      • 16gb Corsair RGB ram
      • Storage:
      • 256Gb NVMe + 500Gb TcSunbow SDD (cheap for games only)
      • Graphics card(s):
      • RX 480 8Gb Nitro+ OC (with auto OC to above 580 speeds!)
      • PSU:
      • Cooler Master MWE 750 bronze
      • Case:
      • Gamemax f15m
      • Operating System:
      • Win 11
      • Monitor(s):
      • 32" QHD AOC Q3279VWF
      • Internet:
      • FTTC ~35Mb

    Re: I think this is a simple fix but I can't work it out.

    I may be missing something here but isn't he trying to develop a window app type script not a web page?

    In which case I think pipTheGeek is right - I don't believe its possible although I've not used VB script.

    (I am a C/C++/C#/Javascript developer with experience in VB6).
    Trust

    Laptop : Dell Inspiron 1545 with Ryzen 5500u, 16gb and 256 NVMe, Windows 11.

  9. #9
    Senior Member
    Join Date
    May 2009
    Location
    Norfolk
    Posts
    474
    Thanks
    3
    Thanked
    26 times in 26 posts
    • pipTheGeek's system
      • Motherboard:
      • Asus P6T Deluxe
      • CPU:
      • Core i7 920 @ 3.6GHz
      • Memory:
      • 3 * 2Gb Corsair XMS @ DDR3 1800
      • Storage:
      • 300GB 15K SAS + 500Gb
      • Graphics card(s):
      • GTX570
      • PSU:
      • corsair 760i
      • Case:
      • Corsair 550d
      • Operating System:
      • Windows 7
      • Monitor(s):
      • Dell Alienware 23"
      • Internet:
      • VM 50Mb

    Re: I think this is a simple fix but I can't work it out.

    Quote Originally Posted by Jay View Post
    out of curiosity what language do you program in?
    Mostly I am using VB .NET writing (or maintaining) WinForm applications using an SQL Server database. The team also do some ASP.NET, some of our systems are Oracle or Ingres and we have also developed a BI solution based on MS SQL Analysis services with a Performance point / Sharepoint / SSRS front end.
    I have also done Access development since version 2, VB 6, some Excel and some VBScript and some Javascript for the web work I have done.

    </hijack>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 19
    Last Post: 12-10-2005, 01:53 PM
  2. Work so far
    By Maldonado in forum Automotive
    Replies: 43
    Last Post: 11-01-2005, 02:53 PM
  3. Work Toilets - User Error
    By aeonf242 in forum General Discussion
    Replies: 23
    Last Post: 25-06-2004, 03:28 PM

Posting Permissions

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