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
H

himuskanhere

@himuskanhere
About
Posts
97
Topics
68
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Assigning ICON to new file type (*.dtl)
    H himuskanhere

    Thanks for your Reply. Is ther any dot net APi to do so?

    C# tutorial xml

  • Assigning ICON to new file type (*.dtl)
    H himuskanhere

    Hello All, I am creating a xml file programatically but it is saved as .dtl. I have no Idea how to assign a ICON to saved file. Plz guide me. Thanks in advance:confused:

    C# tutorial xml

  • How to Remove Sharing Permission of a Folder through c#
    H himuskanhere

    Hello Friends, I want to search a folder which is shared to "EveryOne", with its FileSyatemRigths. I have a code:

    ManagementObjectSearcher searcher = new ManagementObjectSearcher("select * from win32_share");
    foreach (ManagementObject share in searcher.Get())
    {
    string path = share["Path"].ToString();

                    DirectoryInfo di = new DirectoryInfo(path);
                    DirectorySecurity ds =  di.GetAccessControl();
                                    
                    DirectorySecurity myDirectorySecurity = di.GetAccessControl();
                  AuthorizationRuleCollection arc =  myDirectorySecurity.GetAccessRules(true,true,typeof(System.Security.Principal.NTAccount));
                    
                    myDirectorySecurity.RemoveAccessRule(new FileSystemAccessRule("EveryOne", FileSystemRights.FullControl , AccessControlType.Allow));
                                        //di.SetAccessControl(myDirectorySecurity);
                                        
                    }
    

    It gives me the all shared folder and tried to remove Sharing permission. But it fails i)if Sharing is not given to EveryOne ii) If sharing is given to EveryOne but other than full control. "Please suggest a way to retrive sharing folder having access given to Every one and then how to remove that access irrespective of Access Permisssion" Thanks in advance:cool:

    C# csharp security tutorial

  • HttpWebrequest's Proxy property
    H himuskanhere

    Hello friends, I have a program to connect to url using HttpWebRequest object and download a file from that url. I have set httpwebRequest.Proxy = null; Question: In my application, no setting field available for to define the specific proxy settings - so, does the my programming foresee to use by default the internet explorer proxy setting? or are there any other ways to bypass the proxy? Thank You :thumbsup:

    C# question

  • How to delay to open second instance of application
    H himuskanhere

    Hi Rob , Thanks for reply/ I am not able to find a reason for crash but it may be reading/writing file at a same time. Any idea about mutex.WaitOne(...) Thanks

    C# csharp tutorial

  • How to delay to open second instance of application
    H himuskanhere

    hi everybody. I have an C# desktop application, it support multiple instances. but in my case, my application get 10-15 sec to load and if in between second instance get started, it will crash. So i wish multiple instance application but even if there will be successive two double click to start application, second ,third instance should wait a while.. I have tried mutex but i have no detail idea of mutex. Pls give me a way to do it Thanks in advance.:thumbsup:

    C# csharp tutorial

  • ServicePointManager.ServerCertificateValidationCallback
    H himuskanhere

    Dear Friends, I stuck at a point, to download a file from HTTPS site. I have a secured web site https/www.mySite.com/. I havent any idea which Certificate that server is using. I just want to down load a file from that site. For that I have written the code: private static bool ValidateRemoteCertificate( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors policyErrors ) { if (policyErrors == SslPolicyErrors.None) return true; else return false; )); // // Do not allow this client to communicate with unauthenticated servers. // return false; // } but it always shows the error "System.Net.Security.SslPolicyErrors.RemoteCertificateNameMismatch" and if i forcefully return true it works fine... what is proper solution?????? thnaks in advance

    C# help question csharp com sysadmin

  • Listing Directories and Files from Web Server
    H himuskanhere

    Hello Friends How to get list of files and folders from web server using http protocol? :cool:

    C# sysadmin tutorial question

  • How to unzip the .zip file programatically?
    H himuskanhere

    Dear Frnds... need your help.. How to unzip the .zip file programatically:cool:

    C# help tutorial question

  • How to download folder from Web Server
    H himuskanhere

    Ok..but how to get list of files and folders available on WebServer. like FTP we can get list of Directories and files using "WebRequestMethods.Ftp.ListDirectory :omg: ;"

    C# tutorial sysadmin

  • How to download folder from Web Server
    H himuskanhere

    Hello Friends My application wants to download Folder(folder and sub folders with files) from Web Server using HTTP. Can guide me to do this. Downloading from FTP is done, for that I have used FtpwebRequest and FtpWebResponse... But how to download using HttpWebRequest... I have able to download a file from WebServer but I want to download a folder and files. Thanks in advance... :rolleyes:

    C# tutorial sysadmin

  • How to Open a .cs file in already Opened Visual Studio2005 IDE
    H himuskanhere

    Hey frnds, Thanks for ur reply.. i have ovecome this issue... But my new issue is.. If i have opend a file in VS2005 IDE how to navigate to specific line number.. means: i have to open a .cs file and current control is at line no. 10

    C# csharp visual-studio tutorial

  • How to Open a .cs file in already Opened Visual Studio2005 IDE
    H himuskanhere

    Exception occurs: Cannot start process because a file name has not been provided.

    C# csharp visual-studio tutorial

  • How to Open a .cs file in already Opened Visual Studio2005 IDE
    H himuskanhere

    that is my question.... i want to open a file in already opened VS editor.

    C# csharp visual-studio tutorial

  • How to Open a .cs file in already Opened Visual Studio2005 IDE
    H himuskanhere

    Helloo friend, I have to Open a .cs file through C# code. i have code like this ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = "devenv.EXE"; startInfo.Arguments = path; // (path of .cs file) Process.Start(startInfo); but it creates new instance of VS2005, whereas i want to open a file in already opned VS2005 IDE. Thanks in advance.:cool:

    C# csharp visual-studio tutorial

  • Multi Instance application
    H himuskanhere

    Hello friends, Can u help me to delay the second instance of application.?? I want my application must be multi instance appliation but if double clicking immediatly second instance should start after some specified delay!! Thanks in advance

    C# help question

  • How add delay in Displaying ToolTip Text
    H himuskanhere

    i already had used InitialDelay = 1000 but it isnt work.

    C#

  • How add delay in Displaying ToolTip Text
    H himuskanhere

    Hello friends I have a combo box, on ComboBox dropDown i have to show tooltip for combo box item.But tooltip should dislay after some time delay. I have used toolTip.Show(...) which shows toolTip text immediatly. Thanks in advance :-O

    C#

  • [Message Deleted]
    H himuskanhere

    [Message Deleted]

    C#

  • Hinding from TASK bar and font chang of caption TEXT
    H himuskanhere

    hello frnds plz help me regarding how to change font of Caption of Window Text. Also whts the procedure to hide icon on task bar. thanks :laugh:

    C / C++ / MFC help tutorial
  • Login

  • Don't have an account? Register

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