Search:

Type: Posts; User: li9erYol

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Can I send a SCPI command through Visual Basic 6?

    Hi All!

    The SCPI command is Standard Commands for Programmable Instruments
    (often pronounced "skippy") .

    It defines a standard for syntax and commands to use in controlling programmable test...
  2. Replies
    4
    Views
    728

    Label Orientation Question

    Hi All!

    How can I change the label orientation angle (90, -90)?

    10X!
  3. Re: Declare object variable as Commandbutton in General Declaration section

    I didn't understand the with , end with.
  4. Re: Declare object variable as Commandbutton in General Declaration section

    Thanks! Its works!

    Do I need this lines:

    With GPRS_BurstNo
    .Visible = True
    .Caption = "Burst #1"
    .Left = 500
    .Top = 400
    End With
  5. Replies
    12
    Views
    1,315

    Command button frame broken line

    Hi All!

    When the user press a command button,
    a fram of a broken line is shown on the command button frame.

    Can I turn off the frame broken line?

    10X!
    Y
  6. Re: Declare object variable as Commandbutton in General Declaration section

    I write it like this:

    Option Explicit
    Dim GPRS_BurstNo As CommandButton

    Private Sub Form_Load()
    Set GPRS_BurstNo = Controls.Add("VB.CommandButton", "CmdButton1")

    Private Sub...
  7. Declare object variable as Commandbutton in General Declaration section

    Hi All,

    I want to declare object variable as Commandbutton in General Declaration section.

    Then I need the line in the Sub Form_Load().

    Another thing,

    I want to write a sub that when the...
  8. Re: How can I creat a CheckBox in the Option Explicit?

    Yes! THANKS!!!
  9. Re: How can I creat a CheckBox in the Option Explicit?

    Thanks for the fast answer!
    but...

    I want do declare the check box in the option explicit
    and after it make an array of it.
  10. Re: How can I creat a CheckBox in the Option Explicit?

    OK

    Thanks!

    Another question

    How can I make an array of CheckBox after I declare one?

    10X!
    Y
  11. Re: How can I creat a CheckBox in the Option Explicit?

    I want to declare the CheckBox in the Option Explicit.
    After I write the dim line,
    do I have to write any other line in the Sub Form_Load?

    Thanks again!
    Y
  12. How can I creat a CheckBox in the Option Explicit?

    What do I need to write in the Option Explicit
    and in Sub Form_Load?

    Thanks!
  13. Re: Can I control (Show, Hide) the Minimize, Maximize & Close window buttons?

    Thanks a lot!!!
  14. Re: Can I control (Show, Hide) the Minimize, Maximize & Close window buttons?

    10X!!!

    Can I disappear those buttons?
  15. Can I control (Show, Hide) the Minimize, Maximize & Close window buttons?

    Hi All!!!

    Can I control (Show, Hide) the Minimize, Maximize & Close window buttons?

    Thanks!!!
    Y
  16. Replies
    11
    Views
    1,102

    Re: Variables Declaration

    Can I use the same name in different subs?
  17. Replies
    11
    Views
    1,102

    Re: Variables Declaration

    Thanks!!!
  18. Replies
    11
    Views
    1,102

    Re: Variables Declaration

    I declare all the variabel in Option Explicit

    I set them in Private Sub Form_Load()

    I have 10 Private Subs - I'm using the variables in all the Private Subs.

    Is it OK?
  19. Replies
    11
    Views
    1,102

    Re: Variables Declaration

    What I have to declare/set in the Private Sub Form_Load() ?
  20. Re: run time error '340' - Control array element '29' doesn't exsit

    I'm using the Option Explicit to another variables,

    Can I do what you write?

    Can you please explain me why:

    * Dim i as Integer is bad, will potentially cause problems in loops ?

    * Dim i...
  21. Re: run time error '340' - Control array element '29' doesn't exsit

    It didn't work!

    I tried another thing and its works! I don't understand the differents:

    For i = 1 To 39
    ETSI_Selector(i).Value = 0

    'ETSI_Selector(i).Visible = False...
  22. Re: run time error '340' - Control array element '29' doesn't exsit

    It works but only if i is 1 to 2.

    I tried another thing:

    I remark the first line only:

    For i = 1 To 39
    'ETSI_Selector(i).Value = 0
    ETSI_Selector(i).Visible = False
    ...
  23. Replies
    11
    Views
    1,102

    Variables Declaration

    Hi All!

    I want to understand about the variables declaration.

    I declare them in the Option Explicit by dim command
    I set them in Private Sub Form_Load() by set command.

    Am I doing it OK?
    ...
  24. Re: run time error '340' - Control array element '29' doesn't exsit

    In the Private Sub ClearSelectedTests():

    I remark the 3 lines, as you can see below,
    and it works!

    What is wrong here? the line "ETSI_Selector(i).Value = 0" is working in this For loop

    For...
  25. Re: run time error '340' - Control array element '29' doesn't exsit

    i decllration:

    Option Explicit

    Dim i As Integer

    Private Sub Form_Load()

    i = 0
  26. Re: run time error '340' - Control array element '29' doesn't exsit

    My loop is from 1 to 28!

    How the error can be by 29?
  27. run time error '340' - Control array element '29' doesn't exsit

    Hi All!

    I got this error:
    run time error '340' - Control array element '29' doesn't exsit

    When I press the Debug button,
    I'm in this bold line:

    For i = 1 To 28
    ...
  28. Re: How do I creat Label,CheckBox,CommandButton in Option Explicit &Private Sub Form_

    Thanks a lot!!!
  29. How do I creat Label,CheckBox,CommandButton in Option Explicit &Private Sub Form_Load

    Hi All!

    How do I creat:
    Label
    CheckBox
    CommandButton

    in the Option Explicit and the Private Sub Form_Load without drawing it,
    So, I can use it in all the private sub?
  30. What is the command that bring to front a line that I draw?

    Hi All!

    What is the command that bring to front a line?

    10X!

    Y
  31. Re: How do I creat a line in the Option Explicit and the Private Sub Form_Load()...

    Set MyLine = Me.Controls.Add("VB.LINE", "Line1")

    What is "Me"? Do I need it?
    What is "VB.Line"?
    What is "Line1"? (You didn't use it after this line)
  32. Re: How do I creat a line in the Option Explicit and the Private Sub Form_Load()...

    I mean that until now I draw a line in the main form and set it in the properties window.

    I want to create the same line by writing it without drawing it in the main form.
  33. Re: How do I creat a line in the Option Explicit and the Private Sub Form_Load()...

    I want to declare this line without drawing it,
    Declare it by writing it.
  34. How do I creat a line in the Option Explicit and the Private Sub Form_Load()...

    Hi All!

    How do I creat a line in the Option Explicit and the Private Sub Form_Load()
    without drawing it,
    So, I can use it in all the private sub?

    10X!

    Y
  35. How do I creat CheckBox/Label/Line etc. without drawing them?

    Hi all!
    :wave:

    I want to creat CheckBox/Label/Line etc. without drawing them,
    Can I declare it on a Private Sub?

    If I want to use them in all Sub,
    Do I have to creat them in Private Sub...
  36. Replies
    3
    Views
    551

    Some question about Option Explicit

    Hi all!

    I read about Option Explicit, It forces explicit declaration of all variables in a file.

    I tried to declare Dim variables and it work for all of the Private Subs.

    Can I declare in...
  37. ComboBox - Can I make the text options to be in the center of the ComboBox?

    Thanks!
  38. Replies
    2
    Views
    848

    ComboBox - Design

    Hello All!

    Some question about ComboBox design:

    1. Can I the CoboBox hide frame? or change the frame color to the background color?
    So the ComboBox will be a part of the background?

    2. Can...
  39. Replies
    2
    Views
    464

    ComboBox - How to show a specific item

    Hi All!

    I've got a question about the ComboBox,
    I insert to the list, 2 items.

    When I'm running the I want that the second item will be show.

    How can I do it?

    Thanks!
  40. Re: how can I clear the white area of the comboBox?

    The Combo1.Clear clear the list...
    The Combo1.ListIndex = -1 work,
    Do I have to write "Combo1.Text = vbNullString" ?
Results 1 to 40 of 112
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width