Click here to Skip to main content
15,921,793 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralForm Index Pin
Achithyn11-Aug-04 7:55
Achithyn11-Aug-04 7:55 
GeneralRe: Form Index Pin
Jim Matthews11-Aug-04 8:16
Jim Matthews11-Aug-04 8:16 
GeneralRe: Form Index Pin
Dave Kreskowiak11-Aug-04 9:04
mveDave Kreskowiak11-Aug-04 9:04 
GeneralRe: Form Index Pin
Achithyn11-Aug-04 9:43
Achithyn11-Aug-04 9:43 
GeneralRe: Form Index Pin
ramaseb11-Aug-04 23:13
ramaseb11-Aug-04 23:13 
GeneralRe: Form Index Pin
Achithyn12-Aug-04 10:31
Achithyn12-Aug-04 10:31 
GeneralCalling a javascript function from vb.net every time pages loads is it possible Pin
huertj11-Aug-04 6:31
huertj11-Aug-04 6:31 
GeneralRe: Calling a javascript function from vb.net every time pages loads is it possible Pin
ramaseb11-Aug-04 6:49
ramaseb11-Aug-04 6:49 
Hi ...
in the code below this javascript must be runing every time the page is loaded ( i think ..)


<HTML>

<body>

/* other page stuff here
*/

<script>

/*Current date script credit:
JavaScript Kit (www.javascriptkit.com)
Over 200+ free scripts here!
*/
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","Mai","June","July","August","September","October","November","December")
document.write("<div style ='position: absolute; left:8; bottom:10' ><small><font face='Times New Roman'>"+dayarray[day]+" "+daym+" "+montharray[month]+" "+year+"</font></small></div>")

</script>
</body>
</HTML>


as you understand the script runs and writes something in the page ( i thing the date info )

Maybe if you use the same aproach as the example you can do that you want.

Hope i helped you

Ramaseb.




Ramaseb.
GeneralRe: Calling a javascript function from vb.net every time pages loads is it possible Pin
Anonymous12-Aug-04 4:45
Anonymous12-Aug-04 4:45 
GeneralRe: Calling a javascript function from vb.net every time pages loads is it possible Pin
mysorian12-Aug-04 6:58
professionalmysorian12-Aug-04 6:58 
GeneralRe: Calling a javascript function from vb.net every time pages loads is it possible Pin
Anonymous20-Aug-04 3:33
Anonymous20-Aug-04 3:33 
QuestionEmbedded OLE objects in VB .NET ? Pin
smritiy11-Aug-04 6:28
smritiy11-Aug-04 6:28 
AnswerRe: Embedded OLE objects in VB .NET ? Pin
ramaseb11-Aug-04 6:56
ramaseb11-Aug-04 6:56 
GeneralRe: Embedded OLE objects in VB .NET ? Pin
smritiy11-Aug-04 7:20
smritiy11-Aug-04 7:20 
GeneralFOXPRO TABLES Pin
ramaseb11-Aug-04 6:05
ramaseb11-Aug-04 6:05 
GeneralPlease Help Me Pin
mohan_balal11-Aug-04 5:50
mohan_balal11-Aug-04 5:50 
GeneralRe: Please Help Me Pin
Dave Kreskowiak11-Aug-04 5:53
mveDave Kreskowiak11-Aug-04 5:53 
GeneralRe: Please Help Me Pin
Nick Seng11-Aug-04 15:11
Nick Seng11-Aug-04 15:11 
GeneralRe: Please Help Me Pin
ramaseb11-Aug-04 6:34
ramaseb11-Aug-04 6:34 
Questionis there someone can explain this code? Pin
Lisana11-Aug-04 5:00
Lisana11-Aug-04 5:00 
AnswerRe: is there someone can explain this code? Pin
Anonymous11-Aug-04 14:04
Anonymous11-Aug-04 14:04 
Answeroriginal source code Pin
Anonymous11-Aug-04 14:27
Anonymous11-Aug-04 14:27 
GeneralRe: original source code Pin
Lisana11-Aug-04 14:35
Lisana11-Aug-04 14:35 
AnswerRe: is there someone can explain this code? Pin
Nick Seng11-Aug-04 15:09
Nick Seng11-Aug-04 15:09 
GeneralRe: is there someone can explain this code? Pin
Lisana11-Aug-04 15:24
Lisana11-Aug-04 15:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.