Search:

Type: Posts; User: i00

Page 1 of 13 1 2 3 4

Search: Search took 0.17 seconds.

  1. Replies
    3
    Views
    544

    VS 2022 Re: Drawn image not aligning correctly

    Hi Paul,
    This is not suitable for me as I am loading a file from the file system ...
    I just did this example up to demonstrate that the image is not filling the space correctly (and to check that...
  2. Replies
    3
    Views
    544

    VS 2022 Drawn image not aligning correctly

    I am trying to draw an image in a panel... The panel is red - the image is 8,8

    When I have the following
    Private Sub Panel1_Paint(sender As Object, e As PaintEventArgs) Handles Panel1.Paint
    ...
  3. Replies
    13
    Views
    1,312

    VS 2008 Re: keep keyboard ONLY on my app (PoS software)

    If the programs it needs are yours and they should run in the background - these should probably be run as services; and run your app itself in kiosk mode..

    I am not 100% sure - but I think that...
  4. Replies
    4
    Views
    477

    Re: Icon on app installation menu

    What are you using to create the installer?
    The icon for add remove programs gets written to the registry by that. e.g:...
  5. Replies
    5
    Views
    1,183

    Re: [RESOLVED] Change screen resolution

    I did this ages ago and would advise using the DirectX stuff ... it "monitors the application" so if your app crashes it restores the resolution automatically; rather than setting it permanently....
  6. VS 2022 Re: Programmatically change an exe to "Run as Administrator"?

    I know you did this with a manifest ... but I find it generally better to execute only parts of my program with administrator access...

    I detailed how to do this here:...
  7. Replies
    4
    Views
    10,808

    VS 2022 MVC project - references not working??

    Hi,
    I had an MVC project that I did a while ago (orig in VS 2015); and now went to use it on a new computer I am using (2022) and the references all look like they are working; but the code isn't...
  8. VS 2019 Re: update public sub on one form from another at runtime.

    Well ... you technically could through reflection - you can actually change the CLR in memory (search "emit c sharp")... I would never think that this is a good idea though :P

    Yes a variable would...
  9. Replies
    3
    Views
    876

    VS 2022 Auto imports is useless in VS 2022

    Hi,
    Just wondering if anyone else thinks that VS 2022 auto imports is worse than it has been previously?

    I have had it add imports to things that:

    are completely irrelevant
    are not even...
  10. Replies
    7
    Views
    1,311

    VS 2022 Re: How do modern file extensions work?

    Ok... it seems that they are selected in the HKEY_CURRENT_USER part:

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png\UserChoice

    But when I go to...
  11. Replies
    7
    Views
    1,311

    VS 2022 Re: How do modern file extensions work?

    Good thinking, but it does not make a difference :(...
    I did just realize though all of these entries that I have seen have an "OpenWithProgids" key directly under the extension... I am guessing...
  12. Replies
    7
    Views
    1,311

    VS 2022 Re: How do modern file extensions work?

    I understand what you are both saying, but that is NOT what I asked, and I know that some apps may not be installed to open an extension; this is not what I asked.

    My point is that some...
  13. Replies
    7
    Views
    1,311

    VS 2022 How do modern file extensions work?

    Ok ... so I need this for a .Net app I am developing.

    For years you could look up the ext as follows:
    (Pseudo code)

    Dim FTypeName = "HKCR\.docx\."
    Dim FTypeAction =...
  14. VS 2022 Re: How to add several arcs to GraphicsPath??

    Ok ... just found out .StartFigure() ... I had been looking for something to End rather than start it as this is how CloseFigure works :P
  15. VS 2022 [RESOLVED] How to add several arcs to GraphicsPath??

    Hi,
    What I want to do is draw some arcs using GraphicsPath.AddArc()

    The issue I have is, when I call CloseFigure(), the arc gets filled.
    If I do not call this, each arc start is attached to the...
  16. Replies
    18
    Views
    2,482

    VS 2012 Re: How to calculate formulas with variables?

    I did this in a project of mine from scratch:
    183639
    And I can tell you - to do it properly is not a trivial task... ~900 lines ... but allows the developer to add custom functions, operators,...
  17. VS 2022 Re: How to have a content collection on a user control that has a prop refs another c

    Actually jmcilhinney it does = Type if you do it in the designer and set it to Object.
    .. it then provides the properties of that type to other controls for use.
    Then at runtime you fill it with an...
  18. VS 2022 How to have a content collection on a user control that has a prop refs another ctl

    If I create a property on a user control to reference another control e.g:
    Public Property BindingSource As BindingSource
    I can select a BindingSource control that has been inserted on the form...
  19. Anyway to make a code analyzer that doesn't need VS?

    Hi,
    There is a multitude of examples out there that use analyze code within the build process or with VS addins etc... (like this)
    But I want to write a light(er) weight standalone app to perform...
  20. Re: Is there any way to get tabs control have a dark background?

    You can actually completely paint over the tab control without using fixed tabs as I have done here:
    https://www.vbforums.com/attachment.php?attachmentid=181503
    181503
    (yes that is a standard...
  21. Replies
    2
    Views
    1,141

    Re: TextBox Border Color

    You could set the BorderStyle to None then house it in a control / usercontrol that you draw the border for.

    I have actually done something like this before, as the RTB border isn't the same as...
  22. Replies
    2
    Views
    802

    VS 2019 End Process Tree in vb.net?

    Hi,
    I am poking around another app (opening it and manipulating it)
    I want to force kill the process in my app, but do not want to use Process.Kill on it as it appears to ask the app to terminated...
  23. Replies
    13
    Views
    2,720

    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...
  24. 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...
  25. 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?
  26. Replies
    5
    Views
    1,396

    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...
  27. Replies
    13
    Views
    2,720

    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...
  28. Replies
    13
    Views
    2,720

    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...
  29. Replies
    13
    Views
    2,720

    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()
    ...
  30. Replies
    13
    Views
    2,720

    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!
  31. Replies
    13
    Views
    2,720

    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
  32. Replies
    1
    Views
    729

    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)
  33. Replies
    1
    Views
    729

    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")...
  34. Replies
    10
    Views
    2,318

    VS 2019 Re: ∞ in console with Server 2019?

    Nice; thanks for that :)
  35. Replies
    4
    Views
    3,651

    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....
  36. Replies
    10
    Views
    2,318

    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...
  37. Replies
    10
    Views
    2,318

    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
    ...
  38. 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:...
  39. Replies
    10
    Views
    2,318

    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()...
  40. Replies
    1
    Views
    727

    VS 2015 Re: Expression Building

    OK...
    Figured it out :)

    Dim Body = Expressions.Expression.Convert(Expressions.Expression.PropertyOrField(pSource, PropertyName), GetType(IEnumerable(Of )).MakeGenericType(TargetType))
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width