Trying to launch a page from the code.

V

Vicky

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
 
J

Jarmo

Vicky said:
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.
 
C

cob

Vicky said:
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
 
V

Vicky

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,413
Latest member
KeiraLight

Latest Threads

Top