I need to write a program that would interact with a specific IE browser
window, maybe by looking at the title bar to decide which window. It would
need to set the URL to navigate to with a value in the query string. If I
were writing this in vb6 I would use DDE. What are my options now?
PS - I know one of the options is to SendKeys information to the window, but
that is my least desired option.
Thanks,
Dave 5 3429
Hi Dave,
Thanks for your post. In VB .NET, we are able to use P/Invoke to call
unmanaged APIs, that is, you can still use DDE. Please refer to the
following MSDN article for detailed information:
Consuming Unmanaged DLL Functions http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconconsumingunmanageddllfunctions.asp
In addition, the following article is also helpful:
Open URL in existing IE Window http://www.codeguru.com/vb/articles/2342.shtml
Hope this helps.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Hi Dave,
Thanks for your post. In VB .NET, we are able to use P/Invoke to call
unmanaged APIs, that is, you can still use DDE. Please refer to the
following MSDN article for detailed information:
Consuming Unmanaged DLL Functions http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconconsumingunmanageddllfunctions.asp
In addition, the following article is also helpful:
Open URL in existing IE Window http://www.codeguru.com/vb/articles/2342.shtml
Hope this helps.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Thanks for the response.
I would really prefer not to use DDE. I found the article using the window
messages interesting and it worked great, but I noticed that it does rely on
the address bar in IE. My web app may be used in a kiosk fashion where the
person wouldn't have the address bar.
I was hoping there was another way using something a little newer like
automation or remoting to do this. Can you think of anything else?
Thanks,
Dave
"Tian Min Huang" <ti******@online.microsoft.com> wrote in message
news:IU**************@cpmsftngxa07.phx.gbl... Hi Dave,
Thanks for your post. In VB .NET, we are able to use P/Invoke to call unmanaged APIs, that is, you can still use DDE. Please refer to the following MSDN article for detailed information:
Consuming Unmanaged DLL Functions http://msdn.microsoft.com/library/de...us/cpguide/htm l/cpconconsumingunmanageddllfunctions.asp
In addition, the following article is also helpful: Open URL in existing IE Window http://www.codeguru.com/vb/articles/2342.shtml
Hope this helps.
Regards,
HuangTM Microsoft Online Partner Support MCSE/MCSD
Get Secure! -- www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights.
Thanks for the response.
I would really prefer not to use DDE. I found the article using the window
messages interesting and it worked great, but I noticed that it does rely on
the address bar in IE. My web app may be used in a kiosk fashion where the
person wouldn't have the address bar.
I was hoping there was another way using something a little newer like
automation or remoting to do this. Can you think of anything else?
Thanks,
Dave
"Tian Min Huang" <ti******@online.microsoft.com> wrote in message
news:IU**************@cpmsftngxa07.phx.gbl... Hi Dave,
Thanks for your post. In VB .NET, we are able to use P/Invoke to call unmanaged APIs, that is, you can still use DDE. Please refer to the following MSDN article for detailed information:
Consuming Unmanaged DLL Functions http://msdn.microsoft.com/library/de...us/cpguide/htm l/cpconconsumingunmanageddllfunctions.asp
In addition, the following article is also helpful: Open URL in existing IE Window http://www.codeguru.com/vb/articles/2342.shtml
Hope this helps.
Regards,
HuangTM Microsoft Online Partner Support MCSE/MCSD
Get Secure! -- www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights.
Hi Dave,
Thanks for your feedback. We are able to automate IE in .NET application,
however, we cannot attach to an existing IE window with automation. Based
on my experience and research, DDE may be the only solution for this issue.
Please feel free to let me know if you have any problems or concerns.
Have a nice day!
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: jonathan hunt |
last post by:
Does someone know the set of class and functions from the DDE module?
This module in the distribution of Python2.3 under the form of dde.pyd and with two examples: Ddeserver.py and Ddeclient.py....
|
by: bogdan romocea |
last post by:
Dear Python experts,
I'm facing a simple problem which however I'm having a hard time
solving. I have a DDE server with data that changes from time to time.
I need to put together a DDE client...
|
by: Dana Marcusanu |
last post by:
Hello,
I am trying to convert an Excel SpreadSheet to Python. The formula in
Excel for one of the cells is =DDE("ser1","ser2","ser3"). The name of the
server is ser1, ser2 is the topic, and ser3...
|
by: cybertof |
last post by:
Hello,
Is there a new native technoloy that would allow to do the same as DDE
within Excel, but more efficient and more robust and future proof ?
I mean the same as a real-time-values-update...
|
by: David Vestal |
last post by:
We have some .NET code, and we're attempting to use DDE to open a PDF
document and navigate to a bookmark in it using DDE. .NET doesn't support
DDE, so we hid the DDE behind a COM interface.
It...
|
by: stolikmc |
last post by:
I know .NET languages no longer support DDE. Is there a 3rd party library
that adds this back in? I have several applications that I'll be asked to
port to C# that communicate with instrument...
|
by: Dennis Myrén |
last post by:
Hi.
A recent thread at dotnet.general brought me back to DDE(Dynamic Data
Exchange) Interfaces.
I was trying to use the DDE API functions defined in user32.dll
to connect to and to control a...
|
by: M K via .NET 247 |
last post by:
I've got this code:
(Library GMDDE.dll)
namespace GMDDE {
delegate Int32 DDECall(Int32 uiType, Int32 uiFmt, Int32 hConv,
Int32 sz1, Int32 sz2, Int32 hData, Int32 lData1, Int32 lData2);
public...
|
by: Geoff Cox |
last post by:
hello,
I am writing Javascript using Homesite but if I try to use Firefox v2
as the browser I get the error message
"Firefox doesn't know how to open the address, because the protocol
(c)...
|
by: hemaltoknow |
last post by:
i write the code about this
CREATE OR REPLACE PROCEDURE Proc_Document IS
AppID PLS_INTEGER;
BEGIN
-- AppID := DDE.App_Begin('C:\Program Files\Microsoft...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
| |