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 SkipVought 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. RileyCat

    Access Severity from SQL Raiserrorr in WinForms

    Hi -- I am in VC++ in the VS 2008 .net environment building a WinForm that talks to Microsoft SQL. I have a try/catch block around my call to SQL so I am properly catching the raiserror message from the call to SQL. What I can't seem to find though is how to get to the severity level that the...
  2. RileyCat

    How to get number of seconds between 01/01/1970 and 12/31/2050

    The result of datediff(ss, '01/01/1970', '12/31/2050') is a bigint so "datediff" is overflowing. How can I get from a bigint value to its equivalent date and back again if the max a date can be in SQL is "int"??? I need to be able to store number of seconds between '01/01/1970' and...
  3. RileyCat

    SSAS Cube vs. SQL View

    How is a Cube/Dimension/Measure different than a SQL table View? What are the PROS of a View over the SSAS object? What are the PROS of the SSAS objects over a table view? Don't I still have to write a user facing application for the user to access the data from a SSAS object? THanks. Stay...
  4. RileyCat

    SSAS Cube Lifespan

    I am a relatively newbie to SSAS although I am an experienced SQL programmer. My question is about CUBE's. What is the lifespan of a cube? i.e., I have a CUBE with a datasource to a SQL table that is updated nightly. How/when does the associated CUBE get updated? Does the user have to...
  5. RileyCat

    Visio 2010 on Win 7

    This may not be the right forum for this question and if not, please forgive me. My question/issue has to do with Visio 2010. I need to start a new Software/Database diagram. When I start up Visio 2010 this option is not available in the Template Categories. Does anybody know if there is/was...
  6. RileyCat

    RegEx Pattern to Split String in C++

    Hi -- I am having a terrible time trying to get a regular expression defined to split a string that will look like the following . . . SQL12345,54321SQL XXXXX,XXXXX Where X = [0-9A-Za-z] and can be repeated one or more times on each side of the delimeter (,). The RegEx Pattern...
  7. RileyCat

    Using ADO.Net in C++ Visual Studio 2005

    I am struggling to figure out how to use ADO.Net to connect to SQL in a project I'm writing using C++ (Managed) in VS 2005. I am specifically looking for links to tutorials or code samples. It's just NOT working for me! Thank you! Stay Cool Ya'll! [smile2] -- Kristin
  8. RileyCat

    SQL Views Degrading Performance

    Is it possible for a SQL View to degrade performance vs. querying the tables directly? I have two different views. One is just a single table query. The table is not indexed (long story). The other view joins with one other table which also is not indexed. So is it possible for the Views as...
  9. RileyCat

    Passing Parms to an adTempus VB Script

    So I have a job in adTempus that uses a script written using VB Script. I need to be able to pass as parameter to the adTempus script. This is preferred over hardcoding the script with the variables. Does anybody know how or even if it's possible to call a VBScript from adTempus and pass it a...
  10. RileyCat

    Define Desktop Shortcut using CAB File

    Does anybody know if it's possible (and if so, how) to define a desktop shortcut to an applications EXE file that exists on a network share in the CAB file? I need to republish the applications CAB file so that users do not install the application EXE directly on the workstation but I am having...
  11. RileyCat

    How can I force a NULL to return in a simple query?

    I need a way to force a NULL value to return in a simple query instead of just an empty result set if the "where" clause does not yield any results. Example . . . Table A Table B NameColumn char (15) StreetColumn char (20) NumberColumn int NumberColumn...
  12. RileyCat

    MS SQL 2000 :: Determine date of last use

    Is there a way to identify in SysObjects or some other T-SQL tool the last time a stored procedure, function, or user table was referenced/used/called ? Stay Cool Ya'll! [smile2] -- Kristin
  13. RileyCat

    SQL 2000 Using "Case" statement with "in" clause

    DOH! Thank you! Stay Cool Ya'll! [smile2] -- Kristin
  14. RileyCat

    SQL 2000 Using "Case" statement with "in" clause

    I'm trying to write a "case" statement with the "in" clause and am getting compile errors. So here's my code . . . where . . . IdCapPlusSrc in case when @Status = 4004 then (select distinct IdCapPlusSrc from CapPlus with (nolock) where TmsSent is NULL) else (select...
  15. RileyCat

    VB6 ListView :: Highlighting Selected Rows

    I have a ListView with Checkboxes = TRUE What I need to do is to be able to highlight each row that is selected? I know how to highlight one selected row, but am having trouble highlighting every row that is selected with the Check Box. Ideas? Stay Cool Ya'll! [smile2] -- Kristin
  16. RileyCat

    MsgBox Question Icon File

    Does anybody know the name of or where I can get my hands on the file that contains the "Question" icon image for the MessageBox? Stay Cool Ya'll! [smile2] -- Kristin
  17. RileyCat

    Accessing ShortCut "Start In" Path

    Good idea. Do you name the Config file with the machines mac addr at the time of install, or can this be dynamic? How do you then access the INI file from the VB code? How do you get to the mac addr in vb code? Stay Cool Ya'll! [smile2] -- Kristin
  18. RileyCat

    Accessing ShortCut "Start In" Path

    Let me set up the situation. I have a VB6 app running from a network share. Users access the EXE through a short cut on their desktop. The EXE automatically accesses it's INI file from the same directory where the EXE lives. What I need to be able to do is to allow the users to have their...
  19. RileyCat

    VB6 :: Handling SQL Raiserror

    What's the trick to catching or handling a raiserror generated out of SQL? Even though I'm iterating through the ado Errors collection, the raiserror is actally coming out as a "Run Time Error". The part in my code where I actually look for errors is not being touched because the runtime error...
  20. RileyCat

    Detect When WinForm Is Done Loading

    I found it best to use the "Shown" event. Thanks for all the help and input on this one. Stay Cool Ya'll! [smile2] -- Kristin

Part and Inventory Search

Back
Top