473,804 Members | 2,985 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

send windows message from Application to VB6 ActiveX UserControlstha t are a IE webPage .

Hello,

We have a number of VB6 ActiveX applicationmodu le(s) that are loaded
into a IE6 WebBrowserContr ol . This WebControl is imbededded into
Application X . Now We want to send a message from Application X to all
the ActiveX applicationmodu les that are in IEWebbrowser .

Contains Contains
Application X ------------> IE WebControl -------------> Vb6 ActiveX A
Contains
-------------> Vb6 ActiveX B

send message to ActiveX A,B,C,D,....
---------------------------------------------------->
How Can this be done ?

Hoping to hear from you .

Filip W.
C3
Jul 17 '05 #1
4 6547
That sounds like something you'd want to do
with DHTML. If the controls have ID attributes
you can do it that way:

AXObj = WB.Document.all .item("Name1")

If not, you can go through the all collection:

For i = 0 to WB.Document.all .Length - 1
if WB.Document.all (i).tagname = "OBJECT" then
'-- send the message.

--
_______________ ______________

ma**********@mi ndYYspring.com
For return email remove XX and YY.
_______________ ______________
Filip Wtterwulghe <fi***********@ nospamc3.be> wrote in message
news:41******** *************** @news.skynet.be ...
Hello,

We have a number of VB6 ActiveX applicationmodu le(s) that are loaded
into a IE6 WebBrowserContr ol . This WebControl is imbededded into
Application X . Now We want to send a message from Application X to all
the ActiveX applicationmodu les that are in IEWebbrowser .

Contains Contains
Application X ------------> IE WebControl -------------> Vb6 ActiveX A
Contains
-------------> Vb6 ActiveX B

send message to ActiveX A,B,C,D,....
---------------------------------------------------->
How Can this be done ?

Hoping to hear from you .

Filip W.
C3

Jul 17 '05 #2
Hello,

thanks for your reply . I would also like to know how to send a message .

Greetings,

Filip W.
c3

mayayana wrote:
That sounds like something you'd want to do
with DHTML. If the controls have ID attributes
you can do it that way:

AXObj = WB.Document.all .item("Name1")

If not, you can go through the all collection:

For i = 0 to WB.Document.all .Length - 1
if WB.Document.all (i).tagname = "OBJECT" then
'-- send the message.

--
_______________ ______________

ma**********@mi ndYYspring.com
For return email remove XX and YY.
_______________ ______________
Filip Wtterwulghe <fi***********@ nospamc3.be> wrote in message
news:41******** *************** @news.skynet.be ...
Hello,

We have a number of VB6 ActiveX applicationmodu le(s) that are loaded
into a IE6 WebBrowserContr ol . This WebControl is imbededded into
Application X . Now We want to send a message from Application X to all
the ActiveX applicationmodu les that are in IEWebbrowser .

Contains Contains
Application X ------------> IE WebControl -------------> Vb6 ActiveX A
Contains
-------------> Vb6 ActiveX B

send message to ActiveX A,B,C,D,....
---------------------------------------------------->
How Can this be done ?

Hoping to hear from you .

Filip W.
C3


Jul 17 '05 #3
Maybe you could explain it more. Are you sure
you know exactly what it is that you want to do?

There's no such thing as an "applicationmod ule" so I
assume you mean an ActiveX control. In that case, it's
in the webpage as an object and can be accesses
through DHTML by getting the document object. You can
then access the COM properties and methods of the
control that way. (If you want to send an API message then why
not just build that into the COM interface? That's what ActiveX
is for.)

Also, I notice that you also posted to a dotnet group.
If you're using "VB.Net":
This is a VB group, as are most of the groups that you
posted to. VB has very little in common with .Net. They are
both "VB" only inside the strange confines of the Microsoft
marketing dept.
Most of the people here don't use .Net. If you're using .Net
then you should just post to those newsgroups. The answers
here will probably not be relevant for you.

--
_______________ ______________

ma**********@mi ndYYspring.com
For return email remove XX and YY.
_______________ ______________
Filip Wtterwulghe <fi***********@ nospamc3.be> wrote in message
news:41******** **************@ news.skynet.be. ..
Hello,

thanks for your reply . I would also like to know how to send a message .

Greetings,

Filip W.
c3

mayayana wrote:
That sounds like something you'd want to do
with DHTML. If the controls have ID attributes
you can do it that way:

AXObj = WB.Document.all .item("Name1")

If not, you can go through the all collection:

For i = 0 to WB.Document.all .Length - 1
if WB.Document.all (i).tagname = "OBJECT" then
'-- send the message.

--
_______________ ______________

ma**********@mi ndYYspring.com
For return email remove XX and YY.
_______________ ______________
Filip Wtterwulghe <fi***********@ nospamc3.be> wrote in message
news:41******** *************** @news.skynet.be ...
Hello,

We have a number of VB6 ActiveX applicationmodu le(s) that are loaded
into a IE6 WebBrowserContr ol . This WebControl is imbededded into
Application X . Now We want to send a message from Application X to all
the ActiveX applicationmodu les that are in IEWebbrowser .

Contains Contains
Application X ------------> IE WebControl -------------> Vb6 ActiveX A
Contains
-------------> Vb6 ActiveX B

send message to ActiveX A,B,C,D,....
---------------------------------------------------->
How Can this be done ?

Hoping to hear from you .

Filip W.
C3


Jul 17 '05 #4
Hello,

Thanks again for the reply . This "problem" that I have is in VB6 , not
in Dot.Net . I also do programming in Dot.Net but for this issue that is
not the case .

I understand what you are trying to say (use the COM properties using
the HTML DOM ) . But because the combination html/vbscript/activeX is
something new to me I had not thought about that .

I think that it would be better (as you said) to call a
function/propertie instead of sending a windows-message to each of the
controls ( ActiveX / OCX ) . This solution would be easier , this
because I should not subclass my OCX .

Because this new feature that I have to empliment is something for the
future I can't try it immediatly .

Thanks for your respond I will reply when I have something new to ask .

Bye,

Filip W.
C3


mayayana wrote:
Maybe you could explain it more. Are you sure
you know exactly what it is that you want to do?

There's no such thing as an "applicationmod ule" so I
assume you mean an ActiveX control. In that case, it's
in the webpage as an object and can be accesses
through DHTML by getting the document object. You can
then access the COM properties and methods of the
control that way. (If you want to send an API message then why
not just build that into the COM interface? That's what ActiveX
is for.)

Also, I notice that you also posted to a dotnet group.
If you're using "VB.Net":
This is a VB group, as are most of the groups that you
posted to. VB has very little in common with .Net. They are
both "VB" only inside the strange confines of the Microsoft
marketing dept.
Most of the people here don't use .Net. If you're using .Net
then you should just post to those newsgroups. The answers
here will probably not be relevant for you.

--
_______________ ______________

ma**********@mi ndYYspring.com
For return email remove XX and YY.
_______________ ______________
Filip Wtterwulghe <fi***********@ nospamc3.be> wrote in message
news:41******** **************@ news.skynet.be. ..
Hello,

thanks for your reply . I would also like to know how to send a message .

Greetings,

Filip W.
c3

mayayana wrote:
That sounds like something you'd want to do
with DHTML. If the controls have ID attributes
you can do it that way:

AXObj = WB.Document.all .item("Name1")

If not, you can go through the all collection:

For i = 0 to WB.Document.all .Length - 1
if WB.Document.all (i).tagname = "OBJECT" then
'-- send the message.

--
____________ _______________ __

ma********** @mindYYspring.c om
For return email remove XX and YY.
____________ _______________ __
Filip Wtterwulghe <fi***********@ nospamc3.be> wrote in message
news:41***** *************** ***@news.skynet .be...
Hello,

We have a number of VB6 ActiveX applicationmodu le(s) that are loaded
into a IE6 WebBrowserContr ol . This WebControl is imbededded into
Applicati on X . Now We want to send a message from Application X to all
the ActiveX applicationmodu les that are in IEWebbrowser .

Contains Contains
Applicati on X ------------> IE WebControl -------------> Vb6 ActiveX A
Contains
-------------> Vb6 ActiveX B

send message to ActiveX A,B,C,D,....
---------------------------------------------------->
How Can this be done ?

Hoping to hear from you .

Filip W.
C3


Jul 17 '05 #5

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

Similar topics

5
4277
by: vinoth | last post by:
Hi, I have created WindowsService Project.In that Project OnStart Method i have written the following Code. In this code the Server is waiting for the connection from client. When the Client connects to the Server, the server will process and send result to the client.(This is Client Server Application. The Server side Code is implementd in th OnStart method Of Windows Service). When i tried the Client Server Application in Console...
4
7092
by: bob lambert | last post by:
Help I am trying to deploy to another pc a vb.net std 2002 windows form application. I am confused. I created a project - windows form I built form, compiled and debugged. I created a deployment project (myproj installer) I added my windows app to the installer under myproj installer properties, I set bootstrapper
0
1091
by: tom.andersen | last post by:
What we want to do is send a message to all windows in our .net application. They all are based on System.Windows.Forms.Form, and we might have, say 5 of them open in our application at once. How would you either: A) Enumerate over a collection of all top level windows, which we can then do what we want like call begininvoke to tell each window that they might like to close,
22
6293
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one client (MS Access vs ..NET Windows Forms) would be preferred over the other. While I have some good arguments on both sides, I would appreciate your points of view on the topic.
2
2811
by: iloveprincess | last post by:
Hi, I'm developing windows application using VB.Net 2005. I would like to send 'save' message using 'SendMessage' API to the excel appication. I've already got a handle of the excel window with 'FindWindow' API. How can I send 'save' command to external excel window? Actual thing I want to do is I can handle excel application in the winform. My client hope that all staff can use excel application in new window
1
2428
by: Gurunadh | last post by:
Hi friends, we have developed a windows desktop application in vb.net 2005 with MS-Access as backend ,our problem is we have to display data from a datagridview to a crystal report,we have written the code to display in crystal reports it is working in the system in which we developed but when the setup is installed in another computer it is displaying database login screen asking for login id and password,can any one know what is the...
2
5507
by: Mesan | last post by:
Hello everyone, Thanks to many useful posts in this newsgroup and others, I've been able to come very close to something I've been wanting to do for a very long time. I've figured out how to create a new custom protocol handler in Windows to handle locations like "myProtocol:", which lets me have a shortcut pointing to "myProtocol:myPrimaryKey" and have my application automatically open and display the given account. That's great. I
8
15004
Atran
by: Atran | last post by:
Hello Everybody, I want to send a message to somebody email using C# I have the right code but when I run the application it shown the "ArgumentExecption was unhandled" error, it is been yellow, it stop the application from running. Here is the code: using System; using System.Net.Mail; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1
1
3796
by: =?Utf-8?B?RGFydGgtQ3ot?= | last post by:
Hi, I'm beginner in Visual C++ so I want to ask you a question. And I'm not good in English:D So I have the program which communicates over sockets. The program has to connect to the server and send and receive data. But when I start the program, there is one Socketexception - something like the program is unable to connect to the server or the server didn't answer... I apologize for my English... Thank you for advice...
0
9706
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, 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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10569
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10325
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10075
tracyyun
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9140
agi2029
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7615
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5519
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2990
bsmnconsultancy
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.