Search:

Type: Posts; User: Frederik Gekiere

Search: Search took 0.05 seconds.

  1. Replies
    0
    Views
    349

    Is it possible to create runtime controls in...

    Is it possible to create runtime controls in Access2000?
    I've already tried several things but none of them works:

    control array : not supported in Access

    Dim txtbox As New TextBox
    Set txtbox...
  2. Replies
    5
    Views
    574

    msgbox (1 + 2) results in 3 msgbox (1 & 2)...

    msgbox (1 + 2) results in 3
    msgbox (1 & 2) results in 12

    therefore, if you want to concatenate 2 strings (or numbers), always use & !
  3. Replies
    2
    Views
    697

    How can you check if an object is set to Nothing...

    How can you check if an object is set to Nothing ??

    the instruction

    If obj = Nothing

    does not work ..
  4. Replies
    1
    Views
    971

    need no longer help, problem solved ! I...

    need no longer help, problem solved !

    I compared my registry to another one and restored the differences in the ClassID of the involved object.
  5. Replies
    1
    Views
    971

    I have code that used to work It creates an...

    I have code that used to work
    It creates an instance of an object and does some stuff with it ...

    Then I was looking (read 'testing') some things in the Remote Automation Connection Manager...
  6. how can you measure how much time has passed...

    how can you measure how much time has passed since the start of an instruction?

    e.g.: how long (in miliseconds) does it take to perform the following code:


    for i=0 to 10000
    total=total+1...
  7. Replies
    0
    Views
    388

    Is there a way to check if a .OCX or .DLL file is...

    Is there a way to check if a .OCX or .DLL file is registered.

    I have already found a way to (un)register a file through code, but now I need to find out whether a certain file is already registerd...
  8. How do you show a common dialog in the center of...

    How do you show a common dialog in the center of the screen ??
  9. Write code in the Unload-event of the form ...

    Write code in the Unload-event of the form

    there you can check if your timer has finished.

    If not, set the Cancel-variable to true (or is it false ? -> if it doesn't work with true, it must be...
  10. Replies
    1
    Views
    698

    Yes, that is possible (I've already done it). ...

    Yes, that is possible (I've already done it).

    BUT: it is a quite complex procedure and is not the same for each cellphone operator.

    What you should do:
    Contact your cellphone operator and ask...
  11. That is a solution, but then there's still...

    That is a solution, but then there's still another problem:

    I want to place another control immediately next to it. How do I know it's Left property ?
  12. Does anybody know how you can find out what width...

    Does anybody know how you can find out what width a label must have to view the caption of the label on 1 single line.

    The caption is filled in in runtime, and I need to know to which value I...
  13. Replies
    1
    Views
    631

    To send and retrieve data to/from the comm-port,...

    To send and retrieve data to/from the comm-port, you need the MSComm Control

    First set the settings of the control (comm-port number,...)

    to send data:

    MSComm1.Output = "...." 'the command...
  14. Replies
    7
    Views
    776

    When you start the other application (I guess...

    When you start the other application (I guess that will be by using the Shell function ??) and your program reaches End Sub, normally your program should stop while the other program (the one started...
  15. use the shell function: Dim x As Long x =...

    use the shell function:

    Dim x As Long
    x = Shell("calc.exe", vbNormalFocus)
  16. Replies
    1
    Views
    744

    check out...

    check out http://www.amundsen.com/software/freestuff/tapiline/default.htm
  17. For using TAPI, check out...

    For using TAPI, check out http://www.amundsen.com/software/freestuff/tapiline/default.htm
  18. Why don't you try it with the MSComm Control? ...

    Why don't you try it with the MSComm Control?

    Here's an example:
    first set some properties for the MSComm Object (such as the comm-port)
    then use this code:

    MSComm1.PortOpen = True
    Do...
  19. Replies
    8
    Views
    876

    Problem solved: dim imgCntrl as New Image...

    Problem solved:


    dim imgCntrl as New Image
    Set imgCntrl = Me.Controls.Add("Forms.Image.1")
  20. Replies
    7
    Views
    776

    When there are no forms loaded into memory and...

    When there are no forms loaded into memory and your application reaches the end sub line of your Sub Main routine, the application should terminate automatically.

    When this is not the case, this...
  21. I have already developed something familiar. ...

    I have already developed something familiar.

    You can download some TAPI samples (don't ask me where !) with useful information on TAPI, but you can also use the MSComm Control and interact with...
  22. Replies
    8
    Views
    876

    I found the following article on...

    I found the following article on http://msdn.microsoft.com/library/periodic/period99/seside1.htm about control arrays etc.

    ...
  23. Replies
    3
    Views
    642

    I have found an answer to my question on...

    I have found an answer to my question on http://msdn.microsoft.com/ :

    ------------------------------------------
    VBA UserForms aren't the same as VB forms (Ruby Forms). In fact, VBA UserForms...
  24. Replies
    8
    Views
    876

    I'm working in VBA !! When I copy & paste the...

    I'm working in VBA !!

    When I copy & paste the image control on my form, I'm not asked if I want to create a cotrol array (like VB does).

    How do I create a control array then ??
    (Damned, that...
  25. Replies
    3
    Views
    642

    My question is not HOW to use the PictureBox...

    My question is not HOW to use the PictureBox Control, but CAN I use the PictureBox control because I can't find it in the toolbox or in the controls list

    Remember, I'm working in VBA !!!
  26. Can't you just set the WindowState property in...

    Can't you just set the WindowState property in design time ?
  27. Replies
    7
    Views
    776

    You should NEVER use the End statement in your...

    You should NEVER use the End statement in your code !!!!!!!!!


    I suppose you have a MSComm control on a form to communicate with the PLC.
    When you access the properties or methods of the MSComm...
  28. Replies
    8
    Views
    876

    I have 1 image control in design time on the...

    I have 1 image control in design time on the form.

    Now I want to create several image controls in runtime
  29. Replies
    8
    Views
    876

    is it possible in VBA (!) to create controls in...

    is it possible in VBA (!) to create controls in runtime ?

    (And I would appreciate it if your answer would be a bit more than just 'yes' or 'no' :) )
  30. Replies
    7
    Views
    697

    Small mistake in mcleran's code: Private Sub...

    Small mistake in mcleran's code:

    Private Sub Text1_KeyPress(KeyAscii As Integer)
    KeyAscii = Asc(UCase(chr(KeyAscii)))

    End Sub
  31. Replies
    2
    Views
    536

    BusinessObjects is a Reporting Tool which has VBA...

    BusinessObjects is a Reporting Tool which has VBA integrated.
    If you're not familiar with BusinessObjects, you won't be able to help me...
    (But thanks anyway)
  32. Replies
    3
    Views
    642

    How can I use the PictureBox Control in VBA ????

    How can I use the PictureBox Control in VBA ????
  33. Replies
    2
    Views
    536

    Is there anyone familiar with using VBA in...

    Is there anyone familiar with using VBA in BusinessObjects ?
  34. You might try something like this: Dim obj As...

    You might try something like this:

    Dim obj As Control
    For Each obj In FormName.Controls
    If TypeOf obj Is TextBox Then
    If IsNull(obj.text) Then
    '...
    Else
    '...
    End If
  35. Is there anyone familiar with BusinessObjects 5.0...

    Is there anyone familiar with BusinessObjects 5.0
    (especially the VBA-part)

    Please contact me then !
  36. Replies
    5
    Views
    720

    It seems to me that your where-clause always...

    It seems to me that your where-clause always results in false, so that no records are updated
  37. Replies
    529
    Views
    43,612

    I'm 21 I learned VB 1 year ago on my own,...

    I'm 21

    I learned VB 1 year ago on my own, meanwhile, I'm working in the programming business where I also got a very good VB course !

    I also know VBA, HTML/ASP/JavaScript, C/C++
  38. if you want to use a 'Browse for folder'-dialog...

    if you want to use a 'Browse for folder'-dialog box, then check out the following URL:
    http://www.vbsquare.com/tips/tip180.html
  39. Replies
    75
    Views
    4,293

    7.5 MB :eek:, that seems a bit large to me .. ...

    7.5 MB :eek:, that seems a bit large to me ..

    [This message has been edited by Frederik Gekiere (edited 01-31-2000).]

    [This message has been edited by Frederik Gekiere (edited 01-31-2000).]
Results 1 to 39 of 39



Click Here to Expand Forum to Full Width