I am having trouble using MSComm32.OCX in my VB6 application.
When I attempt to use the set command to create the comm object, like this:
Dim MSComm1 As Object
Set MSComm1 = CreateObject("MSCommLib.MSComm")
the compiler errors-out with the message "Run-time error 429: ActiveX
comonent can't create object".
The online help indicates this problem can be caused when the MSComm32.OCX
control is not registered. However, I used Regedit to check, and the control
appears to be registered correctly.
I have also used the Project/Components menu to add this control to my
project, and the control shows up as expected when I use the Object Browser.
So, unless I am missing something, the control appears to be installed
correctly.
Any ideas when I can't seem to access this control? 2 17908
I'll never did it this way.What I do:
In toolbox, right click, then components, select "Microsoft Comm Control
6.0", close. A telephone icon becomes visible.
Select this icon and draw it on your form as usual, double click the icon
and you can start programming your application.
For more info about how, look at the website from Microsoft, they give some
useful examples.
Regards
"Tom Hill" <To*****@Sympatico.ca> wrote in message
news:IG*******************@news20.bellglobal.com.. . I am having trouble using MSComm32.OCX in my VB6 application. When I attempt to use the set command to create the comm object, like
this: Dim MSComm1 As Object Set MSComm1 = CreateObject("MSCommLib.MSComm")
the compiler errors-out with the message "Run-time error 429: ActiveX comonent can't create object".
The online help indicates this problem can be caused when the MSComm32.OCX control is not registered. However, I used Regedit to check, and the
control appears to be registered correctly. I have also used the Project/Components menu to add this control to my project, and the control shows up as expected when I use the Object
Browser. So, unless I am missing something, the control appears to be installed correctly.
Any ideas when I can't seem to access this control?
Thanks Mike.
When I tried your way, I got a message that "licence information for this
component not found".
I am wondering if this is because I am using the Learning Edition of VB6,
not the Professional.
Perhaps this control is only licensed with Pro, even though it comes on the
MSDN CD with the Learning Edition.
"Mike" <po*********@hotmail.com> wrote in message
news:40*********************@news.skynet.be... I'll never did it this way.What I do:
In toolbox, right click, then components, select "Microsoft Comm Control 6.0", close. A telephone icon becomes visible. Select this icon and draw it on your form as usual, double click the icon and you can start programming your application. For more info about how, look at the website from Microsoft, they give
some useful examples.
Regards
"Tom Hill" <To*****@Sympatico.ca> wrote in message news:IG*******************@news20.bellglobal.com.. . I am having trouble using MSComm32.OCX in my VB6 application. When I attempt to use the set command to create the comm object, like this: Dim MSComm1 As Object Set MSComm1 = CreateObject("MSCommLib.MSComm")
the compiler errors-out with the message "Run-time error 429: ActiveX comonent can't create object".
The online help indicates this problem can be caused when the
MSComm32.OCX control is not registered. However, I used Regedit to check, and the
control appears to be registered correctly. I have also used the Project/Components menu to add this control to my project, and the control shows up as expected when I use the Object Browser. So, unless I am missing something, the control appears to be installed correctly.
Any ideas when I can't seem to access this control?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: André Gasser |
last post by:
hello newsgroup,
I just discovered a weird effect in my php code. here is the flow of my
code:
1. upload jepg file to server
2. create new (empty) jpeg file using imagecreatefromjpeg() function
3. use imagecopyresampled to resize src image and store in newly created
image from step 2.
|
by: bmiras |
last post by:
I've got a problem using urllib2 to get a web page.
I'm going through a proxy using user/password authentification
and i'm trying to get a page asking for a HTTP authentification.
And I'm using python 2.3
Here is an exemple of the piece of code I use:
import urllib2
#Proxy handler
proxy_handler = urllib2.ProxyHandler({"http" :
|
by: Sue |
last post by:
I want to deploy a Visual studio.net windows application. This
application uses MSCOMM32.OCX control. This application works fine on
a development machine. However, if I deploy it on a non-developer
machine, the application fails to load.
It throws an exception, class is not licensed for use.
In the source code, a new instance of the...
|
by: Derek Timothy |
last post by:
Hi folks I have strange problem using cmd.exe from asp code
I am trying to save the results of an FTP command into a text file. When I
run this command from the command line of the web server it creates the text
file OK and it contains the results of the FTP commands.
ftp.exe -s:test.ftp > c:\tempfile.txt
However when I run it from asp...
|
by: Jacky Zhu |
last post by:
Hi all,
I am having a problem trying to consume a webservice that is developed on
..Net.
I can access it without any problem using a .net client, but when I use a
java client (based on Axis 1.1), some methods work, some don't. The error
message I got is "org.apache.axis.types.URI$MalformedURIException: No scheme
found in URI..."
| |
by: Dani |
last post by:
Hi everyone
Description of the problem:
Using a PreparedStatement to write down an integer (int) plus a
timestamp for testing purposes. When read out again the integer looks
very different. We found that it was shifted three Bytes to the left,
i.e. 4 becomes hex 4000000 which is 67108864 in decimal base. This
means that the value written...
|
by: Kent Lewandowski |
last post by:
hi all,
Recently I wrote some stored procedures using java jdbc code
(admittedly my first stab) and then tried to implement the same within
java packages (for code reuse). I encountered problems doing this.
I wanted to implemented a generic "Helper" class like this:
/**
* Helper
|
by: Franky |
last post by:
Been having a problem using a treeview. Work great the first time the form
containing it is entered but not the second time.
Took a while to create a small sample that exhibits the problem, but here it
is.
Seems to have something to do with doing ShowDialog
Easy to reproduce this project, simply add two forms.
|
by: presencia |
last post by:
Hi all,
I have a problem using gdb. I am using Eclipse-CDT as a frontend, but since this problem is obviously related to the gcc compiler or the gdb itself, I have reproduced it without Eclipse.
Sample Program
This small program should suffice to show my problem. I have saved this file as "main.cpp".
#include<vector>
#include <iostream>
...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |