mohamedelareeg / WPF-POS

Efficiently manage inventory, customers, purchases, and sales with this user-friendly WPF Point of Sale (POS) application. Built using C# and .NET Framework, it offers essential functionalities for smooth operations.
MIT License
3 stars 1 forks source link

Cannot run #1

Open vjbollavarapu opened 1 month ago

vjbollavarapu commented 1 month ago

Hi, I am trying to run this application and does not start at all.

image

mohamedelareeg commented 1 month ago

it's require sqllite database file to start it

vjbollavarapu commented 1 month ago

Hi, I have the database in the root directory. And still having the same problem.

Vijay.

On Tue, Jul 23, 2024, 8:02 PM Mohamed El Sayed @.***> wrote:

it's require sqllite database file to start it

— Reply to this email directly, view it on GitHub https://github.com/mohamedelareeg/WPF-POS/issues/1#issuecomment-2245047589, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3U4NZJAVLWFCY7RF3RK53ZNZA4HAVCNFSM6AAAAABLKHZ7E6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBVGA2DONJYHE . You are receiving this because you authored the thread.Message ID: @.***>

bobp2000 commented 1 month ago

你好,我的数据库位于根目录中。并且仍然有相同的 问题。 维杰.

2024 年 7 月 23 日星期二晚上 8:02 Mohamed El Sayed @.> 写道: 它需要 sqllite 数据库文件来启动它 — 直接回复此邮件,在GitHub上查看 < #1 (comment) >, 或取消订阅 < https://github.com/notifications/unsubscribe-auth/AD3U4NZJAVLWFCY7RF3RK53ZNZA4HAVCNFSM6AAAAABLKHZ7E6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBVGA2DONJYHE > . 您收到此消息是因为您创作了该线程。消息 ID: @.>

Database file path problem: There are 2 solutions:

  1. WPF-POS\RovaPOS\Manager\Server.cs, modify to "public static string Location = Directory.GetParent(System.AppDomain.CurrentDomain.BaseDirectory).Parent.Parent.FullName"
  2. Copy the rovaShop.db file in the root directory to RovaPOS\bin\Debug