Search:

Type: Posts; User: HoraShadow

Page 1 of 13 1 2 3 4

Search: Search took 0.87 seconds.

  1. Replies
    1
    Views
    558

    VS 2010 Re: Website Time out

    Hello,

    You could use Meta-refresh or Javascript to perform those actions in xx minutes, since this type of feature has to be triggered from client-side


    <meta http-equiv="refresh" content="5;...
  2. Replies
    1
    Views
    862

    Re: Download button

    Hello,

    Browsers get only one response to one request. Post-back IS the request, and the response is either a) your updated HTML code with the Thank You text and the invisible button, or b) asks...
  3. Replies
    6
    Views
    884

    Re: deleting a directory

    Hello,

    Well, in the code you posted, there's nothing related to deleting a directory

    This is how you delete a directory:



    Dim path As String = "C:\DirectoryToDelete\"...
  4. Re: IIS + Development Server Stack overflow error

    Hello,

    Thanks for the reply gep13!

    I finally found the problem using the excellent tool IntelliTrace in Visual Studio 2010. It was indeed a loop in code in the logging class, which happened at...
  5. [RESOLVED] IIS + Development Server Stack overflow error

    Hello,

    I'm developing an .NET Framework 4.0 WebApp with ASP.NET AJAX enabled

    Both web servers, IIS and Development Server in my development machine crash with an 'unhandled CLR framework 4.0...
  6. Replies
    3
    Views
    605

    VS 2008 Re: Run a code periodically.

    Hello,

    If you can't use a task job like Webskater suggested, which is a pretty good suggestion btw, then the next best practice would be a Windows Service. For it to work, you need access to the...
  7. Replies
    374
    Views
    25,085

    Re: What book are you reading these days?

    Just finished Interview with The Vampire, by Anne Rice
  8. Re: [2005] URGENT - Regular Exression help

    Haha, alright, then how about if you post the lines the regex has to match?

    Without having a comparison point of reference, well, let's just say it's pretty hard to help ;)
  9. Re: [2005] URGENT - Regular Exression help

    Hello,

    Can you post the HTML and what it has to match?

    I would also recommend to you the use of RegExBuddy when dealing with regular expressions. It's a lightweight application that let's you...
  10. Re: Give permission to write a file on the server

    Hello,

    Give NTFS write permission to the directory in which the files are to be created. The IIS worker process username by default is called IUSR_[machine name] .

    Warning: Giving write...
  11. Replies
    3
    Views
    693

    Re: [2005] Tell me about hiddenfields...

    Hello,

    My guess, without being able to see the page, is that since the label is an ASP WebControl, by default it preserves it's contents in ViewState. HiddenField, an HTML control, does not...
  12. Thread: [2008] Iis

    by HoraShadow
    Replies
    7
    Views
    599

    Re: [2008] Iis

    Hi,

    Let's give this a shot...

    Open IIS -> go to Web Site -> Web Site properties -> directory security tab -> Anonymous access and authentication control -> Edit button

    Once in...
  13. Replies
    14
    Views
    1,149

    Re: Odd .dll Reference Problem

    If you go with Windows Explorer to your \bin folder, does it contain the latest .dll class file?

    Manually copy/paste the library to the \bin folder and see if it works
  14. Replies
    12
    Views
    910

    Re: Friendly URL's

    Hello,

    Please explain what do you need...

    HoraShadow
  15. Replies
    10
    Views
    672

    Re: [2008] Crypt

    Glad to hear!

    HoraShadow
  16. Replies
    10
    Views
    672

    Re: [2008] Crypt

    Yes, it will...
  17. Replies
    10
    Views
    672

    Re: [2008] Crypt

    Hello,

    The #2 post in this thread has source code. It looks fine.

    HTH,
    HoraShadow
  18. Re: [2005] Another ASP to .NET migration question

    hahaha I hear ya... been there, done that and ran for it :p
  19. Replies
    10
    Views
    672

    Re: [2008] Crypt

    Hello,

    Look into Symmetric Cryptography classes in .NET Framework. It let's you encrypt and decrypt information.

    HTH,
    HoraShadow
  20. Re: [2005] Another ASP to .NET migration question

    Hello,


    Well, the way I would do it would be prompt for confirmation, if the end user presses 'yes', then allow the PostBack to the server (all this is done JavaScript), and in the button_click...
  21. Re: [2005] Another ASP to .NET migration question

    Hello,

    Why don't you just send the email in the button_click handler? You save one whole page that way, unless there's something else on the destination page that I'm not aware of.



    Both...
  22. Re: [2005] Another ASP to .NET migration question

    Hello,

    You could add runat="server" to the hidden fields and assign values from the code behind "cstmr.text" .

    As a side note, this is not the best way to implement this. It will get the job...
  23. Re: [2005] When dose a bound ddl get bound?

    Glad to hear!

    HoraShadow
  24. Replies
    3
    Views
    383

    Re: [2005] exception handling

    Hello,

    I definitely do not agree with "all exceptions, no matter what they are, end up in the same page" type of design. That's just lazy from my point of view.

    You can throw different types of...
  25. Re: [2005] Another ASP to .NET migration question

    Hello,

    You can perform the client side redirection, just as it is done in the provided example, or move the redirection server side, which would be the web control button posting back to the...
  26. Re: [2005] When dose a bound ddl get bound?

    Hello,

    You should read ASP.NET Page Life Cycle

    Controls events are handled in the "Postback event handling" handler, which comes after Page_Load event and before Page_PreRender .

    Moving the...
  27. Replies
    9
    Views
    1,021

    Re: Encrypted Login

    Hello,

    SSL is a digital certificate that you buy from a CA (certificate authority, like verisign, GoDaddy, etc). That digital certificate is an encryption key then gets installed in the web server...
  28. Re: [2005] Says "Error on page" but there isn't

    Hello,

    Once in Firefox, enable Firebug, which can be accessed with F12 and check for JavaScript errors. Once Firebug is enabled, it will display any client side errors found in the Console tab....
  29. Re: [2005] Says "Error on page" but there isn't

    Hello,

    Yes, run the solution (F5) and copy the URL from internet explorer and paste it in FireFox. Code execution is identical in any browser, since it's 'server side'. Visual Studio attaches...
  30. Re: [2005] Says "Error on page" but there isn't

    Hello,

    What did the JavaScript debugger say?

    HoraShadow
  31. Re: [2005] Says "Error on page" but there isn't

    Hi MMock,

    At first glance it looks fine...

    I recommend that you use a JavaScript debugger utility, like Firebug for Firefox, which will clearly point out any interpreter errors.

    HTH,...
  32. Replies
    9
    Views
    1,021

    Re: Encrypted Login

    Hello,



    You can use SSL, which is designed specifically for that.

    HTH,
    HoraShadow
  33. Replies
    5
    Views
    534

    Re: [2008] is it secured

    Hello,

    By Secure... do you mean SqlInjection attacks secure? If so, since you are using Parametrize queries, it is "secure".

    The question is pretty vague. Please elaborate more...

    HTH,...
  34. Replies
    4
    Views
    497

    Re: Unable to run a search more than once

    Hi,

    If memory serves, DataReader must be disposed before it's used again, since it's already linked to the OledbCommand.

    Please provide the actual exception the code gives.

    HTH,
    HoraShadow
  35. Replies
    16
    Views
    895

    Re: deleting user

    Hi vbbit,

    That's what rjv_rnjn pointed out in post #2 and Mendhak agreed on post #8. When you cascade delete, ALL information is deleted, no matter what. That's why they kept mentioning adding a...
  36. Re: [2005] how could i get the process time using tickcount() mehtod.

    Hello,

    You can enable Trace and it will give you quite a lot of information regarding performance and times.

    At page load event handler, add Trace.IsEnabled = True then run the page. At the...
  37. Re: [2005] Preserve State on Stateless Server

    Hello,

    You could also store non-vital data in cookies and hit the database for vital data.

    You can`t store objects in cookies, so you would have to design and write your own way to store from...
  38. Re: [2005] Make part of row in gridview bold text

    Hello,

    I'm doing this from memory, so there might be a concatenation issue somewhere. Looks fine though.



    Text='<%# "<b>" & String.Format("{0:d}", Eval("msg_dt")) & "</b> - " &...
  39. Re: [2005] Make part of row in gridview bold text

    Hello,

    It's pretty much the same actually. The example uses a label control.



    <asp:Label ID="lblTotalProducts" runat="server" Text=' "<b>" & <%#Container.DataItem("msg_dt") & "- </b>" &...
  40. Replies
    16
    Views
    895

    Re: deleting user

    Hello,



    Yes, it means exactly that.

    I think the best way to explain this is by example. We have two tables, the usernames table and the messages table. When a username is DELETED, the...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width