Search:

Type: Posts; User: kewakl

Page 1 of 6 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    19
    Views
    3,534

    Re: Square wave generator

    A PICAXE at 16MHz, PULSOUT can generate a 2.5uS period.
    The PICAXE manual is spotty in this area, but it appears that 16MHz requires the 28X1 or the 40X1


    EDIT: Manual 1 states
  2. Replies
    11
    Views
    1,198

    Re: [RESOLVED] use online image as image.picture

    remember to provide a way out if the file is NEVER downloaded.:eek:
  3. Replies
    11
    Views
    1,198

    Re: [RESOLVED] use online image as image.picture

    look at the argument img in Sub ShowImg(img)

    check that the string is EXACTLY what you expect. No extra characters.
    tip: I would declare img with a data type, now it is defaulted to Variant

    ...
  4. Replies
    19
    Views
    3,534

    Re: Square wave generator

    wouldn't be quite square, then, more of a pulse/rectangle.
    Then the infinite ODD harmonic idea wouldn't exactly apply.
    you would still have the high number of harmonics( ref to CDRIVE's post #10)...
  5. Replies
    19
    Views
    3,534

    Re: Square wave generator

    If I remember my electronics, a square wave is the base plus an infinite number of odd harmonics of that base.

    As you imply, the audio card is simply not capable of reproducing that.
  6. Replies
    11
    Views
    1,198

    Re: [RESOLVED] use online image as image.picture

    do you care if it saves the file to your PC?
    if not,

    Set WinHttpReq = CreateObject("WinHttp.WinHttpRequest.5.1")

    Dim d() As Byte
    WinHttpReq.Open "GET",...
  7. Re: [VB6] I know there must be a way to obfuscate source code...

    upx .exe - compressor



    read the upx license
  8. Replies
    27
    Views
    1,126

    Re: PC Freezing when running EXE twice

    FYI: Joshua Z.

    Extracted. run in IDE. multiple times. no lockup
    compiled. run exe multiple times. no lockup.

    WinXP sp2 3.1ghz 2.0gb
  9. Re: Finding the user's Desktop directory

    {MODULE}
    Public Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long

    {CODE}
    'Create a buffer
    Dim strUserName As String...
  10. Replies
    4
    Views
    611

    Re: Drag Small Images on Form

    you will need some sanity check on the drop location of your images.
    With this method, you can drag the images way outside the form's view
    and lose :eek: them -- ( I do not know the size of your...
  11. Replies
    13
    Views
    5,347

    Re: VB6:How to find controls that are in a frame?

    Hope you find something helpful in this thread
  12. Replies
    15
    Views
    772

    Re: Shell Out, shell out!

    My 2Cents...

    Have you tried ChDir <HRV folder> before shelling HRV?
  13. Replies
    5
    Views
    530

    Re: how can i end all the services in my pc

    it would make sense to know what the service does before killing it.

    wintaskspro is a good place to start!



    a better worded question would have been met with a better answer.
  14. Re: Excel toolbar tooltip - can I customize

    Rob,
    I think that is what I saw -- object already used.
    I have

    4 buttons

    4 Public WithEvents oCBBCustom... As Office.CommandBarButton

    4 Set oCBBCustom... =...
  15. Re: Excel toolbar tooltip - can I customize

    Originally I did just customize/drag/drop modify.
    I looked at your faq, then coded them in. I have them working now.

    Thanks.

    Follow up question for buttons.
    I could only use the LAST button...
  16. [RESOLVED] Excel toolbar tooltip - can I customize

    I have added four buttons to my excel(xl2003) toolbar. I would like to change the tooltip. Is it (fairly easily) possible with vba code?

    The buttons were added via
    right-click.customize
    ...
  17. Replies
    2
    Views
    553

    Re: Insert worksheet at position 1

    Worksheets.Add Before:=Worksheets(1)
  18. Replies
    13
    Views
    749

    Re: How to make something move

    search the classic visual basic forum for 'PONG.' you'll find several threads.
    here is a tutorial. haven't tried it. maybe you can get some ideas from it.
  19. Replies
    3
    Views
    455

    Re: I got a problem!

    If Val(MyText) <> 0 Then
    MsgBox "Try again Please!"

    Else
    ActiveSheet.Cells = text

    End If


    Hmm...
  20. Replies
    5
    Views
    555

    Re: Conditional formatting

    Some colorizing help
  21. Replies
    5
    Views
    555

    Re: Conditional formatting

    Have fun with this.

    anyone care to optimize or correct anything -- GO AHEAD!
    @Bruno,
    you can drop this in THE WORKSHEET's code that you are working with
    then follow the REQUIREMENTS section.
  22. Replies
    5
    Views
    555

    Re: Conditional formatting

    Conditional Formatting allows 3 conditions.
    If you require more conditions, maybe validation would better suit the need.
  23. Replies
    6
    Views
    506

    Re: get data from PBX?

    http://www.google.com/search?hl=en&q=PBX+&btnG=Google+Search
  24. Replies
    20
    Views
    2,860

    Re: VB Find words in string?

    I would think that the 53 is 53 times slower than Len and LenB, since there is no How to read the table note for table 2.

    any other ideas?

    too bad I didn't know of this page when I was doing...
  25. Replies
    13
    Views
    1,685

    Re: Excel file increased unreasonably

    -------------Make a backup FIRST-------------
  26. Replies
    4
    Views
    687

    Re: Quick Syntax for an object

    one simple reason to NOT use a default method..

    You build your class module using the default method.
    You build several apps depending on that default method ALWAYS being the default method....
  27. Replies
    2
    Views
    400

    Re: Msgbox before exit

    Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
    If MsgBox("Really close?", vbYesNo + vbQuestion, "Close Userform") = vbNo Then
    Cancel = True
    End If
    End Sub

    'excel...
  28. Re: Searching for a bottom border of a particular color

    Quick sample...
    Simple looping through rows in the column
    test for ColorIndex of Borders(xlEdgeBottom)



    Dim lLoopIndex As Long
    Application.StatusBar = "Searching for Bottom BorderColor"...
  29. Replies
    3
    Views
    463

    Re: Multiline textbox

    set the .MultiLine property to true and use vbCrLf instead of Chr$(10)
  30. Replies
    5
    Views
    614

    Re: Excel sheet SIZE 800 kb with nothing in it

    may also be related to this
  31. Re: [RESOLVED] Excel VBA: access sheets through variable name

    That would be fine unless you are running on a hand-me-down-corporate-doorstop-pentiumIII like I am!

    See Post 7


    just my $0.42!
  32. Replies
    13
    Views
    849

    Re: Hey guys, a really simple question

    you want to check the length of the file ...

    before you open the file you can use FileLen


    after you open the file you can use LOF


    you could just trap the error, but why error if you can...
  33. Replies
    6
    Views
    503

    Re: 2 Quick Msgbox questions.

    ::Hack beat me to it -- SLOW NETWORK!
    there are more responses that can be trapped, you just have to format the MsgBox function correctly and test the response

    Constants
    *what buttons PICK...
  34. Re: overflow problem!!big headache! Help!

    since all of the values below are not declared variables, the result is exceeding the size of an Integer variable.



    the above formula will go 'out of bounds' - actually this will go south (79 *...
  35. Replies
    4
    Views
    1,482

    Re: VB 6 Class Name For FindWindow

    if you are targeting the FORM and not a child of the form
    see Megatron's post

    just change the "My Application" to the caption of the target form
    /hth
  36. Replies
    21
    Views
    1,243

    Re: function key problem

    which is why I hesitated so long before mentioning it.


    almost all of steve's examples force SSubTimer6.dll!
  37. Replies
    21
    Views
    1,243

    Re: function key problem

    yes, I can run it.
    the only thing that this example does is demonstrate the hotkey of
    CONTROL-ALT-UParrow to make the example prog come to the front.


    What error?
    Before RegSrv32 SSubTmr6.dll...
  38. Replies
    21
    Views
    1,243

    Re: function key problem

    if what Hack said, then vbaccelerator Reg HotKeys
    be sure to download and register SSubTmr6.dll
  39. Thread: Keydown Problem

    by kewakl
    Replies
    7
    Views
    708

    Re: Keydown Problem

    this project demonstrates that it is possible to trap CTRL ALT SHIFT and up to 3 other chars.

    I totally do not understand where you want to press these keys to show a form, but GetAsyncKeyState...
  40. Thread: Keydown Problem

    by kewakl
    Replies
    7
    Views
    708

    Re: Keydown Problem

    could you use GetAsyncKeyState API?
    http://allapi.mentalis.org/apilist/GetAsyncKeyState.shtml

    I've used it in simple two-player games like pong/tennis where more than one key must be pressed...
Results 1 to 40 of 221
Page 1 of 6 1 2 3 4



Click Here to Expand Forum to Full Width