CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2009
    Posts
    192

    Expression Expected

    Hi,

    On my form I have a button on the click event; I have the following code;

    Code:
    		Process.Start("C:\Program Files (x86)\Microsoft Office\Office14\MSACCESS.EXE" "x:\apps\test-rmb-user-2008.mde"/wrkgrp "x:\folder infoMgtSys\AEGIS.mdw"/user "stduser")
    I receive the error;

    Comma, ')', or a valid expression continuation expected.

    Note, this application is developed in Access, and the target on the application property is what is above.

    Any help please?

    Thanks

  2. #2
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: Expression Expected

    as the message says that is an invalid line

    You can't have "something" "something" without having a comma or a & or something between them

    You have another issue near the end as well

    Edit: Actually you have several problems on that line, most of them related to improper use of "
    Last edited by DataMiser; April 24th, 2014 at 04:46 PM.
    Always use [code][/code] tags when posting code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured