my problem is when i save a filepath in mySQL database the mysql interprets it as escape character..maybe i could manipulate the filename saved but dont know the file dialog workarounds..thanks...
Loading
Share Your Source Code or Article
Do you have source code, articles, tutorials, web links, and books to share? You can write your own content here. You can even have your own blog.
Submit now...
Submit now...
Sponsor
Receive Free Updates
Today's popular content
- Hotel Reservation System (477)
- Hotel Reservation System (VB.NET) (435)
- Payroll System (429)
- Library Management Software (423)
- A Simple Add, Edit, Delete, and Search using VB and MSAccess (416)
- Students Information System (412)
- How to Add/Update/Delete Record using MS Access Database (406)
- Free Hotel Management System Manual (349)
- Sending SMS using AT Commands via GSM Modem/GSM Phone (receiving SMS-updated) (301)
- Library System Source Code (258)
- 1 of 204
- ››
Random Post
- Search A Record in the Database (6,432)
- SImple Library System Using VB.NET by Ico (4,756)
- Point of Sale and Inventory System using Barcode (1,335)
- How to Select Startup Form (2,422)
- Surigao Education Center Stock Inventory System (5,669)
- Compound Interest Solver Version 1.0 (3,477)
- bus terminal (8,960)
- Basic Student Information System (7,108)
- Student Information (7,698)
- Capture Data From PBX (6,093)
- 1 of 133
- ››
C:\Documents and Settings\aa\Desktop\flash\sj.swf interpreted by mysql to C:Documents and SettingslemoDesktopflashsj.swf..thanks//...
you have to use 2 \\ for every \ in the path. Since MySQL is using C escape syntax in strings.
so your path to be saved into the database should be:
C:\\Documents and Settings\\aa\\Desktop\\flash\\sj.swf
Hope that helped.
thanks for the reply sir,but still i cant follow on how to use C escape.....perhaps the tweaking with Path.Getfilename code solves the problem..(sorry for the very late response sir..i cant access my other account..(lemo214)
Pages
Add new comment