Results 1 to 9 of 9

Thread: [Resolved]please help this poor boy....

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2005
    Posts
    32

    Resolved [Resolved]please help this poor boy....

    I hve done a program that has created a exe file itself. wanted to run on my other computer without vb.net but with .net framework. However the moment i run this exe file, those that i have a database in the form with show me errors... can anyone help me on hw to make sure that those form with database is able to run under exe file condition? Thanks in advance
    Last edited by jtVNB; Nov 14th, 2005 at 10:04 PM.

  2. #2
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    Re: please help this poor boy....

    uuh whats the error
    youre not copying your database to the other computer?
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2005
    Posts
    32

    Re: please help this poor boy....

    Error: An Unhandled exception has occurred in your application.

    These are the details shown:

    System.Data.OleDb.OleDbException: 'C:\CSS Mini Project\XYZ Resorts\bin\XYZ.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
    at System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)
    at System.Data.OleDb.OleDbConnection.InitializeProvider()
    at System.Data.OleDb.OleDbConnection.Open()
    at System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState)
    at System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
    at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
    at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
    at XYZ_Resorts.RoomList.RoomList_Load(Object sender, EventArgs e) in C:\CSS Mini Project\XYZ Resorts\RoomList.vb:line 176
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  4. #4
    Frenzied Member Zakary's Avatar
    Join Date
    Mar 2005
    Location
    Canada, Quebec, Montreal
    Posts
    1,654

    Re: please help this poor boy....

    From where are you starting the EXE ?
    From a Network Drive or from a local drive ?
    Last edited by Zakary; Nov 14th, 2005 at 10:35 AM. Reason: Syntaxe
    Using VS 2010 on Fw4.0

  5. #5

    Thread Starter
    Member
    Join Date
    Oct 2005
    Posts
    32

    Re: please help this poor boy....

    locally

  6. #6
    Frenzied Member Zakary's Avatar
    Join Date
    Mar 2005
    Location
    Canada, Quebec, Montreal
    Posts
    1,654

    Re: please help this poor boy....

    The error say that ADO did'nt find the file 'C:\CSS Mini Project\XYZ Resorts\bin\XYZ.mdb',

    Is the file is realy on the Comptuter that you are trying to run the App ?
    or is the Path is written correctly ?
    Using VS 2010 on Fw4.0

  7. #7

    Thread Starter
    Member
    Join Date
    Oct 2005
    Posts
    32

    Re: please help this poor boy....

    ya the path is written correctly... all i need to do now is to do the connection of database to my program in vb.net then i'll hve no problem runn'n the exe file.. However i wanted to run the exe file straight away without compile'n it in vb.net.. Is it possible?

  8. #8
    Frenzied Member Zakary's Avatar
    Join Date
    Mar 2005
    Location
    Canada, Quebec, Montreal
    Posts
    1,654

    Re: please help this poor boy....

    Quote Originally Posted by jtVNB
    ya the path is written correctly... all i need to do now is to do the connection of database to my program in vb.net then i'll hve no problem runn'n the exe file.. However i wanted to run the exe file straight away without compile'n it in vb.net.. Is it possible?
    You just have to pick the Exe from the Bin folder of your project, and Any other file such as Dll, and copy them where you want.
    Using VS 2010 on Fw4.0

  9. #9

    Thread Starter
    Member
    Join Date
    Oct 2005
    Posts
    32

    Re: please help this poor boy....

    Zakary, thanks a lot! My problem is solved!

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