|
Thanks for the response but it was the URLScan component of IIS Lockdown wheich was restricting the downloading of exes. God know why
|
|
|
|
|
URLScan blocks exes because they might run on the server, depending on the configuration. You can comment out the exe extension in the DenyExtensions section of the urlscan.ini file [%systemroot%\system32\inetsrv\urlscan\urlscan.ini ], or create an asp page to handle the request and Response.BinaryWrite the file.
|
|
|
|
|
Hi All
I have a data populated in HTML table (3 columns, mutiplerows), I have a text box in the col1,row1. when I press Tab button the focus goes to col2,row1 then col3,row1...what I need is how to make the tabing goes from col1,row1 to col1,row2???????
Thanks in advance
|
|
|
|
|
If you set the tabindex property of the text boxes you can control the tab flow.
|
|
|
|
|
Is there a way to import Excel-files with ASP and can you put the data into a database (like MsSQL)
Thanks!!!
Morten
|
|
|
|
|
Yes, you can use ADO to read from the Excel file, or just the Excel COM objects if it is installed.
--
David Wengier
Sonork ID: 100.14177 - Ch00k
|
|
|
|
|
Hi,
Here's what I'm trying to do:
I have a local application which stores data (locally) in an access or SQLServer database. What I need to do is pass a subset of that data to a remote database on the internet. There are a couple of provisos though - can only use c++/WIN32 on the client (no MFC or .Net), can use any damn technology on the server.
Here are a few methods I have considered:-
1) Convert to XML locally, upload to server using FTP, parse using XML control from ASP page and write into DB. (bit cludgy)
2) Convert to XML string , write to ASP page as HTTP POST and parse in ASP page.
3) Use some crazy new .NET technology (on the server only) to accomplish this for me?
The amount of data transmitted is likely to be pretty small (~10K).
Anybody have any thoughts/suggestions??
Cheers
|
|
|
|
|
Use SQLXML on the server.
|
|
|
|
|
Does this allow you to insert into the remote DB. I've had a quick look on MSDN and it looks like it can be used to query remote data sources but I need to insert. I also need the client to work without any special software (like SOAP or .NET).
Can you point me at any links or other info?
Cheers
|
|
|
|
|
Not sure if this will help you but it could be a start
|
|
|
|
|
James Spibey wrote:
I have a local application which stores data (locally) in an access or SQLServer database.
Which one? If you have SQL Server as your source you could create a DTS package to grab information and push it out to another source.
Nick Parker
|
|
|
|
|
How do you create page templates? Do you use the old fashioned #include to bring in headers and footers, or create user controls that contain aggregated user controls and HTML for your headers and footers, or do you rely on CodeBehind and inject headers/footers before/after the Rendering?
cheers,
Chris Maunder
VC++ - the language that doesn't say 'no'
|
|
|
|
|
I've used the user control method.
|
|
|
|
|
That's a really good question. I have just started building my own site and have designed a quite pretty default.aspx with three web controls (header, footer, and navigator), all arranged with tables. Now I am confronted with the same problem. How to keep all pages consistent? I thought of using plain vanilla #include s, but still didn't come to a decision
Regards
Thomas
Sonork id: 100.10453 Thömmi
Disclaimer: Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.
|
|
|
|
|
I've decided to use the old fashioned #include method to keep things neat and simple
cheers,
Chris Maunder
|
|
|
|
|
Is there anyone who know how to inport excel files into an database with ASP.NET.
Thanks!!
Morten
|
|
|
|
|
You would use ADO.Net with a special driver for connecting to an Excel spreadsheet and then make another connection to a real database and shove the stuff in there.
David Stone
dstone@newcenturytitle.com
MEEKNESS, n. Uncommon patience in planning a revenge that is worth while.
The Devil's Dictionary, Ambrose Bierce
|
|
|
|
|
I want do some action in HTML and it auto close window, somebody can help me??
thanks!!!
|
|
|
|
|
to close the window just put "self.close();" in.
e.g.
<script language="Javascript">
alert('hello world!');
self.close();
</script>
|
|
|
|
|
I have variable in parent window, can use it in child window???
whats a code???
--- my code here in HTML
<script language = javascript>
var s;
s = inputtext(); // function I have
</script>
create one Window; // child window
--- code in child window
<script language = javascript>
document.write('Hello ' & s);// s is variable in parent window
</script>
can send s (variable) to child window??
I was try the code, but it have problem that s isnot define.
please help me!!!
|
|
|
|
|
How did you expect it to get there ? Magic ?
If your child window is called child.asp, then open it like this:
child.asp?s=27
although s is a poor variable name.
Now in the child you can set s to = <%Request.QueryString("s")%>, in otherwords, get VBScript to read it off the URL and set the javascript variable with it.
Christian
I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002
|
|
|
|
|
You can use the "opener" property to access the parent window.
ciao.
- SONORK ID 100.17421 : b0nu$ -
|
|
|
|
|
My web service uses ITC,
<webmethod()> Public Function DownloadHtml() As String
Dim s As New InetCtlsObjects.Inet()
s.AccessType = InetCtlsObjects.AccessConstants.icUseDefault
s.Protocol = InetCtlsObjects.ProtocolConstants.icHTTP
Dim url As String = "http://www.yahoo.com"
s.URL = url
Dim m As String
m = s.OpenURL(url, InetCtlsObjects.DataTypeConstants.icString)
Do Until s.StillExecuting = False
Loop
DownloadHtml = "result=" & m
End Function
I always get an empty string as result. What did I do wrong?
|
|
|
|
|
I have a web service setup as:
<webmethod()> Public Function DownloadHtml() As String
Dim s As New InetCtlsObjects.Inet()
s.AccessType = InetCtlsObjects.AccessConstants.icUseDefault
s.Protocol = InetCtlsObjects.ProtocolConstants.icHTTP
Dim url As String = "http://www.yahoo.com"
s.URL = url
Dim m As String
m = s.OpenURL(url, InetCtlsObjects.DataTypeConstants.icString)
Do Until s.StillExecuting = False
Loop
DownloadHtml = "result=" & m
End Function
But I always get an empty stringas result. What did I do wrong?
|
|
|
|
|
I read in a book on ASP that it's good to develop your asp
web using IIS and SQL Server but:
-I can't install SQL server on Windows XP
-When I create a project with Interdev running on Windows XP
platform, Visual Interdev can,t connect with Web Server(I
have already install IIS and test it).
Please Help Me
|
|
|
|