By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,406 Members | 982 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,406 IT Pros & Developers. It's quick & easy.

Trying to launch a page from the code.

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
"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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.