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 TouchToneTommy 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: karthik555
  • Content: Threads
  • Order by date
  1. karthik555

    Class_initialize is not getting fired

    Hi! I use a VB DLL in which I have written code to form DB Connection String (read from the registry) This logic is written in a subroutine (public) in a modlue of the project. I call this subroutine from Class_Initialize of the Class File. When instantiate this DLL in another project and...
  2. karthik555

    Unterminated String Constant

    Hello! I have a server side array (VBScript). I pass data from this Server side array to a client side array <SCRIPT LANGUAGE=vbscript> <% For intRow = 1 to Ubound(arrMlt,1) For intCol = 1 to UBound(arrMlt,2) %> arrCMlt(<%=intRow%>, <%=intCol%>) = "<%=arrMlt(intRow, intCol)%>" <% Next...
  3. karthik555

    Opening an Excel file in the webserver

    Hello! I am facing a problem in opening an XLS file available in the webserver. Let us say I have File1.XLS in server SERV1 in the following Virtual Path. http://SERV1/MyPath/File1.XLS. I have the following piece of code in my ASP Page (Client side javascript) var Server_Address =...
  4. karthik555

    Stacked Bar Chart - Any III Party control available?

    Hello! We have to display the contents in a webpage. When the user selects a value from a multiselect list box a Stacked Bar Chart should display the contents in a portion of a page. (May be I can use a IFRAME) The Chart will display Dates in X Axis and Values in Y Axis. Each date will have...
  5. karthik555

    Query to trace history of change of data in a table

    Hi! I have data as below CREATE TABLE #Input (OldAsset Char(20), CurrAsset Char(20), Status Char(3), InpSrlNo INT Identity(1,1), GUID uniqueidentifier, InpProcstat char(1)) DECLARE @GUID Uniqueidentifier SELECT @GUID = NewID() INSERT INTO #Input (OldAsset, CurrAsset, Status, GUID...
  6. karthik555

    Script Generation without SET QUOTED_IDENTIFIER OFF

    Hello! I am generating script for all the Stored Procedures in the DB. I have the following text before each SP script. SET QUOTED_IDENTIFIER OFF GO SET ANSI_NULLS ON GO How do I supress this? Thanks in adavnce.
  7. karthik555

    Automating Deployment of ActiveX DLLs

    Hello! I have an application that has DLLs, ActiveX DLLs and SQL Script files as deliverables. I have to write a deployer application in VB to install these deliverables in the host computer. I can write code to deploy SQL Script files and DLLs. But I need to create Package for the ActiveX...
  8. karthik555

    Any way to find the number of DML statements in a SP

    Hello! I have a requirement to find the number of DML statements (SELECT, UPDATE, DELETE) in all Stored Procedures in a database. Is there any way to get it quickly. Thanks in advance. Karthik
  9. karthik555

    Recompiling the SP solves the problem. But how?

    Hello, I have been encountering this problem. But on an increased frequency off late. A Stored Procedure which is not giving desired output. Say returns a wrong row or value in the recordset being returned. When we take the text of the SP from the same database, using SP_Helptext and...
  10. karthik555

    ADO - Connect using DSN without UID/PWD

    If any one has any idea to do this, will be helpful.. 1. I am trying to connect to my SQL Server database using a DSN. 2. I have given UID/PWD (SQL Authentication) in my DSN and have given a default DB. 3. I am trying to execute the following code in VB <CODE> Dim oADO As ADODB.Connection...
  11. karthik555

    JOIN SYNTAX - DIfference between SQL-92 and Legacy Syntax

    SQL Server Documentation says, "SQL Server supports both the SQL-92 outer join syntax and a legacy syntax for specifying outer joins based on using the *= and =* operators in the WHERE clause. The SQL-92 syntax is recommended because it is not subject to the ambiguity that sometimes results...
  12. karthik555

    Invoking notepad in the client

    Hi! I have a need to show a text file in notepad to the client. The text file is generated in the server and will be available in a designated location in the server. When the page gets downloaded in browser (IE), the browser should open instance of notepad and display the content of the text...
  13. karthik555

    window.open method is not opening new window

    Hi! A wierd behaviour that I am comming across. I have a common function in a .JS file which will open a new window. function windowopen(path,nm,attrb) { var filename = CtrlForm.gCFile.value var newpath = path hlpwinref = window.open(newpath,nm,attrb) } When I call this from my ASP page...
  14. karthik555

    How to call a function of another database???

    Hi! I would like to know if I can call a function that is not in the current database. I know we can access tables of another database. 1. Say I have two databases MyDb1 and MyDb2 in same server. 2. There is a function dbo.MyFun1() in MyDb1. 3. I would like to call this function from MyDb2...
  15. karthik555

    User With Sysadmin fixed server role

    Hi! I need to create a user with Sysadmin fixed server role(so that the user can use SQL Profiler). However I want to prevent the user from creating and dropping databases. Is that possible? Thanks in advance Karthik

Part and Inventory Search

Back
Top