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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
S

Sheela Krishnan

@Sheela Krishnan
About
Posts
4
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Extracting cab file : FDICopy() Failed: code 11[User aborted]
    S Sheela Krishnan

    Hi, I created a backup file containing sources around 2.5G. The compressed CAB file size is around 1 G. Now when I am trying to extract the contents of the cab file, I am getting an error FDICopy() Failed: code 11[User aborted] while it reaches one particular file. I tried viewing the list of files in the cab, I could see all the files I had asked to be archived. Even when I tried to extract using Winzip, the winzip also encountered problems at the same file. I was trying to extract the cab file onto my D:\. The following was the error message - "CAB file is continued on disk as in drive D:\...." "D:\ is not a CAB file..." "Error processing multi-part CAB file" Pls help me as I need the cab file contents! Thanks, Sheela

    .NET (Core and Framework) help

  • How to get the window state?
    S Sheela Krishnan

    Hi, I am trying to get the windowstate of a window based on its process id. Below is what I tried... But the GetWindowPlacement method returns false most of the times inspite of the length of the windowplacvement object being initialized. Even if the method returns true, its showCmd is always NORMAL. While testing my window was always MAXIMIZED! Can anyone point what I am missing...? Can anyone explain how the window state is maintained. ...... Thanks! FormWindowState GetWindowState(int processID) { FormWindowState formWindowState = FormWindowState.Normal; WINDOWPLACEMENT windowPlacement = new WINDOWPLACEMENT(); //If there is not proces by this ID, then return Minimized. uint processHandle = (uint)Process.GetProcessById(processID).Handle; if ( processHandle.Equals(0) ) { return FormWindowState.Minimized; } windowPlacement.length = Marshal.SizeOf(windowPlacement); bool test = Win32Wrapper.GetWindowPlacement(processHandle,ref windowPlacement); if ( windowPlacement.showCmd == SHOW_STATE.SW_SHOWMINIMIZED ) { formWindowState = FormWindowState.Minimized; } else if ( windowPlacement.showCmd == SHOW_STATE.SW_SHOWMAXIMIZED ) { formWindowState = FormWindowState.Maximized; } }

    C# testing beta-testing tutorial question

  • Hide the command window
    S Sheela Krishnan

    This helped... thanks!:)

    C# question csharp

  • Hide the command window
    S Sheela Krishnan

    Hi, I execute a command from inside my C# program. So the cmd window comes up when the processing realted to the command window is in execution. How do I hide the window programmatically? Here is what i do to execute the command from within the code..... System.Diagnostics.Process process = new System.Diagnostics.Process(); process.StartInfo = new System.Diagnostics.ProcessStartInfo(command, commandLineArg); process.Start(); Pls reply asap! Thanks, Sheela

    C# question csharp
  • Login

  • Don't have an account? Register

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