Search results for query: *

  1. chevron

    ListBox doesn't update contents

    Thank you Solitaire! :) I cleared the listbox after copying it's modified contents into a temporary list and added the contents of the list to the listbox and it worked! Here's the updated code for 'Set Code' if anyone else has the same problem: Private Sub setCase_Click(ByVal sender As...
  2. chevron

    ListBox doesn't update contents

    No one has any ideas? Please help. *bump*
  3. chevron

    ListBox doesn't update contents

    Hi everyone, I am facing a little problem in my program. I have a form called 'Bookmarks' that loads a bookmark file that contains a single word on one line. I have put buttons on the form for sorting this list, deleting items and changing the character case to lowercase, uppercase or Sentence...
  4. chevron

    Screen backlight brightness

    Hold it, I just found something that looks exactly like what you're looking for: IOCTL_VIDEO_SET_DISPLAY_BRIGHTNESS Control Code dream.in.code article Example code I guess this really is it. What's more? It looks like it's supported on Win2000 and later :D
  5. chevron

    Screen backlight brightness

    A quick Google search revealed some interesting stuff. You might want to check these out: SetMonitorBrightness Function StackOverflow post Monitor Configuration Functions WmiSetBrightness Method I'll try it out sometime to see if I could get it to work. Unfortunately, it seems it'll only work...
  6. chevron

    Question How can I format the text output to a textbox so it adheres to a predefined width?

    Re: Thanks JohnH! That was really helpful, but it solved another problem I was facing. I actually wanted to know how to format the data retrieved so that instead of looking like this: 1. Some text 2. Some more text ... 9. Even more text 10. Beyond text it looked something like this: 1...
  7. chevron

    Screen backlight brightness

    Turn on/off monitor This might help? Link: Dark - Overview Link: Dark - Source
  8. chevron

    Question How can I format the text output to a textbox so it adheres to a predefined width?

    Hello, I found a code snippet online: Imports System.IO Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox1.Text = String.Empty Using fs As New FileStream("c:\test.txt", FileMode.Open)...
Back
Top