<a href="file://c:/abc.txt" target="_blank">abc</a> works ok in my version of Firefox, which is 3.6.13
The only other thing I can think of: do you have a <base> tag in your html? This sets the base address of all links.
I would be willing to take a look at your complete html file if it isn't...
Have you tried giving an explicit file protocol as in the following example?
<a href="file://C:/Documents and Settings/Administrator/My Documents/VBScripts/HTML/FirefoxFileLinks/aFolder/TextFile.txt">Text File</a>
OfficeAnimal,
I have attached a flash video showing how to accomplish what you want. You have missed out the step that TonyJollans mentioned: check the box for "all new documents based on this document".
http://www.stthomas.uk.net/Documents/DocumentStyles.swf
If you look in the code I posted, ActionQuery is defined as a sub:
I repeat it here:
Private Sub ActionQuery(ByVal sql As String, ByVal oConn As OleDbConnection)
Dim oCmd As OleDbCommand
oCmd = New OleDbCommand(sql, oConn)
oCmd.ExecuteNonQuery()
End Sub
'The form for the sample project below has:
'a DataGridView
'a button named ExecuteADO
'a button named CloseForm
'You should be able to adapt the rest to your own use
Imports System.Data.OleDb
Public Class ADOExample
Dim MyDocs As String, DataSource As String
Private Sub...
Your original will also have a problem when the answer to your calculation isn't one of the values in the option list. For example, 40cm has no equivalent in the feet and inches section.
This is my simplified version using a span for the answer:
<HTML>
<HEAD>
<TITLE></TITLE>
<script...
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.