How can I access a file that's on the same physical network but on a differnet domain? Should I just specify the server?
I'll need differnet user credentials to login to that domain also.
I'm using c# and ADO.NET to create and write to an excel spreadsheet via the jet4.0 ole provider. Works great except that excel seems to be prepending every cell with an apostrophe! Here's some of my code:
//Create a new file
xlscnn.Open();
cmd.CommandText = "CREATE TABLE " + tablename + " ("...
Assume that you're working with a dataset that contains two tables, and these tables share a relationship.
Table1:
Column1 (PK) (AutoIncrement)
Cloumn 2
Table2:
ColumnA
ColumnB (foriegn key to table1.Column1)
How can you insert rows into table1, and insert related rows into table2 before...
I keep getting a 'Binary data would be truncated' error when I try to write large files to my image column, and the write does not occur. But there's only 2,158,080 bytes in the file I'm writing! I thought the image type could handle 2,147,483,647 bytes.
The app is VB.net, and I'm just putting...
I keep getting a 'Binary data would be truncated' error when I try to write large files to my image column, and the write does not occur. But there's only 2,158,080 bytes in the file I'm writing! I thought the image type could handle 2,147,483,647 bytes.
The app is VB.net, and I'm just putting...
I'm automating word and opening a document. I'm intercepting the word apps document save event and trying to insert my own code. Problem is that the app and word hang every time I do this.
BUT! If I set a break point in the event and just F8 through it then everything works just fine. It's...
I'm storing word docs as BLOB's on a sql server and automating word with .NET to open them. But I don't want to save the document every time the user closes it on the chance they changed something.
I know word stores this information somewhere but where?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.