Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: MarkZK
  • Content: Threads
  • Order by date
  1. MarkZK

    Global Static Variable

    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...
  2. MarkZK

    Application Object

    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...
  3. MarkZK

    @@identity for update.

    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...
  4. MarkZK

    Image Resized Thumbnail

    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...
  5. MarkZK

    Joining Tables With Table Name As Column

    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...
  6. MarkZK

    The Painful Transition

    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...
  7. MarkZK

    The Pains Of Directory.Delete

    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...
  8. MarkZK

    DateTime ASP.NET Vs Classic ASP

    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...
  9. MarkZK

    Calling iframe function more than once fails.

    Hi all, I normally avoid iframes and wish I was right now!..., could someone explain to me what is going wrong with this code (I've made this just to recreate the error). In the main page I have, <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
  10. MarkZK

    LoggedLAN IPs in DB

    Hi all, I've just checked my SQL DB and have noticed several LAN I.P addresses in there, I'm using ASP .... Request.ServerVariables("remote_addr") ...to get the I.P of the user to put it into the DB log, the question is, has anyone seen this odd behaviour before ? and how are LAN I.Ps even...
  11. MarkZK

    Hi-Jack Log

    Hi all, Could one of you good people tell me if the log is clean ? Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 15:13:33, on 5/28/2009 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 (7.00.5730.0011) Boot mode: Normal Running processes...
  12. MarkZK

    Data Type

    Hi all, This is probably a simple unimportant question, but can anyone tell me what the best data type to use is for 4 digits ?. I know it'll always be four characters long and range from 0000 to 9999, I'm currently using varchar(4) and get the feeling I should be using something else.... as I...
  13. MarkZK

    Messed Up, Initial Size Nightmare

    Hi all, before you post anything, I know I'm an idiot!.... I was just messing with the initial size of my log file settings to try an understand why you would even need to set an initial size...and.... well, I set it to just under 8 gig (I know, I know..)... anyway, it was letting me set it...
  14. MarkZK

    Removing Duplicates

    Hi all, I'm trying to reduce the size of a table by only returning unique rows based on name, IP, Useragent. for example, I have something like, RowID Name IP UA Date...
  15. MarkZK

    Force &quot;Show All&quot; checked

    Hi all, I have a flash app that I've left the default publish settings to show all, but when I test the app and right click it the "Show All" option isn't checked/ticked, does anyone know if there's a way to force this to be checked in actionscript ?. everytime I try and google the answer I'm...
  16. MarkZK

    Return boolean in SQL if the foreign key is found

    Hi all, I'll try and explain this the best way I can, but, feel free to ask if I'm not clear enough. I have two tables and I want to return all of the data in table 1 and at the same time check if there's more data that is in table 2 linked to the rows via foreign key, so basically I'd have...
  17. MarkZK

    Another HJT log

    Hi all, I'm trying to help someone else out again, this persons IE freezes up while trying to install shockwave, here's the log... Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 16:13:55, on 8/26/2008 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00...
  18. MarkZK

    Hijackthis Log

    Hi all, for those of you in the know, could you tell me if this log looks clean from adware/spyware/malware/scumware. Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 (7.00.6000.16674) Boot mode: Normal Running processes: C:\WINDOWS\Explorer.EXE...
  19. MarkZK

    Ban ISP

    Hi all, I'm trying to block an ISP from a server using windows server 2003, I've notice you can block one IP at a time, but does anyone know how I can block a whole specific ISP ?, I was thinking I'd maybe have to find the ISP's IP range and then somehow apply that range to a banned list...
  20. MarkZK

    SQL error

    Hi all, I'm trying to set a column to auto increase the row value by one from the last row added to give it a unique value, I used.... RowID INT NOT NULL IDENTITY(1,1) when creating the table, but I get this error when adding "1" into the insert statement... Microsoft OLE DB Provider for...

Part and Inventory Search

Back
Top