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
Solved

pass string from c++ to asp page

Posted on 2006-11-08
7
247 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What is Python programming? 3 122
Image decoding from Camera 3 96
Is it possible to programatically fill out a fillable ADOBE PDF form? 9 99
Advice in Xamarin 21 96
This article will show, step by step, how to integrate R code into a R Sweave document
A short article about problems I had with the new location API and permissions in Marshmallow

840 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