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
B

birajendu

@birajendu
About
Posts
118
Topics
63
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • IE 10 Protected Mode issues with Winodws 8 x64 CP.
    B birajendu

    Hi, I have understood that in Windows 8 CP x64 the IE 10 is a 64 bit browser, but it is triggering 32 bit containers while Enhanced protected mode if OFF. In this scenario, I am trying to lunch a .exe from my ActiveX using create process. Here createprocess() is failing with GetlastError() returning ZERO. The same code works fine and successfully launching the .exe in Protected mode off. Can any one put some light what additional stuff need to be done to achieve above mentioned scenario.

    Birajendu SonicWALL Bangalore India

    ATL / WTL / STL com

  • ActiveX issue: ATL 8.0 text in IE
    B birajendu

    Thanks a lot... The solution provided by u has been worked for me.

    Birajendu SonicWALL Bangalore India

    Managed C++/CLI csharp c++ visual-studio com design

  • ActiveX issue: ATL 8.0 text in IE
    B birajendu

    Hi, I have an ActiveX dll compiled in visual studio 2003. and it was working fine with the IE .Recently i have build the activex with VS2005. The same activex works fine now also. But it is showing ATL 8.0 on the center of IE. Note: this activeX dose not have UI. Can any one know whats went wrong with VS2005? I know VS2005 has ATL 8.0 version. Thanks in advance.

    Birajendu SonicWALL Bangalore India

    Managed C++/CLI csharp c++ visual-studio com design

  • Win32 .exe with out console.
    B birajendu

    Hi, I am using Visual studio 2005 to build a small Win32 .exe. This exe is doing a very small registry operation only. So i do not want a UI for this. I tried to do a win 32 console application. but while launching that the command console pops up for a moment till the execution completes. How to build the exe where the console will not pop up? Thanks in advance.

    Birajendu SonicWALL Bangalore India

    Managed C++/CLI csharp visual-studio design windows-admin tutorial

  • searching registry keys.
    B birajendu

    Hi, I would like to write a utility which will clear all those registry entries which has a particular sub string (e.g "mycompany"). So to achieve this I think i need to implement some logic which will check all those registry paths having keys which contain string/sub string "mycompany". I am trying to find out is there any API like FindNextFile() or some thing like that for registry keys. Thanks in advance.

    Birajendu SonicWALL Bangalore India

    Managed C++/CLI windows-admin algorithms tools json

  • RasSetCustomAuthData is writting corrupted data in rasphone.pbk
    B birajendu

    Hi, I am using RasSetCustomAuthData API to set my custom auth info before calling RasDial API. here is the code piece: int nError = ::RasSetCustomAuthData( myphonebook, myphonebookentry, (BYTE *)&myCustomAuthData, myCustomAuthData.dwSize ); Here value of myCustomAuthData.dwSize is 2708 . and the size of myCustomAuthData stracture is also 2708. but after calling this function is writting around 5k of data in the .pbk file. After calling this RasSetCustomAuthdata() api the .pbk file is having entry some thing like this. CustomAuthData=31444243FFFFFFFF940A0000940A000007000000A800000008000000430054000000000000000000000000000000000000000000000000000000000000000000 CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 CustomAuthData=0000000000000000000000000000000000000000000000000000000000000

    C / C++ / MFC json

  • Tab contol Issue.
    B birajendu

    Hi, I have created a TabControl in my VC++ project in VS2003 IDE. I would like to switch the tabs with the help of hotkeys (eg:Alt+A). Suppose i have two tabs with the titles &General ,&About. So I am expecting Alt+G should switch General tab and Alt+A should switch to About tab. But that is not happening. Do i need to set some thing else? Thanks in advance...

    Birajendu SonicWALL Bangalore India

    C / C++ / MFC help c++ visual-studio question lounge

  • Message Loop...
    B birajendu

    My Basic requirement is to monitor system standbay/shutdown message from window .But i need to do that in AppB (which is a non window based application). But application AppA is window based so i am receiving all these StandBy/shutdown messages. So if there is a way to check when system goes shutdown from non-window based appliacations , than my need will be satisfied.

    Birajendu SonicWALL Bangalore India

    C / C++ / MFC question

  • Message Loop...
    B birajendu

    Yes, exactly.

    Birajendu SonicWALL Bangalore India

    C / C++ / MFC question

  • Message Loop...
    B birajendu

    Hi, I have two applications suppose AppA AppB. Application AppA is window class application and AppB is non windowbased application. AppA, I have a message loop which used to get all regular messages. But I want to know how from AppB I will know which message AppA got.?

    Birajendu SonicWALL Bangalore India

    C / C++ / MFC question

  • RegOpenKeyEx() api issue.
    B birajendu

    After 2nd call of RegOpenKeyEx().

    Birajendu SonicWALL Bangalore India

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

  • RegOpenKeyEx() api issue.
    B birajendu

    Value of Status variable is only 6, error i got from Getlasterror() is 0.

    Birajendu SonicWALL Bangalore India

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

  • RegOpenKeyEx() api issue.
    B birajendu

    CPallini wrote:

    DWORD status = RegOpenKeyEx(hKey ,L"Fallback\server\item",0,KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS,&subkeyhKey);

    Sorry it was a typo... I am using like this only. status = RegOpenKeyEx(hKey , L"Fallback\server\item", 0, KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS, &subkeyhKey); Still the same error...

    Birajendu SonicWALL Bangalore India

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

  • RegOpenKeyEx() api issue.
    B birajendu

    I have to open a registry key whose length is more than 255 charecter length. I have called RegOpenKeyEx() function to open the key. But it failed. i came to know that i can call this function recussively to open such keys of long path.But the 1st call only succeed. code piece: DWORD status = RegOpenKeyEx( HKEY_CURRENT_USER , L"SOFTWARE\xyz\Connections\\properties\", 0, KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS, &hKey ); in next call DWORD status = RegOpenKeyEx( hKey , L"Fallback\server\item", 0, KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS, subkeyhKey ); the 2nd call failed. giving error no 6. the actuall key is SOFTWARE\xyz\Connections\<GUID>\properties\Fallback\server\item can you help me out to fix this.... thanks in advance....

    Birajendu SonicWALL Bangalore India

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

  • How to accept Enter key in Button control.
    B birajendu

    Thanks for the quick reply. But in VC++ IDE i did not get the button style property, I think i can do some thing like sendmessage() to the pertucular button to chnage style but i dont how to do that that. Do you have any idea? Thanks in advance....

    Birajendu SonicWALL Bangalore India

    C / C++ / MFC csharp visual-studio tutorial

  • How to accept Enter key in Button control.
    B birajendu

    I have created a Dialog using Visual studio 2003. in that dialog i have couple of control buttons. And those buttons are in tab stop order. In 1st tab stop 1st button is focused, and if i click space bar than it got clicked. So i expect the enter click should work in the same way when the button is focused. Is there any other property need to set to acheive that.... thanks in advance.....

    Birajendu SonicWALL Bangalore India

    C / C++ / MFC csharp visual-studio tutorial

  • RasSetEntryProperties() function not working properly in vista.
    B birajendu

    Hi , I am using this RasSetEntryProperties() function to write entries in phone book. In Windows Xp machine i got all the properties properly. But in Vista machine these following etries are not been created. PhoneNumber= AreaCode= CountryCode=1 CountryID=1 UseDialingRules=0 Comment= Can you please let me know what is the difference in vista in this context? Thanks in advance...................

    Birajendu SonicWALL Bangalore India

    C / C++ / MFC question learning

  • CreateFile problem
    B birajendu

    Yes i am sure about that.cause i can open that loaction through exploler using \\10.195.1.54\temp. it is not about the perticular extreme server in my Corporate lan. This happens with all PC prsent in Lan, If i try thru the name of the system than it works fine , but though IP it does not work.... :) No idea why? I gave a another try.I connected two PC to a router. So here i got IP from router.There is no scenario of DNS here, so i tried trough IP only(some thing like \\192.168.1.2\temp\emaple.ini) and worked perfactly. SO i am confused where is the problem?

    Birajendu SonicWALL Bangalore India

    C / C++ / MFC help question sysadmin

  • CreateFile problem
    B birajendu

    Hi I am using the following createfile function to open a file in network share. HANDLE file = CreateFile( File, GENERIC_READ , FILE_SHARE_READ, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0 ); When the file name is \\10.195.1.54\Temp\expample.ini file it is giving error 5. But when i input the network share name instead of ip like \\Extream\Temp\expample.ini it is opening. can you please help me what is the problem i am having?

    Birajendu SonicWALL Bangalore India

    C / C++ / MFC help question sysadmin

  • How to double click desktop icon programatically?
    B birajendu

    I tried with ShellExecute to open this, But for network connection shortcuts it seems not working. i found another thing about network shortcuts is, the target type is a GUID rather than the actual application. The reason why i asked about the start->run is, if you drag the network shortcut in to start->run it functions perfactly. So can i implement some code to simulate that action?

    Birajendu SonicWALL Bangalore India

    C / C++ / MFC question json 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