Search:

Type: Posts; User: jmsrickland

Page 1 of 13 1 2 3 4

Search: Search took 0.16 seconds.

  1. Replies
    17
    Views
    169

    Re: ImageCombo like combobox Dropdownlist?

    This might be of help. Not sure if it's what you are looking for but it does appear to show images in a combobox.
  2. Replies
    17
    Views
    169

    Re: ImageCombo like combobox Dropdownlist?

    Looks like a treeview.
  3. Replies
    3
    Views
    117

    Re: Notepad Application

    Going through the menu bar of Notepad these are what I need

    File
    ----
    Page Setup
    Print

    Edit
    ----
    Find
  4. Replies
    17
    Views
    169

    Re: ImageCombo like combobox Dropdownlist?

    Doesn't the combobox have image property?
  5. Replies
    3
    Views
    117

    Notepad Application

    I'm working on a VB6 project which among many things needs a textbox that has Notepad capabilities.

    Anyone have such a Form with code?

    I originally started out by embedding Notepad into the...
  6. Replies
    35
    Views
    593

    Re: [RESOLVED] App Crashes Only If Shelled

    Problem solved.

    All I have to do is to put a variable switch in the waveInProc to disallow entry before the waveInReset is called.
  7. Replies
    35
    Views
    593

    Re: [RESOLVED] App Crashes Only If Shelled

    Well I narrowed it down to the waveInReset API causing the hangup. I read on the net that this appears to be a common problem however it didn't cause any problems before I put the waveInAddBuffer in...
  8. Thread: Odl

    by jmsrickland
    Replies
    4
    Views
    197

    Odl

    Anyone know where/how I can get info on how to write ODL code?
  9. Replies
    35
    Views
    593

    Re: [RESOLVED] App Crashes Only If Shelled

    Using Dilettante's example as posted in #9 I modified it to make an ODL file for the waveInAddBuffer.



    [
    uuid(b030018c-4fe9-4a1b-bd38-0a7a4537b80b),
    helpstring("WaveAddBuffer Type...
  10. Replies
    35
    Views
    593

    Re: [RESOLVED] App Crashes Only If Shelled

    @Max187Boucher

    Yesterday I did not turn off my PC until I stopped messing around with that problem. Last night I turned off PC then next morning (this morning) I went back to do more testing and...
  11. Replies
    35
    Views
    593

    Re: [RESOLVED] App Crashes Only If Shelled

    Well, here is the strange thing.

    Yesterday I put your CopyMemory in the waveInProc and it was the only thing in that proc. Case _OPEN and Case _CLOSE had no code at all. Case _DATA only had your...
  12. Replies
    35
    Views
    593

    Re: [RESOLVED] App Crashes Only If Shelled

    It's not just yours. I made another typelib using an MS example and that too causes crash. Looks like that sort of kills your theory about all that COM and TypeLib stuff.

    Kind of defeats the...
  13. Replies
    35
    Views
    593

    Re: [RESOLVED] App Crashes Only If Shelled

    @dilettante

    Still crashes.

    As I said in post #17 it worked - no problem....but

    ...when I put the exact same code in the waveInProc the app crashed. This was the only code I used as I...
  14. Replies
    23
    Views
    318

    Re: API get pixel

    Spoo, How did you get "keywords to go blue" in your post?
  15. Replies
    35
    Views
    593

    Re: [RESOLVED] App Crashes Only If Shelled

    I read where I need uuid.exe to generate the uuid I need for making ODL files. I found uuidgen.exe on my pc but not uuid.exe. Does uuidgen.exe do the same as uuid.exe
  16. Replies
    23
    Views
    318

    Re: API get pixel

    Interesting. Never ran into that problem in all the years I have used pictureboxes in VB programming. I'll take your work for it however
  17. Replies
    23
    Views
    318

    Re: API get pixel

    Then use ScaleWidth and ScaleHeight.
  18. Replies
    35
    Views
    593

    Re: [RESOLVED] App Crashes Only If Shelled

    I kind of thought that myself
  19. Replies
    23
    Views
    318

    Re: API get pixel

    Why don't you just use Picture1.Width and Picture1.Height only? Why the other stuff?
  20. Replies
    23
    Views
    318

    Re: API get pixel

    Private Declare Function GetPixel Lib "gdi32" Alias "GetPixel" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long

    Dim c As Long

    c = GetPixel(Picture1.hdc, 0, 0)


    c will contain...
  21. Replies
    23
    Views
    318

    Re: API get pixel

    GetPixel retrieves the pixel from the bitmap image's (hdc) X and Y position specified in the API and returns it's color

    Public Declare Function GetPixel Lib "gdi32" Alias "GetPixel" (ByVal hdc As...
  22. Re: [RESOLVED] Oscilloscope (sound wave graph) how do I create one

    The one I posted looks nothing like the one from #5. It's more like what you would see if you speak into a mic which is what it does. Very jagged display
  23. Replies
    35
    Views
    593

    Re: [RESOLVED] App Crashes Only If Shelled

    I copied you ODL source, used MIDL.EXE and compiled it into a TBL. I opened up a new VB project and gave reference to that TBL. In a Sub I used it like this:


    Private Sub Command1_Click()
    Dim...
  24. Replies
    35
    Views
    593

    Re: App Crashes Only If Shelled

    I found MIDL.EXE along with MIDLES.H on my system in a VC98 folder. So is this one you are referring to
  25. Replies
    35
    Views
    593

    Re: App Crashes Only If Shelled

    I see where it has MoveMemory in it. Does this mean that if I reference that TBL in any VB project I do not have to Declare RtlMoveMemory in my project
  26. Replies
    35
    Views
    593

    Re: [RESOLVED] App Crashes Only If Shelled

    I read that remark from MS. That's what then made me think about the other APIs I was using.

    I have a C written app that also uses waveInProc and in that Proc are the CopyMemory and some other...
  27. Re: [RESOLVED] Oscilloscope (sound wave graph) how do I create one

    Not sure what exactly you are looking for but here is a small and very simple sine wave generator in real time.
  28. Replies
    35
    Views
    593

    Re: App Crashes Only If Shelled

    OK, thanks dilettante, that's all new to me but I will give it a try and see how well I do. Although I figured out a way to make my current app work I don't think it's the best way to do it but it...
  29. Replies
    35
    Views
    593

    Re: App Crashes Only If Shelled

    OK, so how do I create a typelib and then reference it? I have never done anything like that.
  30. Replies
    35
    Views
    593

    Re: App Crashes Only If Shelled

    OK, I just now discovered something. When I run app as stand-alone it is from the IDE and it never crashes but if I run it from the EXE (I double click on the EXE file) it will crash. So, that now...
  31. Replies
    35
    Views
    593

    Re: App Crashes Only If Shelled

    When the app is shelled nothing takes place until the Start Recording button is clicked. On click it immediately enters Public Function StartRecord which runs to the point I indicated in red.

    1)...
  32. Replies
    35
    Views
    593

    [RESOLVED] App Crashes Only If Shelled

    I'm working on this sound application that uses waveIn/waveOut to capture sound and display a sine wave in real time. If I run the app as a stand-alone it works perfectly but if I shell it then it...
  33. Replies
    1
    Views
    99

    Open VB6 on a specific module

    How do I open VB6 and always open with the module I choose?

    When I am working on a VB project which has multiple modules I would like to open VB each time be at the module page I am working in...
  34. Re: Anyone know what this code is, what it does, and how it works

    Seems like a lot of convoluted code just to get a callback. It's in a project I got off the net and it was originally placed in a class module but I didn't want any class modules so I placed it in a...
  35. Re: Anyone know what this code is, what it does, and how it works

    This code is continued from 1st post as it was too long



    'Return the address of the specified DLL/procedure
    Private Function zFnAddr(ByVal sDLL As String, ByVal sProc As String) As Long
    ...
  36. Anyone know what this code is, what it does, and how it works

    I got this code off the Net from a project. The best I can make out it sets up some kind of a callback function but I'll be danged if I can figure it out.



    Public Function sc_Subclass(ByVal...
  37. Re: SendMessage only works once on same object

    Well I have tried SendMessage and PostMessage. It simply doesn't work. I decided to use two buttons, one to start and the other to stop. With two buttons it works correctly.
  38. Re: How to Set a Picturebox object to the handle of another Picturebox in another App

    App1 is a client so wouldn't it be a single instance per user?
  39. Re: SendMessage only works once on same object

    MAX, I thought that BM_CLICK was both mouse down and mouse up (hence Click).

    I'll try adding a BM_MOUSEUP and see what happens. Thanks for the thought, however.
  40. SendMessage only works once on same object

    I have two apps, App1 and App2. App1 has the HWND of App2's Command1 button. In App1 I have this code:


    App1 Code


    Private Sub Command1_Click()
    If Command1.Caption = "Start" Then
    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4