I got this working:
Dim fDialog As Office.FileDialog
Dim varFile As Variant
' Set up the File Dialog.
Set fDialog = Application.FileDialog(msoFileDialogFilePicker)
With fDialog
' Allow user to make multiple selections in dialog box...
I need a file browser window to open, and the user to pick a file from the browser, and have the file path and file name returned as a string. I have this code:
Function PickFolder(strStartDir As Variant) As String
Dim SA As Object, F As Object
Set SA =...
is there any way to detect whether they have javascript enabled or not?
Information is not Knowledge, Knowledge is not Wisdom, Wisdom is not Truth, Truth is not Beauty, Beauty is not Love, Love is not Music, Music is the best.
I have a web page that when it loads a confirm box opens likes this:
var agree = confirm("This is the confirm text.");
if (agree)
{
return true;
} else {
window.location.href = "http://www.google.com";
}
The problem is, that on one person's computer, when the page loads the...
I gave the identity for the application access rights to the server and to the sql database and I still have the same error on the asp page. Any thoughts?
I really want to be able to use windows accounts to control the permissions through the asp page using SQL server user access.
Information...
that makes sense. But if I use a specific user name and password that I set up on SQL Server, and give that user update rights to a table it works from the asp page, without giving the identity access rights. It seems it is only when I try to use a specific user account that is a windows login...
I found the identity of the application pool that is running in IIS that the asp page is part of. Should this identity be allowed access to the SQL Server?
Information is not Knowledge, Knowledge is not Wisdom, Wisdom is not Truth, Truth is not Beauty, Beauty is not Love, Love is not Music...
Thanks for the suggestion. I tried usine Trusted_Connection=Yes, but got this error:
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
any thoughts?
Information is not Knowledge, Knowledge is not Wisdom, Wisdom is not Truth, Truth is not Beauty, Beauty is not Love, Love is not Music...
I have a web application in ASP that updates a table in a SQL Server database. We have a windows network here. Is there any connection string for ADO using OLEDB that will persist the windows login information through to SQL Server?
This does not seem to work, even though the user is...
you win :-)
Information is not Knowledge, Knowledge is not Wisdom, Wisdom is not Truth, Truth is not Beauty, Beauty is not Love, Love is not Music, Music is the best.
actually, I changed the function name to "setOrderBy" and all is fine. Is orderBy a reserved word?
Information is not Knowledge, Knowledge is not Wisdom, Wisdom is not Truth, Truth is not Beauty, Beauty is not Love, Love is not Music, Music is the best.
I have an html hyperlink like this:
<a href="#" onclick="orderBy('ID');">ID</a>
right now the function is just this:
function orderBy(theField) {
}
When I click the hyperlink in IE I get this error:
Object doesn't support this property or method.
on the line with the hyperlink.
Why...
Yes, it is an internal only application. All users have standardized computers so it should work for everyone inside.
I have actually done this before using vb script and "WScript.Shell", but I cannot find my old scripts.
Information is not Knowledge, Knowledge is not Wisdom, Wisdom is not...
I want to open a tif image file using Windows Picture and Fax Viewer over the web via a hyperlink. However, I get prompted to save or open the file. Can this be done using vbscript and wscript.shell?
Dim objWShell
Set objWShell = CreateObject("WScript.Shell")...
monksnake, thanks for the info. I did change it so the url contains the variable I need in the receiving page. It works fine.
I have done some checking on the web and it seems that the server perceives the request to the receiving asp page as a new session. So it makes sense that the session...
I'm thinking that the server looks at each xml http request as a separate session. Is this correct?
Information is not Knowledge, Knowledge is not Wisdom, Wisdom is not Truth, Truth is not Beauty, Beauty is not Love, Love is not Music, Music is the best.
I have an asp page that sends an xml http request to another asp page which sends back some data. In the page sending the request, there is a session variable. The page receiveing the request uses that session variable. However, the page receiving the request is somehow not "getting" the...
no
this linke works:
<a href="\\myserver\the pdf file.pdf">
this does not:
<a href="\\myserver\the pdf file.pdf" target="_blank">
a browser window opens with the correct path, but no pdf file. If I copy and paste the address into a new browser then the pdf file loads.
Information is not...
another thing is that it is not a webserver, it is a location on the network.
Information is not Knowledge, Knowledge is not Wisdom, Wisdom is not Truth, Truth is not Beauty, Beauty is not Love, Love is not Music, Music is the best.
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.