1,828 Topics

Member Avatar for
Member Avatar for kudosvisions

[B]Hi Guys.[/B] I am new to this forum so I thaught i'd post a useful code snippet. it changes text to clickable html links. Hope it comes in handy. Pete:)

Member Avatar for pecp
0
183
Member Avatar for Nazmul Haque

The application has the first window named chatroom.asp . Here a person will give a room name and enter that room for chat. All those who want to chat have to enter the same room. When a chat room is submitted by a user, the room name is passed to …

Member Avatar for Ezzaral
0
256
Member Avatar for mdpepper

Does asp have a drawing facility similar to that of php? If so can someone please tell me how I can draw a line?

0
70
Member Avatar for avinashb3

[CODE] public static void ServeAsPDF(System.Web.UI.Page webPage, Boolean download, String FileName) { try { string htmlString = GetHtmlForPage(webPage); webPage.Response.Buffer = true; webPage.Response.Clear(); webPage.Response.ContentType = "application/vnd.ms-word"; //application/octet-stream webPage.Response.ContentEncoding = System.Text.UnicodeEncoding.UTF8; webPage.Response.Charset = "UTF-8"; webPage.Response.AddHeader("Content-Disposition:", "attachment; filename="+ FileName +""); webPage.Response.AddHeader("cache-control", "must-revalidate"); webPage.Response.Write("<html xmlns:v='urn:schemas-microsoft-com:vml' xmlns:o='urn:schemas-microsoft-com:office:office' xmlns:w='urn:schemas-microsoft-com:office:word' xmlns:m='http://schemas.microsoft.com/office/2004/12/omml' xmlns='http://www.w3.org/TR/REC-html40'>"); webPage.Response.Write("<head>"); webPage.Response.Write("<title>PF FUND</title>"); webPage.Response.Write("<META HTTP-EQUIV='Content-Type' CONTENT='text/html; …

Member Avatar for avinashb3
0
704
Member Avatar for anuradha2011

Please tell me how could i run .asp page on html website that is hosted on NIC's web server. Please reply at your earliest

0
109
Member Avatar for jrb47

I generally do not work in asp however I am working on a project for a volunteer student org - they are working with pregnant teens. I have the following code and while I can get the names and address to pass I can not get the checkbox to pass …

0
70
Member Avatar for cancer10

Hello, Does anyone know how do I create a subdomain using ASP? I run my own server so I have the full access to it (if that is needed for the same) Thanx

Member Avatar for Rahmani69
-1
132
Member Avatar for Nazmul Haque

One slippy mistake that can occur with searching Text and Numeric field is that you have to carefully add the ( ' ) character enclosing the text searching string. For example : Text search: [CODE=sql]SELECT * FROM users_log WHERE user_name='Phillip'[/CODE] Numeric search: [CODE=sql]SELECT * FROM users_log WHERE user_age=>16[/CODE] In case …

0
76
Member Avatar for mdpepper

Hi guys! I am at the very end of a 3 month project and have encountered an issue right at the last hurdle. I am using my companies content management system to display a web page. The web page is information regarding a certain species of animal, and the content …

0
87
Member Avatar for Nazmul Haque

I was developing a 'Payment Tracker' web application. I used MS Access as back-end database. I made a 'Payment_entry' table with user_ID and Payment_amount fields with 'Text' and 'Long integer' datatypes. Now , when I wanted to find the total payment of each user I used the following SQL command …

Member Avatar for arrgh
0
131
Member Avatar for Nazmul Haque

I am thinking of a web applcation where users can register and get their username and password to log in. Now they can send message to each other for free. There will be a 'msg received' section from where a user can check out if he/she has got any msg. …

0
96
Member Avatar for FooFan101

Hello, I am trying to pull the status and message passed back from the webservice, I have been looking for about a week and still at the same point as I started. This is the response I am getting back. [CODE] <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AddResponse …

0
80
Member Avatar for MayaPawar

i have one html page. I want display data from database. i have created one asp file that display data from database also i have created html file which contains all design of web page. when i combine this two . it displays table from database but images are not …

Member Avatar for ArtistScope
0
304
Member Avatar for Rizi004

Please tell me which server i should install to run the asp files or pages, give the link of the best sever for windows 7 and also tell me the setting of server waiting for your reply Regards Rizwan

Member Avatar for ArtistScope
0
222
Member Avatar for hsheen

Hi, I would like to know what is the best ASP.NET template available since I will be developing a sophisticated web application in a few days. I was searching through the internet for few days but could not find a better one for me. I need only a well presentable …

0
66
Member Avatar for arshadarsal

i also experienced this problem,my web page showing multiple entries also. Please help me This is my code \:- [CODE]userid=Session("username") %> <html> <head> <title>Tax Invoices</title> <script language="JavaScript"> function openwindow(path) { window.open(path,"bill","menubar=yes,resizable=yes,scrollbars=yes,width=800,height=450,top=50,left=50"); } </script> <link rel="stylesheet" type="text/css" title="CSS" href="Include/Styles/style.css" media="screen" /> </head> <body> <table topmargin="0" leftmargin="0" align="center" ID="Table1"> <tr> <td><img src="images/headerksphc.jpg" …

0
134
Member Avatar for StevenSchaffner

I am working on something for school as a final project before graduation. I am using ASP for the website and VB as the back end to code. I keep getting the error "Object reference not set to an instance of an object" and can't figure out what is wrong. …

Member Avatar for StevenSchaffner
0
227
Member Avatar for StevenSchaffner

Well i am using asp and VB.Net to make it to where people can check in and check out. I have gridview which has where it shows the data from my sql server that i put dummy data in. When i load my website the data shows up. I do …

Member Avatar for StevenSchaffner
0
130
Member Avatar for StevenSchaffner

I am working on something for school as a final project before graduation. I am using ASP for the website and VB as the back end to code. I keep getting the error "Object reference not set to an instance of an object" and can't figure out what is wrong. …

Member Avatar for codeorder
0
239
Member Avatar for doncustard

Hi folks, I'm looking for examples on MVC where I can compare table/records/fields side by side A sort of database explorer. I could do this in web forms using the 'old' style post backs and click events but I'm unsure how to approach this from an MVC starting point. So …

0
69
Member Avatar for vinaysrk919

i have the coding as below given... and i getting error [CODE]TimeSpan date1 = TimeSpan.Parse(TextBox1.Text); TimeSpan date2 = TimeSpan.Parse(TextBox2.Text); TimeSpan ts = date1 - date2; Textbox3.Text=ts;[/CODE] Textbox1 show the current date, Textbox2 show the previous date, and Textbox3 show the difference of textbox1 and textbox2 as the above given code.. …

Member Avatar for vinaysrk919
0
193
Member Avatar for MARKAND911

I am developing an application in Classic ASP My database is SQLSErver 2008 I am getting a problem in connecting to my database. Here is the code which i used to connect. [CODE] connstring ="server=mymsever;database=mydb;Trusted_Connection=Yes;" set conntemp = server.createobject("ADODB.Connection") conntemp.ConnectionString=connstring conntemp.Open() Response.Write(conntemp.State) [/CODE] The last statement is for the confirmation …

Member Avatar for Golden-Boy
0
157
Member Avatar for khan43

Hi I am creating a contact form which will allow users to put enquirys through, I want the enquires to be directed to my inbox. I am using asp.net in visual studios 2008, could anyone help me start this, I am new to asp.net etc Thanks

Member Avatar for Golden-Boy
0
57
Member Avatar for jcarbillon

Hi Guys. Is it possible to trap this error in Classic ASP, and redirect to another page instead of displaying this error? [COLOR="Red"] Microsoft OLE DB Provider for SQL Server error '80004005' Transaction (Process ID 104) was deadlocked on lock resources with another process and has been chosen as the …

Member Avatar for Golden-Boy
0
254
Member Avatar for taurian2702

Can someone please help me for providing value from asp in to javascript function? I want to use "$('#countdown').countdown({until:$.countdown.UTCDate(+12, 2011, 9 -1, 5), format: 'DHMS', layout: " and where you can see the numbers, i want use value which i have retrieved from database.

Member Avatar for Golden-Boy
0
92
Member Avatar for captainSheepdog

Greetings all, I am a junior C#/ASP.NET web developer and have been working for about 3 weeks now. Recently, the graphics person here at work gave me a .swf flash file, an xml file that contained content for the .swf file and a content folder that contained slideshow images referenced …

Member Avatar for iamthwee
0
589
Member Avatar for dwinn

Hello, I have developed a site in VB.Net and ASP.Net with a database backend that allows a user to enter a centre code and in return it retrieves all records from the datbase where the centre code matches the one provide in the text box. My list is appearing as …

Member Avatar for dwinn
0
339
Member Avatar for uselessninja

hi ..im new to asp and im encountering this error.... server error 500... and even if i uncheck the show friendly http error ...nothing changes :(.... is asp is ok with xampp? or it is IIS only

Member Avatar for mlesniak
0
111
Member Avatar for imolorhe

Hello all. I was just designing a web application form that is meant to accept a user's request to use a particular room in a specified period of time. After the user enters his specifications, the application now responds, telling the user if the location specified is available at the …

Member Avatar for mlesniak
0
141
Member Avatar for and12

It is catching my exception error when I try to do a select student_id student_name from Student and put it in my dropdownlist. I already created the databases called college and tables Student, Course, and StudentCourse and put in fake data. I store my Connection String in the web.config file. …

Member Avatar for mlesniak
0
277

The End.