Article View: cn.bbs.comp.lang.visual-basic
Article #338Re: ����namespace�����Ҳ���public�þ��������
From: �ɶ���
Date: Fri, 01 Dec 2006 07:28
Date: Fri, 01 Dec 2006 07:28
20 lines
2140 bytes
2140 bytes
It has nothing to do with "public member" The reason is that the Office component cannot be loaded in your computer and therefore cannot be converted to the equivalent .NET assembly. Make sure that you have Microsoft Excel installed. Then choose project->Add reference menu choose the COM tab on the Add reference dialog box On the list double click the Microsoft Excel 11.0 object library �� �� Jackie2003 (Jackie) �Ĵ������ᵽ: �� : ����������һ���������ң���Ȼ���в��ˣ�buildһ�£�������һ�����棬 : Warning 1 Namespace or type specified in the Imports 'Microsoft.Office.Interop.Excel' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. G:\excel\VB\AutoExcel\AutoExcel.vb 19 9 AutoExcel : �����������Ҳ��public�÷���������û��ѧ��vb����������ô���£��ܸ�����һ��ô��лл -- [m[31m�� ��Դ:��ˮľ���� http://newsmth.net��[FROM: 68.33.29.*][m
Technical Details
Message-ID:
<4RLe91$68w@newsmth.net>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!novia!out01a.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!news.newsmth.net!NEWSMTHShow Full Headers
Complete Article Headers
X-Google-Thread: 109fdd,ec9cbd28bfadd8e4 X-Google-Attributes: gid109fdd,public X-Google-Language: ENGLISH,GB Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!novia!out01a.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!news.newsmth.net!NEWSMTH From: wdz@newsmth.net-SPAM.no (�ɶ���) Newsgroups: cn.bbs.comp.lang.visual-basic Subject: Re: ����namespace�����Ҳ���public�þ�������� Date: 01 Dec 2006 07:28:49 GMT Organization: ˮľ���� Message-ID: <4RLe91$68w@newsmth.net> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: VisualBasic/r/M.1164958129.V0