Send Windows Message From Application To VB6 ActiveX UserControlsthat Are A IE WebPage .
Hello,We have a number of VB6 ActiveX applicationmodule(s) that are loadedinto a IE6 WebBrowserControl . This WebControl is imbededded intoApplication X . Now We want to send a message from Application X to allthe ActiveX applicationmodules that are in IEWebbrowser .Contains ContainsApplication X ------------> IE WebControl -------------> Vb6 ActiveX AContains-------------> Vb6 ActiveX Bsend message to ActiveX A,B,C,D,....---------------------------------------------------->How Can this be done ?Hoping to hear from you .Filip W.C3
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
How To Send Message To Windows
1. I want to send a message to Application to simulate " a button is pressed", how to code it
2. I am not sure if there is this kind of operator in VB:
instead of "if a=1 then b=2 else b=0"
we use " b=(a=1) 2: 0" ---if have please give the correct format
thanks
Send A Message Without Windows NT
The last day I made a question about send a message to a remote machine, and one person asked me how I can do that if i had
windows NT. Well, thanks to that person for his fast answer, but my problem is thatI don't have windows Nt and I need that in the
remote Pc appears a message box with the message that I want to send.
Thanks
How Do I Send Message Between Windows?
Here is what I want to do:
1. execute an execution file, phoneBook.exe, which was written in VB 6.0 from a window which was created by VC++
2. phoneBook.exe shows a phone book dialog which allows user to select a phone number. After the selection, it will notify the calling window and pass back the phone Number user selected .
my questions are how do I:
1. notify the calling window that the job is completed
2. pass the phone number back to VC++ window?
Thanks in advance.
Tiffany Chen
Send A Message With Windows NT And See History?
I use this program to send a message with Windows NT.
No I wounder if I can see the history of the sent messages?
How do i do If I can do that?
Code:
Public Function BroadcastMessage(UserOrMachine As String, _
FromName1 As String, Message As String) As Boolean
Dim ToName() As Byte
Dim FromName() As Byte
Dim MessageToSend() As Byte
'Put data into byte arrays
ToName = UserOrMachine & vbNullChar
FromName = FromName1 & vbNullChar
MessageToSend = Message & vbNullChar
'Broadcast message via API
If NetMessageBufferSend(ByVal 0&, ToName(0), ByVal 0&, _
FromName(0), UBound(MessageToSend)) = NERR_Success Then
'Return True if it worked
BroadcastMessage = True
End If
End Function
Send A Message To Another Instance Of My Application - Kind Of Works,, When In Vb Ide
hi guys
when i open an EXE version of my application, then pass a commandline prompt to another exe version
[shell(EXEPATH "PROMPT")] the code in the zip attached DOES NOT WORK
HOWEVER: when i open the instance of the app sending the message in the ide, the code works fine....
it wont send when it is on the EXE itself....
i got the origional code from pscode, and edited it to my needs
[Note:
Origional code:
http://www.Planet-Source-Code.com/vb...31193&lngWId=1
]
can anybody see where the bug is with this code?
thanks
Wayne
Recieve Windows Messenger Messages Or Send Direct Message To Computer
THis is my first post.
I was wondering if there was a way to receive the Windows Messenger messages in VB when someone sends them to you. (Not MSN Messenger but the service in XP/2000).
I already know how to send, but I want to direct the messages as they are recieved to a VB app so I can use a text-to-speech program to speak them.
If this is extremely complicated or impossible, is there a way to send a message with (winsock?) to another computer that will receive it?
Thanks
Send E-mail By VB .NET Windows Application
Hi!
I am going to creat and send a mail message with a Win form Visual Basic .NET application. But the System.Web.Mail namespace may not be imported to the code (It just works in ASP .NET Web applications!?). What should I do? Which namespace is proper? Much obliged to you for your attention. Regards!
Yours thankfully,
M.Sadegh Samiei
How To Send A Character To A Windows Application = Game
Hi to all,
I'd like to know how to send a shortcut key , for example "2", to a game in full screen mode.
I have try the SendKeyb and SendInput function in a VB6 application with a partial result, in fact I can write into an open word file, but when I run the game, it is like that the game didn't receive/ignore the key that I have send.
Do you have any suggestion on which function I have to use to reach my goal?
Thank in advice
Send To Webpage
Using API, How do I make it popup to what URL they type into a textbox using the default browser?
Making The 'a Program Is Trying To Send A Message' Message Go Away
I have a little program using MAPI to send email but keep getting the message "a program is trying to send a message" and the option to send or not send. Since I am usually looping this program it forfeits the purpose to have to sit and press send send send. Is there a way to disable this.
Robert
Send/receive From Webpage (possible?)
Hi all,
I want to design a program in VB.NET that can send and receive information from a website. For example, the VB program can take a users name, open up a website address, enter the name in the web search field, run the search, then display the returned page within the program. I've looked over the internet and it seems that this may be impossible, but I just wanted to consult you guys and see if anyone knew differently. I don't think I can use asp as I don't own the website I would be contacting. I guess an easy way to imagine it is a program where you can type in a search term, which would then check with google and display the results as an HTML document within the program
Is There Any Way To Send Variables To A Webpage?
Is there way besides using the Shell API method to send variables to a webpage? Say my program will compose some variables and upon clicking, will send this to a pre-determined webpage.
Anyone got any ideas?
Regards,
Brendon
Send Variable To Webpage
Ok I would like to have a user click a button in my vb app and have it open a webpage and send a string to that webpage (just send the string to a variable in the webpage, it can't be visible to the user). The webpage will be an email form where they fill in information like name, company, phone number, etc etc and when they send the form it sends the string value (that it got from my vb app) by email along with the rest of the info the user entered.
So.. i know how to make an email form, but my question is how can I send a variable to the form and have it send with the form when it's submitted?
Thanks!
Send Request To Webpage
I ONLY want to request the page, NOT recieve it. The purpose of this is for the sever to process a PHP and create the HTML, but i don't care about whats in the html, so i dont want to waste the time downloading it. I am using Microsoft Internet Transfer Control 6.0 to get the page. I don't know if i can stick with this, or if i need to use someting else. This is the code to RECIEVE the page:
VB Code:
txtCode.Text = INET.OpenURL(txtURL.Text)
Any ideas?
How Can I Send An Image To Another Webpage?
I have an ActiveX control that allows the user to draw a picture using the PictureBox control.
I want to be able to display this image for them on another page without the ActiveX control. Any ideas?
I figure if I could convert the image to some sort of text string then I could populate a hidden form submit field and render the image on the next page.
I really have no idea where to go with this. Can anyone guide me?
Send Post Request To A Webpage
What's the "fastest" way to send a HTTP POST request to a webpage?
I know the winsock method. But I believe it is kinda slow.
Activex Ctl And Webpage
Hi.
I have a small ActiveX control I built with VB6, within the control a string is built. How can I get the contents of the string displayed in a webpage?
I'm ok with the webpage (HTMl/ASP) but how do I code the control so that I can get the string contents out of the control?
Thanks
Brent
ActiveX On Webpage
This is probably a very simple question, but it has had me stumped this morning. I am trying to add an Rich Text ActiveX control to a web page and am having problems. When I add the control to the page in Visual Interdev, I get an error that it can not be displayed and will be shown as text. Not a problem. When I go to view the web page, I get nothing but the outline of where the object should be. This is all on my development machine. When I go to the server and pull up the page, the control comes up just fine. If I go to any other machine on the network...I get nothing, but I do get it on the server. Any suggestions would be greatly appreciated.
Steven
ActiveX In Webpage
I have an ActiveX control embedded in a webpage. However, each time I've upgraded the version, the clients who visit the page won't update their copy of ActiveX automatically.
The ActiveX control is packaged in a CAB file generated by the package and deployment wizard.
Please help... my clients are not getting up-to-date ActiveX... Thank you very much!
Activex On Webpage
I need to write a component to access a local database from a webpage. I need the component to create a link to the database and then use sripting to get data from the component to create the output.
it can be assumed that the main part of the component has been produced (it hasnt, but I have a pretty good idea of how to get the data from the database)
what I need to know is once I have all this data in my component how do I make it available to access from VBScript?
is it as simple as writing funtions declared as public that simply return the data requested?
also, for deplyment onto the webpage what will need to be included to make this work and how would I link it all together?
ActiveX In A Webpage
I am a complete noob at VB, but someone gave me an activeX control to embed in a webpage, and I can't get it to work.
When i initially try to view it in a webpage, it asks if i want to download the vbd file.
So i open VB 6.0 and compile it myself. I get a VBD file and a CAB, and I use the wizard to deploy it to a webpage. It now loads fine on my machine. I try to go to another machine, and It doesn't work, even though i have set up mime types as:
<mime-mapping>
<extension>vbd</extension>
<mime-type>application/activexdocument</mime-type>
</mime-mapping>
. It asks to download the file or open. If i open it i get garbage strings. Can anyone tell me what I am doing wrong?
TIA,
vinson
How To Send Values To Asp Webpage And Return Results?
hi vb gurus!
I'm making an app and i'm almost complete, the last thing i need to do is to register my app to user PC.
for that My plan is to validate user KEY online and return the appropriate result.
but i'm unable to do so. so far my app validates the key locally, but I want it to go internet and check wheather this key is valid or not!
is there a quick & easy way to (POST) data from vb app to a asp page via http and get its results?
Will this work? -------------->
' My App
Private Sub Command1_Click()
'declare some
httpAddress = "http://mydomain.com/Validate.asp?ValidateKey = " & text1.Text & ""
'do some task
End Sub
' On the internet ASP Page
<% k = Requestquerystring("ValidateKey")
if rs.results("DBStoredKey") = "eru owp urpowru weoru" then
Sent to App = "Oh yes you are using Good Key"
else
Sent to APp = "This is Bad key,, can't Use this App"
end if
%>
Will above method work? I hope NOT! Please help
--------------------------------------------------------------------
Winner is not the one who wins,
But the one who enjoys the process
ActiveX Interaction With Webpage
Can Someone give me some info or tell me where to find some info on how to get information passed back and forth from an ActiveX and the webpage it is on.
like setting variables within the activeX through actions on the webpage?
thanks in advance.
Controlling A Webpage From Activex
I have an activex component that acts as a navigation bar, I need it so that when I click on a button on the control it updates an element on the webpage its being viewed on
how would I do this? either by coding in the control or by overriding the events using VBScript?
if the later how would I override the click even from a button on the control?
ActiveX On Webpage -- Get Host URL Or IP?
In java applets, there is a method to get the host's IP Address or URL that that applet is currently runnig on.
For a new application I am writing an activeX control in VB that I need to embed in a webpage (i know it sucks, but it is the ONLY way to do what I need to do, and it is on an intranet). Is there anyway to get the current IP/URL address of the host OR pass it to the control dynamically?
Thanks!
Edit by HardCode: Moved to the Web Programming sub-forum so it gets wayneph's attention
How To Put ActiveX Control In Webpage
Can anyone give me pointers in how to make a VB app show up in the browser? I believe I'd need to create an "activeX document" type in VB6, and I have an idea of the html involved, but I don't know how to find the classid.
Code:
<html><body>
<OBJECT id="myID"
style="WIDTH: 4800; HEIGHT: 3200"
classid=???
codebase="http://myserver/mycontrol.ocx">
</OBJECT>
</body></html>
ActiveX ListBox On A Webpage
Hi all,
I seem to be having some problems embedding an ActiveX Listbox on a Webpage. I know there is a Drop-Down HTML List but that is Hard to manipulate as I planned to use some VB Scripts to add items, clear and the likes. The standard HTML Drop-Down Listbox is not so good as it doesnt allow me to add items thru loops and iterations. (or does it ?)
I have checked with various documents and also the Win registry and therefore got the correct Listbox object ClassID. It is a MS Forms2 ListBox. I chose that as IE has it by default and doesnt need to download it. But I seemed to have problems embedding it on my webpage.
and therefore the VBscript on it refused to work as well.
Will someone please help me. Refer to code below. Any help will be greatly appreciated !!! I am using IE5
<p>
<object id=Listbox1 classid=clsid:8BD21D20-EC42-11CE-9E0D-00AA006002F3
width="152" height="164">
<param name=DisplayStyle value=2>
<param name=ScrollBars value=3>
</object>
</p>
<script language="VBScript">
<!--
Dim i
For i = 1 to 10
ListBox1.AddItem "Item " & i
Next
Sub ListBox1_Click
Msgbox "You clicked on " & ListBox1.List(ListBox1.ListIndex) & _
" out of " & ListBox1.ListCount & " items."
End Sub
-->
Using Activex Component On Webpage
how can i implement my activex component on webpage.becaz in my pc it's working fine but on web it's not coming and giving security error.My o.s.is MS-2000 professional and i m using VB6.0
so pls give me perfect procedure to do this.
Can ActiveX Control Made In VB Be Used In A Webpage ??
Hi,
I usually use a VB application for my projects.
But now I feel that a web page (viewed in a browser) may be a better idea, as I can design the web page in a more user-friendly way.
I would like to know if it is possible to make an activeX control that interfaces (allows data to be exchanged ) between a VB application ??
Kindly advise.
thanks
arun
Embedding An ActiveX ListBox On A Webpage
Hi all,
I need help with embedding an ActiveX ListBox Control on a webpage. There is a HTML Select Element that creates a ListBox as well BUT I am having trouble with some of Select Element methods and properties. Therefore I wanted to create an Active X ListBox where I am familiar with MS Forms 2 ListBox's properties and methods in VB Script.
Heres the code...There is nothing wrong with the ClassID of the ActiveX ListBox. It was verified properly with a book and the Windows Registry. BUT the scripts will NOT work as it doesnt recognise the AddItem method :MAD
Please HELP. Any help is greatly appreciated.
<object id=Listbox1 classid=clsid:8BD21D20-EC42-11CE-9E0D-00AA006002F3
standby="Downloading ActiveX object… Please Wait" width="152" height="164">
<param name=DisplayStyle value=2>
<param name=ScrollBars value=3>
<param name=Value value="ActiveX ListBox">
</object>
<script language="VBScript">
<!--
For i = 1 to 10
ListBox1.AddItem "Item " & i
Next
Sub ListBox1_Click
Msgbox "You clicked on " & ListBox1.List(ListBox1.ListIndex) & _
" out of " & ListBox1.ListCount & " items."
End Sub
-->
</script>
Activex On Webpage Download Problems.
Hope someone can help me. I have a very simple activex control (ocx). just a listbox with a label below it, when a name in the list is selected, the label is updated with the name. that's all.
I built this ocx on windows xp pro sp2 machine in vb6.
To package it to be used on a webpage, I used the packaging wizard provided in vb6. I included all the files in the cab that I created.
Thsi ocx works fine on any windows xp machine. But on a windows 2000 machine, it wouldn't download the ocx.
BUT, if I mannually copy the ocx to the 2000 m/c and register it, the webpage and the ocx in it loads fine.
What's happening? Obviously it is a packaging issue. What should I do?
regards
Brian
Pass Data To ActiveX OCX From WebPage!?
Hi Guys,
I am trying to print a receipt from a webpage without any confirmation, so the javascript window.print() will not work. This will be only run from one machine in a kiosk arangement, so loading of an ocx etc is no problem.
I have got an OCX control into a webpage with a command button and when this command button is pressed it does:
Printer.Print "test document"
Printer.EndDoc
This is exactly what I want, however, i would like a function arangement so that I can pass data from an ASP page to the OCX, possibly something like PrintPage("This is the receipt").
Is this possible!?
Regards,
John R.
Populate A Webpage From Activex Component
Can someone point me in the right direction please. I have created a activex component that loads in a webpage and I want to take values from the activex component and populate text fields on the webpage. Is this possible? Any help would be great.
Retrieving Values In VB6 ActiveX Control From Webpage
Retrieving values in VB6 ActiveX Control from webpage:
I have an ActiveX Control written in VB6.
I want to be able to pass data to this control from the webpage but I am not sure how to retreive it within VB6.
I'm quite sure that the HTML code I use would be something like this:
<.OBJECT CLASSID="XXX">
<.PARAM NAME="my_name" VALUE="michael">
<./OBJECT>
A PHP script would be used to send the correct name to the program.
How do I retreive the value of the "my_name" property within the Visual Basic 6 code?
Somebody Help Me Embed An ActiveX ListBox Control On A Webpage
Hi all,
I need help with embedding an ActiveX ListBox Control on a webpage. There is a HTML Select Element that creates a ListBox as well BUT I am having trouble with some of Select Element methods and properties. Therefore I wanted to create an Active X ListBox where I am familiar with MS Forms 2 ListBox's properties and methods in VB Script.
Heres the code...There is nothing wrong with the ClassID of the ActiveX ListBox. It was verified properly with a book and the Windows Registry. BUT the scripts will NOT work as it doesnt recognise the AddItem method :MAD
Please HELP. Any help is greatly appreciated.
<object id=Listbox1 classid=clsid:8BD21D20-EC42-11CE-9E0D-00AA006002F3
standby="Downloading ActiveX object… Please Wait" width="152" height="164">
<param name=DisplayStyle value=2>
<param name=ScrollBars value=3>
<param name=Value value="ActiveX ListBox">
</object>
<script language="VBScript">
<!--
For i = 1 to 10
ListBox1.AddItem "Item " & i
Next
Sub ListBox1_Click
Msgbox "You clicked on " & ListBox1.List(ListBox1.ListIndex) & _
" out of " & ListBox1.ListCount & " items."
End Sub
-->
</script>
Set Mousespeed In An ActiveX Control Embedded In A Webpage
Hello there,
Is it possible to set your mousespeed in a webpage? Maybe by using an ActiveX Control or something?
I know mouse-settings are Windows properties but is it possible to change them through a webpage?
Please help me with a solution, maybe a sample?
Mark
Netherlands
Webpage In An Application
Hi,
We have a User database and an Orders database. We have two copies of the database one is online and second one is offline which is installed on a local machine. There is already bulk of data coming in from various sources into the offline db and also the online db data is dumped on a monthly basis.
I have to check for duplicates after dumping the online data into the offline db. If a offline record matches has a duplicate which has come from online then we need to deactivate the offline record and move the orders attached to that user to the new online user entered.
For that purpose we need to call the webpage which generates orders online for users and get the online order id which then has to be inserted as reference in the order to be moved.
In short i need to call a webpage from my application pass relevant data to it so that the web page can process the order and once done the page will return an order ID. The application has to capture this order id and update the order in the offline db.
Any suggestions are welcome.
Thanks and regards
PS : My webpages are .php and the database used online is mysql.
Hitendra
Webpage In A Windows Form
I need help finding or making a code to open a web page in my application with out opening it's own widow , I want the web page to open in a text box type area on the form. I used the Microsoft web browser object. But after that i am at a loss as how to get the web page into it when i click on a button.
Some help would be great
I am making this program for work ....... But don't have a clue as to what i am doing
Thanks
Opening Webpage In VB Application
I'm posting a dumb question again: How do I add a webpage to one of my VB application so you can navigate on that webpage like in a broswer. I want to make such an application to disable all the useless functions like the adress bar and the buttons.
I hope somebody can help me with it.
Oh and by the way, I already tried the HTML Object Library but the window that is displayed is very very small. Can somebody tell me how to resize it so it doesnt only take 1/10 of the space.
Thank you
~coolmission
|