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

    text/javascript version of Server.CreateObject for asp.net

    Hi, does anyone know what the correct syntax is for Server.CreateObject in asp.net where the script language is javascript ? When I try to make a call to this like below I get a Server is undefined error message testobj = Server.CreateObject("some app");
  2. johnv20

    prevent access based on hostname

    Hi, does anyone if its possible to prevent read access to a SQL 2005 db based on the client hostname attaching..
  3. johnv20

    linear regression

    Hi, does anyone have a code example (or even just the equation used) to perform simple linear regression on a dataset where the output Y = M1X1 + M2X2 + C Searching the web shows loads of calculators which will do this for you but not one example of the equation used to solve it
  4. johnv20

    Net::Telnet keeps timing out waiting for command prompt

    Hi, I'm trying to use Net::Telnet to access a windows box, however the pgm keeps returning back an error "Timed out waiting for command prompt" From my understanding I need to set the option_accept values Dont & Wont to an integer value, however I cannot figure out which value Does anyone...
  5. johnv20

    C# telnet

    Hi, I need to write a very simple app to use telnet to connect to a router & retrieve some mac address information - does anyone have any clue how to do this.. Sorry if this is very simple but I have no clue on how to go about this....
  6. johnv20

    delete files using LWP

    Hi, I know this should be very simple but does anyone have any code which is used to delete a file over a url using LWP ?
  7. johnv20

    Generate directory listing from remote web server

    Hi, I need to be able to generate a list of files from a virtual directory on a 2nd web server. While the code below works fine for the local system DirectoryInfo myDir = new DirectoryInfo(Server.MapPath("")); If I try & utilise a path of http://server2/dirlist/ howvere I get an error...
  8. johnv20

    date format calender object

    Hi, I'm in the process of moving a web site from a windows 2000 server to a windows 2003 box When running the web site under VS2005 debug mode the date format being passed to a database is correct, i.e. 14th Dec is passed as 14/12/2006 However when I try & run the web site normally via IIS...
  9. johnv20

    SSIS database connection passwords lost on deployment

    Hi, I've got an issue when creating SSIS packages where the connection password for any database connection is being lost when the package is deployed to a database. Doing a google search on this I have found references to add the password information to the package xml file, however I...
  10. johnv20

    Running sql 2005 SSIS package as a job

    Hi, I'm currently trying to come to grips with sql 2005 & am having an issue trying to get an SSIS package to run as a job All the package does is copy a table from one server to the local server Manually executing the SSIS package works everytime However running the package as a job causes...
  11. johnv20

    Win32::Service shows service as running

    Hi, I'm running Win32::Service::GetStatus on a number of services . However the value of CurrentState which is returned for one of these services is constantly 4, i.e. running, even when the service is either stopped or disabled ??? Does anyone have any idea what can be causing this ?
  12. johnv20

    remember image positions

    Hi, I have a page where the user can move a number of images on the screen. Is there any method of storing these positions on the server side so that they are remembered in a post back ?
  13. johnv20

    get column names from sp

    Hi, does anyone know how to return the column names returned from a stored procedure. I've tried sp_MShelpcolumns however while this works fine for tables it returns the required input variables for sps instead ??
  14. johnv20

    convert varbinary to varchar

    Hi, does anyone know why I keep getting a blank return value when converting a varbinary datatype to varchar as below declare @varb varbinary(10) select @varb = 0x000000FF select v = @varb select convert(varchar(2000), @varb)
  15. johnv20

    data truncated with IP

    I'm updating a table with records of the form trackcode, string data - where string data is a varchar of size 999 While this is working most of the time, every now & again the string data seems to be getting truncated on insert to the database & is ended with IP e.g. correct - '<a val="123"...
  16. johnv20

    Count # of times a pattern appears in a string

    Does anyone have a quick way of counting the number of times a pattern appears in a string e.g. I need to count the number of times the expression 'ab' appears in the string 'ab xxxxabxx ab'. I know I can use patindex to get the first location & keep shortening the string everytime its found...
  17. johnv20

    Undo a database restore

    An engineer here has setup a sql 2000 database & only ever created 1 backup ( when the database was initially created ) approx. 6 months ago Today instead of backing up the database he accidentally managed to restore from this backup. Does anyone know if its possible to restore the database to...
  18. johnv20

    scsi pass through interface

    Hi, does anyone have any experience using spti to access hard drives, some sample code would be very helpful
  19. johnv20

    Scsi Pass Through Interface

    Hi, does anyone have any experience using spti in c#, any sample code would be helpful
  20. johnv20

    Communicate with OPC server

    All, does anyone have a basic template for communicating with an opc server ?

Part and Inventory Search

Back
Top