Search

You searched for the word(s): userid:673042

Matching Posts

  • Re: get cookies in the asynchronous method

    hmm I tried and the result is false which means that it is null value. any ideas?
    Posted to State Management (Forum) by alien9882 on 7/29/2007
  • Password strength localization

    Hi, I tried to take benefit from Password strength of AJAX Toolkit but encountered the localization problem. In the newest release version it said that password strength can support localization. But it didn't work when I just simply dropped the control in my aspx page. I expected to see the HelpStatus displayed in Chinese but only in vain. I am not familiar with localization, so I guess there is some configuration I miss. Could anyone give me some advice?? Thanks
    Posted to ASP.NET AJAX UI (Forum) by alien9882 on 7/29/2007
  • Asynchronous Process Request Timeout

    Hi guys, I use PageAsynTask to do asynchronous request from other servers. I am curious what happened if the async process timeout? Will it cut off the request to the server or jsut ignore it but actually still runs in the background without any feedback? I know that there is a method OnTimeout which can handle the situation of timeout, but I don't know how to stop the request by this method. Hope to hear some advice lo
    Posted to Web Forms (Forum) by alien9882 on 7/2/2007
  • Re: Error: File is in use

    I used asynchronous method to do other tasks which call the file access method I posted earlier. My code is something like this: Private _dlgt1 As AsyncTaskDelegate Private QueryTask As PageAsyncTask QueryTask = New PageAsyncTask( AddressOf QueryOnBegin, AddressOf QueryOnEnd, AddressOf OnTimeout, DBNull.Value, True ) Private Function QueryOnBegin( ByVal sender As Object , ByVal e As EventArgs, ByVal cb As AsyncCallback, ByVal extraData As Object ) As IAsyncResult _dlgt1 = New AsyncTaskDelegate( AddressOf
    Posted to Getting Started (Forum) by alien9882 on 6/11/2007
  • Re: Error: File is in use

    Well... For your first suggestion, I used the sentence " Imports System.IO " at the top of my code, so that would be the same as System.IO.File, right? As for the second suggestion, I do add "/" in the last of my FilePath, so it sounds like this couldn't be the problem. Maybe I should mention that I use asynchronous process to do some queries and write the results into files, where I think the problem occurs. Any further suggestion?
    Posted to Getting Started (Forum) by alien9882 on 6/5/2007
  • Re: Error: File is in use

    This is the way I save data to files like cookie function. Private Sub SaveData( ByVal Name As String , ByVal Data As String , ByVal FileName As String ) Dim FilePath As String = System.Web.Configuration.WebConfigurationManager.AppSettings( "FilePath" ) Dim myData As String = "" Dim SavedData As String Dim FolderExists As Boolean SavedData = Name & "=" & Data FolderExists = My.Computer.FileSystem.DirectoryExists(FilePath) If Not FolderExists Then My.Computer
    Posted to Getting Started (Forum) by alien9882 on 6/4/2007
  • Re: Error: File is in use

    Thanks for your reply~~ I've checked the attribute of files and was sure that files are not read-only. And in VB.net 2.0 it doesn't provide the function File.Close() so that I couldn't close it after I read/wrote files. Besides, how can I know that the former process has finished file access and closed the file??
    Posted to Getting Started (Forum) by alien9882 on 6/4/2007
  • Need suggestion: which stored format is suitable?

    Hi, guys I am considering the problem of stored format. I have to keep the user personal data and info they query each time but delete them after user logout the system. Owing to centain constraint, I can not sotre them in cookies because only 20 cookies are allowed most. So I turn to store it in files and delete files after logout. But it seems that then loading is heavy, I would encounter such exception as: File is used by another process . And now I am considering to store it in the temp table
    Posted to Getting Started (Forum) by alien9882 on 6/1/2007
  • Error: File is in use

    hi, guys I encounter the error: File is used by another process . I use File.WriteAllText and File.ReadAllText to access the file. After looking up the MSDN, it said that these two functions would close file automatically. Then why did I still encounter this problem ??? Or are there other ways to terminate file access manully??
    Posted to Getting Started (Forum) by alien9882 on 6/1/2007
  • Re: get cookies in the asynchronous method

    Oops...I still can't find the solution to this problem... Anyone helps???
    Posted to State Management (Forum) by alien9882 on 5/29/2007
Page 1 of 9 (86 items) 1 2 3 4 5 Next > ... Last »