Solved

pass string from c++ to asp page

Posted on 2006-11-08
7
220 Views
Last Modified: 2010-08-05
How do I pass a string from c++ to an asp page?
0
Comment
Question by:eddiepardon
  • 4
  • 2
7 Comments
 
LVL 4

Expert Comment

by:hclgroup
ID: 17899510
Could you a little more specific about what you are trying to do?
0
 

Author Comment

by:eddiepardon
ID: 17899568
Basically I have a string named sUserID. I want to pass this string from the C++ Application to an ASP page that is called by the C++ Appl. After the asp page receives it, it will do some validation.
0
 
LVL 4

Expert Comment

by:hclgroup
ID: 17899587
Do you need to get anything in return?
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 4

Expert Comment

by:hclgroup
ID: 17899633
Is your asp page using post or get?
0
 

Author Comment

by:eddiepardon
ID: 17899666
Nothing needs to be returned. asp is using get (That can change if need be).
0
 
LVL 4

Accepted Solution

by:
hclgroup earned 50 total points
ID: 17899750
#include <windows.h>

void main()
{
   ShellExecute(NULL, "open", "http://your_asp_page.asp?value='" + strValue + "'", NULL, NULL, SW_SHOWNORMAL);
}
0
 
LVL 6

Expert Comment

by:_iskywalker_
ID: 17900308
easier would be to save in a temp file.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
scoreUp challenge 14 48
VBA color chart bars 12 66
Tembedded WB animatid gifs not animated on some pcs 2 34
C# Error - Add Failed 12 49
I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now