Search:

Type: Posts; User: Peter Swinkels

Page 1 of 13 1 2 3 4

Search: Search took 0.42 seconds.

  1. Re: how to Draw rounded rectangle by vb6 GDI++?Draw a triangle

    I once wrote a project which used the trigonometric functions sine and cosine to generate various shapes: https://github.com/PeterSwinkels/Figures. It's probably not exactly what you want but perhaps...
  2. VS 2019 Re: RichTextBox - add columns to existing table?

    http://www.dotnetstuffs.com/create-table-in-richtextbox-using-c-sharp/
  3. Re: how to Draw rounded rectangle by vb6 GDI++?Draw a triangle

    Does it have to use GDI++? Perhaps it would help if you explained why need to draw these shapes.
  4. Re: VB6 how to get the machine all similar hardware device ID (PCI \ VEN)

    https://stackoverflow.com/questions/9446936/hardware-ids-using-vb-6
  5. Re: how to fix bug of auto complete ?

    I see. To be honest, I don't see how you could fix a bug in the IDE itself.
  6. Re: how to fix bug of auto complete ?

    Aha, I see. Just for clarity what version of Visual Studio are you using?
  7. Re: how to fix bug of auto complete ?

    Uhm, what bug? I can't tell from your post what is supposed to be wrong.
  8. Replies
    1
    Views
    168

    Re: vb.net picturebox to excel cell

    Hi bilgiislemci, welcome to the forum!

    https://www.vbforums.com/showthread.php?831573-RESOLVED-Fast-way-to-convert-image-to-black-and-white
    ...
  9. Re: error while returning values from API

    Unless I am misreading your code and the page at https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.information.isdbnull?view=net-5.0 you're passing more than one argument to IsDBNull...
  10. Re: Searching Active Directory Sub OU's with script

    Alright, while I can help with vbscript in general I am afraid I can't answer your specific question. Sorry.
  11. Re: MxFlexgrid cellbackcolor BLACK

    Are you using the same flexgrid control as before or some newer version? On what previous version of Windows did it work correctly?
  12. Re: Capture X & Y coordinates in an array and pass to a public sub for reuse

    Public Sub DecimalOnly(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TxtXLen.KeyPress, TxtYWdth.KeyPress, TxtZDepth.KeyPress, TxtXStrtPt.KeyPress,...
  13. Re: Searching Active Directory Sub OU's with script

    Hi jscharfenberg, welcome to the forum!

    Please use code tags (the "#" button in the toolbar above the message you're about to post). Also, use "Option Explicit " if you're not doing so already and...
  14. Re: Capture X & Y coordinates in an array and pass to a public sub for reuse

    There should be an error description in the error window that comes with that squiggly line. What is that error?
  15. Replies
    6
    Views
    235

    Re: Error in IF statement

    Hmmm, I am not sure but I would ommit the " = True" part seeing as it is unnecessary and move the brackets:



    If (CmbLateStart.Visible AndAlso CmbLateStart.SelectedItem) = "---" OrElse...
  16. Re: Localization of Strings In Messagebox

    https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2010/y99d1cd3(v=vs.100)?redirectedfrom=MSDN?
  17. VS 2019 Re: Insert new line afer typing certain number of characters in multiline textbox

    @jmcilhinney: sorry, I misunderstood. Next time you might want to use @jediphantom to avoid confusion. Anyway:



    Option Compare Binary
    Option Explicit On
    Option Infer Off
    Option Strict On
    ...
  18. VS 2019 Re: Insert new line afer typing certain number of characters in multiline textbox

    @jmcilhinney: it seems in the case of the code I provided, a new line is added and then the cursor jumps to the end of the text.
  19. Re: MDIForm stretched background image flicking after resize

    Kindly add the following to your code:



    Private Const WS_EX_COMPOSITED As Integer = &H2000000%


    And use the constant's name instead of the numeric value. This makes it easier for others to...
  20. VS 2019 Re: Creating pdf from gridview with selected rows with Turkish characters

    I can't help you with your specific problem, but I see a lot of room for improving the code you posted:



    table1.AddCell(New Phrase("Rapor Tarihi", t2))
    table1.AddCell(New Phrase("Rapor...
  21. Replies
    8
    Views
    392

    Re: PDF Control

    If I understand your question correctly, you need this function: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-screentoclient.
  22. Re: [RESOLVED] Communicate two executables through the console

    @xxdoc13: I updated Console Shell's description at Github and while the program worked as I had intended after testing it I did find there was room for improvement. If you have any suggestions I...
  23. VS 2019 Re: Insert new line afer typing certain number of characters in multiline textbox

    You're welcome. Does it work?
  24. VS 2019 Re: Insert new line afer typing certain number of characters in multiline textbox

    I would copy the text to another string and remove any line breaks already present using String.Replace. After that I would check whether I could divide its length (.Length property) by 30 and get a...
  25. Re: [RESOLVED] Communicate two executables through the console

    @xxdoc13: I am not sure what you mean by controlling my program with itself. It is possible my description of it is lacking. What it is supposed to do is allow you to launch console based programs...
  26. Re: What is the counterpart of this C pointer programme in C#?

    You’re welcome.
  27. Re: Communicate two executables through the console

    I am not sure what you mean, but try this: https://github.com/PeterSwinkels/Console. Why not pm me with an explanation of what you need in Spanish (your native language, correct?). I could read it...
  28. Re: Communicate two executables through the console

    Blatant self-promotion: https://github.com/PeterSwinkels/Console-Shell - I believe this program does almost exactly what you need. If not, let me know and I will see what I can come up with. Okay?
  29. Re: Get custom shortcut overlay / read HKEY_LOCAL_MACHINE failing

    This sounds like something that might affected by compatibility settings, have you tried adjusting those?
  30. Re: Meny click runs above timer or waits?

    If I understand you correctly you want to disable a ToolStripMenuItem while a timer is running, is this correct? If so, just set the ToolStripMenuItem's "Enabled" property to false to prevent...
  31. Re: Sqlite error: Safety level may not be changed inside a transaction

    Have you made any changes to your code, if so which? Did you update or uninstall something? Perhaps you should reinstall your software.
  32. Re: OMG - Some Assembly Required aka RTFM - Smart Phone Upgrade

    @Peter Porter: my even more primitive Nokia 5110 had Snake, but no soccer. I had to replace it because after eight years it started to glitch, that and it wouldn't fit into my pocket. Personally I am...
  33. Re: Path of OpenFileDialog, OK or CANCEL

    Try this code:



    Option Compare Binary
    Option Explicit On
    Option Infer Off
    Option Strict On

    Imports System
  34. Re: What is the counterpart of this C pointer programme in C#?

    https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/unsafe-code-pointers/pointer-types - Does this page help?
  35. Re: Path of OpenFileDialog, OK or CANCEL

    Perhaps it would help if you explained why? Perhaps there is another way to accomplish what you want to achieve.
  36. Replies
    5
    Views
    339

    Re: What are Google Sitelinks ?

    https://support.google.com/webmasters/answer/47334?hl=en
  37. Re: ActiveX exe MDI thread for each child window

    https://www.vbforums.com/showthread.php?788713-VB6-Multithreading-in-VB6-part-4-multithreading-in-Standart-EXE ?
  38. Re: How to find a control in a TableLayoutPanel

    The memory saved by int16 if any is so small it's irrelevant imho and unless I am very much mistaken you should use 32-bit numbers given you're working in a 32-bit environment anyway. You say you...
  39. Re: Can someone convert this small python code to vb.net

    https://docs.microsoft.com/en-us/dotnet/api/system.convert.frombase64string?view=net-5.0
  40. Re: How to find a control in a TableLayoutPanel

    Shouldn't Int16 simply be Integer? And "cell.adjBombs = cell.adjBombs + 1" can be shortened to "cell.adjBombs += 1".
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width