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: *

  • Users: Crisps
  • Content: Threads
  • Order by date
  1. Crisps

    Missing combo box event

    I have an event handler that is called whenever I change the value of a DropDownList style of combo box; This occurs perfectly when I change it with the mouse or when I change it programatically (on file open in this case) My problem is that when I want to clear the value of the combo box and...
  2. Crisps

    Whitesapce question

    Is it possible to completely ignore white space in html? for example I would like to display button1 and button2 next to each other with no gap. It would be nice if I could make my code readable as follows <div id="top_bar"> <img src="button1.jpg"/> <img src="button2.jpg/> <div/>...
  3. Crisps

    stored proc queries

    Hi, given a simple stored procedure prototype as follows CREATE PROCEDURE dbo.lookup @first_name char (30), @last_name char (30), AS /*work*/ GO How would I go about adding a select statement(s) for all possible combinations of input parameters? i.e. I would like to do the following...
  4. Crisps

    value keyword

    In C# can you create a class with a 'value' attribute without causing any problems e.g. class MyClass { String name; String value; }; value is a keyword, so I want to know if this is possible. Does it cause side effects. I currently have a class like this which compiles, but seems to...
  5. Crisps

    XSL and Schemas

    Hi, I have an XSLT document that parses and incoming XML document. Is there anyway to validate that the incoming document matches a schema as a part of the transformation. I would like for example to say in the XSL itself something along the lines of. IF document matches SCHEMA THEN PARSE...
  6. Crisps

    inheritance and variable argument lists.

    Hi, I have a class (which I have no control of) and I would like to create a descendant of this class. The base class has functions with variable parameter lists which I would like to override. I need to then call the original function from within the overridden function. Is this even...
  7. Crisps

    ODBC Stored Procedures

    I would like to call a stored procedure VIA ODBC. The underlying ODBC connection may point to any database, but probably one of DB2, ORACLE, MSSQL or MYSQL. Is there a means possible in C++ code to make a single call of the stored proc which will work for all of them. I have found so far you...
  8. Crisps

    MFC: CreateSolidBrush

    If I do a hDC = GetDC(m_hWnd); m_hDC = CreateCompatibleDC(hDC); m_hBrush = CreateSolidBrush(RGB(0xFF, 0, 0)); SelectObject(m_hDC, m_hBrush) RECT rect; rect.top = (m_ry * m_iSize) + m_iOffsetY; rect.left = (m_rx * m_iSize) + m_iOffsetX; rect.right = ((m_rx + 1) * m_iSize) + m_iOffsetX...
  9. Crisps

    DOS Shares

    hi, Not sure if this is the correct forum, but I am intending on implementing the answer to this in C++ if necessary. I have a script which needs to 'cd' to a directory in order to run some commands from there (clearcase requires that that is the current directory, crap I know). You cannot...
  10. Crisps

    devenv.exe running in background

    I am trying to set up some automated build stuff that uses devenv.exe for the build. I can get my apps to build fine using something like C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe" /rebuild Release /project ScriptHook.vcproj /projectconfig "Release|Win32"...
  11. Crisps

    Copy with replace

    Hi I am trying to do something that I at least think is really simple with xsl. I have these files Template.xml <root> <data1>Hello</data1> <data2>World</data2> <spare1>Some Data</spare1> </root> Input.xml <root> <level2> <input1>ajlsa</input1>...
  12. Crisps

    if (-e ... not working

    I have a simple perl script that contains these few lines $Filename = "Z:\\user_CCPROJ_Integration\\SxSupport\\SxRelease\\.\\Product500\\Hooks\\Generic\\ScriptHook\\Release.txt"; $Filename2 = $DestPath . ".\\" . $RelRelease; print "$Filename\n\n"; print "$Filename2\n\n"; if (-e...
  13. Crisps

    xpath, variables, document

    Hi, I have been working on a larger issue and have narrowed down the issue to a very small one. I have a variable called $data_path. I am trying to read a document called mydata.xml which looks like. <root> <a>Hello world</a> </root> the $data_path variable contains the string "/root/a"...
  14. Crisps

    Multiple documents, context problem.

    I have an XML document (A) which I need to transform using a stylesheet (S). I intend to do this by loading a second XML document with structure information in it (B) I have no control over document A, just B and S. My problem is as follows: I start to process with document A as the context...
  15. Crisps

    Xpath Issue in external document

    I have a an xsl stylesheet that loads a document such as: <xsl:variable name="sb" select="document('data.xml')/root"/> the Data xml looks something like <root> <function name='Test'> <data1>data<data1> </function> </root> I would like to address this later in the xsl...

Part and Inventory Search

Back
Top