Search:

Type: Posts; User: hannibal smith

Page 1 of 4 1 2 3 4

Search: Search took 0.07 seconds.

  1. The calling thread must be in STA mode, because this is the mandatory mode for many U

    Hello,
    I'm working on a "paint-like" app in WPF (not MVVM) with .NET Core(5.0).
    I'm drawing using DrawingVisual like showed in this link of msdn...
  2. Replies
    0
    Views
    187

    Mouse Events missing fire

    I'm new in wpf, I need to recreate the behavior of an old winform drawing app.
    In the winform app I used this event
    MouseMove
    MouseClick
    MouseDown
    MouseUp
    Basically there are 2 main behavior:...
  3. Re: helix toolkit on .net core reference iusse

    I solved! It was a VGA driver problem(I was running in a VMWare VM taht use vmware graphics driver, changing drivers, or running outside the VM it work fine.
  4. Replies
    8
    Views
    363

    Re: translation from c#

    yes it is. here https://www.syncfusion.com/downloads/support/forum/168765/ze/DockingManagerMVVMCaliburnDemo1928055235, I also tryed this one that not use composition,...
  5. Replies
    8
    Views
    363

    Re: translation from c#

    I'm trying to port in VB.net Core a c# .Net Framework MVVM example of the Syncfusion DockingManager WPF Control, and it seem a bit old...
  6. Replies
    8
    Views
    363

    Re: translation from c#

    I was targeting the .NET Core 3.1 so I changed to 5.0, nuget packages for System.Composition.Hosting and System.Composition.Runtime are installed. I also tryed to add the reference manually from...
  7. Replies
    8
    Views
    363

    translation from c#

    I'm transalting a demo MVVM app from c# to vb.net, but I've an iusse at this line:
    c#

    container = CompositionHost.Initialize(
    new AggregateCatalog(
    ...
  8. [RESOLVED] helix toolkit on .net core reference iusse

    I'm trying to port a .net framework app to .net core (3.1), so I get the packages from nuget helixtoolkit, helixtoolkit.core.wpf and helixtoolkit.core.sharpdx. But the regefence in xaml, that I...
  9. Re: Build a SpotLight Control Iusse Unrecognized class

    Yes, thanks. I had solved last night. Thanks.
  10. [RESOLVED] Build a SpotLight Control Iusse Unrecognized class

    Hello,
    I'm new to WPF(coming from winform), and I'm trying to build a "spotlight control". When I try to compile I get BC30002 SpotLight:LedControl is not defined, but it actually exist.
    This is...
  11. Using boyer moore to look for angles sequences, bad idea?

    I'm working with some binary files (like 10MB each one), with contains some patterns; I've a collection of theme but it not complete( and never be..);
    So I'm thinking to adapt the boyer moor...
  12. Conversion XNA.Framework.Color - System.Drawing.Color and viceversa

    I need to convert colors from Xna.framework.color to System.Drawing.color and viceversa.
    So I tryed to code this 2 function(note that vs obmit the "Xna.framework."

    Public Function...
  13. Re: Trying to make a "ExpanderPanel" control

    I added the Inherits Panel into the usercontrol designer file; I don't know if it's the right way to do, but it work.
  14. Re: Trying to make a "ExpanderPanel" control

    I've tryed to inherit Panel adding
    Public Class ExpanderControl : Inherits Panel to my class, but I get " Base class Panel Specified to ExpanderControl cannot be different from the base class...
  15. [RESOLVED] Trying to make a "ExpanderPanel" control

    Hello, I'm trying to make my own control, so first I tested the idea in winform application: I placed a panel(pnlExp) and inside it a button(btnGroup).
    Then in the click event of the button I added...
  16. Replies
    13
    Views
    955

    Re: Mouse move event too slow

    This is bad, I can't require the user to click on all the points they want to include, for 2 reasons: point are so many and it would take too many time to the user and this mouse functionality is a...
  17. Replies
    13
    Views
    955

    Re: Mouse move event too slow

    My app draw a lines chart and the user can modify it with mouse in different way, for example moving it with left button pressed inc the chart by an offset K, so actually I read only the X...
  18. Replies
    13
    Views
    955

    Re: Mouse move event too slow

    do you known any alternative, that can have more resolution? Using MouseMove, If mouse is moved fast I lost too many point..
  19. Replies
    13
    Views
    955

    Mouse move event too slow

    I need to get all the coordinates of the mouse path when the left button is clicked, so I create a boolean that is changed in the mousedown/up event, and I check it in the mousemove to read the...
  20. [RESOLVED] how to distict if is it a file or a directory (like explorer listview)

    Hello,
    I'm using the followin code to trying to navigate folders and file; now I need to load the file if selected( so if it's a directory I explore it else, I load the file into stream), but I...
  21. Re: Custom user control with custom proprety and event

    Thanks, I'm studying event on your blog.
    I've tryed, but I'm still missing something.(sorry for my bad english)

    Public Class mybtnBit
    Enum EnEndianessState
    e8bitSigned
    ...
  22. [RESOLVED] Custom user control with custom proprety and event

    Hello, I'm trying to build a control: it have 6 mybuttons(they are buttons from a custom theme with a proprety called pressed that change the color of the button when=true).
    I want to use it to get...
  23. Replies
    8
    Views
    742

    Re: XNA Form Resize iusse

    Tested, and works. Thanks!!
  24. Replies
    8
    Views
    742

    Re: XNA Form Resize iusse

    Can you explain me how please?
  25. Replies
    8
    Views
    742

    Re: XNA Form Resize iusse

    yes, I'm using Set2dLine from your tutorial :) for drawing on a PictureBox, but I tryed also on a panel with same result. I anchored the PictureBox on the form, so when the form is maximized or...
  26. Replies
    8
    Views
    742

    Re: XNA Form Resize iusse

    For now xna 4.0, but I'm thinking about to switch to monogame.
  27. Replies
    8
    Views
    742

    [RESOLVED] XNA Form Resize iusse

    Hello,
    I'm using the code from https://www.vbforums.com/showthread.php?737691-Drawing-Primitives-using-XNA-in-VB-Net to draw a lines chart( I simply put a for cycle inside the backgroundworker to...
  28. Replies
    2
    Views
    1,579

    MVVM (Model-View-ViewModel) Example ?

    Hello, As new in WPF I'm trying to understand the MVVM (Model-View-ViewModel). I came from winform. I had looked in microsoft website, but their decription of the model are so theorical that I don't...
  29. Replies
    2
    Views
    1,960

    Winform Control in WPF

    Hello to everyone,
    I'm trying to use a winform control in WPF(I've not found good alternative).
    The control is the be.hexbox from sourceforge:...
  30. Replies
    0
    Views
    236

    pattern reconition advice

    Hello, I'm trying to do an application that found some patterns in binary files; my problem is that this patterns can have variation, some can be shorter other longer, with more or minus amplitude...
  31. Replies
    8
    Views
    5,376

    Re: Using .dbf database in vb.net

    I tryed and reading query work. I tryed also to do an insert but I've some problems, if i want add a row to my table, i need to fill the insert string with all the columns name and value?
  32. Replies
    8
    Views
    5,376

    Re: Using .dbf database in vb.net

    thanks, I'll try and report.
  33. Replies
    8
    Views
    5,376

    Using .dbf database in vb.net

    Hello, I need to connect my application to a .dbf db(foxpro if I correctly understund), and query the tavle in this file. Anyone have any advice or sample? I need also to ad some row to the db, is...
  34. form show and serialport.datareceived

    Hello,
    I've a device(a custom keyboard) that send some string by rs232; I'd like to open form1 when i receive 0x01 form 2 with 0x02 etc..
    So in the event .datareceived of my serialport1 i put this...
  35. Re: Search on internet site using vb.net

    Yes.
  36. Search on internet site using vb.net

    Hello, I'd like to known if is possible build an application in vb.net to a query/search with an internet site.
    This site have a page where user insert item code and after click search button he...
  37. Replies
    6
    Views
    872

    Re: Protect a part of text in RTB

    Don't worry, I declered it as integer and work grate. I have a last question:
    I use your method for protect spacing and work great, then I try also to protect some other parts of text but It only...
  38. Replies
    6
    Views
    872

    Re: Protect a part of text in RTB

    Thanks, can you tell me how to declare "FindIt" please?
  39. Replies
    6
    Views
    872

    Protect a part of text in RTB

    Hello, I've a RTB with some text like that(I'm making an hex editor) for every line:
    "0X0000 01 02 03 04 05 06 07"
    I want protect the spaces between the numbers so the use can chang only the...
  40. Change Key insertion Mode on RichTextBox

    Hello, I'm trying to make an hex editor; I'm using RTB; I'd like if possible forse the text insertion mode as overwrite instead of insert. Is it possible to do by code?
Results 1 to 40 of 132
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width