473,320 Members | 1,853 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,320 software developers and data experts.

Small application

I want to create an .exe application to be run in a Windows XP
environment for users to be able to test the status of a list of URL's
from their computer, using the connection settings of their default web
browser. Second requirement is that I collect information on the
default browser, like version, plug-ins, etc... Is this possible to do
in a C++ application?

If so any suggestions/examples out there to get started...

Thanks

Aug 4 '06 #1
3 1713
tr****@gmail.com wrote:
I want to create an .exe application to be run in a Windows XP
environment for users to be able to test the status of a list of URL's
from their computer, using the connection settings of their default
web browser. Second requirement is that I collect information on the
default browser, like version, plug-ins, etc... Is this possible to do
in a C++ application?
Yes.
If so any suggestions/examples out there to get started...
See 'microsoft.public.*' hierarchy of newsgroups for the proper one to
post to. None of what you want is part of the C++ _language_, and that
makes it off-topic here, but it is probably provided in different pieces
of Windows API, so...

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Aug 4 '06 #2
trpost wrote:
I want to create an .exe application to be run in a Windows XP
environment for users to be able to test the status of a list of URL's
from their computer, using the connection settings of their default web
browser. Second requirement is that I collect information on the
default browser, like version, plug-ins, etc... Is this possible to do
in a C++ application?
Unfortunately yes.

However, you will be half-done if you download and run one of the many test
rigs for IE that are written in a softer language. Try Watir; you will be
there before you know it.

What you need is not possible in raw C++ (and hence is off-topic for this
newsgroup). Using MS's C++ system, you can write lines like #import
<mshtml.dll>. Then you must learn ATL-style COM, which is not pretty.

Softer languages, like Ruby or Python, make COM absurdly easy.

Yet more evidence those languages are clearly inferior to the mighty C++!
;-)

--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!
Aug 4 '06 #3
Phlip wrote:
trpost wrote:
>I want to create an .exe application to be run in a Windows XP
environment for users to be able to test the status of a list of URL's
from their computer, using the connection settings of their default web
browser. Second requirement is that I collect information on the
default browser, like version, plug-ins, etc... Is this possible to do
in a C++ application?

Unfortunately yes.

However, you will be half-done if you download and run one of the many test
rigs for IE that are written in a softer language. Try Watir; you will be
there before you know it.
What the OP needs is a decent library to support his needs, not a
language. If there is a library (in fact, so many of them) that meets
the OP's needs and exposes the same interface to C++ as well as other
languages then I don't see why using it in C++ is more difficult.
>
What you need is not possible in raw C++ (and hence is off-topic for this
newsgroup). Using MS's C++ system, you can write lines like #import
<mshtml.dll>. Then you must learn ATL-style COM, which is not pretty.
No. Language extension is the last thing you need. You need a library,
not a language feature. Use the Microsoft VC++ extensions and you will
risk breaking your code when Microsoft feels like to make a change.
>
Softer languages, like Ruby or Python, make COM absurdly easy.
They do make a limited set of COM functionality absurdly easy. What if
the OP wants a different apartment model (OT here, sorry)? Pick the
language that best suit the needs, and only the OP knows exactly what he
wants.

Regards,
Ben
Aug 5 '06 #4

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

Similar topics

13
by: Atlas | last post by:
I've developed years ago a small business application (about ten tables, basic relationships, 10 forms, 3 reports a few queries) with Borland Paradox 7, most of it developed with wizards and little...
2
by: Izaak | last post by:
Here is the issue. I am creating a module/WebApp that interacts with the new small business accounting 2006 beta SDK. The SDK requires a top level object to be created. I then use the...
0
by: Izaak | last post by:
Here is the issue. I am creating a module/WebApp that interacts with the new small business accounting 2006 beta SDK. The SDK requires a top level object to be created. I then use the...
3
by: codemonk | last post by:
After reading Extreme Programming adventures I am starting to think more about the design of my applications. I was wondering how I would structure a new, small VB or C#.NET Windows application. ...
8
by: Robert Bravery | last post by:
Hi al,, New to VB.net. What methods should I use in ordewr to create a small exe application that can call other libraries. I am in the process of creating a rather large application, I don't want...
1
by: Matthew Hixson | last post by:
I am currently working on a Java web application in which we are making use of the JDBC driver for Postgres 7.4.1. Part of our application allows the administrators to manage a large number of...
13
by: Alan Silver | last post by:
Hello, MSDN (amongst other places) is full of helpful advice on ways to do data access, but they all seem geared to wards enterprise applications. Maybe I'm in a minority, but I don't have those...
1
by: Burt | last post by:
We (IT) frequently have one off requests for one off processes, pages, etc (load a file into a db, compare data from two tables, place a text file on a number of shares, etc). What we end up with...
4
by: =?Utf-8?B?VzFsZDBuZTc0?= | last post by:
When one architects a new project one of the first steps in the decision is to decide on the layers. (In my opinion anyway) One architecture that I have used before is to go solid OO and create...
169
by: JohnQ | last post by:
(The "C++ Grammer" thread in comp.lang.c++.moderated prompted this post). It would be more than a little bit nice if C++ was much "cleaner" (less complex) so that it wasn't a major world wide...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.