Search:

Type: Posts; User: 5ms?

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: [Serious]Why are you not a believer of the existence of God

    Till him thanks :D

    :eek: :confused: Have you not looked at this thread :confused:

    No... it's your choice if you want to end up in hell.
    I know there is no hell to go to, so I have no choice, I...
  2. Replies
    15
    Views
    65,339

    Re: Utility: CodeBank (Code Storage Utility)

    I just downloaded CodeBank_Declared_V4.0.0.zip from post #9 OK.
    I can not unzip it, I get a MsgBox "No files to extract".
  3. Replies
    15
    Views
    65,339

    Re: Utility: CodeBank (Code Storage Utility)

    I get the same for the V 4.0.0, but the CodeBank_v3.1.3.zip downloads OK.
  4. Replies
    7
    Views
    1,015

    Re: Protection of part of a VB code

    Don't hard-code any strings, i.e(text in quotes)
    LaVolpe means if you compile this block of code as an dll or exe you'll see all the text that is in quotes, i.e
    Private Sub cmdOK_Click() 'check for...
  5. Replies
    8
    Views
    1,040

    Re: chech boxes

    The "else without if"
    You have:
    If Check1(1).Value = vbChecked Then lMultiplier = lMultiplier + 110 *val(text2.text)
    Else
    text2.text = " "
    Shood be
    If Check1(1).Value = vbChecked Then
    ...
  6. Replies
    8
    Views
    1,040

    Re: chech boxes

    Check Box and Option Button controls do not have same Values
    Check Box Values are vbChecked, vbUnchecked or vbGrayed
    Option Button Values are True or False
    i.e

    If Option1(0).Value = True Then...
  7. Replies
    7
    Views
    1,015

    Re: Protection of part of a VB code

    If the code is compiled as a dll they cannot access the source code
  8. Re: [RESOLVED] No Mscomm receive USB 16 Channel Relay Module - RS232 Controlled

    This may help with the array bit
  9. Is there a better way than the avicap32.dll way?

    Hi All.........
    I'm trying to Capture and Overlay on a webcam.
  10. Replies
    2
    Views
    1,101

    Re: As speedy as possible, Capture?, BitBlt?

    Yip, that makes cents
    But I do not know how to do that or if it can be dun


    The idea was:
    have two off-screen bitmaps, one to hold the frame (as it comes) and another to hold the image to be...
  11. Replies
    2
    Views
    1,101

    As speedy as possible, Capture?, BitBlt?

    Hi all.
    I need to overlay an .jpg or .gif over video.
    I know this way.

    Grabbing a Webcam:
    capCreateCaptureWindow
    SendMessage GET_FRAME
    SendMessage Copy
    Copy...
  12. Replies
    6
    Views
    845

    Re: help with error closed object

    I'd would guess that Doogle is on to it.
    Are you sure it's not this, there is only 3 quotes, the leading quote is missing:


    rs.Open "Select * from queryStudent where stud_id = '" & varStudMain &...
  13. Thread: Checksum

    by 5ms?
    Replies
    4
    Views
    1,045

    Re: Checksum

    Have I got it for the probability P = 2 ^ -(N - K)
    I have 3 Text boxes P,N and K

    Private Sub K_Change()
    P.Text = 2 ^ -(N - K)
    End Sub
    Private Sub N_Change()
    P.Text = 2 ^ -(N - K)...
  14. Thread: Checksum

    by 5ms?
    Replies
    4
    Views
    1,045

    Re: Checksum

    Thanks dilettante
    That's why I needed the "Combination of Bytes"
    I made two CRC class's one 8 bit and one 16 bit,
    The 8 bit CRC is not cutting the mustard, it's only unique for one byte (8...
  15. Replies
    9
    Views
    1,163

    Re: Combination of Bytes

    @dilettante
    Thank you for trying!
    I didn't know how to do it with only one loop.
    I didn't have a clue how to till you what I was trying to accomplish.

    @Logophobic
    Thank you that's what I was...
  16. Thread: Checksum

    by 5ms?
    Replies
    4
    Views
    1,045

    Checksum

    I'm working on communicating with an 8Bit IC and I need to calculate Checksums.

    Message length could be as long as 255 Bytes,
    but does not need to be that long, I may set the max at 16 or 32...
  17. Replies
    7
    Views
    1,207

    Re: take input from text box and add to procedure??

    'is "RandomNumbers()" an array of Cards, or it Returns a Random Number?


    ' You don't need this,
    'this> For N = 1 To 7 '5'<--- Change to whatever you like to control number of shuffles
    ...
  18. Replies
    7
    Views
    1,207

    Re: take input from text box and add to procedure??

    I do not open '.rar' files.

    Do you have two packs of cards in your shuffle?
  19. Replies
    6
    Views
    845

    Re: help with error closed object

    is it this line ".txtLname.Text = rs.Fields(1)"
    if so,
    if you take out the line, DO you get the same error on the next line?
  20. Replies
    7
    Views
    1,216

    Re: [RESOLVED] ListView datachanged ?

    Here is some info on 'Split', 'Left' and 'Right'

    Dim AnyString As String, MyStr As String
    AnyString = "Hello World" ' Define string.
    MyStr = Left(AnyString, 1) ' Returns "H".
    MyStr =...
  21. Replies
    7
    Views
    1,216

    Re: ListView datachanged ?

    Private Sub Command3_Click()
    ' Add names to column 1.
    AddNameTo ListView1, 1, "Mary"
    'this is the same as [Set itmX= ListView1.ListItems.Add(1, "Mary", "Mary")]
    End Sub

    Public Sub...
  22. Replies
    7
    Views
    1,207

    Re: take input from text box and add to procedure??

    Have a look in VBForums > Visual Basic > Games and Graphics Programming> Game Demos

    Like this:

    Option Explicit

    Dim chosen(1 To 4) As cards

    Public Sub SomeSub()
    Randomize
  23. Replies
    7
    Views
    1,216

    Re: ListView datachanged ?

    If there can not be changes by the user,
    then you'll be doing all the changes in you code,
    so you must know when a change has happened.

    To put all changes in one place do like this


    Public...
  24. Replies
    3
    Views
    772

    Re: 2 Off-the-beaten-path questions

    To clone a project I Just copy the project folder, then rename the coped folder, then run the project,
    if I need to clone just one Form, cls or BAS
    I just open it 'select all' 'Copy' and then...
  25. Replies
    1
    Views
    532

    Re: deleting old files

    Maybe some thing like

    Dim ThisFileName As String, LookAtThisFileName ' As String
    Dim TodayDate As Date, OldDate As Date
    ThisFileName = "myfiles "
    'TodayDate=format(now,................
    ...
  26. Replies
    7
    Views
    1,158

    Re: [RESOLVED] listbox and commondialogue

    No prob!
    Here's a little more about the CommonDialog, from (MSDN)

    ShowColor, ShowFont, ShowHelp, ShowOpen, ShowPrinter, ShowSave Methods Example
    This example uses the CommonDialog control and...
  27. Replies
    7
    Views
    1,158

    Re: listbox and commondialogue

    Try
    CommonDialog1.ShowOpen
  28. Replies
    7
    Views
    1,158

    Re: listbox and commondialogue

    TipeOh!
    OK OK TipeOh (S)!
    There you go this we run, I'm not good at explaining, so if you run this with F8 you'll see.
  29. Replies
    7
    Views
    1,158

    Re: listbox and commondialogue

    Maybe this well do it.

    Private Sub Command2_Click()
    Dim filenum As Integer, i As Long
    CommonDialog1.Filter = "Text File|*.txt"
    CommonDialog1.DefaultExt = ".txt"
    ...
  30. Replies
    5
    Views
    2,360

    Re: GetAsyncKeyState and timers question

    With 'GetKeyPress' you're getting the Last KeyPress
  31. Replies
    5
    Views
    2,360

    Re: GetAsyncKeyState and timers question

    I think you may have code like this


    Dim LastKeyPress

    Public Function GetKeyPress()
    GetKeyPress = LastKeyPress
    End Function

    Public Sub SaveKeyPress(KeyPress)
  32. Replies
    10
    Views
    4,139

    Re: Find SubItems in listview ?

    Try this

    Me.Caption = ListView1.ListItems(1).ListSubItems.Item(1)
  33. Thread: compile issue

    by 5ms?
    Replies
    9
    Views
    909

    Re: compile issue

    Do you have 'WTUserScale1' Checked in the Ref area?
    If not then look,
    From Visual Basic click on the project menu and then Components.
  34. Replies
    9
    Views
    1,163

    Re: Combination of Bytes

    How can I get my 'Delimited Array' if I get rid of the nested loops ?

    Here's my code so far


    Option Explicit
    Private Const LB = 3
    Dim A1, A2, A3, A4, A5, A6, A7, A8, ByteArray(1 To LB) As...
  35. Replies
    9
    Views
    1,163

    Re: Combination of Bytes

    I need to get all combinations.

    for a two Byte Array


    0,1
    0,2
    so on....

    1,1
  36. Replies
    9
    Views
    1,163

    Re: Combination of Bytes

    Mmmmmmm................
    simply finding out how many there would be is no bigy

    BUT!
    I need to test all combinations.


    Private Sub Run3()
    For A = 0 To 255
    ByteArray(1) = A
  37. Replies
    9
    Views
    1,163

    Combination of Bytes

    What would be the easiest way to run throw all Combinations of Bytes

    all Combinations
    of 2 Bytes
    of 3 Bytes
    of 4 Bytes
    .....
    of 10 Bytes
    .....
    of 16 Bytes
  38. Replies
    6
    Views
    876

    Re: [RESOLVED] Calculate_Percentage

    Yes, thanks seenu_1st.
  39. Replies
    6
    Views
    876

    Re: Calculate_Percentage

    Nope you don't get me, your code is the same as my code in post #1.

    what I need is,
    I got my pay, it was before tax $666 and but now it's $555.55
    so what is the tax rate?

    Text1 = (Val(Text3)...
  40. Replies
    3
    Views
    619

    Re: Sorting list box problem

    Look for Bubblesort QuickSort
Results 1 to 40 of 481
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width