There doesn't seem to be a wizard in VS7, but that does not stop development of ActiveX documents in C++.
However that is another story if not familiar with C++.
Add the Shockwave Flash control from the project/components menu.
Add it to a form in your project and look at the properties of the component.
In "movie" enter the movie name, important "The Full path c:\etc..." or it won't work.
Thats it the movie is on the form and...
Try Migrating the game to ActiveX Documents using the wizard in VB6.
Create an installation cab using the wizard including any runtimes etc. and deploy to the webserver.
Steve
when you compile the project on the project properties unclick "Upgrade ActiveX Controls".
When you use the install shield program only include the items needed for your application that will not be already installed on the 2000 machine.
That should do it.
Steve
A massive OCX is not really the solution.
Check out ActiveX Documents when creating a new project.
This is what they were designed for.
Hope this helps
Steve
Suppose for example you want to know the class id of the Autodesk map control.
1) Open up regedit from the start/run menu
2) Select HKEY_CLASSES_ROOT
3) Look down the list until you see the Autodesk.MGMap key
4) Click on it and you will see the CLSID key
5) This has the registered class
In VB...
By using the Javascript "src=" tag Javascript can be created dynamically and asp executed on an html page.
Example
On the HTML page
<script Language="Javascript" src="test.asp"></script>
<script Language="Javascript">
alert('First Name = '+fname);
alert('Second Name = '+sname)...
Use CDONTS to send Email, as the method you have shown will throw a security warning alert on modern browsers.
The reason is that the details are "sent in the clear" with this method.
Steve
The way to do it is to create a Java applet.
and a sample file from the server.
import java.applet.*;
import java.io.InputStream;
import java.io.IOException;
import java.net.URL;
import java.net.MalformedURLException;
import java.util.Date;
public class bandwidth extends Applet
implements...
This should do it
The Client side
<script language=javascript>
Myfunc(){
var myvar1 = x;
var myvar2 = y;
location.href='http://www.mymachine/myasp.asp?myvar1='+x+'&myvar2='+y';
}
</script>
The Server Side
<%
Response.Status = "204"
Session("myvar1") =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.