الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

فتح مجلد عن طريق الـExploer

Featured Replies

بتاريخ:

يا شباب إذا كان عندي إمتداد مجلد على الشبكة وليكن :

\\serverfolder\reporstmall



فكيف أستطيع فتح هذا الملف عن طريق أخذ المسار من حقل اسمه loc_file مخزن على الداتا بيز

أي كأن افتح الـ Exploer واعطيه مسار الملف ويظهره لي ؟؟؟؟




مع العلم أني جربت التالي :

host('C:\WINDOWS\explorer.exe ||:in_doc.loc_file');



ولم ينفع حيث يعطيني خطأ .

بتاريخ:

win_api_shell.startfile ('c:\MYFILE.EXT');



ولكن يجب أولا تثبيت d2kwutil.pll d2kwut60.dll d2kwut32.dll windows api forms 6i


وهذة هى حطوات التثبيت

1) Download  d2kwutil_6_0_4_1.exe  to temp directory for example c:\temp from
  ftp://oracle-ftp.oracle.com/dev_tools/patchsets/dev2k/Win95NT/d2kwutil/

  Note: d2kwutil_6_0_4_1.exe is an executable format of a ZIP format archive.

2) Execute d2kwutil_6_0_4_1.exe to extract the archived files.

  Note: The current version of d2kwutil_6_0_4_1.exe (927KB) contains 12 files: 
      
    D2kcomn.pll   11/11/99  10:33a 
    D2KWUT1.WAV   06/06/97  07:24a 
    D2KWUT2.WAV   06/06/97  07:25a
    d2kwut60.dll  11/13/99  08:09a 
    D2KWUTIL.html 11/13/99  08:14a 
    D2kwutil.pll  11/11/99  12:33p 
    readme.1st    07/09/99  09:14a 
    WAPIDEMO.FMB  11/11/99  11:45a 
    WAPIDEMO.FMX  11/11/99  11:45a 
    WAPIDEMO.MMB  02/19/99  02:19p 
    WAPIDEMO.MMX  02/19/99  02:19p 
    WAPIDMUS.res  09/29/99  08:13a 
                    
                        
3) Review "D2KWUTIL.html" and "readme.1st".

4) Scan the ORACLE_HOME directory tree, and any directories on the 
  FORMSxx_PATH or ORACLE_PATH, for any copies of the file 
  D2KWUTIL.PLX or D2KWUTIL.PLL.

  Note: The Windows 'Find' function provides a convenient way to accomplish 
  this.
     <Start><Find><Files or Folders>

5) Note the location of, and delete any copies of D2KWUTIL.PLX  or D2KWUTIL.PLL
  that you find.

  Note: a PLX file extension denotes a compiled/generated version of a PLL file.  

6) Delete any copy of D2KWUT32.DLL that may be present in your ORACLE_HOME/bin 
  directory 

  Note: For Developer 6.0 it will be d2kwut60.dll

7) Copy the (newly downloaded and extracted) copy of D2KWUT60.DLL to your 
  ORACLE_HOME/bin directory. 

  Copy the (newly downloaded and extracted) copy of D2KWUTIL.PLL to the 
  directory from which you deleted an earlier copy - or into the startup 
  directory of your application.

8) Attach the D2kwutil.pll to your form. (Under the Attached Libraries node of
  the Object Navigator)

9) To start an application by just supplying the name of a document use the 
  following command:
  win_api_shell.startfile('<file name>',WIN_API.SW_SHOWNORMAL,true );

  For example:

    In the Object Navigator:
      Create a form
      Attach the D2kwutil.pll library
      Create a canvas
    Use the Layout Editor to:
      Create a button (optionally, set appropriate properties)
      Create a When-Button-Pressed trigger associated to the button
    Use the PL/SQL Editor to:
      Win_api_shell.startfile('c:\orant\orainst\advus.bmp',
         WIN_API.SW_SHOWNORMAL,true); 
    Execute the From and test the button.  Should an error be revealed, 
    verify that your system has ?c:\orant\orainst\advus.bmp?.


Syntax - from the d2kwutil package:
----------------------------------------------------------------------*\
* StartFile   ->  Given the name of a document file this procedure 
*        will work out what executable should be used to open it and 
*        run that executable passing the specified file as an argument
* Arguments: 
*       DocumentFile       ->   The file you want to open
*       WindowStyle        ->   Use the constants defined in WIN_API
*         For this Purpose use: 
*       SW_SHOWNORMAL      ->   Start up with applications default
*       SW_SHOWNOACTIVATE  ->   Starts as SW_SHOWNORMAL but 
*              does not have Focus
*       SW_SHOWMINIMIZED   ->   Will Start Iconised or on 
*        but will still be 
*              the active Application
*       SW_SHOWMINNOACTIVE ->   Starts Iconised without
*              focus
*       SW_SHOWMAXIMIZED   ->   Starts Maximised
*       RaiseExceptions    ->   TRUE of FALSE(Default) If set to true,
*            then if the command is not successful the explicit exception
*            NO_DATA_FOUND will be raised.
* Returns:
*  (NONE)
\*-------------------------------------------------------------------------*/
PROCEDURE StartFile ( DocumentFile    IN  VARCHAR2,
                     WindowStyle     IN  PLS_INTEGER DEFAULT WIN_API.SW_SHOWNORMAL,
                     RaiseExceptions IN  BOOLEAN DEFAULT FALSE);

بتاريخ:

للأمانة منقول من موقع ميتا لينك

Subject:  Starting an Application by Just Supplying the Name of a Document 
 Doc ID:  Note:100839.1 Type:  PROBLEM 
 Last Revision Date:  31-OCT-2002 Status:  PUBLISHED 

بتاريخ:
  • كاتب الموضوع

ولكن يا اخي


المجلد الذي أريد إظهاره موجود في حقل مخزن على الداتا بيز ................................حيث يوجد في هذا الحقل إمتداد المجلد في السيرفر

فلما عملت التالي :

win_api_shell.startfile(:IN_DOC.loc_file);




لم يظهر لي شيء .....

ولكن لما كتبت :

win_api_shell.startfile('C:\n.txt');



أظهر لي الملف n.txt ، ولكنني أريد إظهار أو فتح مجلد إمتداده موجود في حقل اسم file_loc مخزن في الداتا بيز .؟؟؟؟؟؟


أرجو أن يكون شرحي وافي للمشكلة !!!!!!!!!!!!!!!!

بتاريخ:

أخى العزيز انا جربت هذة الطريقة على فيلد مخزن فى الداتا بيز وتعمل بشكل سليم

فلو تكرمت ممكن ارسال screenshoot للفورم والكود

بتاريخ:
  • كاتب الموضوع

يا أخي الكريم ،،،

أنا في شرحي للمشكلة قلت انني أريد فتح مجلد ، وليس فتح ملف !!!!!!!!! لأن أمر التالي :

win_api_shell.startfile(



يقوم فقط بفتح ملف معين وليس فتح مجلد ممكن يحوي على مئة ام مئتين ملف .................................

أرجو ان توضح الصورة ...

ولكن سوف أرفق لك الفورم التي أقوم بتطويرها لفتح مجلد موجود على السيرفر ....

ومع الشكر لإهتمامك ....

exploer_folder.zip

بتاريخ:
  • كاتب الموضوع

تم إنجاح العملية .......................................................

حيث الآن يمكنك عرض الـFolder

exploere_folder_success.zip

بتاريخ:

win_api_shell.winexec('C:\WINDOWS\explorer.exe c:\');

  • بعد 3 سنة...
بتاريخ:

معلومات رائعه حقا

بتاريخ:

وفقكم الله لكل خير (معلومات رائعه ).

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.