Solved

Passing Value from HTML Page to VB Application

Posted on 2004-04-19
11
235 Views
Last Modified: 2007-12-19
I want to pass value from a link on HTML page to a VB application. parameter can be passed using the command line, but that is not the desired solution.

Soluton should be some way to pass the value from HTML using a href tag to a VB Application and in VB application that value should be stored.

quick response is required....

Thanks in Advance....
0
Comment
Question by:harsac
  • 4
  • 4
11 Comments
 

Author Comment

by:harsac
Comment Utility
Is there any posible solution ???????????????????
0
 
LVL 1

Expert Comment

by:balant
Comment Utility
what's a problem with command line arguments?

PKB
0
 
LVL 6

Expert Comment

by:DominicCronin
Comment Utility
The usual way of using VB as the back-end for a web page is to use ASP. You can use VB to create a COM dll, which you can then access using Server.CreateObject(). To pass information from one to the other, simply add a function or property to your COM class, and call it from ASP

Follow this link for more information: http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28000522

0
 

Author Comment

by:harsac
Comment Utility
Problem with command line is that I have N number of "HTML pages" ( cant be ASP) and from these N number of pages there will be some links on some pages. On click on these links, same VB exe will be called but with a different parameter attached. this attached parameter will be used in the VB application for some calculations ......

Looking for some solution.....
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 6

Expert Comment

by:DominicCronin
Comment Utility
Can you explain why it can't be ASP? Are you using a web server that doesn't support it? What technologies do you have available for running server side code? It's quite likely there's a way to wire up some plumbing to get to COM.
0
 

Author Comment

by:harsac
Comment Utility
I am not using any server, thats why ASP cant be used... its something like a stand alone application on a single system..... in which few simple HTML pages might be there which may have links to a VB application with different parameters from each link. These parameters can be used somewhere in the VB exe.....

Solution without using command line arguments is required......
0
 
LVL 6

Expert Comment

by:DominicCronin
Comment Utility
In which case, you can use client side scripting techniques. The script is embedded in <script> tags in your HTML page, and from there, you can access ActiveX objects (i.e. COM components). There are some security implications - for example nowadays your browser is probably configured not to allow ActiveX objects even if they are marked as safe for scripting. (Marking a script as safe for scripting involves adding a registry key that lets your browser know that it's OK to run the object - this is necessary, because your browser will also download activex objects from the Internet.)
0
 

Author Comment

by:harsac
Comment Utility
Can you elaborate more on that??
0
 
LVL 6

Accepted Solution

by:
DominicCronin earned 500 total points
Comment Utility
A good starting point for reading up on client side scripting would be the Internet Explorer developer centre at:

http://msdn.microsoft.com/ie

For the security implications, try this one:

http://support.microsoft.com/default.aspx?scid=kb;en-us;308260
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Writing a parser for java language 4 60
countHi challenge 25 84
word0 challenge 4 52
Problem to event 3 49
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This video teaches viewers about errors in exception handling.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

744 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

16 Experts available now in Live!

Get 1:1 Help Now