473,796 Members | 2,737 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Extended properties in oledbconnection .

Hi all,

I wrote one application to read excel files data into datatable.

To get data of excel file into datatable i used oledbconnection . In
connectonstring i set extended properties as excel 8.0.

My question is for excel, will extended properties be always 8.0. Or it
may varies depending on excel version installed on client PC.

If that is the case, is ther an way to dynamically get this values.

If anyone has any idea about it, then please tell me.

Thanks in advance

Feb 6 '06 #1
0 1556

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
14949
by: Markus Brenner | last post by:
Hi there! Hope anybody can help. I want to at least read (maybe write) the extended file properties of office documents like winword, excel, .... I've tried two ways till now, one by opening the responding application (this method was to slow for my needs). The other way was using the dsofile.dll from microsoft. With that, first, it seemed to work.
5
8237
by: mwn | last post by:
In a C# WinApp how do I display column properties? For example, I want to display from pubs.employee all columns and properties ColumnName DataType Length Precision Scale Default Value Collation emp_id char 9 0 0 fname varchar 20 0 0 hire_date datetime 8 0 0 (getdate()) Probably very simple but have not found any examples. -- m nabarro
4
8678
by: David Farruggio | last post by:
Hello, I'd like to read the extended file properties using C#. Those are e.g. author, subject, ... of a word file or bit rate, artist, duration of a mp3 file. I already tried to use the storage properties provided by OLE, but those only work for Office document. The explorer displays this information but I have no clue to access from C#. Hints and Help are appreciated. Regards, -- David
1
3325
by: Tina | last post by:
I need to obtain the extended file properties, such as Owner, Title, etc, for a file in a .net program. I have looked through the FileInfo class and I cannot see any methods or properties that will expose this. In the old days we used to use GetFileInfo but I don't see it in .Net anywhere. How can I get this information? Thanks, T
0
1719
by: m.trimble | last post by:
I've set up some visual basic .net code to read a spreadsheet. It works, but not all the time. Sometimes I get an error where the Microsoft Jet Engine could not access the spreadhsheet tab name, which has been entered in the application and I know to be correct. Here's the code: MyConnection = New System.Data.OleDb.OleDbConnection( _ "provider=Microsoft.Jet.OLEDB.4.0; " & _ "data source=" & strFilename & "; " & _
0
1236
by: TN | last post by:
I created a dataset in code (with extended properties on the table and the columns) and I saved the schema (the properties were there). Now I am trying to take that .xsd file and generate a dataset class. Problem is xsd blows off the extended property definition when it creates the ..cs file. What's up... this is a show-stopper? Is this really true? (VS 2005) Thanks.
0
996
by: jcvoon | last post by:
Hi: How to notify extended properties provider when the component is removed ? so that i can deleted the entry for that component from extended properties holder (the collection use to hold all the extended properties value). Thanks JCVoon
1
2223
by: Guoqi Zheng | last post by:
Dear Sir, I added some extended property(first name, last name) besides the normal createUserWizard. If I use MemberShip.GetAllUsers, it does not return those properties? How can I show those properties to the gridview as well? Thanks!
3
3567
by: Ben | last post by:
Hi! I have a user on my database that has only "select" access (db_datareader). Problem is, I also want him to also be able to create/update extended properties on tables or views, but without modifying the tables' schema. I played around with GRANT but apparently, a member of "db_datareader" cannot create/modify extended properties on an object if he's not the owner of this object. I tried making this user a member of
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9535
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10465
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10200
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10021
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9061
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6800
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4127
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.