Solved

pass string from c++ to asp page

Posted on 2006-11-08
7
253 Views
Last Modified: 2010-08-05
How do I pass a string from c++ to an asp page?
0
Comment
Question by:eddiepardon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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…

749 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