وصل قآعدة البيانات بدون ارتباط بمسار بعيّن؟
#2
السلام عليكم
يمكنك معرفة مسار تثبيت البرنامج بواسطة الدالة ExtractFilePath


كود :
Example code : Extract all of the parts of a full file name var fullFileName : string; begin // Set up a full file name with drive and path fullFileName := 'C:\Program Files\Borland\Delphi7\Projects\Unit1.dcu'; // Show the component parts of this full name ShowMessage('Drive = '+ExtractFileDrive (fullFileName)); ShowMessage('Dir = '+ExtractFileDir (fullFileName)); ShowMessage('Path = '+ExtractFilePath (fullFileName)); ShowMessage('Name = '+ExtractFileName (fullFileName)); ShowMessage('Ext = '+ExtractFileExt (fullFileName)); end; Drive = C: Dir = C:\Program Files\Borland\Delphi7\Projects Path = C:\Program Files\Borland\Delphi7\Projects\ Name = Unit1.dcu Ext = .dcu


بالتوفيق أن شاء الله.
الرد


الردود في هذا الموضوع
وصل قآعدة البيانات بدون ارتباط بمسار بعيّن؟ - بواسطة touhami - 05-07-2009, 06:11 PM

التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 2 ) ضيف كريم