Click here to Skip to main content
15,889,403 members
Home / Discussions / C#
   

C#

 
QuestionAbout creating Editable(fillable) PDF-forms Pin
sameermaske7-Oct-10 4:04
sameermaske7-Oct-10 4:04 
AnswerRe: About creating Editable(fillable) PDF-forms Pin
Ennis Ray Lynch, Jr.7-Oct-10 6:26
Ennis Ray Lynch, Jr.7-Oct-10 6:26 
QuestionParsing a text file. Pin
jenya77-Oct-10 3:21
jenya77-Oct-10 3:21 
AnswerMessage Closed Pin
7-Oct-10 3:41
stancrm7-Oct-10 3:41 
GeneralRe: Parsing a text file. Pin
jenya77-Oct-10 3:57
jenya77-Oct-10 3:57 
GeneralRe: Parsing a text file. Pin
#realJSOP7-Oct-10 23:41
mve#realJSOP7-Oct-10 23:41 
AnswerRe: Parsing a text file. Pin
PIEBALDconsult7-Oct-10 16:28
mvePIEBALDconsult7-Oct-10 16:28 
QuestionMicrosoft.Office.Interop.Excel BorderAround2 crash Pin
Blubbo7-Oct-10 2:58
Blubbo7-Oct-10 2:58 
Has anyone used this "Range.BorderAround2" when making the border line around the cell range? I believe that it caused crash with this error message: "Exception from HRESULT: 0x80020003" which is "DISP_E_MEMBERNOTFOUND". I'm not quite sure if this is due to the other pc that has office 2003? I've included the v14 dll file in the executable directory.

I used the 3 lines below and it caused the error exception mentioned above.
I'm using the Microsoft.Office.Interop.Excel v14 (for MS Office 2010).

cellRange = oSheet.get_Range(oSheet.Cells[3, 10], oSheet.Cells[15, 11]);
cellRange.BorderAround2(Excel.XlLineStyle.xlContinuous, Excel.XlBorderWeight.xlThin, Excel.XlColorIndex.xlColorIndexAutomatic, 1, 1);



I had to use the lines as shown below and it works fine...

cellRange = oSheet.get_Range(oSheet.Cells[3, 10], oSheet.Cells[15, 11]);
cellRange.Borders.LineStyle = Excel.XlLineStyle.xlContinuous;
cellRange.Borders.Weight = Excel.XlBorderWeight.xlThin;
AnswerRe: Microsoft.Office.Interop.Excel BorderAround2 crash Pin
Dave Kreskowiak7-Oct-10 3:44
mveDave Kreskowiak7-Oct-10 3:44 
GeneralRe: Microsoft.Office.Interop.Excel BorderAround2 crash Pin
Blubbo7-Oct-10 4:02
Blubbo7-Oct-10 4:02 
GeneralRe: Microsoft.Office.Interop.Excel BorderAround2 crash Pin
Dave Kreskowiak7-Oct-10 4:42
mveDave Kreskowiak7-Oct-10 4:42 
GeneralRe: Microsoft.Office.Interop.Excel BorderAround2 crash Pin
Blubbo7-Oct-10 4:49
Blubbo7-Oct-10 4:49 
GeneralRe: Microsoft.Office.Interop.Excel BorderAround2 crash Pin
Dave Kreskowiak7-Oct-10 6:04
mveDave Kreskowiak7-Oct-10 6:04 
GeneralRe: Microsoft.Office.Interop.Excel BorderAround2 crash Pin
Luc Pattyn7-Oct-10 6:29
sitebuilderLuc Pattyn7-Oct-10 6:29 
QuestionSave a file from ASP.NET down to database and upp again. Pin
anderslundsgard6-Oct-10 23:44
anderslundsgard6-Oct-10 23:44 
AnswerRe: Save a file from ASP.NET down to database and upp again. Pin
J4amieC7-Oct-10 0:50
J4amieC7-Oct-10 0:50 
Questionmake mouse disable, how that user could not be able to use it. Pin
Fred 346-Oct-10 23:36
Fred 346-Oct-10 23:36 
AnswerRe: make mouse disable, how that user could not be able to use it. Pin
Eddy Vluggen7-Oct-10 1:01
professionalEddy Vluggen7-Oct-10 1:01 
AnswerRe: make mouse disable, how that user could not be able to use it. Pin
Rhuros7-Oct-10 1:35
professionalRhuros7-Oct-10 1:35 
AnswerRe: make mouse disable, how that user could not be able to use it. Pin
S Houghtelin7-Oct-10 5:52
professionalS Houghtelin7-Oct-10 5:52 
GeneralRe: make mouse disable, how that user could not be able to use it. Pin
PIEBALDconsult9-Oct-10 4:27
mvePIEBALDconsult9-Oct-10 4:27 
GeneralRe: make mouse disable, how that user could not be able to use it. Pin
S Houghtelin12-Oct-10 3:09
professionalS Houghtelin12-Oct-10 3:09 
QuestionList inside a struct Pin
Islorvat6-Oct-10 22:45
Islorvat6-Oct-10 22:45 
AnswerRe: List inside a struct Pin
J4amieC6-Oct-10 22:57
J4amieC6-Oct-10 22:57 
AnswerRe: List inside a struct Pin
DaveyM697-Oct-10 0:11
professionalDaveyM697-Oct-10 0:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.