473,387 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Comm Object

Lou
Here is My Code in VB, How do I translate this to C#

Dim objDeko As New RocketEngine.Application
Dim myScene As RocketEngine.Scene
Set myScene = objDeko.Scenes.Add("D:\1.dkc")

Nov 15 '05 #1
1 1488
When the CCW is created it creates an interface and a class for each COM
coclass. Note that you declare your variable as the interface type and
create an instance of the actual class.

RocketEngine.Application objDeko = new RocketEngine.ApplicationClass();
RocketEngine.Scene myScene = objDeko.Scenes.Add("D:\1.dkc");
--
Bobby C. Jones
www.AcadX.com

"Lou" <lo********@comcast.net> wrote in message
news:OT****************@TK2MSFTNGP10.phx.gbl...
Here is My Code in VB, How do I translate this to C#

Dim objDeko As New RocketEngine.Application
Dim myScene As RocketEngine.Scene
Set myScene = objDeko.Scenes.Add("D:\1.dkc")

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: al | last post by:
Hi, I am creating an application in access 97, so coding in vba. I am at the stage of sending values to my external machine, but am stuck at a point. I need to send each character at an...
1
by: sarath1111 | last post by:
hi all, I am using comm port for serial communication between 2 PC's using C language. Once I have initialized the COMM port, Is there any option of closing the port in C language. Thanks in...
0
by: Lou | last post by:
How do I reference a Comm object I have added it in references, now how do i access it in code? I tried the "new" keyword but that didn't work??? -Lou
0
by: David M | last post by:
I am attempting to access the text to speech SDK via. C#. I setup a reference to the "Microsoft Voice Text" Control (vtext.dll) and I added the following code: HTTSLib.TextToSpeechClass v = new...
7
by: Michael Chong | last post by:
I wrote a program that communicate with SerialComm. In every 300 milliseconds, my program continuously send & receive data via the serial port once the program starts. My program is once in a...
3
by: David | last post by:
I am trying to use the vb 6 comm control in a vb.net project. I am sending ok, but for some reason can not receive anything. I tried using the oncomm event which never is fired. I also just tried...
4
by: Iceman.Aragorn | last post by:
I'm having an odd problem where im reading input from a comm port (the maker of the software that exports the data TO the comm port is unhelpful). What im reading is fixed length (13 character)...
0
by: mngrl | last post by:
I have DB2 V8.2 installed on an AIX system and I want to see the sql errors that are occurring on the system. When I look at db2diag.log the messages all look like this: ...
2
by: Max Healey | last post by:
I have written a number of applications that control various bits of hardware via serial data. using VB6 and the comm. control now some one has asked me to do one for a specific piece of...
2
by: Hank | last post by:
Hello, I would like to get some opinions on using the Comm Port with Access 2000. We have a few jobs coming in that require us to interface with a PLC via the Comm Port. My partner feels we...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.