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
I

Irfan Kothari

@Irfan Kothari
About
Posts
11
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Please Help!! MDI Problem
    I Irfan Kothari

    Hello Friends, I am developing a MDI application. In my application i dont want the control box of all the child forms and also i want that all the forms should be opened maximize in parent. i have set the property controlbox=false, maximizebox=false,minimizebox=false, form borderstyle=fixedsingle . but when i run the application control box automatically appears.:confused: i really stuck into this, please help me! any kind of help is appreciable thanks in advance Irfan kothari

    C# help

  • Please Help me!! My pc is not going to shutdown when application is running
    I Irfan Kothari

    Sorry Guys, I have misunderstood it.:( ok anyways sorry once again :-D Regards, Irfan Kothari "Take Care Not Chances"

    C# help question

  • Please Help me!! My pc is not going to shutdown when application is running
    I Irfan Kothari

    Hello stefan, i have found very simple solutuion to this problem. before your posting but than also thanks. whenever we click on shutdown it will call form closing event in the application and i have written following code in my form closing event. this.WindowState = FormWindowState.Minimized; this.Opacity = 1; this.ShowInTaskbar = false; if (this.FrmCloseFlg == false) { e.Cancel = true; } thats y my application is not going to exit instead it will be in minimize position. so i have used one boolean variable and use condition as follows if(!InSystemTray) { this.WindowState = FormWindowState.Minimized; this.Opacity = 1; this.ShowInTaskbar = false; if (this.FrmCloseFlg == false) { e.Cancel = true; } //UserCanceled = true; UserInfo.InSystemTray = true; } else { Application.Exit(); } The InSystemTray will set to false again whenever we manually clik on open context menu or double click tray icon ,whatever it is. is it simple na!!!!!:laugh: So we dont have a right to call any person an idiot ok buddy,be cool Regards, Irfan Kothari

    C# help question

  • Please Help me!! My pc is not going to shutdown when application is running
    I Irfan Kothari

    Hello friends, I have developed one application, in that if user clicks on close button the application is minimize to system tray if user want to close the application than user will right click on system tray icon and click on close buton. Now problem is when my application is in system tray and if i am going to shutdown/restart/logoff my ocmputer than all processes is going close but after that nothing is happening. if i want to shutdown the computer than i have to close my application first can anyone having idea regarding this?? please help me as soon as possible any kind of help is appreciable thanks in advance Irfan Kothari

    C# help question

  • how can i make runtime installer using C# .NET?
    I Irfan Kothari

    Hello friends, I want to create a installer like we are adding deployment project in our application. but i want it to be done at runtime from an application. for example,i have one desktop application. in that if i will click make installer than it should make an installer which includes more than one files. And furher when user runs that installer it will call installer class which makes registry entries for further use. any kind of help is appreciable thanks in advance. Irfan Kothari.

    C# csharp question sysadmin windows-admin help

  • small file/prog association question
    I Irfan Kothari

    Hello friends, I was having same problem. I want my .xyz file associate with my application when i install the project. also i want to use the file name which has clicked in further in my code when my application will start. anybody have idea regarding this? i am realy stuck into this Please help me any kind of help is appreciable thanks in advance. Regards, Irfan Kothari.

    C# question windows-admin

  • How to make exe?
    I Irfan Kothari

    Hello subarata and christian. Sorry for providing mendatory information i want to make exe means. i want to make compilation wizard and i want to make an exe file which contain my .eb file plus .eb reader and mendatory files. once i click on that exe it should extract the reader and the related files. i am developing my application in c# .NET 2005 Any kind of help is appreciable Regards, Irfan KOthari

    C# question csharp help tutorial

  • How to make Association/Registration of our own file extension
    I Irfan Kothari

    Hello subrata, sorry for providing less information. Actually i am developing desktop application. Now, have you any idea regarding Asssociation and registration? any kind of help is appreciable. thanks for giving me reply. wait for your next suggestion :confused:

    C# csharp help tutorial question

  • How can I get MAC address of computers inlocal network
    I Irfan Kothari

    Hello Samira, Here is a code with you can get the Mac adrress of local machine i hope this will help full to you. :) private static string GetMacAddress() { string macAddr = ""; try { ManagementClass mc = new ManagementClass("Win32_NetworkAdapter"); foreach (ManagementObject mo in mc.GetInstances()) { macAddr = mo["MACAddress"] as string; if (macAddr != null && macAddr.Trim() != "") return macAddr; } } catch (Exception exp) { } Random ranGenerator = new Random(6); macAddr = ranGenerator.Next(100000, 999999).ToString(); return macAddr; } Regards, Irfan.

    C# sysadmin question

  • How to make exe?
    I Irfan Kothari

    Hello friends. I am developing a c# application in which the product is a file with extension .eb.i want to make exe file. How can i do this? please help me.

    C# question csharp help tutorial

  • How to make Association/Registration of our own file extension
    I Irfan Kothari

    Hello friends, I am a c# developer. I want to register my extension. and also i want to make association with my application means when .something will click than my application should open. How can d this? Help me to do this.

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