Hello guys
I have a variable problem, it goes like this:
in Module1 I declared :
public formID as string
in Form1 I set:
Module1.formID=Str(Day(Date) & Month(Date) & Year(Date))
in Form2 I want to see Module1.formID like this
Text1.text=Module1.formID
but Text1 remains empty. I could see it...
I have a connection file
connection.asp
conStr="DRIVER=Microsoft Access Driver (*.mdb); DBQ="
DSNName=conStr & server.MapPath ("myMdb.mdb")
set con=server.createobject("adodb.connection")
con.open DSNName
and file display.asp which shows all records
<%@ language=vbScript codePage=1255 %>...
I have four power point slideshows running one after the other,
I want to give the user the possibilty to choose his next action.
his next action will be choosen from a msgbox, if he wants to watch the next (second, third, fourth ) slideshow, or, if he wants to terminte the application.
For this...
Hello all
I have code that runs 4 different power point show (pps file) every time a user pressKey (4 different keys), Now
I need to add another capability: if the user does not preesKey and the pps file ended, a light (a lamp)turns on.
What is the device/kind of communication I need? (beside...
Hi All
I need to use keypress event while the ppt file run, in order to change to another ppt file. In short , what the code suppose to do is that: when a user press key 49 (that's '1') pp1.ppt start running, if the user want to stop pp1.ppt and start pp2.ppt he press '2' , and the other way...
Hello all
I have this code
Option Explicit
Option Base 1
Dim objPP As PowerPoint.Application
--------------------------------------
Private Sub Form_KeyPress(KeyAscii As Integer)
Set objPP = New PowerPoint.Application
Dim PP As PowerPoint.Presentation
Dim str As String
DoEvents
Set objPP =...
I have this code
<script>
sub document_onload()
dim xcl, xlbook
dim pathStr, fname
pathstr="c:\www\test.xls"
set xcl=createobject("excel.application")
set xlbook=getobject(Pathstr)
xlbook.saveas "c:\www\test.htm", xlHTML
end sub
</script>
the test.htm is not created, how come?
what do i have...
In case my question was missunderstood.
I have to change the xls file format to htm format, in the code,
that is, in a script, or someway else, as long that in the browser it will look like htm format
PLS need your help ASAP
nivini
I have an excel file in the server, I want it to look/ be an htm file in the browser,
do i have to change the xls format? how?
do i have to read it all (xlsfile.readAll() as a filesystemobject?)
and very important, i need to keep the workbook style (font, colors etc') as in the xls file,
How do...
I have this code
if instr(1, text1.text, "TEMP") then
valTEXT=val(text1.text)
end if
text1.text contain TEMP8003
not as expected, the valTEXT variable gets 0 instead of 8003
can you solve this mistery to me?
nivini
Hello all
I need to position the cursor on the third digit/char(or end) of a string in a textbox , when the window onload takes place.
Is that possible?
Any direction will be most welcome
Nivini
I have this code
<script language="JavaScript">
<!--
var newPic = NULL;
var FSO;
function OpenPic(strPath){
var newPath=strPath;
var fullPath;
fullPath =newPath.replace("..","");
newPath="F:/web/webserver/www/Pages" + fullPath;
FSO = new ActiveXObject("Scripting.FileSystemObject");
if...
Hello all
I have this code:
response.write "<td class='photo'>"
response.write "<img src='../shows"&(rec("pic"))&"'width=100 height=75 border='0'"
response.write " onclick=window.open('../shows"& rec("pic")&"',,'width=50,height=50, toolbar=no')>"
response.write "</td>"
The rec("pic") is an...
Hi all
I tried in asp forum, but gain nothing. hope for better results..
I need to export/upload records from my machine to my webserver.(on the net, not my local)
I have a vb app, i wrote a while ago, and it has mdb file, holding all the information, now i need this information (records) to be...
Hi all
I need to upload records from mdb on the client machine (my machine)to my web server mdb.
what will the connection string to the client machine mdb?
is it possible?
any ideas will be most appreciated
nivini
Hi all
I have this code, It has rows of textboxex and a button in each row, The button is to delete the row (the record).
And 3 buttons to add differrent kind of rows (records).
Now, no matter what button i press all events happens.
I tryed to add the
window.event.cancellbubble=true
to all...
Hi all
Im ecountering a cardinal problem.
I have this asp file which process data from the db,
When the db table contain only 60 records it works fine,
in matters of time and precision, When the table contains 6000 records, it seems as if the asp processes only a small part of table, The asp...
In the web server there is the root folder, called www.
in this folder i created a folder called SIteAdmin, in siteadmin i have few files, one is uid.asp,(the form file, where the user enters his details), these details are checked/validates in uid1.asp file.
in uid1.asp file theres the code...
In my code i have :
<%response.redirect server.MapPath("/folder1/horse.asp")%>
now this yields "the page cannot be displayed"
when i change it to:
<%response.redirect "http://my-site/folder1/horse.asp")%>
it works, and i can see 'horse.asp'.
What is the reason for this error?
many thanks
nivini
I have this vb6 app i wrote 4 years ago connected to access97 mdb. Now i need to upgrade the app, it demands changes to the mdb, so I converted the mdb to access2000 version, BUT when I run the app an error arase "unrecognized database format (with the path to the converted mdb)".
so in order...
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.