Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

pass string from c++ to asp page

Posted on 2006-11-08
7
Medium Priority
?
271 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
Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

 
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 200 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

Independent Software Vendors: 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!

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

704 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