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 Chris Miller 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. jadixon

    C++ updated OCX not seen in VB

    I have a C++ project that creates an OCX file which contains multiple functions I call from VB. I added a parameter to one of the functions in the C++ side, rebuild the ocx, re-registered it, but the VB side does not see the new parameter (I get a compile error). If I look at the ocx in OLEView...
  2. jadixon

    C++ - getting the integer enum value from a string

    We are using Visual Studio 2008, and I believe we are using managed code.
  3. jadixon

    C++ - getting the integer enum value from a string

    I have over 100 values in the enumeration, so using ifs or case statements is not practical. I will have to rethink my code to find a better way to get the desired result. It's a shame C can't handle things like that....
  4. jadixon

    C++ - getting the integer enum value from a string

    I have an enumerated type such as enum Colors(Red, Blue, Green); and a CString test_string = "Blue" How do I get to the 2nd value in the enumerated type by the string? What I am trying to get to is: int retValue = Colors(test_string); or something like that that will produce retValue = 1
  5. jadixon

    How can I reinstall or reconfigure DCOM?

    Turns out I did not have issues with DCOM - the DNS name for the SQL Server computer could not be resolved. After realizing the name was the problem, I went into the hosts file (in the windows\system32\drivers\etc directory) and added the ip address and name of the system I was trying to connect...
  6. jadixon

    Network issues after NIC reinstall

    After realizing the DNS name was the problem, I went into the hosts file (in the windows\system32\drivers\etc directory) and added the ip address and name of the system I was trying to connect to with SQL Server. Now that it is in the hosts file, the system is fast again and no more DCOM errors!
  7. jadixon

    Network issues after NIC reinstall

    I have not found a solution, but a work-around is to log into SSMS with the IP address instead of the name. It works just as fast now as it used to. I still get the DCOM errors, but at least I can work again.
  8. jadixon

    How can I reinstall or reconfigure DCOM?

    I had to uninstall then reinstall my NIC to resolve connection to a remote desktop. After the reinstall, I am now getting DCOM errors when I try to connect to my sql server. "DCOM was unable to communicate with the computer APPL2900 using any of the configured protocols." How do I correct...
  9. jadixon

    Network issues after NIC reinstall

    I looked in the event log, but there were no hardware entries. However, I found that I am getting DCOM errors trying to communicate with the sql server I am accessing. I will now redirect my efforts into tying to correct my DCOM issues. Thanks for the advice.
  10. jadixon

    Network issues after NIC reinstall

    I am not sure if this is the correct location for this or not. This is a bit of a long-winded story. I started out having issues connecting through a VPN using RDC to my computer at my office from the computer at my client's site. I determined it was specific to the computer at mu client's...
  11. jadixon

    Remote Desktop not working through VPN

    I have corrected the problem of getting the RDC working by uninstalling and then reinstalling my network card (lots of googling found that solution). While now I can connect, my connections to Outlook on our exchange server and SQL Server SSMS are now painfully slow. Does anyone know what I can...
  12. jadixon

    Remote Desktop not working through VPN

    I am not in our corporate office, so I don't have direct access to the VPN setup. What kind of information would I need to determine if the VPN is trying to NAT the address (and which address, the computer I am running on?)
  13. jadixon

    Remote Desktop not working through VPN

    All firewalls on the PC are turned off. What kind of information do I need to provide about the VPN? Why would the VPN appear to be running and work with other PCs but not this one when I have set them up the same way?
  14. jadixon

    Remote Desktop not working through VPN

    It is our corporate VPN server - I don't know the details of what it exactly is. I put in a URL when I set up the connection. This connection works on all other computers, and appears to be connected on the one having issues. I cannot ping any IP addresses on my corporate network from the...
  15. jadixon

    Remote Desktop not working through VPN

    What do you mean by terminating? I start the VPN session before I try the remote desktop, but as far as I can tell the VPN session keeps running.
  16. jadixon

    Remote Desktop not working through VPN

    I have been trying to connect to a remote desktop connection through a VPN. I am at a client's site trying to connect to my desktop at my office. I can connect from home just fine, so I know the remote desktop settings on the host machine are correct. The problem comes in at this client site. On...
  17. jadixon

    Refer to field in a table, without opening it!

    You can put the SecurityNumber of frm1 as a hidden field. The user cannot see it but it is available to you to use. You would set it up just like the AgentName, but set its visible property to false.
  18. jadixon

    Calculate number of days between a time frame

    Look up the DateDiff function - the number of days would look something like Days_Between = DateDiff ("d", date1, date2) where date1 and date2 are your determined dates.
  19. jadixon

    Can you change the tooltip on a scrollbar?

    I have a subform in datasheet view that holds alot of records. Before we went to SQL Server for the backend, the user could see the records as they scrolled through, but now they cannot. Since I can't seem to find a way to have the same results, it would be ok to show record information on the...

Part and Inventory Search

Back
Top