dcsimg

Search:

Type: Posts; User: i00

Page 1 of 13 1 2 3 4

Search: Search took 3.62 seconds.

  1. Replies
    1
    Views
    513

    RTF format (Not sure where to post)

    When I copy an image into the RTF control I get this for eg:

    {\pict\wmetafile8\picw13829\pich-14743\picwgoal-20542\pichgoal28796
    .....etc

    Why is picwgoal negative and how do I get the Width?...
  2. Re: [RESOLVED] Odd question regarding the vertical line of "dots" on a toolstrip cont

    I personally always thought those were somewhat pointless, I know you can put them in a ToolStripContainer and move them around ... but think the M$ implementation (since they can't be un-docked) is...
  3. Replies
    9
    Views
    261

    Re: Help with RegEx - Finding Format

    The ChrisE eg looks kind of limiting using set things ... I would prob use something like:

    ...
  4. Re: Inserting hex string into RichtextBox as Image

    Yes it is possible ... There are lots of eg's out there ... but most use copy & paste to do it (AVOID THESE)...
    I saw a solution on CP that does it properly ... will have a look later if I have the...
  5. Replies
    8
    Views
    282

    Re: Close all forms except 1

    Cool ... didn't know about the shutdown mode, I never use Application Framework though as I often want to handle command line params to run with out loading forms etc.

    Kris
  6. Replies
    6
    Views
    281

    VS 2017 Re: Help with parameter for dlc report

    Please don't shout, and why not just tell us the error rather than posting an illegible screenshot?

    Kris
  7. VS 2017 Re: Assign Unique Values to Each Letter in a String

    I don't think that this is a good method of protection ... if that is what this is for

    Kris
  8. Thread: Remove "'"

    by i00
    Replies
    7
    Views
    246

    VS 2017 Re: Remove "'"

    Asc() is to get the code from a chr ... I think you mean Chr(), this gets the chr from the code...

    You should turn Option Strict On and you would realize this...

    Also you should not check...
  9. Replies
    8
    Views
    282

    Re: Close all forms except 1

    Just open the forms as non-dialog ... as you open them just call Me.Close() after on your button click...

    You may need to "extend" the life of the application with an app domain or something if...
  10. Replies
    1
    Views
    130

    VS 2015 Re: Export Registry file (*.reg) Click Button

    Look into https://docs.microsoft.com/en-us/windows/desktop/api/winreg/nf-winreg-regsavekeyexa

    Kris
  11. VS 2019 Re: How to Convert an image from My.Resources ToBase64 & save it to My.Settings?

    Yuck ! ... why does everyone seem to code like its 2005! ... You should really use Using where ever possible.

    Kris
  12. Replies
    8
    Views
    504

    VS 2017 Re: hard time working with database

    Just FYI you can execute the SQL: SET LANGUAGE us_english
    ...beforehand to get the English error message...
    For the list of languages use: SELECT * FROM sys.syslanguages

    Kris
  13. Replies
    8
    Views
    241

    Re: Check if a control exists at a given point

    I did this a while back (works with scroll-able controls) ... how about:


    Public Module Extensions
    <System.Runtime.CompilerServices.Extension()>
    Public Function GetChildAtPoint(Control...
  14. Replies
    16
    Views
    715

    VS 2017 Re: WinForms UI Controls - to purchase

    Oh another thing that is prob worth mentioning ... with DevExpress there used to be an option to purchase source code ... so if you run into a road-block you could make it support something that it...
  15. Replies
    16
    Views
    715

    VS 2017 Re: WinForms UI Controls - to purchase

    Only for only with hdiding stuff in control .. you had to do something like this to set bg color of a cell for eg:
    UltraGrid.Bands(X).Row(X).Cell(X).DisplayLayout.BackColor = Color
    Also you had to...
  16. Replies
    48
    Views
    1,105

    VS 2010 Re: Getting physical dimensions of monitor

    The term DPI for screens is misleading - you can output accurately when outputing to a printer but good luck getting the physical screen size... The user can choose any size they want regardless of...
  17. VS 2015 Re: Print Panel High Quality Fonts Labels and Others

    Thats because you are printing a raster image to the printer (basically your panel is an image) - vector is what you want ... basically you are going to have to manually render things with graphics...
  18. Replies
    15
    Views
    551

    VS 2017 Re: Prevent control flickering

    VB6 used to limit you to 255 :p

    ... Also if you really need to do it this way you could load and unload controls as the master scrollablecontrol is scrolled... so it appears the same but only has...
  19. Re: /VB Express 2010/ Extract specify text from string

    FYI the regex that topshot mentioned is:

    Dim path = "\test\project\documents\reports\Result_001.txt"
    Dim revision = System.Text.RegularExpressions.Regex.Match(path, "(?<=_).*?(?=\.)").Value

    ...
  20. Replies
    15
    Views
    551

    VS 2017 Re: Prevent control flickering

    Can you post the designer code on here and I'll see what I can do?

    Kris
  21. Replies
    3
    Views
    363

    VS 2017 Re: [RESOLVED] Save text as bit in database

    Can also specify it like this:

    Private Class Authorization
    Public Property Name As String
    Public Property IsAuthorised As Boolean
    End Class

    Private Sub Form1_Load(sender As Object, e...
  22. Replies
    16
    Views
    715

    VS 2017 Re: WinForms UI Controls - to purchase

    On another note we use Infragistics and I hate it ...
    Seems to be:

    buggy,
    encourage non-strictness,
    layout of properties etc is not logical,
    limited (events missing that should exist,...
  23. Replies
    16
    Views
    715

    VS 2017 Re: WinForms UI Controls - to purchase

    I have always made my own .... mostly...
    I use my own controls but have only released:

    i00 Spell Check (free - contact me if you have issues or want a feature - I have modified it a bit since...
  24. Replies
    2
    Views
    231

    VS 2017 Re: [RESOLVED] OpenfileDialogue

    Hi ... I know you resolved this ... but the default text should either be the existing file, or a suggestion for a file name ... not a "placeholder" like "Browse to file" :P

    Kris
  25. Replies
    15
    Views
    551

    VS 2017 Re: Prevent control flickering

    ChrisE: I personally prefer to inherit the control that I want double buffered then use the SetStyle method...
    That said ... in normal circumstances double buffering should only affect the owner...
  26. VS 2008 Re: Can't open the Designer after closing the project

    Please post bigger screenshots ...
    Look at the call stack (using the link on that last image) and try to work out what may be causing the issue from there...
    Without looking through the...
  27. Replies
    8
    Views
    295

    VS 2015 Re: RegEx for if previous match equals

    This is a just a sample ... i think the opening post is self explanatory.. the eg is to match each type of bracket ({< up to their closing bracket )}>
  28. Replies
    8
    Views
    295

    VS 2015 Re: RegEx for if previous match equals

    I thought there was a way to do this ...
    Basically with the check to see if it exists I would have to go:
    ...
  29. Replies
    8
    Views
    295

    VS 2015 Re: RegEx for if previous match equals

    I also no about how to check if a match exists and have a condition on that ... but what I really want is a way to re-check if the previous match also matches something else to determine the criteria...
  30. Replies
    8
    Views
    295

    VS 2015 Re: RegEx for if previous match equals

    This is not what I want I know how to do those.
  31. Replies
    8
    Views
    295

    VS 2015 RegEx for if previous match equals

    I have seen this before but forgot how to do it...

    Basically I want to match a named group called opening... then if the match = a pattern then do a specific thing... eg:

    (?<Opening>{|<|\().*?...
  32. VS 2015 Re: Get System.Decimal type from System.Decimal& etc

    Thanks for that,
    I did check the watch window ... I assumed that it would be a property (not a method).

    Kris
  33. VS 2015 Re: Get System.Decimal type from System.Decimal& etc

    Public Sub Test(ByRef Param As Decimal)
    'Nothing here
    End Sub

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Dim ParamType =...
  34. VS 2015 [RESOLVED] Get System.Decimal type from System.Decimal& etc

    I am using reflection to get method parameters; when I do this for a ByRef parameter i get a type with an & appended to it...
    How do I get the base type for this?

    Thanks,
    Kris
  35. Replies
    1
    Views
    211

    VS 2015 Mono.Cecil questions

    I am using Mono.Cecil but can't work out some (what should be basic stuff):


    Where is the .IsStatic property for the PropertyDefinition type?
    IsVirtual seems to return true for Overridable...
  36. Re: Trying to create a door property for a room class

    ... shouldn't that depend on the type of door??... I went to a zoo 1x overseas that had a rotating door with an entrance to one room and an exit from another.
    :p

    Kris
  37. VS 2017 Re: How to color different elements of a ComboBox?

    There is a FlatStyle property that can remove the border ... but to draw over the button will require overriding the wndproc's

    Kris
  38. Replies
    16
    Views
    627

    Re: Search file for string and append file to it

    Could easily do this with a regex ... but don't know what you mean by this:

    .. What is the entity number? ... also what is &CH1; vs Bld1_Ch1.sgm ... and should Bld1_Ch1 have an & before it?

    Kris
  39. Replies
    19
    Views
    1,084

    Re: Help, sending Email from VB.NET

    ... hrm Interesting ...
    MSDN states that it is obsolete, yet I use it and it and knew that it wasn't marked as such .... so checked the source code:...
  40. Re: i00 Spell Check and Control Extensions - No Third Party Components Required

    The only thing that alters the DPI is the use of WPF in Winforms... if you have removed all references to WPF in everything and fixed the errors that I have pointed out this should work.

    I use (a...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width