|
So how to align the values neatly in a vertical order?Like this:
Name: *****
Info: *****
|
|
|
|
|
Use html to do the formatting.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
On our site we send out purchase confirmation emails and we want to be able to send them out with the correct time for the user in the purchase date and time information. At the moment I simply use DateTime.Now() (in c#) but of course that gives the SERVER time which means nothing to anyone not in the same locale... so is it possible to get the local time from the user's HTTP request? If so, how would one go about it using either ASP.Net or Javascript?
TIA for any help...
Mike.
|
|
|
|
|
Hi Mike,
You might want to check out the javascript method getTimezoneOffset[^] of the Date object which returns the timezone offset at the client side. You can pass this value to your server side code in a web page aspx, and also provide a snippet of code to convert the current time from the server timezone to the client timeone. I guess that you can quickly find out lots of sample code out there to do the converting.
|
|
|
|
|
Thanks - that's exactly what I needed!! I shouldn't have any problem using this with .Net as I'm quite used to passing stuff from JS through to the server side and using it there.
Cheers,
Mike
|
|
|
|
|
Hi
i have given below my code. Here i want to add the game name specifc to the category. foe every category there will be lot of gamename. so haow can i populate this. Expecting your reply soon
regds
Krishnan
// Holds all the category objects
categoryArr = new Array();
//categoryArr1 = new Array();
// Create new XML Object and set ignoreWhite true
game_xml = new XML();
game_xml.ignoreWhite = true;
game_xml.onLoad = function(sucess) {
if (sucess) {
getGames(game_xml);
}
};
game_xml.load('GetGames.xml');
//To get the main menu labels.
//gamesmenu.category_id=new Array();
function getGames(game_xml) {
for (var i=0; i
|
|
|
|
|
Is it possible to create any kind of script page that would serve as a tunneling application on a server? ASP/PHP or a .NET Webservice? Then use a windows application to perform the tunneling, etc...just like http-tunnel and hopster.
|
|
|
|
|
Hi all,
I've created server application with a listener socket (I'm using C#).
Everything is ok when the client sends data to the server,
but when the server tries to send data to the client I get the error:
"Cannor block a call on this socket, while an earlier async one is in progress"
The client\server have a listening thread.
How can I sends data to the clients?
Thanks
RoyRose
|
|
|
|
|
Hi all
I need some help in ASP to upload file of maximum size 10 MB.
What is the maximum file size that ASP File system object support???
can u refer to some component that is available (either free or of some cost)on the internet.
Thanx
nyla...
|
|
|
|
|
Try SoftArtisans FileUp... we use it on one of our sites and although it can be tricky to set up it works very well. We run a music site on which artists upload their own tracks and then organise them to sell on our retail web site - we limit each upload to 12MB which can be done in the web.config in ASP.Net - not sure how you'd do in classic ASP but I know Fileup does support that version as I used it on an old ASP site a few years ago.
HTH...
Mike
|
|
|
|
|
"An error occurred on the server when processing the URL. Please contact the system administrator".
Does anyone know the cause of this error?
This error occurs everytime I add or edit a record with attachment. No error encountered in my localhost. Error occurs in staging server.
Thanks!
|
|
|
|
|
I have just installed IIS on my old PC (running Windows 2000). This is to
test my Web Site before getting onto the real server.
I am using asp to handle the Contact page where users can e-mail me.
I have been using JMail in a Send_email.asp, but get the error:-
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid ProgID. For additional information specific to this message please
visit the Microsoft Online Support site located at:
http://www.microsoft.com/contentredirect.asp.
/My_Site/send_email.asp, line 108
Now line 108 is shown below:-
Set objJMail = Server.CreateObject("JMail.SMTPMail")
Have I configured the IIS program corectly.
Note this PC is on my home network (shares internet via a gateway PC) and
the only e-mail I have on it is my hotmail.
i.e. what do I put in these fields:-
strMyEmailAddress = "myhotmail@hotmail.com"
strSMTPServerAddress = "smtp.hotmail.com"
Are the above correct?
I did run this VB program to test JMail and it ran OK.
On Error Resume Next
Set ob = CreateObject("JMail.SMTPMail")
If Not ob Is Nothing Then
MsgBox "object created OK"
Set ob = Nothing
Else
MsgBox "failed to create object"
End IF
Are they some settings in Personel Web Manager or somewhere else I need to
set?
grahamfff
|
|
|
|
|
The usual reason for this error message is that the component is not installed. Have you installed the mail component?
In your test program, how did you declare the ob variable? If you didn't declare it, it will be of the type variant. That would mean that in case of failure to create the object, the value in the variable would not be Nothing, but Empty.
---
b { font-weight: normal; }
|
|
|
|
|
Thanks Guffa, yes the JMail was not installed on the computer.
I thought that installing IIS was all you needed to do. I havr downloaded and installed/registered JMail.dll.
The script now runs a bit further.
It hits a problem with objMail.Execute statement.
Do I need to make some settings in the IIS or Personel Web Manager.
For this testing I am using my hotmail, as thats all I have on this test computer.
I use smtp.hotmail.co.uk
and myhotmail@hotmail.co.uk
Is this correct?
Many thanks,
Graham.
grahamfff
|
|
|
|
|
Most certainly hotmail won't let you use their smtp server to send mails, if they even have a mail server at that address.
If the server has an smtp server installed, you most likely don't need to specify the smtp address at all, or specify localhost as smtp server.
---
b { font-weight: normal; }
|
|
|
|
|
|
can somebody help me i need a script to setup my new work stations and i need the script to do the folling
1. chang window apperance from xp to classic.
2. turn quicklanch on and add windows explorer to it.
3. change power settings
4. turn destop cleanup off
5. change the way folder are viewed i need Detail instead of icons
if some body can just answer some of these questions it would help out alot
Thanks
chad
|
|
|
|
|
|
I would like to write a program that will go to a site, search the site for data, return the data, and allow me to pars out the data, then update my data base with the pars data.
I have experience programming in VB, C++ and some mainframe languages.
Can someone give me a start as to where I might get information on how to do this type of program. Book? Website?
Thanks
Roger
|
|
|
|
|
|
Hallo,
Can someone help me. I need some information on how to view crystal report over the web using either ASP, or VB script or the kinds. I also need some resource from where i can get programming tips on how to pass parameter through ASP to open parameterised crystal report.
Thank You !!!
Have a nice day...
Cheers!!!
Pankhuri
|
|
|
|
|
Hello ive made this page:
www.ush-wow.de
in their i have a membertable:
http://www.ush-wow.de/mainframe/roster.htm
As you can see this is a static html page
Now i want to present the data from a xml table with following
format:
<roster>
<Mitglied>
<Name>NameDummy1</Name>
<Rang>1</Rang>
</Mitglied>
<Mitglied>
<Name>NameDummy2</Name>
<Rang>2</Rang>
</Mitglied>
</roster>
Problem
On the wepspace no asp.net is runnig.
Is it possible to make this task by java script?
Or better wherer would i host the xml file and a fitting *.aspx
page so i can show it in my frame?
Regards
Michael
|
|
|
|
|
Use xslt to tranform the xml into an html table, or how ever you want to display it. Using ASP.NET you can use a XML control and assign the source and transform files. Or you can just define the transform in the xml file and let the browser display it.
|
|
|
|
|
response.write(Searchvar)
SQL = "SELECT * FROM MYDB WHERE DESCRIPTION LIKE '*"Searchvar"*'"
The response.write(Searchvar) returns the correct text i.e. ARTICLE
BUT my SQL statement returns the FULL DB every time? Where is my SELECT statement going wrong?
Just wnat to limit the result to all records with the string ARTICLE in the DESCRIPTION TABLE. i.e. IF the field is "THIS ARTICLE IS BLUE" it should display that record
this is me
|
|
|
|
|
Are you really sure that this code is runnable at all? You really should get a syntax error trying to run it.
You have forgotten the & operator for concatenating the strings:
SQL = "SELECT * FROM MYDB WHERE DESCRIPTION LIKE '*" & Searchvar & "*'"
---
b { font-weight: normal; }
|
|
|
|