Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

Dougie the P

@Dougie the P
About
Posts
6
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • checkedlistbox item height [modified]
    D Dougie the P

    This works in VS2013 net FrameWork4.5 Put declare and constant at top of class Usage put rest of code in Form_Load as in example code.

    Private Declare Function SendMessageByNum Lib "user32" Alias "SendMessageA" _
    (ByVal hwnd As IntPtr, ByVal wMsg As UInt32, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As IntPtr

    Private Const lB_SETITEMHEIGHT As Integer = &H1A0

    Private Sub Form_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    Dim ItemHeight As Integer = Me.Font.Height + 4
    SendMessageByNum(CheckedListBoxControl.Handle, lB\_SETITEMHEIGHT, CType(0, IntPtr), CType(ItemHeight, IntPtr))
    

    End Sub

    Douglas Peterson Senior Application Developer / Chief Technical Officer The Professional PC / ERIC Systems

    Windows Forms graphics tutorial

  • Code project account password
    D Dougie the P

    Thanks Chris, It works now!

    Site Bugs / Suggestions question

  • Code project account password
    D Dougie the P

    The system will not let me change my password! Forgot password, got temporary password, Logged in using temp password, went to settings, attempt to change password, says email address is all ready being used and will NOT CHANGE MY PASSWORD! Message "The email you supplied has already been registered. Please choose another, or try retrieving your password if that is your member email." This is my account! all I what to do is change my password! Why? What am I doing wrong? Thank You

    Site Bugs / Suggestions question

  • DBNull... why doesn't this work?!?!?!! ( IIF )
    D Dougie the P

    When using IIF both the true and the false portions are evaluated before the IIF test is done. using the If construct only the true portion is evaluated after the IF test is done and the false portion is never evaluated if the test is true.

    Visual Basic question

  • Application version help please...
    D Dougie the P

    Just to be clear you want the publish version that is stored in the manifest from the publish page in project properties. versus the assembly version from the assembly information sub form on the application page. all the code you have tried the results come from the assembly information.

    C# question csharp debugging help tutorial

  • At runtime find the application's build version?
    D Dougie the P

    What do you want the text in the label to look like? To Get This "Ver. 5.1.2 Rev. 3" Try like this; Dim avi As System.Version = System.Reflection.Assembly.GetExecutingAssembly.GetName.Version lblVersion.Text = "Ver. " & Format(avi.Major, "###0").TrimEnd & "." _ & Format(avi.Minor, "###0").TrimEnd & "." & Format(avi.Build, "###0").TrimEnd _ & " Rev. " & Format(avi.Revision, "###0") Of course this is not the publish version (just saw last post)

    C# regex question announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups