yes i tried with all tools and also used tools available from microsoft.
onlyjaypatel
Posts
-
IAccessible problem in Google Chrome.... -
IAccessible problem in Google Chrome....Hi Hans, Thanx for your reply. As in your given link documentation the code will work for Chrome version 1. But we want all the information for Chrome version 4,So program failed to find chrome browser running. To make chrome browser visible for XMSAALibTest exe,We had changed class name of chrome from "Chrome_XPFrame" to "Chrome_WindowImpl_0" in XMSAALibTest program. And the output is as below for "EnumAllBrowserObjects" button. XMSAALibTest v1.0 Found Google Chrome browser Object enumeration started NAMELESS[window - invisible] {Description: ?, Location: (-31997, -31473, -31947, -31453), Value: ?} NAMELESS[application - visible,focusable] {Description: ?, Location: (-31997, -31473, -31947, -31453), Value: ?} NAMELESS[editable text - visible,read only,focusable] {Description: ?, Location: (-31997, -31473, -31947, -31453), Value: ?} Object enumeration complete Writing XML to file MSAALib.xml So we cannot get all information like IE or Firefox in XMSAALibTest. Do we need to change more things in XMSAALibTest demo program to make XMSAALibTest exe workable for Google chrome version 4? -Jay
-
IAccessible problem in Google Chrome....Hi All, We are developing one program that capturing items under mouse in different browsers. We are using IAccessible Interface and AccessibleObjectFromPoint to get the different elements of perticular item under mouse. Right now we are facing a problem with Google chrome. Its not giving any information of item under mouse, for example name,value,role ,etc... Is there any method available to do this in Google Chrome with or without IAccessible? Thanx in advance. Jay.
-
AccessibleObjectFromPoint memory leakage problem..Hi, Thanx for reply. Actualy we had removed all IAccessible function calls to clear that doubt,So now there is only one function call in timer that AccessibleObjectFromPoint() ,But still there is a memory leakage. If you have any knowledge regarding this please let us know. Thanx again, -Jay
-
AccessibleObjectFromPoint memory leakage problem..Hi, We have used the same code as given in http://blogs.msdn.com/oldnewthing/archive/2004/04/23/118893.aspx to capture objects under mouse in timer.But we are facing memory leakage problem. While debuging this code we got the point of leakage is in function AccessibleObjectFromPoint. We already using IAccesible::Release function and VariantClear to release memory but still memory leakage is there. Any one know ,how to release memory used after AccessibleObjectFromPoint is called. Please help. Thanx in advance. -Jay
-
Word CaptureHi, We have used the same code as given in http://blogs.msdn.com/oldnewthing/archive/2004/04/23/118893.aspx to capture objects under mouse in timer.But we are facing memory leakage problem. While debuging this code we got the point of leakage is in function AccessibleObjectFromPoint. We already using IAccesible::Release function and VariantClear to release memory but still memory leakage is there. Any one know ,how to release memory used when AccessibleObjectFromPoint is called. Please help. Thanx in advance. -Jay
-
GetCursorPos failed in Service mode....Hi, We have one program that is taking current cursor position in timer with GetCursorPos(). In normal exe its working fine.We have changed the program in to service. Now In service mode the GetCursurPos return true but values are given by the function are garbage values. we changed function with GetMessagePos but the result is same. Any body know how to make it work. We had also tried to get desktop rights to our service with OpenDesktop and SetThreadDesktop but SetThreadDesktop function failed with error code 170. If anybody knows about this problem please let me know the solution. Thank you, Regards, Jay.
-
How to get cureent url from firefox address bar...Hi all, I want to get cureent url from address bar of firefox. Is there any snippet code to do this? Thanx, Jay
-
Change Wake on lan setting from windows.Thanx for reply. I have tried both your ways but in both case the BIOS setting must ON. In my case i have to set "Wake on LAN from s5" to "Power ON" in bios. Only windows setting is not working. Any method to set "Wake on LAN from s5" to "Power ON" in bios. Thanx Jay.
-
Change Wake on lan setting from windows.Hi All, I want to know ,Is that possible to get any setting from CMOS? Actualy I want to Get and Set "Wake on LAN" setting in CMOS. Right now I have to set it manualy. I want to make a small program that can get status of Wake on lan setting and set or reset the same setting too.Is there any method available? Thank you. Jay.
-
How to get tool tip text of another application.Actually i want to capture all information of an office outlook items. When i take mouse on any item of office outlook my program should give all information available for that item.I have developed some part of it with IAccessible interface.But right now i am facing one problem with the new push button on the office outlook,it gives same information for New button for "Mail" "Calender" "Task" "Contacts" etc. I observe that the tootip is different each time for new button when Any of this selected from the left side of outlook.So i want to capture that tooltip so i can identify the new button is different. For you information Office outlook is 2003 and I am using vc++ 6.0 to develop this program. Thanx Jay.
-
How to get tool tip text of another application.Hello When we take a mouse on any program button or etc. the windows show us a tool tip. How can i get that tooltip text in my program ? In short i want to capture a tooltip displayed by windows when i take my mouse over there. Any hooking required? Thanx in advance. Jay.
-
Outlook email(.Msg ) file problem in vista explorer....Hi all, In vista explorer when we copy any ".eml" file it shows all values of that email in its column,like From address,To address,From name,Subject etc.. But it is not displaying same for Outlook office email message (.Msg)File. Can anybody tell why its not displaying this.Is that possible to show this fields in vista explorer columns? If yes How? Is there any registry setting? Thanx in advance. -Jay
-
Outlook email(.Msg ) file problem in vista explorer....Hi all, In vista explorer when we copy any ".eml" file it shows all values of that email in its column,like From address,To address,From name,Subject etc.. But it is not displaying same for Outlook office email message (.Msg)File. Can anybody tell why its not displaying this.Is that possible to show this fields in vista explorer columns? If yes How? Is there any registry setting? Thanx in advance. -Jay
-
Desktop screen shot function failed in RDPI have checked it with writing a log file. All pointers and rect are looking normal. But the function bitblt is failed. Why i dont know and the GetlastError gives Error 6. which is invalid handle. Is there any api to check HDC or CDC object is valid or not. bcoz it looks normal handle and pointer. Anyway thanx for reply.
-
Desktop screen shot function failed in RDPHi All, I have one program thats taking the screen shot of desktop and save in a file.But this program is running on remote machine.I connect this machine with RDP.Problem is When i connected to machine program is working fine and taking screen shots ,but when i disconnected from RDP or minimized it it failed. I found that, The Bitblt function of the following sample code is falied with Error 6.Otherwise its working fine when i m connected to it. Error 6 means Invalid handle. Can anybody tell why its failed of any other method of taking screen shot of desktop.? Thanx in advance.. ////////////////////////////////////////// BOOL CBitmapFile::SaveDesktopAsFile(LPTSTR szFile, int nFileType) { CString strFileName, strError = ""; CWnd* pWnd = CWnd::GetDesktopWindow(); CBitmap bitmap; CWindowDC dc(pWnd); CDC memDC; CRect rect; strFileName = (CString)szFile; memDC.CreateCompatibleDC(&dc); pWnd->GetWindowRect(rect); bitmap.CreateCompatibleBitmap(&dc, rect.Width(),rect.Height() ); CBitmap* pOldBitmap = memDC.SelectObject(&bitmap); memDC.BitBlt(0, 0, rect.Width(),rect.Height(), &dc, 0, 0, SRCCOPY); // Create logical palette if device support a palette CPalette pal; if( dc.GetDeviceCaps(RASTERCAPS) & RC_PALETTE ) { UINT nSize = sizeof(LOGPALETTE) + (sizeof(PALETTEENTRY) * 256); LOGPALETTE *pLP = (LOGPALETTE *) new BYTE[nSize]; pLP->palVersion = 0x300; pLP->palNumEntries = GetSystemPaletteEntries( dc, 0, 255, pLP->palPalEntry ); // Create the palette pal.CreatePalette( pLP ); delete[] pLP; } // Convert the bitmap to a DIB HANDLE hDIB = DDBToDIB( bitmap, BI_RGB, &pal ); if( hDIB == NULL ) return FALSE; // DrawGreyScale( &memDC, hDIB ); memDC.SelectObject(pOldBitmap); // Write it to file // Write it to file if(nFileType == BMP_FILE) WriteDIB( szFile, hDIB ); else JpegFromDib(hDIB, 100, strFileName, &strError); // Free the memory allocated by DDBToDIB for the DIB GlobalFree( hDIB ); return TRUE; } //////////////////////////////////////////
-
IOCP Socket Timeout Problem..We have developed one IOCP server Application. We got a socket close event when client application (safe/unsafe) close. But when client machine restarts or network cable unplugged we can not get any event of the socket close. We have also tried to set socket timeout with setsockopt() ,but its not working with IOCP. So ,Is there any method to get close event for this sockets? or any other method to set timeout in IOCP. Thank you.
-
ACCESS Denied in GPRSWhen i tried to access mobile9.com or getjar.com tagtag.com on my t230 phone it gives me and error Access denied. Is there any problem in my GPRS Setting.I m using vodafone live.
-
Parent and chield Dialogmake one member variable that store the pointer of cerated dialog B which is initialy NULL and create the dialog when its null if its not null than dont go for create it put same check in OnClose
-
create rectangle box ,display inside system time how?SYSTEMTIME st; GetLocalTime(&st); now in st all values of date time Use CString Format function to convert in stinrg