Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
G

godzooky

@godzooky
About
Posts
45
Topics
27
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • showing a form twice
    G godzooky

    i have a stupid problem. i show my form, close it and try to show it again, but i get an error saying i'm trying to access a disposed object. how can i prevent that? i must be missing something obvious. thanks.

    Windows Forms help question

  • securing directory with forms authentication
    G godzooky

    i'm trying to use forms authentication to secure some files. we switched from listing each file separately in web.config to securing the entire directory, but now, it doesn't prompt for the login page when trying to access a protected page. it works fine while restricting each page individually. here is the entry in web.config, any ideas?? thanks

    ASP.NET security question

  • can't figure out this calculation
    G godzooky

    sorry about the formatting - i don't know how to make a table. take these numbers...

    Cost; Age; Cost * Age
    x; 6;
    8,025; 20; 160,500
    346,950; 47; 16,306,650
    279,252; 58; 16,196,616
    387,640; 69.2; 26,824,688
    84,500; 80; 6,760,000
    Totals
    1,106,367; 59.9; 66,248,454

    the task is to find x which brings the total Age (59.9) down to 40. now, the total cost number (1,106,367) can not change. meaning, x must be subtracted out starting from the bottom. so, if x is 80,000, 84,500 is reduced to 4,500 and Cost * Age becomes 360,000. the idea is bring total Cost * Age down to 44,254,680 (1,106,467 * 40). i just can not for the life of me figure out how to calculate x. can anyone help? thanks.

    C / C++ / MFC help tutorial question

  • forms authentication problem
    G godzooky

    you are correct. thank you. i changed the file name to .aspx and it worked. however, is it in any way possible to secure non aspx files with forms authentication? we have a bunch of pdf's which need to be password protected.

    ASP.NET help security question

  • forms authentication problem
    G godzooky

    i'm having a problem securing some of my pages using forms authentication. i define the private pages in web.config, but i can get to those pages without logging in. here is my web.config... is there an error??

    ASP.NET help security question

  • format date in repeater
    G godzooky

    i have a repeater control and am trying to format a date like so, <%# DataBinder.Eval( Container.DataItem, "WorkDate", "{MMM d, yyyy}" ) %> WorkDate is a DateTime in sql server 2000. the formatting option doesn't do anything - the date is always displayed like '10/20/2004 7:55am' what am i doing wrong??? thanks.

    ASP.NET database sql-server sysadmin docker question

  • assembly binding log file
    G godzooky

    whoops. sorry. i meant to do that last post. a message box just pops up in DotNetAppHost which says, 'no source code available for this location.'

    C# csharp wpf wcf sysadmin help

  • assembly binding log file
    G godzooky

    thanks for the quick reply. that is the complete log. when i look at the output window in VS, i see that both DotNetAppHost and DotNetAppTest are loaded.

    C# csharp wpf wcf sysadmin help

  • assembly binding log file
    G godzooky

    here is my log file from fuslogvw.exe

    *** Assembly Binder Log Entry (5/6/2004 @ 10:49:28 AM) ***

    The operation failed.
    Bind result: hr = 0x800704c7. The operation was canceled by the user.

    Assembly manager loaded from: C:\WINNT\Microsoft.NET\Framework\v1.1.4322\fusion.dll
    Running under executable C:\Program Files\Droplet\Server\DropletConsole.exe
    --- A detailed error log follows.

    === Pre-bind state information ===
    LOG: DisplayName = DotNetAppHost, Version=1.0.0.0, Culture=neutral, PublicKeyToken=15043562efa7be39
    (Fully-specified)
    LOG: Appbase = C:\Program Files\Droplet\Server\
    LOG: Initial PrivatePath = NULL
    LOG: Dynamic Base = NULL
    LOG: Cache Base = NULL
    LOG: AppName = NULL
    Calling assembly : DotNetAppTest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=15043562efa7be39.

    LOG: Processing DEVPATH.
    LOG: DEVPATH is not set. Falling through to regular bind.
    LOG: Publisher policy file is not found.
    LOG: Host configuration file not found.
    LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
    LOG: Post-policy reference: DotNetAppHost, Version=1.0.0.0, Culture=neutral, PublicKeyToken=15043562efa7be39
    LOG: Cache Lookup was unsuccessful.
    ERR: A fatal error occurred when retrieving next codebase for download (hr = 0x800704c7).

    i can't figure out what the error is. did it fail to find one of the assemblies - DotNetAppHost or DotNetAppTest?? or is it something else?? thanks.

    C# csharp wpf wcf sysadmin help

  • calling function in mixed mode assembly from unmanaged app
    G godzooky

    i have a mixed mode dll which defines some functions in a .def file. my unmanaged app loads the dll dynamically with a call to LoadLibrary() and calls these functions. some of my functions are called correctly, but some are not. the unmanaged app seems to be able to find all the functions, but for some reason, can't call some of the functions. anyone have an idea as to why that would be??

    Managed C++/CLI question

  • unmanaged class declaring managed member function as friend
    G godzooky

    i'm trying to accomplish something like this...

    class ManagedClass;

    class UnmanagedClass
    {
    protected:
    void SetValue( std::string val );
    friend void ManagedClass::SetValue( String* val );
    };

    namespace MyNamespace {
    class __gc ManagedClass
    {
    protected:
    void SetValue( String* val );
    };
    }

    i can't get it to compile. i have tried just about every combination of the namespace and class name in the forward declaration and friend function definition. anyone have any ideas?? thanks.

    Managed C++/CLI question

  • how do you use string from WWW-Authenticate header?
    G godzooky

    i'm trying to connect using HttpWebRequest class, but i'm getting a 401. i read in the documentation that i need to check the WWW-Authenticate header to see how to perform authentication. the info in the header is "Negotiate,NTLM". do i pass this string into the second param of CrendentialCache.Add()?

    C# security tutorial question

  • HttpWebRequest authentication
    G godzooky

    Hmmm. The problem with that solution is that I really don't know what the server requires. The dialog that is displayed can be customized at the server level and I just want to display that one. Some will require the domain and some do not. I have no idea what to put on the form. The wininet dll just handles all of that for you. Isn't there a .NET equivalent?

    C# question security help tutorial learning

  • HttpWebRequest authentication
    G godzooky

    I'm trying to figure out authentication using the HttpWebRequest class. When I try to connect to a resource that requires a password in IE, a dialog pops up where I enter that information. How can I implement the same behavior using HttpWebRequest? When I connect with that class, I receive a 401 not authorized error. Which is fine, but I can't figure out how to show the proper dialog. Thanks.

    C# question security help tutorial learning

  • managed c++ class that inherits from unmanaged c++
    G godzooky

    Heath Stewart wrote: easiest way would be to create a mixed mode Managed C++ assembly that encapsulates this in a managed class ok. can you point me to some info about that? thanks.

    C# c++ question

  • managed c++ class that inherits from unmanaged c++
    G godzooky

    sorry. i meant c# class that inherits from unmanaged c++. is there a way to accomplish this?

    C# c++ question

  • managed c++ class that inherits from unmanaged c++
    G godzooky

    is it possible to have a managed c++ class that inherits from an unmanaged c++ class? if so, how would i do that?

    C# c++ question

  • build order of projects
    G godzooky

    how do i specify the build order of the projects in a solution? for example, if i have a deployment project in a solution, how do i make that build last, so the deployment project will include the latest versions of the assemblies?

    C# question sysadmin tutorial

  • setting install location for merge module
    G godzooky

    i am using the msvcrt merge module from c:\program files\common files\merge modules, but it is being installed in the application folder. any ideas?

    C# question

  • setting install location for merge module
    G godzooky

    how do i set the install location for dll's in a merge module? the properties window does not contain a location. the dll's are installed in the application folder, when they should be installed in the windows\system32 directory.

    C# question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups