We're looking at some custom code for a page that displays search results. The code looks like it was created under an ASP.NET 1.1 structure. The following code creates the Previous/Next buttons and counts the results. Can someone help me create a Function to add the Page numbers in between...
I have a bunch of website files made in frontpage given to me that I would like to convert to standard HTML so they also work in Firefox. Of course frontpage is using code so it only works in IE. Is there way within frontpage to ask it to rewrite the code so that it uses standard HTML (a setting...
Can someone give me an example or point me to an example of changing a form class using vbscript?
Thanks..
I would imagine it's something like this...
document.form1.class.value = "textboxrequired"
How can you re-add a Master Layout text box for 'Object Area for AutoLayouts' once it's been deleted from the powerpoint slide?
Or can you convert any textbox into the Object Area for AutoLayouts?
Just trying to do an simple update script with my ASP page and when it gets to this update it just hangs and then I get a timeout error.
UPDATE [Page_Content] set DateOff = '03/31/2008 12:00:00 AM' WHERE ContentID = '472'
I can copy this and it works fine if I execute it in SQL Query...
I'm sure this is really simple but I'm having a hard time finding an example. I want to do a time compare before an ASP page starts a calculation and when it ends. I am somewhat close with this but I can't get the write formatting of this with seconds and minutes. Can someone help me clarify...
How do you get characters that go into the database as one character come back correctly. For example, if I have someone type in a textbox
é
And it comes back as the character e with the notation on top of it. Is there anyway to have it reappear in the text box after a save as the way...
Not sure if this is a bug or not, but when a user loads a word document linked from a webpage, and you go to FILE > SEND > PAGE BY EMAIL it opens in Outlook in garblygook. Is this a bug or a simple setting change? If anyone can help I would appreciate it.
Stupid questions I know, bear with me. I was instructed way back when to always store your connection strings within the global.asa file for your websites. Can someone tell me if this is the proper way to write a global.asa file?
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open...
Greetings,
I'm still working through learning Stored Procedures and SQL language. I'm trying to set up a Stored Procedure that if a Search Variable is passed to the procedure that it uses that to search the fields, and if not, just return all results normally. If someone can help me possibly...
On random occasions on my website I am getting the following error message.
SQL Server does not exist or access denied.
This seems to happen randomly. The page just seems to TimeOut after a while and cause this error to occur.
If I refresh the page it seems to be fine.
I have this weird five second delay when I go to click the start button and then have the shutdown box appear. Has anyone else experienced this? I recently rebuilt the machine and now it seems worse.
Any help is appreciated.
I recently rebuilt my machine here at work. I had installed SQL Server and had it running perfectly friday. I come in Monday and I can not start the services that run SQL Server. When I do I get errors such as 1068.
Checking up on these errors online, they say make sure the services are running...
Question for ya, how do I modify this to if I pass a 1 in the PreviewCode variable it makes it
Posted = ‘1’
But if PreviewCode = 0 then is shows
Posted = ‘1 or 0’
USE [DatabaseName]
GO
/****** Object: StoredProcedure [dbo].[sp_GetPages] Script Date: 09/10/2007 13:52:52 ******/
SET...
I have a website being hosted on a apache server and I have one web domain that when it hits the server I want it to direct the user to a subfolder. I know I need to modify teh httaccess file. Can someone point me to an example of this?
Hey trying to do a simple mid
DividerPos = Instr(1, FirstName, " ", 1)
Last = mid(First,DividerPos,50)
and I get this error
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'mid'
I need an example of a stored procedure that can check several tables in a database and return a result of where a string may be found.
For example, say I want to pass the word 'dog' to the SP. It then checks to see if Dog is in a field of Table1.field1 and Table2.field1. If it finds it in any...
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.