Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Scott.Macmaster

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    1,224

    HttpHandler Not Working

    I've never setup a HttpHandler before. What've I done isn't working. Can someone help? The following is what I've done.

    1. Created a ClassLibrary project called ImageHandler.



    Imports...
  2. Replies
    6
    Views
    1,134

    Re: Storing Login Status

    So the only other option is to have the token encoded in the url? Isn't that worse?

    Maybe I'm missing something but doesn't having this in a cookie or in the url allow a person to be able to hack...
  3. Replies
    6
    Views
    1,134

    Re: Storing Login Status

    I considered using forms authentication. However, I decided against. First, it uses cookies to store the token. I didn't like that idea. Plus, I wanted the login page to redirect back to the...
  4. Re: Problem with Button Click Events when set during postback

    You are correct dynamic controls have to be rebuilt on every page load in order to handle event or to get user input from them. PreLoad() is the recommended location to do this. However, I...
  5. Replies
    6
    Views
    1,134

    Storing Login Status

    After authentication a user I've been storing the login status in a session variable. Basically, like this,



    Session.Item("UserLoginStatus") = UserLoginStatus.LoginSuccessful

    ...
  6. Replies
    1
    Views
    3,341

    How To Expire Password

    I'm trying to write some code to create a user in active directory and expire the default password so that they have to change their password the first time they log in. I tried nearly everything. ...
  7. Replies
    11
    Views
    1,417

    Re: Access Not Authorized Error

    Creating a folder under /ProgramData that has the same name as the executable and creating the output files there does work. However, we want to keep everything in the same location. So this isn't...
  8. Replies
    11
    Views
    1,417

    Re: Access Not Authorized Error

    I think we're looking in the wrong area. I talked with our network admin this morning. His first thought was it has something to do with DEP.

    We tried adding the program to the list of allowed...
  9. Replies
    11
    Views
    1,417

    Re: Access Not Authorized Error

    It would be nice if impersonating was as easy as it is in ASP.NET. However, I'd rather not require that the program be run as administrator or even have to program automatically impersonate...
  10. Replies
    11
    Views
    1,417

    Re: Access Not Authorized Error

    I changed it to write to C:\Custom Programs\Logs. It worked when I ran it. However, when someone else tries to use it it doesn't work. I suspect that it has something to my being an owner of the...
  11. Replies
    11
    Views
    1,417

    Re: Access Not Authorized Error

    It writes to the same folder it was executed from. In this case, c:\Custom Programs. I've never used /ProgramData before. Am I supposed to create a subfolder in it that has the same name as the...
  12. Replies
    11
    Views
    1,417

    Access Not Authorized Error

    We recently upgraded our job server to Windows Server 2008. We have jobs we run manually in a folder (c:\Custom Programs\). Some programs are console programs others are have a gui. This one...
  13. Replies
    4
    Views
    1,150

    Re: Encryption

    I'm having a hard time trying to figure out what you mean.

    If you want to encrypt traffic from the web server to the web browser you need to purchase a certificate. Depending on the the vender...
  14. GridView not passsing Id on Update/Delete

    I have a page with two GridViews using an object data source. Basically, it's a drill-down report. You select something in the first grid and it shows related data in the second grid.

    The...
  15. Replies
    2
    Views
    634

    Optimizing a Query

    I'm trying to optimize a query used for generating a report. Right now it takes 8 seconds for it to return 58,850 records.

    I removed some fields from the select to see if it would take less time....
  16. Re: Splash Screen Prevents App From Closing

    In case your curious, this is what I decided to do.

    I added this to the splash screen



    Delegate Sub CloseCallback()

    Public Sub CloseForm()
  17. Re: Splash Screen Prevents App From Closing

    I tried handling the VisibleChanged event and calling Close() is Visible = false. However, it never got called when the splash screen went away. It must be doing something other than calling Hide()...
  18. Replies
    4
    Views
    613

    Re: Data Type Error

    A loop creates a level of scope. I'm guessing internally VB.NET moves all the declarations before the loop. They would of course go out of scope when the loop is done. They'll be destroyed...
  19. Replies
    4
    Views
    613

    Re: Data Type Error

    I agree. Your post is a little confusing. The code you are showing is loading data. Unless when you say save you are talking about putting the value from the database into the text box.

    If that...
  20. Re: Splash Screen Prevents App From Closing

    I also created a new project with absolutely no code in it and it doesn't close as I previously described. Did you set the shutdown mode to 'When Last Form Closes' like mine?

    Anyway, I checked...
  21. Splash Screen Prevents App From Closing

    I added an splash screen to my app. Then in the project settings I selected it to be used for the splash screen. Now my app won't close when I try to exit my app.

    I have 'When Last Form Closes'...
  22. Re: [RESOLVED] LDAP Authentication Difficulties

    You don't need an LDAP Client. .NET has everything you need. Pretty much everything you'll need is in DirectoryEntry and DirectorySearcher.

    The .NET implementation is actually a wrapper class...
  23. Re: Postback processed, but event not hit

    Wow, that's wierd. In the last custom control I did I had to have a dummy control because ASP.NET would add an ID attribute to the first control I rendered even if I already set the id of the...
  24. Re: Postback processed, but event not hit

    Oh, this is custom control. Is it a user control or a server control? If it's a user control then the design is the same as a web page. Make sure the attribute for the event is set correctly and...
  25. Re: Postback processed, but event not hit

    Sounds like the event handler isn't setup right.

    Did you verify on the properties window that the function is still set as the event handler? Also, make sure it's set in attributes for the drop...
Results 1 to 25 of 181
Page 1 of 8 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center