Ok its early and the brain must not be working well this morning. I have a Login dialog that is case sensitive with user names and passwords. What I want to do is alert user when the "Caps Lock" key is pressed (show info in a static text control). What I can't figure out is how to know when the Caps Lock key is pressed. I'm sure this is something that I am just overlooking. Thanks.. Tim :-D
Member 260880
Posts
-
Capturing CAPS key changes and updating UI -
Find '.' characterHere's a great class, CFileSpec, that is easy to use and you can view code to learn. Hope this helps.. http://www.codeproject.com/KB/cpp/cfilespec.aspx
-
Upgrading from VC Studio 6.0I thinking of upgrading from VC Studio 6.0. Is it worth upgrading to VC 2008? I really just use C++. What would be the best... 2005 or 2008? Does the new MFC update work on 2005? What is the up side and down side to upgrading? Any opinions? What about VC C++ Express? Thanks for your time. Tim
-
Connecting to another computer on the internet (i.e. remotely)Yes I can ping the "external IP" address with no problem. By external IP I'm referring to the IP used from outside our local network. Not sure how to even try mapping a drive to a remote computer that does not show up in Windows Explorer. I'm lost...
-
Connecting to another computer on the internet (i.e. remotely)Here's what Hughes.net is saying... Tim, as I understand you want to remotely access a computer. I would like to inform you that as far, as ports are concerned HughesNet does not block any ports. Tim, I am sorry but we do not have information about the Remote Access where you can remotely access the computer at Business end from HughesNet system. However if you want to remotely access the HughesNet system from the Business end then you would require a static IP. While checking the records I found that you do not have a Static IP. A static IP address allows you to gain access to your computer from the internet. To get the Static IP I would suggest you to contact Billing Department. I am sorry to inform you but HughesNet does not provide technical assistance with Remote Access. I'm at a lost. As mentioned previously, Sprint/Dell and others allow "chat" with no problems. Maybe the problem is with using CSocket where as Sprint/Dell is using the browser and they use something else? I'm lost... Thanks..
-
Connecting to another computer on the internet (i.e. remotely)Thanks for the info and patience - I'll contact Hughes Net and see how/if I can configure my modem.
-
Connecting to another computer on the internet (i.e. remotely)Your answer does not seem correct... I say that because of the number of "live chat" session that happen when seeking help. For example, Sprint.com, Dell.com, etc. These are not modifying the modem/router. So it begs the question, how are these programs do it? I read the NAT article, very good, but I'm still un-certain what to do.
-
Connecting to another computer on the internet (i.e. remotely)Okay this subject is where I am rather green.... If server (listener) is running on the same local network, all works fine (nothing special). Create socket, open on port X and listen (I'm using NDK 2.0). If I try to connect over the internet to my listening server (uses NDK 2.0 code as server), the connection cannot be made even though I can ping the computer from a far. So your response about forwarding packets does not make sense. I'm trying to learn this stuff.... Tim
-
Editing with tabbed windows with visual studio 6.0Okay so the other guys answering seem to be jerks :omg: .. not all of us are! :cool: You are probably referring to WndTabs. This can be found here on CodeProject at www.codeproject.com/KB/macros/wndtabs.aspx This this helps and good luck... Tim :laugh:
-
Getting Selected List itemPaul - Try using the GetFirstSelectedItemPosition method for CListCtrl. This returns a POSITION which is used in the next call to GetNextSelectedItem (that will return and item number). Then use the item number in the call to GetItem (you need to send in a pointer to an LVITEM structure). Here's some sample code... Hope this helps, Tim :laugh: CListCtrl myList; POSITION pos = mylist.GetFirstSelectedItemPosition(); while (NULL != pos) { int nItem = mylist.GetNextSelectedItem(pos); LVITEM lvItem; ZeroMemory ( &lvItem, sizeof(LVITEM) ); lvItem.mask = LVIF_IMAGE | LVIF_TEXT; //gets the information you are interest in lvItem.iItem = nItem; if (TRUE == mylist.GetItem(&lvItem)) { break; //if you want to stop } }
-
Connecting to another computer on the internet (i.e. remotely)I am currently using the NDK 2.0 which is working great (NDK uses CSocket). Here is the problem.... I have a server running on Computer A which resides a couple of miles away. When trying to connect from Computer B, I am unsuccessful. I use HughesNet (DirecWay) satellite as my way to connect to the internet. On both ends are a local network that the Hughes net modem assigns internal IP addresses (192.xxx.xxx.xxx addresses). I can get the external IP address (using www.checkip.org) no problem. I can even ping the external IP addresses with no problems (with firewall disabled). Trying to communicate from Computer A to B or B to A produces an "unable to connect" message. I have disabled the firewalls and still the same. I can "ping" the server computer no problem, but connecting using NDK (CSocket) is not possible. Any ideas? Can someone point me to code/articles that may help. What am I missing here? Do I need a special port? Thanks.. :( Tim