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

Search:

Type: Posts; User: HermanTabbert

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    1,011

    Re: run-time error 0 on shell

    I am confused.
    When i use:


    Dim MyResult
    MyResult = Shell(App.Path & "\hatasalupdate2014.exe", vbNormalFocus)
    MsgBox "MyResult =" & MyResult
  2. Replies
    10
    Views
    1,011

    Re: run-time error 0 on shell

    I removed the () on the shell line, but is does not make any difference.
    Compiling is no problem with or without ().
  3. Replies
    10
    Views
    1,011

    Re: run-time error 0 on shell

    When i change the code above in:
    [code]
    Temp = App.Path & "\hatasalupdate2014.exe"
    ShellExecute Me.hwnd, vbNullString, Temp, vbNullString, "C:\", SW_SHOWNORMAL
    CmdHatasalSluiten_Click
    End...
  4. Replies
    10
    Views
    1,011

    Re: run-time error 0 on shell

    DataMiser,
    I am a little further.
    The problem is maybe not the shell command.
    Executing the shell command the program hatasalupdate2014.exe starts
    and stops direct with error number 5.
    When i...
  5. Replies
    10
    Views
    1,011

    Re: run-time error 0 on shell

    DataMiser,
    That's right.
    But i get a message 'run-time error 0' and the program stops.
    With error trapping there is nothing.

    32439
  6. Replies
    10
    Views
    1,011

    run-time error 0 on shell

    I have this piece of code:
    code:
    ' Gaan updaten
    If FileExist(App.Path & "\hatasalupdate2014.exe") Then
    MsgBox "start updateprogram" ' just to check that the...
  7. Replies
    8
    Views
    1,108

    Re: Runt-time error 0

    David,
    Indeed, the problem was


    'Private Sub LvTijdvakken_GotFocus()
    'Debug.Print LvTijdvakken.ListItems.Count
    'If Z > 0 Then
    ' Set LvTijdvakken.SelectedItem = LvTijdvakken.ListItems(Z)...
  8. Replies
    8
    Views
    1,108

    Re: Runt-time error 0

    I have uploaded the error message.

    I start my program to calculate the wages for a employer .
    I select a period and calculate. No problem at all.
    When ready i go to the main menu and select a...
  9. Replies
    8
    Views
    1,108

    Re: Runt-time error 0

    David
    Indeed when i remove the error traps it works ok.
    BUT, now there is no error trap!

    DataMiser
    Sorry i missed a part of the code. That is corrected now.

    How can i include in this sub a...
  10. Replies
    8
    Views
    1,108

    Runt-time error 0

    When i start the .exe and click the first time the listview, it starts the calculation for that period and al works fine.
    Direct after ending the calculation i chose an other company and click the...
  11. Re: Same listview on different forms

    Hannes and Datamiser thanks for your help.
    This is what works fine for me.

    Greetings from Holland,
    Herman



    Public Sub VulDeTijdvakken(Frm As Form)
    Close #12
  12. [RESOLVED] Same listview on different forms

    In a project with several forms i use a listview with the same contents on each form.
    On form1 there is LvTijdvakken
    On form2 there is LvTijdvakken and so on.
    Is it possible to fill the...
  13. Replies
    0
    Views
    389

    Question about XML

    I need to get this in an xml file:
    <Amt>
    <InstdAmt Ccy="EUR">298.67</InstdAmt>
    </Amt>

    IHow do i do that.
    I tried the code below, but get a syntax error on >> ...
  14. Replies
    2
    Views
    415

    Calculating with very large numbers

    Hi,
    I have to calculate the controlnumber in an IBAN bank account number.
    First i have to change the a part of the account numer to a string with only 0 to 9

    This is what is should be:

    Dim...
  15. Re: [RESOLVED] Jump to unwanted sub routine

    I indeed did not understand it, but now it is clear and i will
    change my code.
    Thanks
  16. Re: [RESOLVED] Jump to unwanted sub routine

    DataMiser,
    You are right and i am sorry.
    That there was no orher posts i even do not understand but that of course is not in my hands.
    The rest of course is my mistake.


    I changed the name of...
  17. [RESOLVED] Jump to unwanted sub routine

    I have this piece of code:

    For x = 0 To frmOnderhoudPremies.lstFonds.ListCount - 1
    If Mid(frmOnderhoudPremies.lstFonds.List(x), 144, 1) = "J" Then
    ...
  18. [RESOLVED] Calculating the months betweeen two dates

    Hello,
    I have as example:
    Dim Datum1 as string
    Dim Datum2 as string
    Dim TotaalMaanden as integer

    Datum1 ="2011-07-31"
    Datum2 = "2012-08-01"
    TotaalMaanden = datediff("m", Datum1, Datum2)
    The...
  19. Re: Content listbox and cmdbuttons visible after seconds

    Dglienna, sorry man, i did not mean to upset you.
    It even did not cross me mind that you should quess what i am typing or even worse, you should write my code.

    DataMiser
    I have a program with...
  20. Re: Content listbox and cmdbuttons visible after seconds

    My first posting was wrong.
    What i discribed was not the real problem.
    Therefore i close the first one.

    The color is not he problem.
    I made a complete new form 'frmfouten' with, again, the...
  21. [RESOLVED] Content listbox and cmdbuttons visible after seconds

    I make programs on a computer with Windows XP.
    When i run the compiled version everything is ok. The contents are visible direct.
    However, when i run the programm on a computer with Windows 7 Pro...
  22. Re: Content listbox not visible with Windows 7

    The colors are right.
    Please, see my new post.
  23. [RESOLVED] Content listbox not visible with Windows 7

    I make programs on a computer with Windows XP.
    I am testing the programs also on a computer with Windows 7 Pro.
    99% works fine on both computers.
    However, one form gives a problem i cannot solve...
  24. Re: Properties windows stays on top

    Thanks to all of you.:thumb:
    I indeed just dragged them over right site and they keep there.
  25. Re: Properties windows stays on top

    WoF,
    When i start a new project and run it, only the form is visible.
    The Properties, Project en Immediate windows are not visible then.
    At design time i can plcae those 3 windows on any place on...
Results 1 to 25 of 121
Page 1 of 5 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center