Search Results - VBForums

Search:

Type: Posts; User: .paul.

Page 1 of 13 1 2 3 4

Search: Search took 0.25 seconds.

  1. Replies
    16
    Views
    334

    Re: Vs 2008 get fingerprint scanner data

    try:


    Dim Y() As Byte = directcast(ds.Tables("E").Rows(0).Item(2), Byte())
  2. Replies
    16
    Views
    334

    Re: Vs 2008 get fingerprint scanner data

    The way to do it would be to select all from the table, then loop through the datatable rows and apply whatever comparison technique they provide on the stored prints
  3. Replies
    16
    Views
    334

    Re: Vs 2008 get fingerprint scanner data

    I think you'll find the problem is the method you're using. The SQL equals operator is an exact science whereas even 2 consecutive prints from the same finger are not going to be exactly identical...
  4. Replies
    16
    Views
    334

    Re: Vs 2008 get fingerprint scanner data

    Try using Parameters:


    Dim resultConversion As DataResult(Of Fmd) = FeatureExtraction.CreateFmdFromFid(captureResult.Data, Formats.Fmd.ANSI)

    Dim X = Fmd.SerializeXml(resultConversion.Data)...
  5. Thread: Query & Loop

    by .paul.
    Replies
    7
    Views
    206

    VS 2012 Re: Query & Loop

    You know the Boston Bruins is the teamName so you can remove it from the loop...

    Dim counter as integer = 0
    For each team as string in Teams
    if something then
    increase counter by 1
    end if...
  6. VS 2010 Re: Calculator Arithmetic Operators not working!

    I found the answer to that question. Let me know if you have any others:



    Private Sub CalculateResult(ByVal aFirstNum As Decimal,
    ByVal aSecondNum As Decimal,
    ...
  7. Replies
    7
    Views
    152

    Re: Help With Regex *urgent*

    "\\\(\d{1,}\.\d{2,}\)"

    The pattern i gave you matches one \ followed by one open parenthesis followed by one or more digits followed by a period followed by two or more digits followed by a close...
  8. Replies
    7
    Views
    152

    Re: Help With Regex *urgent*

    Label1.Text = Regex.Replace(s, "\\\(\d{1,}\.\d{2,}\)", Environment.NewLine).Trim
  9. Replies
    7
    Views
    152

    Re: Help With Regex *urgent*

    try this:



    Dim s As String = "\(5.24)[c4d1.8]We rarely see the Leopards.\(2.24)[c4d2.56]Most of the time, they're on the snowy side of the valley.\(5.43)[c4d2]But we've spotted a few on this...
  10. Re: Button that copy's to clipboard the contents of a listbox

    Try this:

    135075



    Public Class Form1

    Private WithEvents cms As New ContextMenuStrip
  11. Re: Change color of entire row not only the cell with the specific string found

    https://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewrow.defaultcellstyle%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
  12. Replies
    6
    Views
    565

    Re: InputDialog Demo

    It's interesting, but I don't see it as a space saver...
  13. Replies
    6
    Views
    565

    Re: InputDialog Demo

    I've seen some of your delegate examples. How would you implement that in this case?
  14. VS 2010 Re: [RESOLVED] Change Cursor while running the program (not at the beggining)

    Maybe i misread it...
  15. VS 2010 Re: [RESOLVED] Change Cursor while running the program (not at the beggining)

    @Edgemeal...

    CopyIcon is recommended because the cursor loaded in SetSystemCursor is deleted:
    ...
  16. VS 2013 Re: Looking for alternative method to OpenDialog to populate DataGridView

    Public Overloads Function ShowDialog(ByVal com As SqlCommand) As System.Windows.Forms.DialogResult???


    Public Sub New(ByVal com As SqlCommand)
  17. Re: Change cursor with code, by pressing keys, to the respective document.cur

    I'd just use it to create and save some cursors. No need to incorporate it into your project...
  18. Re: Change cursor with code, by pressing keys, to the respective document.cur

    Ok here's a demo project. Remember to read the comments in the form

    134815
  19. Re: Change cursor with code, by pressing keys, to the respective document.cur

    Use this to create your cursors then you can choose the hotspot:



    Imports System.Windows.Forms
    Imports System.Runtime.InteropServices
    Imports System.Drawing
    ''' <summary>
    ''' contains API +...
  20. Re: Change cursor with code, by pressing keys, to the respective document.cur

    the hotspot is built into the cursor file
  21. Re: Change cursor with code, by pressing keys, to the respective document.cur

    As i told you previously, you save the default cursor at the start in form_load in a form level variable called olDCursor. You don't change that variable all the way through the program and in...
  22. Re: Change cursor with code, by pressing keys, to the respective document.cur

    In the cases in the wndproc, use the same code you used in form_load to change the system cursor. It's just the 1 line and you'll need to change the file path in each case.
  23. Replies
    15
    Views
    345

    VS 2010 Re: Phonetic Typing Project

    Put the letter keys in a dictionary, where the keys are the strings. I noticed there are different 'sounds' for letters like 'ja' and 'jaa' so put the longer letters first in the dictionary. Then...
  24. Re: Change cursor with code, by pressing keys, to the respective document.cur

    where are the .cur files?
  25. Re: Change cursor with code, by pressing keys, to the respective document.cur

    Are you saying you want the hotkeys to change the system cursor?
  26. Replies
    15
    Views
    345

    VS 2010 Re: Phonetic Typing Project

    Can you list the Tamil letters and the associated english letter(s)?
  27. Replies
    6
    Views
    167

    Re: Number Less than or equal

    You were right about decimals... Not in the code but in the proposed input in the textbox
  28. Replies
    6
    Views
    167

    Re: Number Less than or equal

    a is an integer, a textbox.text property is a string.
    If you convert the string to an integer properly and then use proper conditions in your conditional statements you'll probably see better...
  29. Replies
    15
    Views
    345

    VS 2010 Re: Phonetic Typing Project

    Use a dictionary(of string, string), with the key being the english alphabet word snd the value being the tamil alphabet word.



    Dim d as new dictionary(of string, string)
    ...
    D.add("ithu",...
  30. Replies
    15
    Views
    345

    VS 2010 Re: Phonetic Typing Project

    Phonetic implies words and sounds, but it looks like you're trying for a word for word translator
  31. Re: Mouse hover event with form border?

    try this:



    Public Class Form1

    Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
    Const WM_NCMOUSEMOVE As Integer = &HA0
    If m.Msg = WM_NCMOUSEMOVE...
  32. VS 2010 Re: Change mouse's cursor outside form.

    try this:



    Imports System.Runtime.InteropServices

    Public Class Form1

    <DllImport("user32.dll")> _
    Private Shared Function SetSystemCursor(ByVal hCursor As IntPtr, ByVal id As...
  33. VS 2010 Re: Change mouse's cursor outside form.

    Ok so you save the current windows cursor in a form level variable, use the code i showed you but as edgemeal said it's setsystemcursor which was what i meant to show you, to change the system...
  34. VS 2010 Re: Change mouse's cursor outside form.

    ok...



    Imports System.Runtime.InteropServices

    Public Class Form1

    <DllImport("user32.dll")> _
    Public Shared Function SetCursor(ByVal hCursor As IntPtr) As IntPtr
  35. VS 2010 Re: Change mouse's cursor outside form.

    You can use the SetCursor API method...

    MSDN description:

    https://msdn.microsoft.com/en-us/library/windows/desktop/ms648393%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

    SetCursor:
    ...
  36. Replies
    7
    Views
    194

    VS 2013 Re: ListView questions

    What do you mean exactly by 'The Column'?
    If you want the SubItem index, loop through the SubItems until you find the one that matches
  37. Replies
    7
    Views
    194

    VS 2013 Re: ListView questions

    Public Class Form1

    Private Sub ListView1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles ListView1.MouseMove
    Label1.Text =...
  38. Replies
    7
    Views
    194

    VS 2013 Re: ListView questions

    You can handle the _MouseMove event instead of the _MouseDown event
  39. Replies
    7
    Views
    194

    VS 2013 Re: ListView questions

    1/


    Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ListView1.FullRowSelect = True
    End Sub

    ...
  40. VS 2010 Re: Help printing user inputted numbers in order

    https://msdn.microsoft.com/en-us/library/fk6t46tz.aspx?f=255&MSPPError=-2147217396
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.