Search results for query: *

  • Users: yulyos
  • Content: Threads
  • Order by date
  1. Y

    Question [2008] Different colors per line in a ListView

    Hi, Different colors per line in a ListView How can I drew Different colors per line in a ListView ? Thanks in advance
  2. Y

    Question [resolved] Printing text centralized to the width of the page

    Hi, VB2008 How do I print to the printer text that will be centralized to the width of the page ? Thanks in advance
  3. Y

    Checking Hard Disk Serial Number

    Hi, VB2008 Checking Hard Disk Serial Number The code below Checking the Serial Number of the Hard Disk: FROM Win32_PhysicalMedia And immediately after it Checking the Serial Number of the Hard Disk: FROM Win32_LogicalDisk If there is matching the program continue to run, If ther is no...
  4. Y

    [RESOLVED] e.HasMorePages don't work

    Hi, Can someone tell me why the e.HasMorePages = True in the code below don't work I need to print the word Aetek in a new page. Private Sub PrintDocument1_PrintPage... e.Graphics.DrawString("Makor", DrawFont, DrawBrush, x, y, RTL_Alignment) e.HasMorePages = True...
  5. Y

    How can I prevent from the user to print from PrintPreviewDialog

    Hi, How can I prevent from the user to print from PrintPreviewDialog I am using the code below: Dim PPD As New PrintPreviewDialog PPD.WindowState = FormWindowState.Maximized PPD.Document = PrintDocument1 PPD.ShowDialog() When the PrintPreviewDialog show the...
  6. Y

    [vb2008] Open a menu in MenuStrip

    Hi, I am using VB2008 I have menustrip and in it there is Filetoolstripmenuitem how can I open with code the Filetoolstripmenuitem? I tried with code: Filetoolstripmenuitem.performclick this do not open the Filetoolstripmenuitem. Any suggestions?
  7. Y

    Multi pages printing

    Hi, I want to print the value of N in Multi pages printing. Example: First page from 1 to 10 Second page from 11 to 20 And so on until 100, it will be 10 pages. I tried with "e.HasMorePages = True", but without success. Thanks in advance My code: Private Sub...
  8. Y

    MDI & MDI Child Forms Menu's in VB2005

    Hi, How Do You Coordinate MDI & MDI Child Forms Menu's in VB2005 In VB6 when you launced a MDI Child form, it's menu would appear in it's MDI Form's menu space. NOW, it Adds to the MDI Forms Menu Area. How can I Turn Off the MDI Form Menu before Launching the MDI Child Form? Remember, I want...
  9. Y

    How much bytes I receive during download

    Hi, How can I know how much bytes I receive during download a file with object my? Example: My.Computer.Network.DownloadFile("http://www.MyWebSite/downloads/FileName", "C:\MyPath\FileName") Thanks I advance
  10. Y

    ListView Cursor

    Hi, I am using Visual Basic 2005 Express Edition I set in the properties of the ListView the Cursor to Hand. When the cursor is in the Columns the cursor is not change to Hand. My question is: If it's possible to change the cursor to Hand? What i mean is that the Column Header, The...
  11. Y

    Search a string in record of a ListBox

    Hi, I am using Visual Basic 2005 Express Edition I have to find a string in record of a ListBox; the string is in fixed place on the record. I wrote this code and this code working ok: For n As Integer = 0 To ListBox1.Items.Count - 1 If Trim(Mid(ListBox1.Items(n), 19, 40)).Trim =...
  12. Y

    Encrypt and Decrypt user.config Settings File

    Hi, I am Using Visual Basic 2005 Express Edition How can my program Encrypt and Decrypt and save my user.config settings file? Thanks in advance
  13. Y

    How to replace Selected Text in RichTextBox

    Hi, I am using VB 2005 How to replace Selected Text in RichTextBox ? Thanks in advance
  14. Y

    How to change the Current Language

    Hi, Visual Basic 2005 Express Edition I have in the computer 6 languages that I can choose with the help of alt + shift How can I change the language with "InputLanguage" ? Example: The curser is at Textbox1 then the language must be xxx The curser is at Textbox2 then the language must...
  15. Y

    Clear the text from a ComboBox

    Hi, I am using Visual Basic 2005 Express Edition I have in my form ComboBox: ComboBox.DropDownStyle = ComboBoxStyle.DropDownList I am trying to clear the text from the ComboBox: ComboBox.Text = "" It's not working I don't want to clear all the items: ComboBox.Items.Clear() Can...
  16. Y

    Saving Setting

    Hi, I' m using Visual Basic 2005 Express Edition I add Setting named: MyString in the Settings Page I'm using the Setting: My.Settings.MyString = "abcd" Where the program saving the value "abcd" Thanks in advance
  17. Y

    specify the mail server address

    Hi, I copied this code from web site: http://www.systemnetmail.com/faq/2.1.aspx Sub PlainText() 'create the mail message Dim mail As New MailMessage() 'set the addresses mail.From = New MailAddress("me@mycompany.com") mail.To.Add("you@yourcompany.com") 'set the content mail.Subject =...
  18. Y

    RichTextBox1.BackColor

    Hi, I am using Visual Basic 2005 Express Edition When I change: RichTextBox1.Enabled = False The back color change to Gray, I want to Keep the color white How can I do it?
  19. Y

    [2005] CheckedListBox

    Hi, I have a CheckedListBox in my form. How I can uncheck items (example: 5 items that I Checked) without click of the mouse, OR to check all the items? Only with lines of code. Thanks in advance
Back
Top