Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 16th, 2006, 01:05 PM
Authorized User
Join Date: Feb 2006
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to MAKO
Default Excel Automation

Hello people!

I found the following code within an excel automation code to open a text file in an excel workbook, but I don't understand the part where it reads m_objOpt. What could that object be? I keep getting unhanddled exception because I don't fill the method's parameters right. Can anyone give me a hand on this? Thanks a lot, in advance.

m_objBooks.OpenText(m_strSampleFolder + "Book6.txt", Excel.XlPlatform.xlWindows, 1, 
    Excel.XlTextParsingType.xlDelimited, Excel.XlTextQualifier.xlTextQualifierDoubleQuote,
    false, true, false, false, false, false, m_objOpt, m_objOpt, 
    m_objOpt, m_objOpt, m_objOpt);
MAKO - "El super simio"
MAKO - \"El super simio\"

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed for Excel Automation material.study Visual Studio 2005 2 December 3rd, 2008 10:51 AM
Automation with Access and Excel venomm Access 2 March 20th, 2005 11:34 AM
Excel Automation ameysun C# 0 November 4th, 2004 07:33 AM
Excel Automation ameysun Pro VB 6 0 November 4th, 2004 02:55 AM
access to excel automation...seem to still have a mytfein Access VBA 0 September 9th, 2004 09:35 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.