Search:

Type: Posts; User: henrikl

Page 1 of 6 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    33,071

    LinearGradientBrush to VB

    Hi,

    I need help to convert a piece of XAML to VB.Net

    XAML

    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    <GradientStop...
  2. Re: Host name from IP address (Windows Phone)

    Hi PlausiblyDamp,

    Thank you for your reply. I see what you mean with the DNS reverse lookup and that there is no real solution to this.

    /Henrik
  3. [RESOLVED] Host name from IP address (Windows Phone)

    Hi,

    Can someone please show me how to get the remote host name from the IP address when the remote is a Windows 10 Phone.

    When the remote is a Windows computer I can use the following code but...
  4. Replies
    0
    Views
    541

    VS 2015 Reading TCP data in Universal Windows

    Hi,

    I need help reading data from TCP in Universal Windows.
    I have tried with the following code without luck.


    Public Async Sub Receive()
    Try
    Dim message As String...
  5. Replies
    4
    Views
    1,090

    Re: Read content of a webpage

    Thank you I will do that at once
  6. Replies
    4
    Views
    1,090

    Re: Read content of a webpage

    Hello KGComputers,

    That did the trick. Thank you very much.
  7. Replies
    4
    Views
    1,090

    [RESOLVED] Read content of a webpage

    Hello,

    I am having trouble reading the content of a webpage from VB Net.

    The webpage is a page to check a Danish license plate of a car.
    For a check license plate number YM35953 can be used.
    ...
  8. Replies
    18
    Views
    2,963

    VS 2015 Re: Passing an image to a thread

    OK now I did a simple test moving the form around with the mouse while the recognizer was active.
    I could move the form all the time. That should mean that the main thread is responsive, right?...
  9. Replies
    18
    Views
    2,963

    VS 2015 Re: Passing an image to a thread

    The difference is sometimes about 100 ms and sometimes 200 ms in favor to main thread.
    It’s not a big difference but the main thread is not responsive in any of the cases (main or new thread). I...
  10. Replies
    18
    Views
    2,963

    VS 2015 Re: Passing an image to a thread

    Hello Shaggy Hiker,
    Thank you for your detailed explanation on multi-threading.
    I tested the recognizer time with stopwatch on the main thread and on a new thread. It turned out that using a new...
  11. Replies
    18
    Views
    2,963

    VS 2015 Re: Passing an image to a thread

    I didn’t help to declare w at class level.
  12. Replies
    18
    Views
    2,963

    VS 2015 Re: Passing an image to a thread

    I got it working now, but the result is not good. When using a thread CPU peaks at 100% and memory use more than 500 MB. When run from the main thread CPU at around 25% and memory about 200 MB.
    I...
  13. Replies
    18
    Views
    2,963

    VS 2015 Re: Passing an image to a thread

    Hi Sitten Spynne,
    Thank you for your reply.
    I don’t think that the library provide any asynchronous overloads.
    From the link you can download the OpenAlpr library without providing any...
  14. Replies
    18
    Views
    2,963

    VS 2015 Re: Passing an image to a thread

    Now I added a parameter to my sub and change the thread call, but the results are the same.
    The camImage in the Worker class is nothing.
    Did I do it wrong?

    Public Sub ProcessAlprImage(ByVal...
  15. Replies
    18
    Views
    2,963

    VS 2015 Re: Passing an image to a thread

    The line w.CamImage = img is not empty. CamImage is set to the image from the VideoSourcePlayer
    But in the class Worker the CamImage seems to be empty.
    RawFormat = 'CamImage.RawFormat' threw an...
  16. Replies
    18
    Views
    2,963

    VS 2015 Re: Passing an image to a thread

    Thank you for your reply.

    AlprNet is a license plate recognizer class See http://doc.openalpr.com/opensource.html#calibration

    Recognize takes a bitmap as parameter or imageBuffer as byte or a...
  17. Replies
    5
    Views
    1,950

    VS 2015 Re: Cropping an image

    Hi,
    Thank you for your reply.
  18. Replies
    18
    Views
    2,963

    VS 2015 Passing an image to a thread

    Hi,

    I have a problem with thread passing a bitmap.
    The image (img) comes from a videostream (AForge VideoSourcePlayer).
    This line is where the error occurs
    Dim results = alpr.Recognize(img)

    ...
  19. Replies
    2
    Views
    708

    VS 2015 Re: Zoom on images from camera

    Hello Poppa Mintin,

    Thank you for your solution.
    I got it working now with the code I posted above. It turns out I had disposed the image imgZoom.
  20. Replies
    2
    Views
    708

    VS 2015 Zoom on images from camera

    Hello,

    I would like to zoom a panels image with either mouse wheel or by dragging a rubber band on the panel.

    I have a global variable (imgZoom) which is updated on each new frame from a...
  21. Replies
    5
    Views
    1,950

    VS 2015 Re: Cropping an image

    Thank you for your reply.
    The error is caused by the zoom factor (SizeMode=zoom) and when I drag the mouse outside of the picturebox.
    The zoom factor problem is corrected by finding the factor (see...
  22. Replies
    5
    Views
    1,950

    VS 2015 Cropping an image

    Hi,

    I need help on cropping an image.
    My PictureBox SizeMode is set to zoom.

    I am receiving an error when drawing the rubberband.
    An unhandled exception of type 'System.OutOfMemoryException'...
  23. Replies
    0
    Views
    1,120

    VS 2015 Image clone AForge VideoSourcePlayer

    Hi,

    I need help on making a clone of the image in an AForge VideoSourcePlayer.
    I have tried different approaches like the one below. My problem is that I need a copy of the image before modifying...
  24. VS 2015 Re: DataGridView select cells programmatically

    Hi again,
    No errors occurred in the try catch and button click didn’t help either.
    I resolved the problem by removing the DataGridView and add a new DataGridView. Hmm …
  25. VS 2015 Re: DataGridView select cells programmatically

    Hi wes4dbt,

    Thank you for your reply. I will follow you advice and test it.
  26. VS 2015 [RESOLVED] DataGridView select cells programmatically

    Hi,

    I need help with selecting cells of a DataGridView.

    When closing the form I would like to save the selected cells and when reopening the form show the selected cells.

    I have tried to...
  27. Replies
    0
    Views
    1,165

    VS 2015 Dynamically videos using AForge

    Hi,

    I need to add up to 16 pictureboxes dynamically showing individual movie clips using AForge VideoSourcePlayer to fetch the videos.

    I can’t figure out how to do this dynamically.

    Any help...
  28. Replies
    4
    Views
    1,548

    VS 2015 Re: Read text file lines between brackets

    Thank you for your reply.
    I got it working now
  29. Replies
    4
    Views
    1,548

    VS 2015 Read text file lines between brackets

    Hi,

    I need to read all lines from a text file between header 1 and header 2 as text.
    How do I do this?

    Example

    [Head 1]
    Line 1
    Line 2
  30. Replies
    6
    Views
    1,051

    VS 2015 Re: Capitalizing all words in a ListBox

    Thank you again.

    I will change my code to the way you showed above.
    I also think that your code is faster
  31. Replies
    6
    Views
    1,051

    VS 2015 Re: Capitalizing all words in a ListBox

    I changed my code and now it works


    For i = 0 To lstCars.Items.Count - 1
    Dim t As String = Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(lstCars.Items(i).ToString)...
  32. Replies
    6
    Views
    1,051

    VS 2015 Re: Capitalizing all words in a ListBox

    Hi,

    Thank you for your reply.
    T Is capitalized, but the ListBox items are not.
  33. Replies
    6
    Views
    1,051

    VS 2015 Capitalizing all words in a ListBox

    Hi,

    I need help on capitalizing every word in a ListBox.
    I have tried the following, but it doesn’t work.


    For i = 0 To lstCars.Items.Count - 1
    Dim t As String =...
  34. Replies
    5
    Views
    1,032

    VS 2015 Re: Update webpage in Visual Basic

    Hi Shaggy Hiker,

    Thank you for your reply.
    You are right and I will leave the DoEvents out
  35. Replies
    5
    Views
    1,032

    VS 2015 Re: Update webpage in Visual Basic

    Thank you for your suggestions.
    The thing is that I have located the browser in a settings form which is modal. I want to close / hide the form when settings have been made.
    I see what you mean...
  36. Replies
    5
    Views
    1,032

    VS 2015 Update webpage in Visual Basic

    Hi,

    How can I update a webpage in Visual Basic when the webbrowser is hidden?
    If I use Me.Hide() the browser dosnt update. Visible it works.

    Thank you in advance,
    Henrik


    Private Sub...
  37. Replies
    2
    Views
    558

    VS 2013 Re: Type error with class

    Thank you for your reply.
    R3E_Dash is the root namespace and no I don’t have two things called R3E_Dash.
    I sure you are right though I must have made an error / bug somewhere in my project.
    I...
  38. Replies
    2
    Views
    558

    VS 2013 Type error with class

    Hi,

    I have a strange problem with a simple class when compiling.
    When I hit F6 I get an error “Type R3E_Dash.NListView is not defined”
    The error is in my frmMain Designer.

    Me.lstVRaceStat =...
  39. Replies
    26
    Views
    6,213

    VS 2015 Re: Reading JSON file

    Yes that would be great and very kind of you.
    I think I know how work with a dictionary, but please show an example also.
  40. Replies
    26
    Views
    6,213

    VS 2015 Re: Reading JSON file

    Thank you very much for your efforts.
    I hope I can manage to find a solution to my annoying problem.

    /Henrik
Results 1 to 40 of 217
Page 1 of 6 1 2 3 4



Click Here to Expand Forum to Full Width