Search results

  1. I

    Global Hotkeys

    Hi All - Hope everyone is safe out there I have defined some Global Hotkey keys (Function Keys F7, F6, F4) using the Public Declare Function RegisterHotKey Lib "user32" (ByVal hwnd As IntPtr, ByVal id As Integer, ByVal fsModifiers As Integer, ByVal vk As Integer) As Integer function along with...
  2. I

    Question validated event in single textbox form

    Hi All I have been fighting a nuance with a form that has only one label and one textbox. The validated event does not fire! I have employed the click, enter, keydown, leave, and validated events. I cannot exit the form unless I trap the return key in the keydown event and exit from that...
  3. I

    Resolved NO_BACKSLASH_ESCAPES

    MySql Version 8.0.18 is ignoring sql-mode=NO_BACKSLASH_ESCAPES in the my.ini file. A number of queries that were working on MySql 5.6.17 are now failing with syntax errors because of backslashes in the character stream. I have added the sql-mode=NO_BACKSLASH_ESCAPES in the my.ini file but it...
  4. I

    Resolved Picturebox events

    Hi All Trying to implement a confirmation sequence regarding the loading of an image in a picturebox. I need to know this for once the image is loaded I am going to print it using the printdocument_printpage sub of the printdocument class. I am trying to use the picturebox events namely the...
  5. I

    Resolved Scanner Twain and interrupts

    Hi to all A vb.net program that I have developed and been updating for the past year incorporates a scanner twain from the vendor Dynamsoft. The software has worked without issues. Yesterday I encountered what I can only classify as "real time demands" by the Scanner Twain. I can no longer...
  6. I

    e.SuppressKeyPress = True not working

    I have a simple three control Form; 1 label, 1 textbox, 1 button. I added the button for VB.Net becomes somewhat unstable with only one "active" control. The form "dings" every time "enter" is input to terminate the textbox entry prior to the transfer to the button control. I did research on...
  7. I

    Button control event choreography

    Hi All Still learning this rather large paradigm - vb.NET. I have discovered that the button control event sequence is not the same as the textbox control. The enter event is not fired when the button is clicked and the validated event is not fired following the click event. I wrote a simple...
  8. I

    Recursion?

    Hi All. Below you see the code to a very simple form which I created to duplicate a strange behavior on a much larger form and I am not sure what to make of it. Public Class Form1 Dim str1 As String Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load...
  9. I

    Resolved counting rows from a query

    Hi All I am using the VFPOLEDB provider. It has been a good "provider"! In the name of shorting code I am trying to use the count command/function to retrieve the rows found from a previous query. Here is my code sqry = "select * from httrk where ht like 'j310'" Dim fxcmd As New...
  10. I

    Resolved platform selection

    Lost on this one. Any help will be greatly appreciated. Have an issue with a vb.net program regarding vfpoledb not being registered. The fix is supposed to be change the target platform from Any CPU to x86. The x86 platform is not an option on my vs 2013. Created the x86 choice through the...
  11. I

    email packaging

    Hi All Have vb.net code that processes "text" input into a Excel spread sheet - producing worksheet/worksheets for email. I want to combine the worksheets into one file prior to the email function. I can do this with the PDF variant by way of a great 3rd part app "pdftk". I have done a lot of...
  12. I

    Question scripting text file issue

    Hi All Writing a simple windows forms to allow me to generate ping test to any IP address. I am generating command files with the ping command in file and they are not executing because the file contents are very strange looking. The leading hex digits in the text file are ff and fe and each...
  13. I

    image to excel cell

    Hi All I am trying (very unsuccessfully) to load an image into an image variable from a disk file. I have used the image.fromfile (disk file) method without complaints but the only "thing" that resides in the image variable after the code execution is the "System.Drawing.Bitmap" statement...
  14. I

    Question try:catch anemia

    Hi All Is it possible to force the .Net platform to give you the line number or the actual line that is causing the problem when the "exception" occurs (vb.net code). It is telling me what is wrong but no locality is provided. Sure would be nice to get a line number or the identity of the...
  15. I

    Top bar controls missing

    Hi All I have a vb.net Windows Form that starts running by virtue of the "form load". It runs continuously processing documents as it finds them on an interface file. I am using a "me.show" to present the form in the "form load" event. It appears to me that because of such I don't have the...
  16. I

    64 bit vs 32 bit

    Hi All I have a vb.net application that I have radically modified. Upon installing it last night I discovered that it runs correctly from a 32 bit Windows system but when I attempt to run it from a 64 bit Windows system I get the "incorrect format" error. I am using the "any pc" option in the...
  17. I

    xy class for screen output

    Hi to all I have a vb.net program that continuously cycles processing documents (that are members of a FoxPro table) for printing, faxing and email. I need to report the status of these functions, which includes identification, to the Windows Form that loads and starts this cycling process. I...
  18. I

    Question Can not get focus

    Hi All - Happy late New Year I have a working program that I want to add a textbox to in order to get some data from the user. The program does a lot of file processing on auto pilot - it is "called" in by a FoxPro program to use Excel to create a PDF form that is finally emailed. The users...
  19. I

    Question IWshRuntimeLibrary troubles.

    Hi to all I have a working VB.net app developed under VS 2005 on a Windows 7 Pro 32 bit system. I moved the app to a Windows 8 Pro 64 bit system and the following synopsis takes place: Windows 7 Pro 32 bit VS 2005 Reference interop.IWshRuntimeLibrary Dim wh As New...
  20. I

    Question date to date

    Hi All Been searching all over the net but all of the answers are relative to converting dates to string format. I need to convert the current date into a DATE format of yyyy-mm-dd to save in a mysql DATE field of a mysql table. If I try to update/insert a date with the American format...
Top Bottom