Solved

Need help about join string or substitute variable in VB6.

Posted on 2004-05-03
6
517 Views
Last Modified: 2008-02-01
I want to create string

ttid = 1234
ccid = 5678
http://localhost/sendkey.asp?tid=ttid&cid=ccid

how can I join string or substitute variable ttid and ccid that will make output should be link this
http://localhost/sendkey.asp?tid=1234&cid=5678
0
Comment
Question by:njtd
  • 2
6 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 50 total points
ID: 10975793
ttid = 1234
ccid = 5678
YourString = "http://localhost/sendkey.asp?tid=ttid&cid=ccid"
YourString = replace(YourString,"ttid",ttid)
YourString = replace(YourString,"ccid",ccid)
msgbox YourString
0
 
LVL 6

Expert Comment

by:PhilAI
ID: 10976252
Damn, you beat me to it Dhaest! :D
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 10976782
Only a C-grade ???
Isn't your problem solved then ?
Please read http://www.experts-exchange.com/help.jsp#hi73.
Remember: if you give to many C-grade, experts are not so quick anymore to help you with your solving your problems...
0
 

Author Comment

by:njtd
ID: 10994510
I'm so sorry but how can I adjust grade to B.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VBA to format 3 80
Help in WHSCRIPT 9 41
Use Multiple Forms 4 38
vb6 - Transfer from MSHFlexgrid1 to xls issue 8 12
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

757 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

23 Experts available now in Live!

Get 1:1 Help Now