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 Mike Lewis 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. jsteel

    Database help: I keep getting errors on my string..

    sorry, meant like this nSql = "SELECT ContractID FROM Contracts WHERE CustomerID = ? AND ComputerID = ?"
  2. jsteel

    Database help: I keep getting errors on my string..

    try running the command with parameters. nSql = "SELECT ContractID FROM Contracts WHERE CustomerID = ?" & txtAcctID & " AND ComputerID = ?" & CompID Then pass the values when you run the command. I think you need to use a command objectd to use this method, you cant just open it directly from...
  3. jsteel

    Empty FTP Long to Search

    Ive written a class to handle ftp functions using the Microsoft Internet Transfer Control. Everything works great except one case. When I do a DIR command on an empty or nonexisting folder it takes about a minute to respond. Why is this the case? Thanks Jonathan Steel
  4. jsteel

    ADO slower than RDO?

    I have found the solution. db.CursorLocation = adUseServer voila! RDO uses this method and ADO does run faster now
  5. jsteel

    ADO slower than RDO?

    My company is in the process of changing all code from using RDO to ADO to connect to oracle. I ran a simple test program which opens a connect to oracle from both at the same time. I then ran several queries to time the speed of the two. For small queries RDO worked twice as fast. For larger...
  6. jsteel

    Loading Bitmaps

    Thanks. Ill mess around with that for a bit. I was going to write my own bitmap reader but I decided to try and get it working this way first. I was messing around with the one the Andre Lamothe wrote in Trick of the 3D Game Programming Gurus but it can only read bitmaps that are no larger than...
  7. jsteel

    Loading Bitmaps

    Im trying to load a bitmap image from a file on the hard drive and then dump it onto a ddraw surface. The directx part ive got down, but loading a bitmap is retardedly hard. Where can I find a good source of information for doing this? Everywhere I look doesnt really tell me how to do it. Ive...
  8. jsteel

    VC++6 and accessors

    Thans a lot guys. Youve all helped me a lot. Its good to hear some opinions from people that dont live by the book, or are obsessed with speed and trying to cut corners. I guess you could say the realists.
  9. jsteel

    VC++6 and accessors

    Ive been creating a game and my best reference uses all public members in every class. I followed this example until now, when I can no longer go against my education. I want to add in accessor methods. But this seems like a very daunting task do do for every member. Can you only use properties...
  10. jsteel

    Header linking problem

    When I try and include X.h in another header (Y) I get 102 errors in X.h like: rror C2061: syntax error : identifier 'UCHAR' error C2146: syntax error : missing ';' before identifier 'colour' error C2501: 'localVz' : missing storage-class or type specifiers But I have already included this...
  11. jsteel

    STL Classes in header files

    That did work. My Bad. I thought I had tried that combination. Thanks a lot.
  12. jsteel

    STL Classes in header files

    Ive tried all combinations of adding the include and std::. The code I gave is in the header. I have to #include in the cpp file which consists of just a mian method right now. Putting the include in the header doesnt work either.
  13. jsteel

    STL Classes in header files

    #ifndef GRAPH #define GRAPH class CGraph; class CListGraph; class CMatrixGraph; class CGraph { public: CGraph() { } ... }; class CListGraph : public CGraph { public: CListGraph() { } CListGraph(int nNumVertices); ... private: }; class CMatrixGraph : public CGraph {...
  14. jsteel

    STL Classes in header files

    Im trying to create a class with a vector and a list. It gives me 8 errors, starting with error C2143: syntax error : missing ';' before '<', when i try and dclare either in the header file. Ive included <vector> and <list> in the cpp. I can declare them in the cpp as well. Im using VS6. Ive...
  15. jsteel

    Interrupting Other Programs

    That did the job. Thanks a lot.
  16. jsteel

    Interrupting Other Programs

    Im trying to display my form when a certain event occurs in my program. The program will be invisible while the user works, and then if the event occurs, a message displays. Is there some API i can use to perform this function? Thanks
  17. jsteel

    Shell with Network Paths

    Im trying to use the Shell function to launch a custom SMTP application which is stored on a nework drive. The path is of the format "\\canada\testing\...\programname.exe". Shell will not accept this as a valid argument. Thanks

Part and Inventory Search

Back
Top