CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: moa

Page 1 of 14 1 2 3 4

Search: Search took 0.04 seconds.

  1. Thread: vb

    by moa
    Replies
    9
    Views
    1,408

    Re: vb

    Hello

    I am not sure "VB" us an apropriate title !

    A Textbox contains text, not numeric
    You then have to convert into numerics (using Val() function
  2. Thread: negative\postitive

    by moa
    Replies
    7
    Views
    811

    Re: negative\postitive

    Hello,

    very difficult to guess ..

    Is SNEX_ARRAY$ a function receiving EXE_AMOUNT as a parameter ?

    If so :
    Show the complete function code
    If not so (then it is an array) : explain (because...
  3. Replies
    1
    Views
    3,657

    Re: To get number of processors

    MsgBox Environ("NUMBER_OF_PROCESSORS")
  4. Replies
    11
    Views
    9,692

    Re: How to lock the system clock

    Hello,

    I would :

    Insert a sysinfocontrol
    and use its TimeChanged() event

    It will let me know any attempt to change the date/time ===>> I would then (and only then) decide to restablish or...
  5. Replies
    5
    Views
    4,034

    Re: hh:mm:ss.ms subtraction and addition

    An other way would be the following one,
    But only if
    - the two strings are in the format "##:##:##:####"
    - time1 is "smaller" than time2


    Dim time1 As String, time2 As String
    Dim...
  6. Replies
    5
    Views
    4,034

    Re: hh:mm:ss.ms subtraction and addition

    Hello (I have not been here for a long time !) .

    I suggest you use a structure ===>> example ===>>


    Private Type my_times
    hours As String
    minutes As String
    seconds As String
    ...
  7. Replies
    9
    Views
    1,413

    Re: Loop Debugging Issue

    Hello,
    If, as we can guess it, you destroy a line, you need to loop from the bottom to the top !

    For i = last ti i step -1
    If you do'nt, you will obviously refer to a non existing line !
  8. Replies
    20
    Views
    1,723

    Re: Calculation Problem

    Hello ...
    Very precise explanation and precisions !
    how many labels have you got ?
    are they belonging to an indexed array group ?
    What is Rate, exactly ?
    I am afraid no one could answer without...
  9. Replies
    26
    Views
    3,489

    Re: PLs pls help me!!!!!!!!!

    Hello,

    May I ? ===>>
    http://msdn.microsoft.com/en-us/library/aa140104%28office.10%29.aspx
    The "The ADO monkey wrench" paragraph is the one we have to read with more attention. Other wildcard...
  10. Thread: little confused

    by moa
    Replies
    1
    Views
    703

    Re: little confused

    Hello,

    Make a "switch" :

    set the caption of your button to "open" at the beginning;
    Then ;


    Private Sub Command1_Click()
    If Command1.Caption = "open" Then Command1.Caption = "closed"...
  11. Thread: app auto close

    by moa
    Replies
    4
    Views
    1,110

    Re: app auto close

    Hello,

    Would it really be a bad idea using the GetInputState function of user32 ?

    It :


    It needs then a timer and a static variable (to retrieve the time T1 each time there is an...
  12. Replies
    4
    Views
    1,020

    Re: What Do the Numbers stand for?

    Hello, Wof :
    Of course (I don't know wether my fingers are too thick or my eyes too small)... :confused:
  13. Replies
    4
    Views
    1,020

    Re: What Do the Numbers stand for?

    Hello,

    That's VBA (not VB6) code.
    Example :
    Offset(0, 1) refers to the cell which, on the same Line (0), is located 5 columns further.
  14. Thread: Override method

    by moa
    Replies
    8
    Views
    1,272

    Re: Override method

    Huh...
    Are you sur you are using VB6 ?

    EDIT : as my code is working on VB6 and on VBA, I just reckon you are developping under something else (most probably VB.Net, which does not use...
  15. Thread: Override method

    by moa
    Replies
    8
    Views
    1,272

    Re: Override method

    Hello,

    Something like that ?


    Dim origstring As String, titi() As Byte, translated As String, i As Integer
    origstring = "ABC DEFGHIJKLMNOPQRSTUVWXYZDC"
    titi = StrConv(origstring,...
  16. Replies
    3
    Views
    2,031

    Re: Get button handle at Excel 2007

    Hello,
    I ignore the purpose of it, but here his what could be a start :

    But this code on a commandbutton on your sheet :

    Private Sub CommandButton5_Click()
    EnumChildWindows...
  17. Replies
    15
    Views
    4,452

    Re: Help me with shell execute

    Hello,
    I don't feel offended.
    vb5prgrmr quoted me because I said ShellExecute would "not forcibly open a jpg file with ms.paint.
    Il will do so only if ms.paint is the executable associated with...
  18. Replies
    10
    Views
    1,824

    Re: Software incompatible with Windows 7. help!

    Hello,
    I suggest you use dependancy walker (download it - it's free).
    Use it then to check all the dependancies of your exe
    Check then on your system which one(s) is(are) missing and make a list...
  19. Replies
    15
    Views
    4,452

    Re: Help me with shell execute

    ShellExecute wil not forcibly open a jpg file with ms.paint.
    Il will do so only if ms.paint is the executable associated with jpg extension ....
    To Force to ms.paint without any doubt, Shell as to...
  20. Replies
    6
    Views
    1,101

    Re: Some Explanation

    Of course !
    And where and how is VB6 concerned, in the present and surprising "posted thread" ? :)
  21. Replies
    6
    Views
    1,101

    Re: Some Explanation

    Hello,
    May you help us understanding ?
    Which "Posted specific thread" ? (I could not guess ...)
    And (before everything else) : you want to delete it " permanently" (what does "pemanently" mean...
  22. Replies
    6
    Views
    825

    Re: Radome number geerating please

    Well,
    What about explaining in details the situation. I mean everything ... so that we can see what you are exactly looking for ?
    It could also be a good idea to show us what you have already...
  23. Replies
    6
    Views
    825

    Re: Radome number geerating please

    Hello,



    huh....
    How would that be ? Random or not Random ? that's the new existencial question :wave:
  24. Replies
    6
    Views
    1,139

    Re: VB 6 If Statement question

    Let us now hope that dintym, who seems to be a beginner, will understand that the project he is working on is using the R1C1 notation, so that the absolute address (ie B2 or B3 in our examples) has...
  25. Replies
    6
    Views
    1,139

    Re: VB 6 If Statement question

    It's not VB (as said) but an Excel Formula.
    The logic of the syntax is then quite different from VB and should respond to this mecanism :

    = IF(OR(expression1,expression2)......)

    where :...
Results 1 to 25 of 328
Page 1 of 14 1 2 3 4





Click Here to Expand Forum to Full Width

Featured