Results 1 to 3 of 3

Thread: A test!

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Nottingham, England
    Posts
    197
    Code:
    dim d as integer
    'Rem
    d=1
    for i=1 to 10
    next i
    Ah, so I still have to do all the capitalisation etc... myself. I guess you're meant to cut and paste the code into the window from VB

    Code:
    Private Sub Form_Load()
    Dim DevM As DEVMODE
    Dim erg As Long
    Dim an As Long
    
    'Get the info into DevM
    erg& = EnumDisplaySettings(0&, 0&, DevM)
    'We don't change the colordepth, because a
    'rebot will be necessary
    
    DevM.dmFields = DM_PELSWIDTH Or DM_PELSHEIGHT 'Or DM_BITSPERPEL
    DevM.dmPelsWidth = 800 'ScreenWidth
    DevM.dmPelsHeight = 600 'ScreenHeight
    'DevM.dmBitsPerPel = 32 (could be 8, 16, 32 or even 4)
    Cool! Thanks again.

    Steve.
    Sent by: Steve Barker
    E-mail: [email protected]

    P.S. I KNOW 1 is not a prime!
    See this thread: http://forums.vb-world.net/showthread.php?threadid=26485

  2. #2
    Fanatic Member
    Join Date
    Apr 2000
    Location
    Whats a location?
    Posts
    516
    I have a feeling this belongs to another thread.
    Courgettes.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Nottingham, England
    Posts
    197

    Talking

    Opps! Sorry!

    I won't even try to convince you that this wasn't a sad attempt to increase my postings tally! An honest mistake...

    Cheers,

    Steve.
    Sent by: Steve Barker
    E-mail: [email protected]

    P.S. I KNOW 1 is not a prime!
    See this thread: http://forums.vb-world.net/showthread.php?threadid=26485

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