473,748 Members | 10,058 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Browser launch working erratically

Hello -

I have successfully been using the following line of code to launch the
default browser from within my application. I recently got a report
from one of my users that it wasn't working on their machine. They are
using Win98 and said they had Firefox as their default browser then
switched over to IE and it still didn't work.

The qt_winTchar function turns a Qt library QString object into the
correct pointer for this function.

retval = (reinterpret_ca st<int>(ShellEx ecute( winId(), 0,
(TCHAR*)qt_winT char( url, true ), 0, 0, SW_SHOWNORMAL )) > 32 );

Does anyone have an idea about why this wouldn't be working for
someone? Thanks for your time.
-Sara

p.s. If there is another group that would be more appropriate for this
question, please let me know.

Nov 17 '05 #1
0 1029

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

Similar topics

20
3293
by: msa | last post by:
Hi there, First off, let me say that I know that launching to full screen is a bad idea. I would never do it given the choice, but I must follow orders from my boss, the boss that desparately wants a desktop application made out of Internet technologies. We're writing an application that has JavaScript enabled as a client machine requirement. We need to support Windows with IE 5+ and Netscape 7+ plus Mac with IE 5+ and Netscape 6.2+.
33
4075
by: randau | last post by:
Linking to a Targeted Browser Window I'd like to open reference links to other web sites in a separate browser window from the browser window hosting my own web site pages. The Link Target reserve word "_blank" opens a blank new browser window for every link, which can sometimes result in a lot of open browser windows. Is there no way to "reuse" a previously linked browser window and have it load the new web page in Foreground
1
1325
by: Big_Stu | last post by:
Hi all, I have an <asp:button> inside an <asp:table> and I am finding that the button click event doesn't fire at all! I have added the button to the initialize component event, and the table. The event fires when I change the access modifier to Protected, from Private, but then it fires only every so often, and there is no pattern. Can anybody tell me what is happening, why and what I need to do?
4
3891
by: Gary Brown | last post by:
Hi, I need a web browser capable of handling video streams and that will stay in front of the Z order. There are a number of video streaming sources I watch that launch a browser window containing the video from another browser page. I am almost always working on something else while following the video. Consequently the video disappears behind the application window I'm using. I've tried staggering my windows to avoid this but even...
3
2028
by: Scott | last post by:
I wish to have a link on a page that launches a new browser before it loads the target link. The standard _new and _blank include the parent browser's cookies. Is there an alternative method that excludes these cookies? Thanks in advance
6
2409
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I am thinking about doing this since I got several cases that some of our internal users open more than one browser at the same time from our server. When one of the transactions was not completed finished, the second browser jusk pick up some session variables from the first browser and process right after that. It messed up everything. I was thinking about use remote_addr, but it seems not working since we are behind the...
2
2463
by: David | last post by:
Hi All: Here's what may be a confusing question. I have an application which has a basic help window that is attached to a Windows application. It uses IE objects to render html text. The user isn't aware that the basic help window is an IE window since it has no controls on it. Within that window, however, are links to "advanced help" pages which I want to open in a new (full-size) window in the DEFAULT system browser. The problem is...
2
1682
by: jerseysbest | last post by:
OK, I'm relatively new with Access and VB as well, so bear with me, any help is greatly appreciated. I want launch a specific URL in a web browser (default browser) from a command button in a form and I need the URL to contain info from the db. So basically I need the URL to launch into the browser like this: "http://www.website.com/InfoLookup?Formone=DataFromFieldOne&Formtwo=DataFromFieldTwo&Formthree=DataFromFieldThree&Query=Submit" ...
1
1299
by: Erik Nodland | last post by:
Hi I know I'm being stupid but how can I specify what browser gets launched when I start debugging in VS2008. At the moment Firefox gets launched even though IE7 is my default browser. This means that my javascript debugging isnt working although I can debug in firebug I want to do it all from the IDE. Many thanks
0
8823
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9530
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
9363
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
9238
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
8237
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...
0
4593
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...
0
4864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3300
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
3
2206
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.