Jump to content
Xtreme .Net Talk

djjaan

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by djjaan

  1. Hello! Can anyone provide me workin example in VB.NET how to get sort arrows (up/down) into listview? I know it can be done in VB6, but how to do it in .NET? Thank you
  2. I hope the following example gives you a hint. Cache.Insert("My GUID", objSerializedPostData, Nothing, DateTime.Now.AddDays(1))
  3. Use for example ASP.NET Sessions to store User_ID, and IP address. If newly logged in User_ID and IP match with previous, then you are good to go. Database, filesystem, application cache ... you name it. * create GUID when user starts editing the form, and include it in ViewState * When session ends on POST, store the POST data with GUID * Redirect to login page, with GUID in parametes * After successful login, redirect back to form, with GUID in param * When form finds GUID in param, it tries to re-fill the form puh, this was looooong, wasn't it ;) BTW: I am not trying to do the work for you, instead, give some tips and ideas. PS:Sorry for my bad english :(
  4. When login control finds out that there was POST, and session is ended, You still know the user's ID, IP address etc... also You should be able to gather POST data. Serialize it, store it some safe place. When same user comes back, either fill form with unserialized data, or even better, ask if he/she wants to continue editing the form. Hope you got my point ;)
  5. Hello! I need some advice on VB.NET and printing. I already know how to print, show page setup dialog etc. But is it possible to display selected printer's advanced settings window; for example to choose print quality of specific color printer etc? :( It's the same window which is displayed when right-clicking on printer and selecting Properties in Control Panel. I assume it is system specific change, rather than application specific; so maybe I have to use API? Please, help
×
×
  • Create New...