Hey Jason,
Thanks for the reply, This is the page that I read http://weblogs.asp.net/plip/archive/2003/12/01/40526.aspx (the part about performance increase).
I figured it'd be best to just use the Application, but that page made me think that they had in some way made it obsolete or...
Hi All,
I read somewhere that the "Application Object" was only added to ASP.NET to help users coming in from a Classic ASP background.
If that is true, how do you create a dynamically named variable that is globally accessible to all users ?
For example with Application it could be...
O.k...
Hi All,
I don't hold much hope for this, but I have nothing to lose in asking, so here goes....
I'm running this code at my first host which is a windows iis6 host.
<%
'used to set a value to the application (one off using test.asp?set=123)
If Len(Request.QueryString("set")) > 0 Then...
I'm surprised about that single line, although I always feel like I should be adding "End If", so it does make perfect sense to use the "begin"'s "end"'s, I'm convinced ! :).
I can't currently test your version of the proc, but I have no doubt at all that yours is right.
Thanks for your help...
Hi,
I'm just creating a stored procedure (in note pad - I still don't know SQL very well) and I was wondering if the @@identity will still return the RowID (primary key) during an update, or is another select needed ?.
Here is what I have in notepad so far (not tested at all - I don't have SQL...
I'll answer my own question :-) .... it shoud have been..
thumbnail.Save(Server.MapPath(AppPath & "/Images/Thumbs/" & imgName & "_thumb.jpg"), System.Drawing.Imaging.ImageFormat.Jpeg)
I guess it wasn't compressing the image to a jpg file, I also missed some cleaning up (.Dispose())
Hi all,
I used "NoCoolHandle"'s code from this thread ...
http://tek-tips.com/viewthread.cfm?qid=1155023
which does work, but can anyone tell me why the thumbnails being made are around five time bigger (in file size) than the original, it's VERY odd!.
test.jpg 640x480 - 38KB
test_thumb.jpg...
Hi All,
I'm trying to join data from three tables into one, but also create a column to hold the name (or in my case set As Path) of the table that the data came from.
Maybe an example will help explain this better....
tbl_one
1.jpg | 2010-06-08
2.jpg | 2010-06-06
tbl_two
1.jpg | 2010-06-06...
Hi All,
I'm not completely sure that this is a SQL question in terms of actually executing the transition, or whether a SQL command could even achieve this, so my apologies before I even start.
Before I had access to a host with MS SQL databasing I made this application that dynamically and...
Hi,
>> 1. i don't want to use javascript - what happens if the javascript is disabled?
People with javascript disabled are used to re-entering information on forms, but you should be using javascript validation too. (before it even submits)
>> 2. query string - i don't want to show the...
Ahh, I know what you mean, I'm currently doing something to that affect to create thumbnails, thanks for clearing that up and thanks for the help, much appreciated :).
Thanks for the tips, I'll definitely lookup on that info, I'm all for an easier life, I was just looking at MS MVC actually, considering I use EditPad Pro it seems to be quite a step up :D, I don't have visual studio :(.
When you say name them with a GUID, obviously I could call SQL like...
I was just looking into the mode="SQLServer" option, which seemed like a perfect answer to the problem, until I received an error back from MS SQL : "SQLServerAgent is not currently running so it cannot be notified of this action.".
The server in one way or another just keeps failing me.
Yeah...
Hi JMeckley,
Thanks for the reply and the code, I'm only allowing them to delete the folders that they create and as far as security goes, it is only the "myfiles" (using ca8msm's example) folder that has modify permissions set, so at the very worst only that folder could be "messed with"...
Hi all,
I'm having issues deleting folders with ASP.NET VB, whenever I delete a folder using "Directory.Delete", it clears all of my sessions, as stated here ... http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=102228 FOUR! years ago.
I did a search at tektips...
Hi Taree, That code returns the same as "=Now()", Thanks
Hi J Meckley, Thanks for the settings advice, after a little google on that I found ...
<%@ Page UICulture="en" Culture="en-us" %>
adding that gives me the same as classic asp, must be a UK thing :)
Thanks all.
Hi all,
In classic asp and asp.net using the following code ...
<%=Now()%>
returns two different outputs,
in classic asp
7/14/2009 6:01:20 PM
and in asp.net
14/07/2009 18:01:24
because of the different placement of the day/mouth (and maybe because of the 24 hours time ?) the asp.net...
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.