Solved

How to get the codebaseUrl from server?

Posted on 2004-08-30
2
143 Views
Last Modified: 2010-04-24
I have an Internet application developed using jsp.In one of the Jsp I will
download one activeX control and run int the client machine.I am writting the activex code
written in VC++ and in there I want the BaseUrl of the server. how to get it?
0
Comment
Question by:Subramanya
2 Comments
 
LVL 16

Accepted Solution

by:
nonubik earned 125 total points
Comment Utility
If you use managed code, call Dns::GetHostName();
If you use unmanaged code, call gethostname(name, namelen);
0
 

Author Comment

by:Subramanya
Comment Utility
What I am asking is the URL of the server from which the Activex component gets downloaded.
0

Featured Post

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.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Destory  window  not working 2 128
Threading Question in Visual C 1 53
please insert disk adobe master collection6 9 330
Setup project 6 56
The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

7 Experts available now in Live!

Get 1:1 Help Now