Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jsaxon2

    Progress Bar

    I understand that, but I don't receive a msg from the CProgressCtrl with I click on it. What am I missing?
  2. jsaxon2

    ReadinReg

    What version of Windows are you on? Have you tries oening HKEY_LOCAL_USER?
  3. jsaxon2

    Progress Bar

    Is there a way to set the position on the progress bar to the position that a user clicks on the progress bar itself? For example, if the user clicks on the middle of the progress bar, the position of the progress bar gets updated to the middle. Thanks, Jack
  4. jsaxon2

    Printer problems.

    I acctually just found out the printers only printing one at a time is a problem with the Zebra driver itself. So I need to use a different driver. Problem is that I can't get the Seagull driver to work. It installs fine, but when I try and change any of the Print Preferences and click OK, it...
  5. jsaxon2

    Printer problems.

    I am having a problem with a Windows 2000 sever and some Zebra Z4M label printers. The problem is that only one of the 2 printers setup will print at a time. Example, if you have 100 documents queued up in both printers, printer 1 will print and printer 2 will keep erroring until printer 1 has...
  6. jsaxon2

    automatically execute a program and send button commands??

    You can use the keybd_event function to send keyboard commands. The following simulates pressing the tab key down and then releasing it. // Simulate a key down keybd_event( VK_TAB, 0x45, KEYEVENTF_EXTENDEDKEY | 0, 0 )...
  7. jsaxon2

    C++ EXPLAINED - NEW PROGRAMMER

    1.) The socket function creates a socket that is bound to a specific service provider. AF_INET is the Address family, SOCK_STREAM is the Type of the socket and IPPROTO_TCP is the protocol used by the socket. 2.) The connect function establishes a connection to a specified socket. hSock is the...
  8. jsaxon2

    XP Style buttons from VC++6.0 to VC++.net

    Thanks for your help. It worked.
  9. jsaxon2

    XP Style buttons from VC++6.0 to VC++.net

    What do I have to do to make my project's use Windows XP style buttons when converting a project from VC++6.0 to VC++.net. Is I create a new project in VC.net, it uses the styles, just not on a converted project. Thanks in advance. John
  10. jsaxon2

    ODBC acting crazy. Help needed from you ODBC w/ Oracle pros.

    It almost sounds like a network problem. Do you have another application you could use to check the connection to the service name? Maybe the Oracle ODBC Test that comes the Oracle client Utilities. If that doesn't have a problem, then it is your app, but if it does, it sounds like something in...
  11. jsaxon2

    Change Server Name and IP

    I just need to write a program that reside locally on a server and can change the name and IP then reboot the server. This is for a backup server that remains online for redundency but has to have the name and IP changed if the primary server goes down in order to avoid changing the ODBC...
  12. jsaxon2

    Change Server Name and IP

    Is there a way to change the server name and IP address? Thanks
  13. jsaxon2

    RegSetValueEx not working

    Thank you very much. Missed that.
  14. jsaxon2

    RegSetValueEx not working

    I have in the Administrators group. I can change the value using regedit.
  15. jsaxon2

    RegSetValueEx not working

    I getting an error "Access Denied" trying to change a value in the resistry. I am logged on a Win2K PC with administrative privleges. What am I doing wrong??? TCHAR szData[80]; sprintf(szData, _T("sa")); if(m_bprod) { HKEY hKey; if (ERROR_SUCCESS ==...
  16. jsaxon2

    problem with strings not wanting to work =(

    You need to include <stdio.h> in your .cpp file.
  17. jsaxon2

    ado question...

    Change your m_pConn->Execute(bstrtSQL, NULL, 0); to m_pConn->Execute(bstrtSQL, NULL, adCmdText);
  18. jsaxon2

    Compare Variables

    I am having a problem making changes to a C program. The program makes a call to a function that will return wether or not a user belongs to an environment. I had to make changes to the calling function and therefore needed to make a new function for the comparison. My problem is that my new...
  19. jsaxon2

    ado question...

    jolesen is correct in his last post., use single quotes. zSQL = CString(&quot;INSERT INTO User (UserID, Name) VALUES ('1', 'Storgt')&quot;);
  20. jsaxon2

    ado question...

    Put a try block arount it and see what the error is. try { pRecordset->Open(bstrtSQL, vtMissing, adOpenForwardOnly,adLockOptimistic, adCmdUnknown); } catch(_com_error &e) //We hit an error in SQL { _bstr_t bstrSource(e.Source()); _bstr_t bstrDescription(e.Description()); CString...

Part and Inventory Search

Back
Top