Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: nivini
  • Order by date
  1. nivini

    public variables scope

    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...
  2. nivini

    Invalid Argument

    So sorry falks The mdb was corrupted , last thing I checked, sorry for your trouble nivini
  3. nivini

    Invalid Argument

    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 %>...
  4. nivini

    How can I know if a slideshow is at end?

    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...
  5. nivini

    vb app turns on an electic external device

    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...
  6. nivini

    keyPress event while another app run

    Thanks Paul I'll give it a try N
  7. nivini

    keyPress event while another app run

    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...
  8. nivini

    powerpoint presentations from vb

    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 =...
  9. nivini

    can't save xls as htm file

    combo, thanks again, but no go, I've tried all suggested combination and the test.htm file is not created, if you have other solution i'll be more then happy to try. Do you know where can i find more about vbscript? help is very needed nivini
  10. nivini

    can't save xls as htm file

    combo, xlbook.saveas "c:\www\test.htm", 44 didn't make it. other solution, need it badly ASAP nivini
  11. nivini

    can't save xls as htm file

    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...
  12. nivini

    change xls format to htm IN CODE

    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
  13. nivini

    xls file to htm file

    Thanks Sheco for your replay as long as it will look like a html page, as if I used the "save as web page" on the xls file' it will be fine.
  14. nivini

    xls file to htm file

    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...
  15. nivini

    Problem with val function

    ADoozer Many thanks nivini
  16. nivini

    Problem with val function

    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
  17. nivini

    positioning cursor

    Solved Thanks any way :-D
  18. nivini

    positioning cursor

    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
  19. nivini

    declare var outside the function

    I forgot to mention, when the code was: script language="JavaScript"> <!-- var newPic function OpenPic(strPath) { newPic=window.open(strPath,"NULL" ,"width=400, height=300, toolbar=no, resizable=no, menubar=no, top=0, left=0"); }; function CloseWin() { newPic.close(); }; --> </script> it all...
  20. nivini

    declare var outside the function

    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...

Part and Inventory Search

Back
Top