Type: Posts; User: Scott.Macmaster
Search took 0.03 seconds.
October 20th, 2009, 02:50 PM
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.
October 12th, 2009, 12:26 PM
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...
October 9th, 2009, 12:25 PM
October 8th, 2009, 10:52 AM
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...
October 8th, 2009, 10:16 AM
After authentication a user I've been storing the login status in a session variable. Basically, like this,
Session.Item("UserLoginStatus") = UserLoginStatus.LoginSuccessful
September 15th, 2009, 09:31 AM
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. ...
September 10th, 2009, 08:44 AM
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...
September 9th, 2009, 10:53 AM
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...
September 8th, 2009, 03:11 PM
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...
September 4th, 2009, 09:00 AM
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...
September 3rd, 2009, 08:37 AM
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...
September 2nd, 2009, 01:58 PM
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...
July 17th, 2009, 02:58 PM
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...
July 17th, 2009, 02:42 PM
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.
April 23rd, 2009, 10:54 AM
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....
April 1st, 2009, 08:52 AM
In case your curious, this is what I decided to do.
I added this to the splash screen
Delegate Sub CloseCallback()
Public Sub CloseForm()
April 1st, 2009, 08:38 AM
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()...
March 31st, 2009, 02:15 PM
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...
March 31st, 2009, 01:59 PM
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.
March 31st, 2009, 01:21 PM
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...
March 31st, 2009, 12:19 PM
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'...
March 28th, 2009, 09:46 AM
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...
March 17th, 2009, 09:54 AM
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...
March 17th, 2009, 08:49 AM
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...
March 16th, 2009, 03:52 PM
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...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.