اذهب الي المحتوي
أوفيسنا
بحث مخصص من جوجل فى أوفيسنا
Custom Search

مشكلة في الكود مع نظام وندوز 64


الردود الموصى بها

أخي الغالي 

جرب أستبدل 

 Declare Function SetTimer Lib

 

بـهذا

 

 Declare PtrSafe Function SetTimer Lib

 

جزاك الله على المساعدة 

 

حاولت استخدمها ولكن الاكسس ما يقبل الكود 

 

 

Option Compare Database
Declare PtrSafe SetTimer Lib "user32" (ByVal hwnd _As Long, ByVal nIDEvent As Long, ByVal uElapse _Declare PtrSafe KillTimer Lib "user32" _As Long, ByVal lpTimerFunc As Long) As Long (ByVal hwnd As Long, ByVal nIDEvent As Long) _Alias "FindWindowExA" (ByVal hwndParent As _As Long Declare PtrSafe FindWindowEx Lib "user32" _ Long, ByVal hWndChildAfter As Long, ByVal _Lib "user32" Alias "SendMessageA" (ByVal _lpClassName As String, ByVal lpWindowName _ As String) As Long Declare PtrSafe Sendmessagebynum _
hwnd As Long, ByVal wMsg As Long, ByVal _ wParam As Long, ByVal lParam As Long) _ As Long Const EM_SETPASSWORDCHAR = &HCC Public str_Title$, TimerId&
تم تعديل بواسطه الطـاير
رابط هذا التعليق
شارك

ملاحظة هامة جدا :

 

البرنامج يعمل على شبكة المشكلة فيها انظمة 32 او 64 واكسس 2007 او 2010 ، ظهرت المشكلة على جهاز واحد فقط حتى الآن نظام 64 اكسس 2010 جربت البرنامج على جهاز اخر نظام 64 واكسس 2010 واشتغل بشكل سليم ؟؟ فما هي المشكلة في الجهاز الاولي ؟؟؟

رابط هذا التعليق
شارك

أخي الحبيب بارك الله فيك 

 

بالنسبة لنظام windows 7 64bit 

 

يركب عليه office 32 أو office 64  ل 2007 و 2010 . 

 

أما نظام windows 7 32 bit

 

 لا يركب عليه سوى office 32  سواءً 2007 أو 2010 

 

تأكد من أنظمة الأوفس لديك . 

 

 

أخي ما عليك أمر جرب هذا الكود حسب ما في مشاركتك الأخيرة 

 

Option Compare Database
Declare PtrSafe Function SetTimer Lib "user32" ( _
ByVal hwnd As Long, _
ByVal nIDEvent As Long, _
ByVal uElapse As Long, _
ByVal lpTimerFunc As Long) As Long

Public Declare PtrSafe Function KillTimer Lib "user32" ( _
ByVal hwnd As Long, _
ByVal nIDEvent As Long) As Long

Private Declare PtrSafe Function FindWindowEx Lib "user32" Alias "FindWindowExA" ( _
ByVal hWndParent As Long, _
ByVal hWndChildAfter As Long, _
ByVal lpszClassName As String, _
ByVal lpszWindowName As String _
) As Long

Declare PtrSafe Function SendMessageByNum Lib "user32" Alias "SendMessageA" _
(ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _
ByVal lParam As Long) As Long
Const EM_SETPASSWORDCHAR = &HCC
Public str_Title$, TimerId&

تم تعديل بواسطه أبو عبير 2005
رابط هذا التعليق
شارك

انا عامل برنامج باوفيس2003 وشغال ممتاز مع ويندوز7  32 بت واوفيس 2007 و2010

ولكن المشكلى عندما حاولت تنزيله عند عميل كان الويندوز7 64 بت واوفيس 2007 ولكن لم اعرف 64 او 32

لم يعمل 

سؤالى اين اضع هذا الكود

والمشكلة اني لا يوجد لدي ويندوز64 للتجربة

الله المستعان

تم تعديل بواسطه yms12
رابط هذا التعليق
شارك

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • تصفح هذا الموضوع مؤخراً   0 اعضاء متواجدين الان

    • لايوجد اعضاء مسجلون يتصفحون هذه الصفحه
×
×
  • اضف...

Important Information