473,326 Members | 2,061 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,326 software developers and data experts.

Trying to launch a page from the code.

Hi,

I was wondering if anyone can help me. Im working with Visual C++
1.52, (16-bit). Trying to launch a site from the code. I've tried
using WinExec and ShellExecute, but with no luck. Both only work for
links with up to 120 characters or so, but my link is much much longer
and will keep changing in the code. Also tried the batch file, still
only takes a string up to a certain length. Anyone knows of anything
else I can try.

Thanks in advance,
Vicky
Jul 22 '05 #1
3 1331
"Vicky" <ki*****@hotmail.com> wrote in message
news:b2*************************@posting.google.co m...
Hi,

I was wondering if anyone can help me. Im working with Visual C++
1.52, (16-bit). Trying to launch a site from the code. I've tried
using WinExec and ShellExecute, but with no luck. Both only work for
links with up to 120 characters or so, but my link is much much longer
and will keep changing in the code. Also tried the batch file, still
only takes a string up to a certain length. Anyone knows of anything
else I can try.

Thanks in advance,
Vicky


I'd be very surprised to find that ShellExecute has a 120 character length
limitation on URLs but you're better of following this up in a WIN32
newsgroup such as news:comp.os.ms-windows.programmer.win32.
Jul 22 '05 #2
cob
"Vicky" <ki*****@hotmail.com> wrote in message
news:b2*************************@posting.google.co m...
Hi,

I was wondering if anyone can help me. Im working with Visual C++
1.52, (16-bit). Trying to launch a site from the code. I've tried
using WinExec and ShellExecute, but with no luck. Both only work for
links with up to 120 characters or so, but my link is much much longer
and will keep changing in the code. Also tried the batch file, still
only takes a string up to a certain length. Anyone knows of anything
else I can try.


Link to a smaller sized URL that has a meta "refresh" tag in the header
section that points to your larger sized URL...

Google on "meta tag refresh" for the syntax
Jul 22 '05 #3
Better late then never:
THANK YOU VERY VERY MUCH FOR ANSWERING TO MY QUESTION. MY PROBLEM HAS
BEEN SOLVED. THANKS A MILLION!!! THANKS FOR YOUR HELP!!!

-VICKY
Jul 22 '05 #4

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

Similar topics

4
by: Caroline | last post by:
I'd like to launch an executable file from a web page. Basically, the user enters seven parameters and then clicks a button to generate a graph. The input is written to a file and then read by...
4
by: aure_bobo | last post by:
Hi all, I'm currently developping a web app, and this one must be compatible with IE and Mozilla Firefox. In this webapp, I would like to launch automatically a anchor link (href) with a...
2
by: nss | last post by:
hi, I created web page ( .aspx) then i imported datagrid on that page with dataset. But when i launch the page on web server the datagrid is invisiable. Can someone help me how i can make it...
1
by: Jacob | last post by:
I have several web apps that I want to redirect to a new page, but have that page open in a new browser window. The basic scenario is that I have a CrystalReport object that gets created and...
5
by: Frank | last post by:
The following code will not work in my shtml page at all and I can not figure out the reason. I get the error that there is a "Type Mismatch 'Launch'" when i click the button. If i change the...
2
by: cj | last post by:
Say I could say for a fact the program would work only with Outlook. Does outlook make any methods or properties available that would allow me to launch it and populate subject and body? How...
11
by: David Thielen | last post by:
Hi; In a page, when the user clicks on a button, I want to validate all the controls (in the code behind) and then if they are good, leave that page alone and launch a new window with a new url...
7
by: dongarbage | last post by:
Hi there, I'm very new to activex controls and c# programming. I'm writing a c# application and I want it to be invoked when my users click a button on a web page. Its an application with a...
2
by: BLUE | last post by:
FirstClass members: - static int counter; - SingletonClass sc = SingletonClass.Instance; Moreovere FirstClass uses a static class named SecondClass with a static property...
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
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...
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: 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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
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

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.