Detect if there is Microsoft Access installed on the computer and the version of Microsoft Access c# -


इस सवाल का पहले से ही एक उत्तर है: < / P>

  • 1 उत्तर

मुझे ग्राहक द्वारा अनुरोध किया गया है पॉइंट ऑफ़ सेल्स सिस्टम बनाने के लिए और मैं स्थानीय डाटाबेस (माइक्रोसॉफ्ट एक्सेस 2010) का उपयोग कर रहा हूं।

तो, मैं यह सवाल सोच रहा हूं: माइक्रोसॉफ्ट कंप्यूटर पर स्थापित और किस संस्करण में प्रवेश किया गया?

एक तरह से (bitness को मैच की आवश्यकता है) :

  प्रकार एक्सेस = प्रकार। GetTypeFromProgID ("Access.Application"); अगर (प्रवेश! = नल) {गतिशील पहुंच = उत्प्रेरक। बनाना (पहुंच); स्ट्रिंग वर् = एक्सेस। संस्करण; }  

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -