Search:

Type: Posts; User: taigon

Page 1 of 6 1 2 3 4

Search: Search took 0.06 seconds; generated 7 minute(s) ago.

  1. Question regarding controls used in ASP.Net forms

    I'm trying to basically allow users to input phone numbers into a textbox, from a dropdown list choose the type of phone number, and then add the data to an ASP.net Listbox which is to be used in the...
  2. Re: Help with external authentication schemes in ASP.NET 5 MVC 6

    Forgot to close this off. I figured out the issue. It was the fact that I was calling the UseFacebookAuthentication method after the MVC configuration method was called. You need to call the...
  3. Re: Help with external authentication schemes in ASP.NET 5 MVC 6

    This is what I've added to a default web application project.


    app.UseCookieAuthentication(options =>
    {
    options.LoginPath = "/Accounts/Login/";
    ...
  4. [RESOLVED] Help with external authentication schemes in ASP.NET 5 MVC 6

    I'm having a hard time figuring out how to use the external authentication schemes. I've included cookie authentication and Facebook authentication middleware in the startup configure method but for...
  5. Replies
    6
    Views
    2,474

    Re: Inversion of Control

    Ok, awesome! Now I completely understand. Thank you for the clarification techgnome. And thank you Funky for taking the time to explain it to me. Very much appreciated.
  6. Replies
    6
    Views
    2,474

    Re: Inversion of Control

    Ok, so the Factory needs to create an instance of the ClientLogFactory class? And the Factory also reads in configuration from any configuration source such as a file or database. It passes the...
  7. Replies
    6
    Views
    2,474

    Re: Inversion of Control

    Ok, so theoretically speaking, I would want to externally configure resources to be consumed by an application in a config file, in a method I would have looped through each configuration item,...
  8. Replies
    6
    Views
    2,474

    [RESOLVED] Inversion of Control

    This seems to be the best section to post this in. I'm looking to confirm that I have the correct understanding of when to use IoC. From what I understand you would use this when you have a "one to...
  9. Thread: App Domains

    by taigon
    Replies
    3
    Views
    1,343

    Re: App Domains

    Well, I found my answer. Once you load in the library into the new AppDomain there is no was to currently unload just that one AppDomain without unloading all of them.
    ...
  10. Thread: App Domains

    by taigon
    Replies
    3
    Views
    1,343

    Re: App Domains

    I just got a bit further. I managed to hook into the event handler on the other library but I still can't get it to run on the new AppDomain. It's telling me that the method within the call to...
  11. Thread: App Domains

    by taigon
    Replies
    3
    Views
    1,343

    Re: App Domains

    I just added the following code to he method being executed when ExecuteInNewAppDomain is called and I get "Type 'NiRDs.NiRDsApp' in assembly 'NiRDs, Version=1.0.0.0, Culture=neutral,...
  12. Thread: App Domains

    by taigon
    Replies
    3
    Views
    1,343

    App Domains

    So I'm a bit new to the AppDomains but I have most of it figured out. I've managed to create a new AppDomain within a WPF Application in the Application_Startup event, which calls a method that...
  13. Replies
    0
    Views
    6,551

    [RESOLVED] App Domains

    So I'm a bit new to the AppDomains but I have most of it figured out. I've managed to create a new AppDomain within a WPF Application in the Application_Startup event, which calls a method that...
  14. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    You certainly did help very much with several aspects especially re-directing the standard output/input. It took a while to get it through the named pipe to the client machine but it works flawlessly...
  15. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Hey Chris,

    Just to update you on my remote execution tool, I have sucessfully created a working application with a GUI interface that allows the creation of a remote processes on a Windows XP...
  16. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Yeah, that's what I thought. I'll give it a try again soon with the new service start code.
  17. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    I have just recently made a slight change to the way the service starts. I'm just waiting to test it. I will make sure that .Net 4.0 is installed on the test Win7 machine. Also, I should probably try...
  18. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Hey Chris,

    So what I did was copied that service template and compile a service that literally does nothing. I tested this service on an XP machine and it started fine. I tried on a Windows 7...
  19. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Yes I'll definitely take a copy of a service project that works and ill try compiling it and running it on a win7 machine that we have at work. It might just have something to do with the custom win7...
  20. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    I'm actually using visual c# express which doesn't give me a service template so I just started a new console app and inherit the servicebase.
  21. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    True, that loop does look strange and I don't know why I added it but it wasn't causing an issue in XP. The OnStart method of the service itself completes after starting the new thread....I dunno....
  22. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    I just recently changed it as you can see from the commented line and I just added the base.onstart(args). I haven't gotten to test it yet.


    using System;
    using System.Collections.Generic;...
  23. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Oh ok, so if that is true then my interactive prompts should still technically work. I haven't had a chance to test on Win 7 until now but I need to at least get the service started. I can't even...
  24. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Hi Chris, I did some digging and what I think the problem might be is that on Windows 7 machines, services are no longer permitted to communicate interactively with any window stations and my service...
  25. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Ok, Chris, I'm stuck.

    Just so you know, I don't use ANY WMI API for the windows service component of this tool.

    The main problem is that after I create a service on a remote machine, I can't...
  26. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    LoL, Ok, I'm gonna try to figure this one out then. Almost out of time for the day, lol. I switched to C# mostly because every job I look for out their in relation to programming are looking for C#...
  27. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Ok, I'm back at my desk now. What I was trying to say is how can I send just a single carriage return to the stdin handle without any actual data.


    public static void SendInput(string...
  28. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Lol sorry I'm in training at work right now. In your examPle to redirect input and output, the writefile function to send input to the process has a carriage return and a line feed followed by...
  29. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Hey Chris do you know off hand what character string would be used to send a return code to the stdin without specifying a command first. I currently use command + "\r\n" + "\r" but remOving the...
  30. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Let me know if you do so I can eliminate this second server executable. LoL
  31. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Service.exe -> [CURRENTLY LOGGED IN USER's SESSION]-> TargetGUIApplication.exe works fine.

    Service.exe -> [LOGONUSER ALTERNATE CREDENTIALS]->TargetGUIApplication.exe does not work. It launches the...
  32. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    This is the reason why I created a second executable to run with the server service to launch a new gui application as a different user. Now I have to do this again.
    ...
  33. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Hi Chris,

    And now I've finally got the option to launch the process as the currently logged in user working interactively and non-interactively.


    uint ConsoleSessionId =...
  34. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Hi Chris,

    After 3 days of messing around with this, I finally got CreateProcessAsUser to launch a process as another domain user under the system account and can perform this operation...
  35. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Hi Chris,

    I already have the duplication of the handles in place in the same manor. I'm going to try this actually and see if it works. Very strange because the same code works fine with just...
  36. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Hi Chris,

    I tried your suggestion of using CreateProcessAsUser. It seems that it works perfectly fine to launch an interactive process on the remote desktop from the SYSTEM account but as soon as...
  37. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Hi Chris,

    Actually, before I started messing around with everything, the only thing I did was try to pass the structure byref to the API function. This didn't work either. It may be though that...
  38. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    LoL, sorry about the hi-jacking. I got it to work properly now. Communication is working perfectly between the 2 server pipes.

    First it was the structure for the SECURITY_ATTRIBUTES. Had to change...
  39. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Hi Chris, I actually just figured it out. Now the only problem is my security descriptor string. I'll let you know as soon as possible.
  40. Replies
    62
    Views
    44,725

    Re: Redirect Process Input/Output with Windows API

    Hey Chris,

    I really need some help right now. I haven't tried your last posting yet because I'm having an issue with the named pipe.

    The client side application opens a server based "Response"...
Results 1 to 40 of 215
Page 1 of 6 1 2 3 4



Click Here to Expand Forum to Full Width