急问VB工程中如何引入class module

我有一个测量电压的程序,VB做的,要改。
运行的时候老是报:
    Set mCalculation = New analysis
这一句有错误说activex component can't create the object.

mCalculation的定义是:
    Public mCalculation As DAQAnalysis.analysis
这里DAQ是一个数据采集器。
而analysis是一个模块,但是我看见我的工程资源管理器窗口里面没有analysis这个模块的,所以我想把它加进来,但是昨天仅仅是在工程资源管理器上面右键单击add,然后将analysis加进来的。但是还是有问题。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Contents Introduction Course Materials..................................................................................................2 Prerequisites.........................................................................................................3 Course Outline.....................................................................................................4 Microsoft Certified Professional Program...........................................................6 Facilities...............................................................................................................8 Module 1: Overview of the Microsoft .NET Platform Overview..............................................................................................................1 What Is the Microsoft .NET Platform?................................................................2 What Is the .NET Framework?............................................................................5 What Are the .NET Framework Components?....................................................9 What Are the Visual Basic .NET Enhancements?.............................................17 Review...............................................................................................................19 Module 2: Development Environment Features Overview..............................................................................................................1 Describing the Integrated Development Environment.........................................2 Creating Visual Basic .NET Projects...................................................................3 Demonstration: Creating a Visual Basic .NET Project......................................16 Using Development Environment Features.......................................................17 Demonstration: Using the Visual Studio .NET IDE..........................................29 Debugging Applications....................................................................................30 Demonstration: Debugging a Project.................................................................37 Compiling in Visual Basic .NET.......................................................................38 Lab 2.1: Exploring the Development Environment...........................................41 Review...............................................................................................................46 Module 3: Language and Syntax Enhancements Overview..............................................................................................................1 Data Types...........................................................................................................2 Using Variables....................................................................................................9 Demonstration: Using Variables and Data Structures.......................................20 Functions, Subroutines, and Properties..............................................................21 Lab 3.1: Working with Variables and Procedures.............................................29 Exception Handling...........................................................................................36 Demonstration: Structured Exception Handling................................................48 Lab 3.2: Implementing Structured Exception Handling....................................49 Review...............................................................................................................52 Module 4: Object-Oriented Design for Visual Basic .NET Overview..............................................................................................................1 Designing Classes................................................................................................2 Practice: Deriving Classes from Use Cases.......................................................10 Object-Oriented Programming Concepts...........................................................11 Advanced Object-Oriented Programming Concepts..........................................20 Using Microsoft Visio........................................................................................25 Lab 4.1: Creating Class Diagrams from Use Cases...........................................33 Review...............................................................................................................42 iv Programming with Microsoft® Visual Basic® .NET Module 5: Object-Oriented Programming in Visual Basic .NET Overview..............................................................................................................1 Defining Classes..................................................................................................2 Creating and Destroying Objects.......................................................................16 Demonstration: Creating Classes.......................................................................26 Lab 5.1: Creating the Customer Class................................................................27 Inheritance..........................................................................................................34 Demonstration: Inheritance................................................................................46 Interfaces............................................................................................................47 Demonstration: Interfaces and Polymorphism...................................................53 Working with Classes........................................................................................54 Lab 5.2: Inheriting the Package Class................................................................68 Review...............................................................................................................78 Module 6: Using Windows Forms Overview..............................................................................................................1 Why Use Windows Forms?.................................................................................2 Structure of Windows Forms...............................................................................4 Using Windows Forms.......................................................................................12 Demonstration: Manipulating Windows Forms.................................................27 Using Controls...................................................................................................28 Demonstration: Implementing Drag-and-Drop Functionality............................42 Windows Forms Inheritance..............................................................................43 Demonstration: Using Windows Forms Inheritance..........................................48 Lab 6.1: Creating the Customer Form................................................................49 Review...............................................................................................................58 Module 7: Building Web Applications Overview..............................................................................................................1 Introduction to ASP.NET.....................................................................................2 Creating Web Form Applications......................................................................16 Demonstration: Creating Web Forms................................................................30 Lab 7.1: Creating the Customer Logon Web Forms..........................................31 Building Web Services.......................................................................................42 Demonstration: Creating a Web Service............................................................50 Using Web Services...........................................................................................51 Demonstration: Using a Web Service................................................................57 Multimedia: How Web Services Work..............................................................58 Lab 7.2: Creating and Using the CustomerService Web Service.......................60 Review...............................................................................................................71 Programming with Microsoft® Visual Basic® .NET v Module 8: Using ADO.NET Overview..............................................................................................................1 ADO.NET Overview...........................................................................................2 .NET Data Providers............................................................................................5 Demonstration: Retrieving Data Using ADO.NET...........................................19 The DataSet Object............................................................................................20 Practice: Using DataSets....................................................................................36 Data Designers and Data Binding......................................................................38 XML Integration................................................................................................46 Demonstration: Using XML Schemas...............................................................56 Lab 8.1: Creating Applications That Use ADO.NET........................................57 Review...............................................................................................................70 Module 9: Developing Components in Visual Basic .NET Overview..............................................................................................................1 Components Overview.........................................................................................2 Creating Serviced Components..........................................................................11 Demonstration: Creating a Serviced Component...............................................27 Lab 9.1: Creating a Serviced Component..........................................................28 Creating Component Classes.............................................................................35 Demonstration: Creating a Stopwatch Component............................................41 Creating Windows Forms Controls....................................................................42 Demonstration: Creating an Enhanced TextBox................................................49 Creating Web Forms User Controls...................................................................50 Demonstration: Creating a Simple Web Forms User Control............................54 Lab 9.2: Creating a Web Forms User Control...................................................55 Threading...........................................................................................................61 Demonstration: Using the SyncLock Statement................................................74 Review...............................................................................................................75 Module 10: Deploying Applications Overview..............................................................................................................1 Describing Assemblies.........................................................................................2 Choosing a Deployment Strategy......................................................................11 Deploying Applications.....................................................................................18 Lab 10.1: Packaging a Component Assembly...................................................20 Demonstration: Deploying a Web-Based Application.......................................30 Lab 10.2: Deploying a Windows-Based Application........................................31 Review...............................................................................................................35 Module 11: Upgrading to Visual Basic .NET Overview..............................................................................................................1 Deciding Whether to Upgrade.............................................................................2 Options for Upgrading.........................................................................................7 Recommendations..............................................................................................11 Performing the Upgrade.....................................................................................13 Demonstration: Using the Upgrade Wizard.......................................................22 Review...............................................................................................................23
提供的源码资源涵盖了Java应用等多个领域,每个领域都包含了丰富的实例和项目。这些源码都是基于各自平台的最新技术和标准编写,确保了在对应环境下能够无缝运行。同时,源码配备了详细的注释和文档,帮助用户快速理解代码结构和实现逻辑。 适用人群: 适合毕业设计、课程设计作业。这些源码资源特别适合大学生群体。无论你是计算机相关专业的学生,还是对其他领域编程感兴趣的学生,这些资源都能为你提供宝贵的学习和实践机会。通过学习和运行这些源码,你可以掌握各平台开发的基础知识,提升编程能力和项目实战经验。 使用场景及目标: 在学习阶段,你可以利用这些源码资源进行课程实践、课项目或毕业设计。通过分析和运行源码,你将深入了解各平台开发的技术细节和最佳实践,逐步培养起自己的项目开发和问题解决能力。此,在求职或创业过程,具备跨平台开发能力的大学生将更具竞争力。 其他说明: 为了确保源码资源的可运行性和易用性,特别注意了以下几点:首先,每份源码都提供了详细的运行环境和依赖说明,确保用户能够轻松搭建起开发环境;其次,源码的注释和文档都非常完善,方便用户快速上手和理解代码;最后,我会定期更新这些源码资源,以适应各平台技术的最新发展和市场需求。 所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答!

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值