Search Results - VBForums

Search:

Type: Posts; User: paulg4ije

Page 1 of 12 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    160

    Re: Login Form to a server

    Surely it's down to your "cloud" server to allow or deny access to the system?
  2. Replies
    31
    Views
    725

    VS 2015 Re: Creating A Better Emboss Function

    You should be able to speed up the first function using fastpix by boops boops:

    http://www.vbforums.com/showthread.php?586709-FastPix-Rapid-Pixel-Processing-for-Dummies-and-Dudes

    Basically you...
  3. VS 2010 Re: [RESOLVED] Syntax error (missing operator) in query expression

    Many thanks for that. I had looked up reserved keywords for Access but not Jet.
  4. VS 2010 Re: Syntax error (missing operator) in query expression

    I think I've fixed it. I had a field ("column" if you prefer) in my table called "Band". I renamed it and the update seems to be working. I can't find reference to "Band" being a reserved keyword,...
  5. VS 2010 Re: Syntax error (missing operator) in query expression

    This is getting weirder. If I don't change the text in any of the textboxes (they display the current values retrieved from the database) the update command works. If I make the tiniest change to any...
  6. VS 2010 Re: Syntax error (missing operator) in query expression

    Missing out the GiQSOid gives the error:
    Syntax error (missing operator) in query expression 'tblLog.LogID ='.

    The full error message I'm getting is:
    Syntax error (missing operator) in query...
  7. VS 2010 Re: Syntax error (missing operator) in query expression

    I have just built a minimal test project using a new table in the database with just one record and two fields and the update works. I tried a compact and repair on my database but I still get same...
  8. VS 2010 Re: Syntax error (missing operator) in query expression

    GiQSOid is just the primary key field of the database. There is no other SQL. You can assume it is "Select * from tblLog where tblLog.LogID = 1" - where "1" is definitely a valid row in the Access...
  9. VS 2010 [RESOLVED] Syntax error (missing operator) in query expression

    This has got me beat. Even slept on it before posting and it didn't help. I can add a new record to my Access database (old-style MDB) but I cannot amend an existing record. Code block A works fine;...
  10. Replies
    8
    Views
    3,280

    Re: 2 web cameras and .net

    Forgot this bit:


    Private Function fnGrab_Image() As Boolean

    ' Grab an image from webcam - Aforge Video Source Player must be running

    Try
    Dim bm As Bitmap =...
  11. Replies
    8
    Views
    3,280

    Re: 2 web cameras and .net

    This is some of my code:


    Imports AForge.Video
    Imports AForge.Video.DirectShow

    Module modCameras

    Public videoDevices As FilterInfoCollection
    'Private cam As VideoCaptureDevice
  12. Replies
    15
    Views
    393

    Re: And and AndAlso

    Take out the "then" just before AndAlso.
  13. Replies
    5
    Views
    219

    Re: MS Outlook image crud

    This suggestion is only based on something that you could try, rather than any knowledge on the subject :-)


    <img src="cid:yadyada" width="70" height="50">

    Maybe Outlook would display the...
  14. Re: How can I create a Histogram for an image?

    You just need to loop through all the pixels in the image (I typically use nested loops for lines and pixels) and count the pixels that are at each of your grey levels. You may need to process the...
  15. Thread: oscilloscope

    by paulg4ije
    Replies
    6
    Views
    311

    Re: oscilloscope

    There is a 64 bit version of that dll that works fine in Windows 7. Should be OK in 8 and 10 but I have not tried it. Have a look at this (particularly post #13):
    ...
  16. Thread: oscilloscope

    by paulg4ije
    Replies
    6
    Views
    311

    Re: oscilloscope

    New to programming or just new to VB? An oscilloscope would not be a suitable first project for a new programmer.

    Why access the parallel port? Do you already have hardware (A to D converter...
  17. Re: Can lockbits make this graphics operation faster?

    Check out Fastpix from forum member boops boops:

    http://www.vbforums.com/showthread.php?586709-FastPix-Rapid-Pixel-Processing-for-Dummies-and-Dudes
  18. VS 2010 Re: Creating a directory in an FTP Server?

    Just to expand my answer a little, you need to pass the full server path to the directory you want to create. It needs to contain the path to the "www" folder on your FTP server. Something like this:...
  19. VS 2010 Re: Creating a directory in an FTP Server?

    This is the way I do it:



    Imports System.Net

    Function fnFTPcreateDir(sServerPath As String, sUsername As String, sPassword As String) As String

    Dim sResult As String
  20. VS 2010 Re: Path to DLL used in Private Declare Function

    Thanks for that. It makes sense.
  21. VS 2010 [RESOLVED] Path to DLL used in Private Declare Function

    When using a DLL like this:

    Private Declare Function waveOutOpen Lib "winmm.dll" etc ...

    Does a VB.NET program look for the DLL as per this old MSDN article:

    "If you do not specify a path...
  22. VS 2010 Re: Using Listbox with datasource (Access database)

    Thanks again. I'll work on this at the weekend.
  23. VS 2010 Re: Using Listbox with datasource (Access database)

    OK. Thanks for that. I'll look into it.
  24. VS 2010 Using Listbox with datasource (Access database)

    I want to link a Listbox to a table in an Access database. The Listbox needs to be initially populated from the table on form load; the user can then add or remove items to/from the Listbox and then...
  25. Replies
    3
    Views
    280

    Re: WebCam Image Capture

    Have you looked at Aforge?

    http://www.aforgenet.com/framework/

    Webcam support works very nicely. I have only used it in personal projects so I haven't read all the small print ;-)
  26. VS 2010 Re: [RESOLVED] Writing to parallel port - Windows 7 64-bit

    My code is dedicated to specific tasks with a specific piece of hardware. I'm not sure how much of it will help you, but here are a few snippets:


    ' Put this in a module...
  27. Replies
    30
    Views
    1,610

    VS 2013 Re: Shutdown system super fast?

    Design a robot that holds the power button in :-)
  28. Replies
    11
    Views
    507

    Re: Cannot print chr(34)

    How are you declaring df? Make sure you have Option Strict ON.

    This works for me:

    Dim s As String = Chr(34)
    Debug.Write(s)

    I don't use the immediate window a great deal (should really use...
  29. VS 2010 Re: Digital Clock in Visual Basic

    Google and MSDN are your friends ;-)

    https://msdn.microsoft.com/en-us/library/8kb3ddd4%28v=vs.110%29.aspx

    Try:


    Label14.Text = Date.Now.ToString("H:mm:ss tt")
  30. Replies
    9
    Views
    680

    VS 2010 Re: 64 bit exe on 32 bit

    I think it has to be XP SP3 but don't quote me ...
  31. Re: Sort array by date - date is in unusual format

    That's looking very good - except the order is reversed to what I want. I'd like the most recent date first. I'll start googling ...

    EDIT: Got it! arsort rather than asort. Many thanks for your...
  32. Re: Sort array by date - date is in unusual format

    I wondered if you meant to put $date in line 57 rather than $key, but then I just get lots of links to "01-1970".
  33. Re: Sort array by date - date is in unusual format

    First try gives this error:

    Fatal error: Cannot access empty property in ....... .php on line 55

    Line 55 (according to Notepad++) is: foreach($mydirectories as $key->$value) {

    I'll do some...
  34. Re: Sort array by date - date is in unusual format

    Many thanks. I'll try it out tonight.
  35. Re: Sort array by date - date is in unusual format

    Yes please! I guess the first thing I need to do is to create the array before the for-each loop, then sort it. I only had a brief look at strtotime() and I'm not sure it will directly handle my date...
  36. Re: Sort array by date - date is in unusual format

    Thanks for the suggestion. I'll look into it.
  37. Replies
    4
    Views
    264

    VS 2013 Re: Open only files with *.bin

    You probably should use a filter on the OpenFileDialog:


    Dim OFD As New OpenFileDialog
    OFD.Filter = "bin files (*.bin)|*.bin"
  38. [RESOLVED] Sort array by date - date is in unusual format

    I have a few dozen directories with names like jan2015, dec2014, nov2014 and so on. The format is always exactly like that; 3 lower case letters for the month and four digits for the year. I create a...
  39. VS 2010 Re: Use lots of threads or re-use the same one?

    Thanks for that. I'm using waveOutOpen to play the wave file (actually a programmatically filled buffer of wav data), so I guess that would be running asynchronously. However, I need to know when...
  40. VS 2010 [RESOLVED] Use lots of threads or re-use the same one?

    I'm using a class based around winmm.dll functions to play a wave file, which could be up to 2 minutes long. I have it running in a separate thread from my GUI and it works fine. Once the wave file...
Results 1 to 40 of 457
Page 1 of 12 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.