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
P

pranu_13

@pranu_13
About
Posts
38
Topics
32
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Kill a process in RDC session
    P pranu_13

    The context in which i close the application i cannot maintain the instance. Thanks for the response. I found a solution. Check below: [DllImport("user32.dll", CharSet=CharSet.Auto)] public static extern IntPtr FindWindow(string sClassName, string sWindowTitle); [DllImport("user32.dll")] static extern uint GetWindowThreadProcessId(IntPtr hWnd, out uint lpdwProcessId); uint processId; IntPtr hProgram = WebApp.FindWindow(null, "....."); GetWindowThreadProcessId(hProgram , out processId); System.Diagnostics.Process.GetProcessById((int)processId).Kill();

    C# question sysadmin help

  • Kill a process in RDC session
    P pranu_13

    I launch application B from application A. When i close application A i need to close application B. I RDC to a remote server and launch application A and launch B from A. When i close A it looks for B and kills it. However it goes and kills application B in another RDC session. How do i differentiate the process launched in the session i logged into? Any help would be greatly appreciated.

    C# question sysadmin help

  • Create a dsn programmatically in c#
    P pranu_13

    How to create a DSN programmatically in C#? I need to create a DSN for Oracle.

    C# csharp oracle tutorial question

  • Unable to run web applications on my PC.
    P pranu_13

    That did not work. i just added a button and label in the application. No other code. Interesting is when i replaced localhost with IP address it works. It does not work with localhost.

    ASP.NET help question

  • Unable to run web applications on my PC.
    P pranu_13

    I am trying to run a simple web application and it does not run. Even view in browser does not work. The browser opens with the url ("http://localhost:3197/WebSite2/Default.aspx") and stays in a waiting state. Can some one help me?

    ASP.NET help question

  • Child processes that is started by a logon process ends when the parent process ends in Windows 2000
    P pranu_13

    I start a service on logon(written in C#.net). This service starts another process. My application has an interface with allows administrators to restart the service. However, when this service is restarted, it kills the child process launched from it. I want the child process to be alive even when the service is stopped on windows 2000. This issue exists only on windows 2000 by design. Can any one help me out in this?

    C# csharp help design question

  • know if logged in account is an administrator
    P pranu_13

    I have .Net 2.0 MSI. I installed this on Vista. To access few functionalities of the application installed, i check if the logged in account is an administrator as below: WindowsPrincipal principal = (WindowsPrincipal)Thread.CurrentPrincipal; _IsAuthorized = principal.IsInRole(WindowsBuiltInRole.Administrator) || principal.IsInRole(WindowsBuiltInRole.PowerUser); This function detects the logged in account as administrator only for the user account with which i logged in to install the MSI. For other computer administrator accounts it does not recognize. How do i resolve this issue on Vista? Is there any other way to know if the logged in account is an administrator?

    C# question csharp help

  • Floppy noise on windows 2000 when msinfo32 runs
    P pranu_13

    I am running msinfo32.exe programmatically in my application to output the system information. When this runs especially on windows 2000 sp4, it is scanning the floppy drive and resulting in some noise. How can i avoid it from scanning the floppy drive? Thanks.

    C# question

  • Programmatically determine if Framework 2.0 Full trust is set or not?
    P pranu_13

    How to determine programmatically if Framework 2.0 Full trust is set in trusted sites or not?

    C# tutorial question

  • Error code 2869 while uninstalling an MSI on vista PC
    P pranu_13

    I am trying a uninstall a program on a vista PC and it gave me the below error: The installer has encountered an unexpected error installing the package. This may indicate a problem with this package. The error code is 2869. When installing the program MSI it worked fine. However, when i try to uninstall it from Control panel, it raises the above error message.

    Windows API help

  • Running .Net 1.1 application on windows vista
    P pranu_13

    I know that. Can't i start it without using admin privilages?

    Windows API csharp security help question

  • Running .Net 1.1 application on windows vista
    P pranu_13

    I have a windows application written in .net 1.1. I am unable to run the application on windows vista. Where ever i have used the System.Diagnostics.Process namespace it throws an exception. Also i have to start a windows service on vista from this application. It says admin access is needed to start the service. Security on vista has been changed a lot. Do i have to enable any properties on vista to make this application work? Any solution would be of great help. Thanks.

    Windows API csharp security help question

  • How to upload an image using a file browser from a basic client
    P pranu_13

    I have an asp page on server. I call this page from a .net windows form in which i have a browser control. I need to upload an image on the client PC into the browser control containing the asp page fetched from server.

    Web Development csharp sysadmin tutorial

  • Print the scrolled content of a windows form
    P pranu_13

    I have a windows application in .net 2.0. I use a webbrowser control to display an asp page which is on server. Below the browser control i display an electronic signature. My requirement is to print this form. I tried to use the memorygraphics class and take the screenshot of the form and draw the image to printer. But this gives me only the part of the form visible on the client area. The part which is visible on scrolling the form is left. I need the complete form along with the scrolled part. How do i do this? Can any one help me?

    C# question csharp sysadmin help

  • Load a .net library
    P pranu_13

    Asp.

    Web Development csharp question

  • Load a .net library
    P pranu_13

    How do add and use a .net class library in Asp?

    Web Development csharp question

  • Completion of Mousewheel event
    P pranu_13

    Is there a way to indicate the completion of mouse wheel event in C#.net 2.0 windows application?

    C# csharp question

  • Hashtable
    P pranu_13

    I added elements to hashtable but they are not in the order in which i added. The code is below: Hashtable table = new Hashtable(4); table[new Regex(@"^(-?)(\d*?)\.?(\d{0,1})?$")] = "$1$2.$3"; table[new Regex(@"^(\d*?)\.?(\d{0,1})?(-?)$")] = "$3$1.$2"; table[new Regex(@"^(-?)(\d{1,3}?)((?:,\d{3})*)\.?(\d{0,1})?$")] = "$1$2$3.$4"; table[new Regex(@"^(\d{1,3}?)((?:,\d{3})*)\.?(\d{0,1})?(-?)$")] = "$4$1$2.$3"; I want these elements in the same order. Some times it takes the same order and some times it does not. I know hashtable does not take elements in same order. But is there a way for this?

    C# regex question

  • Paste file in new message of Outlook Express
    P pranu_13

    I copy a file and try to paste it in a new message of Microsoft Outlook, it adds the file as attachment. But when i try to paste the file in new message of Microsoft Outlook Express, it does not. What can be the reason? Does Outlook Express support pasting files?

    IT & Infrastructure question

  • Autohidden taskbar
    P pranu_13

    I autohide the taskbar and maximize a form in a .net 2.0 application. When i take the cursor to the bottom i am unable to see the taskbar. When i go to any other open application it is visible. But in my application it is not visible. Can any one tell me what can be done?

    C# csharp 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