Expression Expected
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Expression Expected

  1. #1
    Join Date
    Feb 2009
    Posts
    190

    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
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    4,860

    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 05: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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center