use xpath "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
Andrey Del Pozo
Posts
-
XML in .net SUCKS! -
a good DOM inspector for IE?cool, i'll check ie web tools. Thanks everyone "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
a good DOM inspector for IE?Just wondering if anyone knows a good and free DOM inspector for IE like the one that comes with firefox? should it be worthy to build one if there is none (free)? "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
access MFC view from modeless dialogdepends if you hace SDI or MDI. if is MDI: // this is from MSDN Library CMDIFrameWnd *pFrame = (CMDIFrameWnd*)AfxGetApp()->m_pMainWnd; // Get the active MDI child window. CMDIChildWnd *pChild = (CMDIChildWnd *) pFrame->GetActiveFrame(); // Get the active view attached to the active MDI child // window. CMyView *pView = (CMyView *) pChild->GetActiveView(); if is SDI: CFrameWnd* pMainFrm = (CFrameWnd*)AfxGetMainWnd(); CMyView *pView = (CMyView *)pMainFrm->GetActiveView(); Once you have pView you can call functions or send messages. "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
UDP socket problemHello everybody, I hope someone can help me with this problem, i have tried a failed miserably. :^) I have a client/server app, each machine will have 2 LAN adapters (one for stream data at high rates and the other for control). The underling protocol is UDP. So in order to implement a response mechanism I use the sender address returned as an output parameter from the receivefrom() function. When working with 2 different PC there is no problem (both of them with 2 lan adap), the problem appears when I tried to run the apps in my developing machine to test one of the protocols, recivefrom() returns the address of the adapter listening, not the address of the sender…:wtf: so I can’t acknowledge the packet send. Does anybody has experienced this kind of problem, or something related? Is there any sockopt() that I can use? OS configuration? (by the way this runs in win2k). Thank you all. "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
Modem ResetI'm using a GSM/GPRS modem and some times (don't know why) it gets dumb, only de carrier detect and the power leds are on, and i can't do ping. The only way to solve this problem is unpluging the prower cord but this will not be posible because it will work on an unattended PC, so.... i think if i reset the modem i'll work again but how do i reset the thing? AT commands or win32 API? any advice? thanx in advance, everybody "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
VenturCom RTXthat could be the reason.. damm spam! "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
VenturCom RTXHello everybody, i know this is a loosy question but... does anybody know how get in touch with the venturcom guys? The sell a realtime extension for Win2k/XP but they don't answer any mail and i need to know the price to make a recomandation. Are they still in bussines? They don't sell outside america? any experiences, alternatives or alternatives will be greatly appreciated. "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
Desktop / Web Jobsi agree with christopher, for me .Net is pretty similar tu VB6 in terms of programming productivity. That is, until MS releases Longhorn and declares all C++ programmers to be renegade criminals (er, that's "Unmanaged" in .NET parlance) to be assimilated or wiped out. The thing that scarme the most is the fact that MS may force developer to move to .Net just because they may not keep supporting MFC/C++. Don't get me wrong, i really like .Net but for me is 50% hype/maketing and 50% good technology "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
Desktop / Web JobsI know there has been a lot of discution about this subject but anyway i’ll ask. Do you think that right now there is the same amount or need of MFC/Desktop based development than before (say 3 years ago?) and that .Net/Web based development just adds for more jobs instead of subtracting the old ones.? Sorry for bring this overly talked subject; it’s the fear of extinction. :~ "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
Icons againi like this one. You can use Axialis Iconworkshop to convert the Mac icons to Windows icons, and also you will a tool to decompress .sit files. www.xicons.com[^] "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
anybody want gmail?yeeeesssss, me. please,please,please... :-D "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
Autocadhi everyone, i know this is not the rigth forum to ask, but... :) which is the best library for displaying Autocad (.dwg files), currently i'm begining to use openDWG but before i made a terrible mistake i want some input from you guys. Also I need to map a coordinate from the screen to a coordinate at the drawing. :confused::~ :confused: thanx in advance "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
Dialog box continuous update?The problem is that the thread that executes your for loop is the same thread that draws the GUI of your app. In order to solve your problem you have to create a workerthread. That thread must have a way to comunicate with your gui. If your ussing MFC the safe way to do it is passing the HWND of the dialog box or the HWNDs of the controls you want to update and use SendMessage/PostMessage to update their contents. To create a worker thread ( a worker thread does not handle any UI events, it does not own a window ) you can call: CWinThread* AfxBeginThread( AFX_THREADPROC pfnThreadProc, LPVOID pParam, int nPriority = THREAD_PRIORITY_NORMAL, UINT nStackSize = 0, DWORD dwCreateFlags = 0, LPSECURITY_ATTRIBUTES lpSecurityAttrs = NULL ); pfnThreadProc - this is your thread function,it has the following proto: UINT MyControllingFunction( LPVOID pParam ); pParam - can be anything you want, and it is what you recive in pParam in MyControllingFunction (usualy in MFC a HWND) "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
receive serial xml dataYou can use expat[^]. pros: -It is fast -has a small memory footprint, -and it comes with source code. cons: -it is not a validating parser. So you can't tell if the xml data is valid. -i don't know if it can read from stream/buffers, i used it only with files.( but you have the source... ;P) "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
1000 trillion operations a secondif it's 300 faster than earth simulator them it must do 10740 trillion ops per sec (300*35.8). But hey, it's wrong only by 1 zero ;P. "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
does banners work for advertising?thank all of you for your input. I think i will spend only in google ads, for the moment, i'll see how it goes. "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
does banners work for advertising?hi, i planning to use banners for some advertising work of a new product, using http://www.bcentral.com/[^] , but i'm kind of worry that the money will be wasted. Does anyone of you had any experience with this kind of marketing tool? does it work? regards, Andrey "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
IE update?the problem is that in some point of time they will make an automatic update of IE. Or even worse add some new feature to the IE and if you want it you must update. "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen
-
IE update?i have just downloaded and tested the newest version of IE. It has the famous dialog box for accepting every ActiveX control in the page. it sucks. X| Have any of you seen it? here is the link http://msdn.microsoft.com/ieupdate/[^]. After that i was thinking if it is legal to write a program that just do de click for us. Just set a windows hook to see if there a window creation, test if it just has a static and a button (or something like that) and programmaticaly push the button.:confused: "I don't want to achieve immortality through my work... I want to achieve it through not dying." -Woody Allen