|
hi,
I dont remember having made any configuration changes to my user accounts, as well as windows. the only change that might have happened on my computer, is I have installed a few programs. thats all.
|
|
|
|
|
...and I'm assuming you've stopped and started services on your local instance of IIS and that there aren't any other issues that've popped up recently?
Can IIS even serve an ordinary HTML page from the default web server, i.e., from wwwroot?
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
Hello everybody! =)
I have a rather irritating problem.. I'm designing a homepage with two frames. One top frame with some kind of a navigation menu in it, which I want to be centered vertically in the frame, no matter what text size is selected in IE/other browser. Can it be done with a simple selector or something in CSS, or do I have to use some dynamic coding to move it when the frame has loaded or something?
Thanks for any help or suggestions! (as long it's not about removing the frames entirely
|
|
|
|
|
how about:
<center><div align="center">My Menu Goes Here</div></center>
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
I thought "horizontal" meant the <------------> direction..?
|
|
|
|
|
ooops. me not read english too good no more.... Vertical, you say? How 'bout a table with height="100%" then?
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
As far as I'm concerned you HTML does not provide for vertical alignment (in accordance to the HTML 4 spec at least). But what you can try is either build a frameset into the menu frame, where you place 3 rows like and specify the sizes like this: rows="*,15,*". Then the two "buffer" frames will ensure that your middle frame is displayed vertically centered.
If you don't want to mess around with frames, you can try it in a table, but you'll get problems getting this x-browser ready. I've done it a couple of times but IE on Mac always screws it up. As height for the top and bottom table row (the buffers) provide a "*". But I've warned you, this works only it a couple of browsers
HTH
Matthias
If eell I ,nust draw to your atenttion to het fakt that I can splel perfrectly well - i;ts my typeying that sukcs.
(Lounge/David Wulff)
www.emvoid.de
|
|
|
|
|
I'm fairly new to ASP so forgive me! I have a access database, I want to create a form that has three fields (tapename, backupdate, returndate), I want to have a checkbox that when checked gives you an option to add more items... i.e. If I have three tapes to enter into the database, I want to be able to add all three at once. any ideas would be great. thanks in advanced.
Kleith
|
|
|
|
|
I am not sure what you're driving at; code examples, if you have any, are always a helpful starting point in any discussion. If you haven't written any code yet, try to find another similar example here on CodeProject or another ASP-specific site. In general though, yes, it is feasible to produce a page that posts back to itself and waits for you to make another entry after saving the last entry, or to build a page that contains a table filled with rows of text boxes that you iterate through to add multiple records.
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
below is the code I have so far (the form), I have this inserting into my database fine (code not included). I have looked on this site but don't really see a sample of what I want, can you point me in the right direction.
Please enter the required information
below: | Tape name: |
* Required | System information: |
HP
LAN
NetBackup
* Reguired | Type of Backup: |
Full
Month End
Year End
Incremental (Daily)
*Required | | |
|
|
|
|
|
the easiest way to do multiple upload type things is to allow for say 5 or 10 at a time and build the control on the page as normal ... on the submit just cycle thru looking for non-empty entries
"there is no spoon" biz stuff about me
|
|
|
|
|
I tend to agree with Lauren. Make something like this:
<form method="POST" action="thispage.asp">
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td>Tape Name</td>
<td>Type</td>
<td>System</td>
</tr>
<tr>
<td>
<p><input type="text" name="T1" size="20"></p>
</td>
<td><select size="1" name="D1">
<option value="1">Type 1</option>
<option value="2">Type 2</option>
<option value="3">Type 3</option>
</select></td>
<td><select size="1" name="D4">
<option value="1">System 1</option>
<option value="2">System 2</option>
<option value="3">System 3</option>
</select></td>
</tr>
<tr>
<td><input type="text" name="T2" size="20"></td>
<td><select size="1" name="D7">
<option value="1">Type 1</option>
<option value="2">Type 2</option>
<option value="3">Type 3</option>
</select></td>
<td><select size="1" name="D9">
<option value="1">System 1</option>
<option value="2">System 2</option>
<option value="3">System 3</option>
</select></td>
</tr>
<tr>
<td><input type="text" name="T3" size="20"></td>
<td><select size="1" name="D8">
<option value="1">Type 1</option>
<option value="2">Type 2</option>
<option value="3">Type 3</option>
</select></td>
<td><select size="1" name="D10">
<option value="1">System 1</option>
<option value="2">System 2</option>
<option value="3">System 3</option>
</select></td>
</tr>
</table>
<p><input type="submit" value="Submit" name="B1"></p>
</form>
Then, when you post, check each of the textboxes and each of the drop down lists to determine if a value was entered or not.
Yes, you could also use a checkbox that asks "enter more values" but that could get repetitive for the person using the app.
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
Hi,
I am using ASP, VB & SQL Server in my application. I have written an Stored Procedure which containts multiple SELECT statements (returns multiple recordsets),
which in turn is returned to VB (middle tier). The connection to the database is established using ODBC layer. The recordset returned to VB from SQL is then returned to ASP. If I try to use NextRecordSet method of the returned recordset it gives me the error:
Current provider does not support returning multiple recordsets from a single execution.
If I directly connect to the Stored Procedure from ASP & then use NextRecordSet method & it works. Also, if I use NextRecordset method in VB after returning multiple recordsets from Stored Procedure then it works.
But it does not work when ASP calls VB which in turn calls Stored Procedure.
Please help.
Thanks
Hitesh
|
|
|
|
|
Without trying it out for myself, it seems like the problem could be that your VB object is returning a static, in-memory recordset, and not a reference to a dynamic recordset. It isn't clear to me that it is possible to return a dynamic recordset along with the ability perform subsequent method calls -- since that implies that the connection state is still open, that the VB object persists everything correctly, etc., especially since, in most cases, people do things like:
Set rs = vbObject.GetRecordSet(para1, para2)
Perhaps, the alternative would be:
vbObject.StartRecordSet para1, para2
Do While Not vbObject.RecordSet.EOF
...
Loop
vbObject.GetNextRecordSet
Do While Not vbObject.RecordSet.EOF
...
Loop
and then the implementation of the recordset is internal to the object?
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
hello all,
Can anyone suggest good articles/tutorials etc. for this?
I need to put in a search engine for our organization which will search only within the pages of the organization's domain.
Can I use Google for this?
Regards,
Tiruvan
|
|
|
|
|
I guess this forum is only for questions....not answers
Regards,
Tiruvan
|
|
|
|
|
Well, perhaps you should have started with Google! The answer is "yes" you can use an existing search engine for searching your domain, if your domain is open to the public. Google has information about how to do this on its site, under services or some such thing.
If you are interested in implementing your own search engine, you can try to implement index services under IIS, or you could buy an appliance that hosts the search function and "plugs in" to your site.
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
I have one ISAPI dll developed in Delphi 5.0. I want to debug that dll. For that matter I am running the service interactively that means as a process. To do this i have done all the setings like,
Adding domain user to local policies User rights- Act as a part of operaing system, Generate Security audits. Log on locally etc.
Also i have stopped the service W3svc, ftp, smtp and iisadmin and have made thier mode manual. I was able to make the inetinfo as a process. Then i have set the run parametrs of my application as -e W3Svc and i am running inetinfo.exe. But while degugging inetinfo starts, but it fails to start w3svc service and gives error - "The server was unable to logon the Windows NT account 'IUSR_PUN033' due to the following
error: A required privilege is not held by the client. The data is the error code.
For additional information specific to this message please visit the Microsoft Online
Support site located at: http://www.microsoft.com/contentredirect.asp. "
I am using OS - Win 2000 and IIS 5.0. can anybody help me in this. I don't know where I am going wrong.
|
|
|
|
|
Can’t get help how to make a client of my website download and run my ActiveX. I’ve created .inf (and an .ocx) files and created a .cab-file but the installation and registration doesn’t seems to work properly. I get the ”Unknown” status on an ActiveX in the Downloaded Program Files in my WINdir.
When I go into ”http://localhost/ WebSIMx/S/SIMx.html” it I get the prompt -> Yes, but the screen becomes empty.
My SIMx.html look like this:
<object id="SIMx" width="800" height="600
" classid="CLSID:8430C4BC-8DC1-4987-95AB-9ED7913CA4EC"
="" codebase="http://localhost/WebSIMx/S/SIMx.CAB#version=1,0,0,2">
I have ALL settings ”Enable” in my Internet Explorer.
How can I check there is no version-error?
Very pleased for help - APe
.....and justice for all
APe
|
|
|
|
|
My previous posting did not come out correctly. But you should be able to make out what is going on there...
Brendan
|
|
|
|
|
I need an image file to be validated, before it get uploaded. It must just check if the file is greater than a certain size, and that it is JPEG. I do this using the FSO. Is this the best way to do it, and if so, am I doing it correctly. Attached is a section of my javascript function which is in my global.js file and my ASP file where a user can select an image.
JAVASCRIPT FUNCTION:
function checkFileDimensions(intFileSize) {
var objFSO = new ActiveXObject("Scripting.FileSystemObject");
var strPath = document.frmImageUpload.txtFile.value;
var strFileType = "JPEG Image"
var objFile = objFSO.GetFile(strPath);
/* Validate file dimensions */
if (objFile.Type != strFileType) {
alert("Invalid File Type - Please re-save your image in JPEG format.");
return false;
}
else if (objFile.Size > intFileSize) {
alert("Invalid File Size - Please re-save your image to less that 10 KB.");
return false;
}
else
return true;
}
ASP FILE:
<%@ LANGUAGE=VBScript %>
<title>Agent Image Upload
Agent Image Upload
Select an image to upload.
NOTE: the following specifications apply:
1. File type: must be JPEG
2. File size: not bigger that 10 KB
3. Image width in pixles: 90
4. Max image height in pixles: 120
If you are not sure how to format your images, please contact us
on (021) 790-6216
">
| If you cancel this operation, please remember to un-check the
tick box on the agent page.
|
|
I hope someone can help. Thanks
BRENDAN
|
|
|
|
|
Client side validation is easy to get around.
Also Doesn't FSO require end users to click a 'Always trust Microsoft' check box if they haven't already???
I'd check it on the server side of things...
Cheers
How do I print my voice mail?
|
|
|
|
|
Hi All,
I am able to upload the files to the SQL Server 2000 using SA FileUp Component. Now I would like to view the uploaded file from the client machine and also I want to provide the users to save that uploaded file in their local machine. I had tried the following piece of code to do that, but no luck so far. It is writing the content in browser window with some invalid characters except for the text file. Could any of you please help me with this?
Dim MSCS, Rs, strSQL
Set MSCS= Server.CreateObject("ADODB.Connection")
MSCS.ConnectionTimeout = 90
MSCS.Open "Provider=SQLOLEDB;data Source=server_name;Initial Catalog=db_name;User Id=user_id;Password=pwd"
Set Rs = Server.CreateObject ("ADODB.Recordset")
'strSQL = "SELECT * FROM tbl_test_upload WHERE file_id = " & request("id")
Rs.Open strSQL, MSCS, 2, 3
Response.ContentType = Rs("file_type")
Response.AddHeader "Content-Disposition", "filename=" & Rs("file_name")
Response.BinaryWrite Rs("file_data")
Rs.close
Thanks.
vijay
|
|
|
|
|
you also need to change the content type to image/bmp or whatever extension.
I think you'll find a complete code for this in the asp articles in CP.
|
|
|
|
|
html text wrapping
Hi all.
here is one specific problem that my project is facing.
where there is a big text that is to be displayed.
i just wanted to wrap the data.
i am not able wrap the data, giving size for table and td tag etc.
any suggestions please..
0
<title> New Document
thisissampletextwhichiwanttolimittomultiplerowsbut
iamnotableto |
|
thisissampletextwhichiwanttolimittomultiplerowsbut
iamnotableto |
|
Harinath
Cybernet software systems pvt. ltd.
3, Bishop wallers avenue east,
mylapore
chennai
India-600004
|
|
|
|
|