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");
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
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...
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....
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...
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...
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...
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...
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 ?
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 ?
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 ??
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)
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"...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.