SAMPLE: SSApplet.exe Connects to SourceSafe Through a Web Site Using Java (219405)



The information in this article applies to:

  • Microsoft Visual SourceSafe for Windows 6.0
  • Microsoft virtual machine
  • Microsoft Visual J++ 6.0

This article was previously published under Q219405

SUMMARY

SSApplet.exe is a sample that attaches to a Visual SourceSafe database and allows SourceSafe actions to occur through a Web site.

This sample was written using Visual J++ 6.0. It uses the Windows Foundation Classes for Java and contains the source code. It should be opened in and compiled from inside Visual J++.

In order for this sample to be used on a Web site, you must create a share called \\Werver\Wwwroot that is the root Web location. This share is used to display a list of files on the Web.

MORE INFORMATION

The following file is available for download from the Microsoft Download Center:
Release Date: Jan-21-2000

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

FileNameSize
Codebase.dat29 bytes
Default.htm990 bytes
DLL.java2,201 bytes
IVSS.java1,323 bytes
IVSSCheckout.java2,410 bytes
IVSSCheckouts.java1,781 bytes
IVSSDatabase.java2,701 bytes
IVSSEventHandler.java1,269 bytes
IVSSEvents.java4,785 bytes
IVSSItem.java7,610 bytes
IVSSItems.java1,770 bytes
IVSSVersion.java2,456 bytes
IVSSVersions.java1,317 bytes
VSSDatabase.java3,052 bytes
VSSFileStatus.java937 bytes
VSSFlags.java2,776 bytes
VSSItem.java8,108 bytes
VSSItemType.java865 bytes
VSSVersion.java2,807 bytes
SSApplet.sln513 bytes
SSApplet.suo8,192 bytes
SSApplet.vjp24,174 bytes
SSApplet_high.htm9,473 bytes
SSApplet_low.htm3,137 bytes
t0.gif284 bytes
t1.gif293 bytes
t2.gif295 bytes
t3.gif288 bytes
upload.htm1,719 bytes
IActionTalker.java876 bytes
ICommandFeedback.java1,104 bytes
LList.java1,621 bytes
VSSApp.java1,239 bytes
VSSApplet.java1,397 bytes
VSSContextMenu.java6,104 bytes
VSSPanel.java25,170 bytes


Security

COM components can get access to any system resources. As such, they are both very powerful and potentially very dangerous. In the Microsoft virtual machine for Java (Microsoft VM) provided in Microsoft Internet Explorer 3.0 and later, only trusted class files can use COM components. Class files from digitally signed CAB files are trusted.

If the HTML file is run from Microsoft Developer Studio, the class files are also trusted. This can be very helpful during applet development. However, to deliver your applet to other users, you must put it in a signed CAB file.

Because this CAB file is run as an applet, the class file may be downloaded to your computer. There is a potential security threat in running downloaded software. To run a Java applet that uses COM components, the applet code must be trusted. For more information on CAB and Sign technology, look in the Cab&Sign folder on the Visual J++ CD-ROM. The Visual J++ CD-ROM also includes a sample called CabAndSign that gives step-by-step instructions on how to create CAB files and Test Certificates.


NOTE: The HTML page for this sample uses the Microsoft Agent to tell the user what to do and also to display error messages. See the "References" section to find more information about the Microsoft Agent.

REFERENCES

For the latest Microsoft Knowledge Base articles and other support information on Visual J++ and Visual SourceSafe, see the following pages on the Microsoft Technical Support site:
For more information about the Microsoft Agent, see the following page on the Microsoft web site:

(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Tom Christian, Microsoft Corporation.


Modification Type:MinorLast Reviewed:9/13/2005
Keywords:kbdownload kbAutomation kbfile kbhowto kbSample KB219405