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
G

Ganesh_T

@Ganesh_T
About
Posts
176
Topics
36
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Install software (setup.exe + supporting cab files) using PsExec
    G Ganesh_T

    Hi, I have used PsExec tool for installing MSI or exe on remote machine which works perfectly fine. Now I have a software which has Setup.exe and supporting CAB files. I want to know whether PsExec can be used for such kind of scenario, "A winner is not one who never fails...but the one who never quits"

    Free Tools workspace

  • Issue with ShellExecute on Windows 7 in windows service application
    G Ganesh_T

    Hi, I have created the windows service which does the ShellExecute command on noteapad.exe. When service is installed the notepad.exe is executed and only seen in task manager. The Notepad.exe window is not visible. Could anyone let me know what may be the issue with this, I have tried this on Windows XP where it works fine. Following is the code for SheelExecute

    ::ShellExecute(NULL,
    NULL,
    _T("notepad.exe"),
    _T("C:\\Users\\testuser\\Desktop\\review_comments.txt"),
    _T("C:\\Windows\\System32"),
    SW_SHOWMAXIMIZED);

    Thanks in advance "A winner is not one who never fails...but the one who never quits"

    C / C++ / MFC help

  • DHCPCreateSubnet Error code: 5 on HyperV windows server 2008 R2
    G Ganesh_T

    Hi, I have written the an application which configures the DHCP server using c#. Environment: Hyper-V Windows 2008 Server R2 API used to crerate subnet is : DHcpCreateSubnet. Return code: 5 The above return code is received when used for the first time. In second attemp when DHCPCreate subnet is called it succeeds to create the subnet for same IP used as scope address. For e.g 1st Attempt: Exe is executed first time,. API used : DHCPCreateSubnet Error code :5 IP used for scope address : 192.168.1.10 2nd Attempt: Exe is executed second time,. API used : DHCPCreateSubnet Error code :2005 (success), IP used for scope address : 192.168.1.10 Please let me know if you any information on Hyper-V why its is failing for the first time. Regards -Ganesh

    "A winner is not one who never fails...but the one who never quits"

    C / C++ / MFC csharp sysadmin windows-admin json help

  • Controls on form shrinks
    G Ganesh_T

    running on Windows 2003 server IDE is VS2008

    "A winner is not one who never fails...but the one who never quits"

    C# design help

  • Controls on form shrinks
    G Ganesh_T

    I am using visual studio 2008 and runnin on windows 2003 server machine

    "A winner is not one who never fails...but the one who never quits"

    C# design help

  • Controls on form shrinks
    G Ganesh_T

    HI, I have developed the windows form with edit controls and static controls which at design time seems ok. But when I compile the project and run the form and the controls on it shrinks. I tried adding the Resize event and settings the FormBorderStyle to FixedSingle through which the form seize seems ok but the controls on it still shrinks. Any kind of help is appreciated -Regards

    "A winner is not one who never fails...but the one who never quits"

    C# design help

  • Setting DHCP options programtically using C# on Windows 2008 server [modified]
    G Ganesh_T

    HI, I have wriiten the code to set the DHCP options such as DNS IPaddresses, Router IPAddress etc. using DhcpSetOptionValueV5 API in c#. The API add the option in the DHCP server but doesn't add the value for it, But same works on windows 2003 server. All the DHCP management are used using p/invoke. Regards

    "A winner is not one who never fails...but the one who never quits"

    modified on Monday, November 9, 2009 3:17 AM

    C# csharp sysadmin json

  • using DHCPSetOptionValueV5 to set the option on subnet
    G Ganesh_T

    Hi, I want to configure the DHCP server programmatically tjrough C#, I am able to create the subnet , get the lease infomation from DHCP server etc. Now I need to set the Options for DHCP server programatically. I tried to but not getting how can I add DNS server option on subnet through code. Regards

    "A winner is not one who never fails...but the one who never quits"

    C# csharp sysadmin question

  • Getting the list of DHCP clients
    G Ganesh_T

    Hi, How can i get the list of dhcp clients. Tried using DhcpEnumSubnetClients() butwas not able to get that. The API return success but the DHCP_RESUME_HANDLE is always 0 and it didn't return any client. cheers Ganesh

    "A winner is not one who never fails...but the one who never quits"

    C# json question

  • How to get the list of programs displayed in Windows firewall "Add program" dialog [modified]
    G Ganesh_T

    Thanx david. I also tried with this... It makes sense if we display that list also. because firewall used add the programs in exception list and not displaying all the applications. But then also need to find out how does windows get the list of application. I have VS6.0 intalled on my machine and firewall shows most of the application from Visual Studio 6.0 folder from the installed location. Anyways...Will look to get.... Thanks again for the help.

    "A winner is not one who never fails...but the one who never quits"

    C / C++ / MFC windows-admin tutorial question

  • How to get the list of programs displayed in Windows firewall "Add program" dialog [modified]
    G Ganesh_T

    thanks for the information. I looked for NetFwMgr and tried to use the interfaces provided but was not able to get any thing. INetFwMgr NetFwPolicy Thanks

    "A winner is not one who never fails...but the one who never quits"

    C / C++ / MFC windows-admin tutorial question

  • How to get the list of programs displayed in Windows firewall "Add program" dialog [modified]
    G Ganesh_T

    Hi, Created the application same as Windows firewall. In Windows Firewall Under Exception tab we have the "Add Program" button. On click of which the list of program is enumerated. I want to know from where this list is populated. Any registry key under which these programs are listed. or any method to get this list? Regards.

    "A winner is not one who never fails...but the one who never quits"

    modified on Thursday, August 27, 2009 2:57 AM

    C / C++ / MFC windows-admin tutorial question

  • How to set the border width of dialog box
    G Ganesh_T

    I have ceated a dialog box whose bporder width seems to be thick around 2 pixel. How can I increase/decrease the boreder width of dialog box Any kind of help is appreciated. Cheers

    "A winner is not one who never fails...but the one who never quits"

    C / C++ / MFC help tutorial question

  • error MIDL2025 : syntax error : expecting a type specification near "interface_name"
    G Ganesh_T

    Hi, I am having an issue compiling the ATL/Com dll; I have Three classes and their interfaces in a com dll as: 1- IMailInterface 2- IMyInterface1 3- IMyInterface2 Now,MFC application uses these interfaces. My application will never directly deal with 2nd and 3rd interface. Everything will be done with the help of IMainInterface. I want to add a method to IMainInterace as GetMyInterface1(IMyInterface1** ptr); which will retrun the IMyInterface1 pointer But while comiling getting an error error as: D:\Work_ganesh\MPlusSrvOpticalDevice\Work In Progress\Ganesh\Samples\DemoCOM\DemoCOM.idl(18):error MIDL2025 : syntax error : expecting a type specification near "IMyInterface1" D:\Work_ganesh\MPlusSrvOpticalDevice\Work In Progress\Ganesh\Samples\DemoCOM\DemoCOM.idl(18) : error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation Error executing midl.exe. I tried adding header file but it didn’t worked. Thanks.

    "A winner is not one who never fails...but the one who never quits"

    COM help c++ com

  • error MIDL2025 : syntax error
    G Ganesh_T

    Hi, I am having an issue compiling the ATL/Com dll; I have Three classes and their interfaces in a com dll as: 1- IMailInterface 2- IMyInterface1 3- IMyInterface2 Now,MFC application uses these interfaces. My application will never directly deal with 2nd and 3rd interface. Everything will be done with the help of IMainInterface. I want to add a method to IMainInterace as GetMyInterface1(IMyInterface1** ptr); which will retrun the IMyInterface1 pointer But while comiling getting an error error as: D:\Work_ganesh\MPlusSrvOpticalDevice\Work In Progress\Ganesh\Samples\DemoCOM\DemoCOM.idl(18):error MIDL2025 : syntax error : expecting a type specification near "IMyInterface1" D:\Work_ganesh\MPlusSrvOpticalDevice\Work In Progress\Ganesh\Samples\DemoCOM\DemoCOM.idl(18) : error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation Error executing midl.exe. I tried adding header file but it didn’t worked. Thanks.

    "A winner is not one who never fails...but the one who never quits"

    ATL / WTL / STL help c++ com

  • get Distinguished Email id from GAL
    G Ganesh_T

    I am developing an app which will fetch addresses from the GAL. I need the email address of the users. I get those in the exchnage format (Electronic mail format) for eg. /c=US/a=att/p=Microsoft/o=Finance/ou=Purchasing/s=Furthur/g=Joe and need those in I am using Exchange SDk to fetch the contacts from GAL. for e.g : xyz@fgh.com

    "A winner is not one who never fails...but the one who never quits"

    C / C++ / MFC com

  • Using Slider control in Win32
    G Ganesh_T

    can anyone help in using the Slider control in win32. I have the handle of the dailog item. I mean The slider control on dialog. and now I want to do SetRange and SetPos.

    "A winner is not one who never fails...but the one who never quits"

    C / C++ / MFC help

  • Recording audio in WMV file
    G Ganesh_T

    I am getting problem in recording audio in WMV file using WMEncoder using IWMEncoder2 interface. I am getting access voilation for LAME.ACM. I am not getting what's going wrong. Ifyou have any suppotring links please reply back. cheers

    "A winner is not one who never fails...but the one who never quits"

    C / C++ / MFC help

  • InternetOpenURL fails
    G Ganesh_T

    Hi all I am getting problem while using InternetOpenURL in Wndoe service. It fails. But if the same code I try through a seaparte EXE it works. and It happens only on XP.

    "A winner is not one who never fails...but the one who never quits"

    C / C++ / MFC help

  • covert time_t ot LONG
    G Ganesh_T

    LONG is 4 bytes. time_t is now a 64-bit value (unless _USE_32BIT_TIME_T is defined).

    "A winner is not one who never fails...but the one who never quits"

    C / C++ / MFC question c++ help
  • Login

  • Don't have an account? Register

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