Search:

Type: Posts; User: i00

Page 1 of 13 1 2 3 4

Search: Search took 0.63 seconds.

  1. Replies
    13
    Views
    613

    VS 2019 Re: WndProc for console applications??

    Are you saying that it uses a message only window and can't be captured?

    Also as stated clipboard monitoring will not work, since I need the selection area from the console, by the time it has...
  2. Re: 20130521 - i00 Spell Check and Control Extensions -No Third Party Components Requ

    Cool, also cheers for the credit on your page ;)

    is that a rich text control in your screenshot?
    I ask because unfortunately there is no good way to draw over the control.
    Also you state "it...
  3. Re: i00 Spell Check and Control Extensions - No Third Party Components Required

    Sorry about the delay, will try to be more active on here :P..

    How exactly are you trying to notify the user, do you mean the red underlines?
  4. Replies
    5
    Views
    355

    VS 2019 Re: StartsWith/EndsWith vs Like

    I would just use a regex replace and not do the check...
    Also with your examples if they end with ous every occurrence of ous in the string will be replaced!

    With the $ at the end in your pattern...
  5. Replies
    13
    Views
    613

    VS 2019 Re: WndProc for console applications??

    That seems a bit dodge and won't work anyway...
    I need to get the selected text, and when you copy the selection has already cleared; I need the selection to get the formatted selection from the...
  6. Replies
    13
    Views
    613

    VS 2019 Re: WndProc for console applications??

    Hrm.. I really didn't want to use keyboard hooks for two reasons:

    - I have seen virus scanners pick any keyboard hook up as a virus
    - I am doing A LOT of extending of the console and will...
  7. Replies
    13
    Views
    613

    VS 2019 Re: WndProc for console applications??

    Yes ... I just tried this and it doesn't seem to work (GetConsoleWindow) below:
    Imports System.Runtime.InteropServices
    Imports System.Windows.Forms
    Public Class Module1

    Shared Sub Main()
    ...
  8. Replies
    13
    Views
    613

    VS 2019 Re: WndProc for console applications??

    As I stated in the OP: "cannot by other means" ...

    The key combinations I want to capture do not trigger the standard key events!
  9. Replies
    13
    Views
    613

    VS 2019 WndProc for console applications??

    Hi,
    Just wondering how we can WndProc for console applications?
    I want to capture some key events that I cannot by other means.

    Thanks in advance,
    Kris
  10. Replies
    1
    Views
    253

    VS 2019 Re: Clearing part of a console

    Ok ... worked it out .. need to use:
    Fill this way with Chr(32) via API:
    FillConsoleOutputCharacter(OutputHandle, Chr(32), 1, cord, CellsWritten)
  11. Replies
    1
    Views
    253

    VS 2019 [RESOLVED] Clearing part of a console

    How can I clear part of a consoles output??

    E.g if I have this:

    Console.WriteLine("The quick brown fox jumped over the lazy dog" & vbCrLf & "The quick brown fox jumped over the lazy dog")...
  12. Replies
    10
    Views
    687

    VS 2019 Re: ∞ in console with Server 2019?

    Nice; thanks for that :)
  13. Re: [RESOLVED] File in Internet or Restricted Zone

    If you are downloading the file yourself; you may want to download it via "other" methods... such as spitting it out to the file system via a file stream to not cause the blocked attribute to be set....
  14. Replies
    10
    Views
    687

    VS 2019 Re: ∞ in console with Server 2019?

    Ok...
    It seemed to be at first glance ... but now when entering > 126 chrs with Console.ReadLine I need to press enter 2x to get it to register?

    Also Console.BufferWidth = 120 ... so probably...
  15. Replies
    10
    Views
    687

    VS 2019 Re: ∞ in console with Server 2019?

    I am actually in Australia ... so all 8's and ∞'s are always written upside down here :P ...

    Server 2019:
    {System.Text.SBCSCodePageEncoding}
    BodyName: "ibm850"
    CodePage: 850
    ...
  16. VS 2015 Re: vb.net memory goes up when pictures are changing in slide show

    If using 2008 + you should also use using blocks where possible
    e.g. on your:
    con, cmd, rdr, and ms

    See:...
  17. Replies
    10
    Views
    687

    VS 2019 ∞ in console with Server 2019?

    Ok ... so in a command prompt:

    c:\>echo ∞

    ...as expected in both Windows 10 and Server 2019

    but for some reason when I go (and enter "∞" for the readline):
    Dim Data = Console.ReadLine()...
  18. Replies
    1
    Views
    232

    VS 2015 Re: Expression Building

    OK...
    Figured it out :)

    Dim Body = Expressions.Expression.Convert(Expressions.Expression.PropertyOrField(pSource, PropertyName), GetType(IEnumerable(Of )).MakeGenericType(TargetType))
  19. Replies
    1
    Views
    232

    VS 2015 Expression Building

    Hi,

    I Need to build the following through expression building:

    Dim Query = DBML.Clients_raw.SelectMany(Function(x As Database.clients_raw) x.IncomeAssessments)

    I have done this:
    Dim Source...
  20. Replies
    2
    Views
    387

    Why is Thread.Abort not doing anything?

    I expect MsgBox("Exception HIT!") to be reached ... but it is not ...

    Any ideas why this it isn't hit (and the thread is never aborted)?? ... The error doesn't even appear to have been raised...
  21. Replies
    17
    Views
    2,210

    Re: Proper way to use Validating event

    Should prob look like this:
    Private Sub denMTB_Validating(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles denMTB.Validating
    Dim den As Integer =...
  22. VS 2015 Re: [RESOLVED] Lag in drawing in panel's paint event

    If the issue persisted past the removal of CreateGraphics I am guessing that it was flickering and not lag caused by a lack of buffering...

    Also you could change this loop:
    For i = 0 To...
  23. VS 2017 Re: How to alter VB.Net Naming Standards

    My reason is the same as why I prefer blue over black, and others would prefer the other way :) ... i.e. there is no logic is it just what I prefer
    My last 2 jobs have also programmed with the same...
  24. VS 2017 Re: How to alter VB.Net Naming Standards

    Just my two cents.. not really an answer:
    Personally I can't stand the small case for local variables and the capital for the public ones ... I use _ prefix for local ones (in C# too)......
  25. Replies
    8
    Views
    595

    VS 2019 Re: Convert phone number to alphabet

    You are aware that this list will get massive right?
    ... for eg a 4 digit word could have between 81 and 256 possible combinations (depending on what digits were pressed).

    Kris
  26. Replies
    3
    Views
    282

    Re: Please help modify code

    I have written this into my code library to do this, it reads the file descriptions from the registry .. so you can just go:

    ofd.Filter = {"xls", "xlsx", "pdf", "docx", "doc",...
  27. Re: VB.net - How to check if one business day has passed

    This is up to you to determine ... if you took jmcilhinney's advice, "the first step is not asking how you would write the code but rather how would you solve the problem if you were NOT writing...
  28. VS 2015 Reference between AppDomains not staying alive

    I have the main app domain load another - I need to reference entities between them;
    This works fine but after 5 mins (when the lease expires) I get:

    Exception thrown:...
  29. Replies
    6
    Views
    503

    VS 2019 Re: [RESOLVED] C# Expression to VB

    If you want something that is maybe more close to the c# eg (coding wise at least) you could go:

    Dim b As Integer
    While (Function()
    b = inputstream.ReadByte()
    Return b
    ...
  30. Replies
    1
    Views
    966

    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?...
  31. 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...
  32. Replies
    9
    Views
    550

    Re: Help with RegEx - Finding Format

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

    ...
  33. Replies
    6
    Views
    1,501

    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...
  34. Replies
    8
    Views
    1,081

    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
  35. Replies
    6
    Views
    1,020

    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
  36. 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
  37. Thread: Remove "'"

    by i00
    Replies
    7
    Views
    388

    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...
  38. Replies
    8
    Views
    1,081

    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...
  39. Replies
    1
    Views
    334

    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
  40. 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
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width