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 Chriss 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. michaelkrauklis

    Architecture Question Regarding WCF

    Hello All, I'm currently developing an API that will be used by our current clients, as well as future clients yet to be defined. We would like this API to have the ability to be secure, so the built in features for WCF seemed like a natural fit. Unfortunately our current clients are running...
  2. michaelkrauklis

    Client Error

    I'm trying to write a client that interfaces with a WebSphere instance and I'm getting the following error: java.lang.NoClassDefFoundError: com/ibm/ejs/ras/Tr This is coming from the code: ResourceBundle rbConnectionProperties = ResourceBundle...
  3. michaelkrauklis

    Volume Capacity

    Does anyone know how to check the capacity/usage of a given volume? All I have is the path. I know you can check at least the capacity with JConfig, but I'd like to do it without purchasing additional software. MYenigmaSELF:-9 myenigmaself@myenigmaself.gaiden.com http://myenigmaself.gaiden.com...
  4. michaelkrauklis

    String problem

    I'm having a problem; I'm getting an Invalid Cast exception thrown when I try to add strings. Here's the code: string user="SELECT Password FROM InternalUserPwd where UserName = '"+usr+"'"; if(checktype) { user+=" and UserType = " + type.ToString(); user+=&quot...
  5. michaelkrauklis

    Xerces in VC++

    If anyone has any experience using xerces-c in c++ I have a question to ask about validation using SAXParser and schemas. Thanks. MYenigmaSELF:-9 myenigmaself@myenigmaself.gaiden.com http://myenigmaself.gaiden.com "If debugging is the process of removing bugs, then programming must be the...
  6. michaelkrauklis

    XML Xerces Validation using SAXParser & Schema

    I'm having a problem validating an xml file using a Schema and the Xerces SAXParser. The code is as follows: parser = new SAXParser(); parser->setDoNamespaces(true); parser->setValidationScheme(SAXParser::Val_Always); parser->setValidationSchemaFullChecking(true)...
  7. michaelkrauklis

    xerces VC++ installation

    I'm having some problems getting started using xerces on the windows platform using VC++ 6.0. I can compile a simple application without problems but when I try to build I get a slu of link errors. Most of the link errors are related to virtual functions but not all. I thought maybe the...
  8. michaelkrauklis

    MEDIAN Function/Stored Procedure

    Is there any way to create a funciton or stored procedure that can take a result set and return the median? Eg: select company, MEDIAN(salary) from jobs group by company The main problem is passing a result set to a function or stored procedure. Is this possible? For efficiency purposes I...
  9. michaelkrauklis

    Converting Project: VC++ 6.0 to VC++ .NET

    I'm having a problem upgrading an existing project from VC++ 6.0 to .NET. When I import the old project into Visual Studio .NET I go through the standard upgrade process, but when I try to build I get linking errors in the MFC lib. eg: [ProjectName] error LNK2005: "void __cdecl operator...
  10. michaelkrauklis

    Problems with CRecordset/CDatabase

    I've used CDatabase objects sucessfully before. That's not the problem. My problem is I need to get data from my SQL server using ODBC, so CRecordset was the logical next step for me. Here is the code so far(odbc is my odbc source name and table is my table name that I wish to perform the...
  11. michaelkrauklis

    ODBC, C++, and Stored Procedures!

    I've got s few stored procedures in my MsSQL2k database. I'd like to be able to not only call them, but get the text that they return from a VC++ application. I have no problem calling them, but I would realy like to get the output from any PRINT statements I've made. Not the recordset, but...
  12. michaelkrauklis

    Visual C++ Picture!

    Ok, I stated this in another thread but it wasn't the question, so I'll pose it again: I have three bitmap resources loaded;IDB_BITMAP_RED, IDB_BITMAP_GREEN, and IDB_BITMAP_YELLOW. I have a dialog based application. I create a 'Picture' by using the Picture tool on the Controls palette. In the...
  13. michaelkrauklis

    Newline

    Is there a new line char or carriage return or something I can do to bring me down to the next line in my Editable Text windown in my CDialog Box? And is there a way to make sure that my output is flushed to the screen and printed when I change the text? MYenigmaSELF:-9 myenigmaself@yahoo.com...
  14. michaelkrauklis

    Integrating VB with VC++

    I have a VC++ program that runs in the comman prompt. I'd like to put a GUI on top of it. I created a simple VB application and I can easily run the C++ program using the shell command, but is there any way to get the output from my VC++ program back to the VB program? MYenigmaSELF:-9...
  15. michaelkrauklis

    ODBC Driver Failure

    When connected to a data source, I've only done this with MsSQL2k but the same most likely holds true for all ODBC Drivers, usign a CDatabase object you must call CDatabase::Rollback() if your transaction fails. eg: CDatabase db; db.open("[ODBC Source Name]"); try{ //create SQL...
  16. michaelkrauklis

    Small Easy GUI

    I have a simple win32 application that I run from the console. It's completely console based, but I would like to put a GUI on top of it. Is there an easy way to do this? All I need is a button to start the process and a text frame of some sort to output the results to. This would take about...
  17. michaelkrauklis

    scope and exception

    Two quick(I hope) questions. Exception: I'm using ODBC and the CDatabase object to query a SQL Database. My problem is that when I pass SQL an invalid date my program crashes. I catch the exception but it's not any type of exception I would be expecting such as a CDBException. I catch using...
  18. michaelkrauklis

    program hanging after termination

    I have the following problem. My program hangs terribly once it has finished execution. The longer the program executes the longer it hangs at the end. Could a memory leak cause this problem?? If not then what's going on? ... standardExecute(&quot;session&quot;); std::cout<<&quot;back...
  19. michaelkrauklis

    OLE DB:VC++-&gt;MSSQL2K

    I've got a question concerning OLE DB. Is there an easy way to connect to a data source using OLE DB? I've done it using ODBC and the CDatabase object but as far as I know the CDatabase object only supoprts ODBC, not OLE DB. Is there something like that which can allow you to easily use OLE...
  20. michaelkrauklis

    Concat CStrings??

    I'm having a little problem with strings, particularly conversion and manipulation of CString/char*. Now am I correct in assuming that CStrings are NULL terminated? And when you create a char* in the manner of &quot;the string&quot; that is alwo NULL terminated, right? My problem is weird...

Part and Inventory Search

Back
Top