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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by staleb

  1. staleb

    YES/NO Popup

    The confirmation (yes/cancel) wont to the trick. Because it will only run the the storing function if yes is pushed. I want it to run regardless of answer, but store the extra information depending on the answer. Is creating my own asp.net the only solution left then? :(
  2. staleb

    YES/NO Popup

    Sorry cant use that. I really need a popup. :)
  3. staleb

    YES/NO Popup

    Hi Can somone please help me out here. HAve been searching the web for a solution, without luck. Example I have a web page for storing orders. If the customers chooses product A the order should store normaly, but if product B is choosen, the customer should get an question YES/NO if he wants...
  4. staleb

    Calling a value in a script

    Thanks I thought I have tried many different syntax's, but I did think about putting three " in a row. Thanks!!
  5. staleb

    Calling a value in a script

    The error message is just: Syntax error. Because the script-line is this when it get rendered: set Doc = Word.Documents.Open('\\myserver\test.doc') The code is a vb-script I only didnt paste the whole script. It was to long: Dim script As String script = "<script language=""vbscript"">" &...
  6. staleb

    Calling a value in a script

    Hi How is the syntax for calling a string-value from a vb-script. I have: Sub Document() dim sPath as string = "\\myserver\test.doc" Dim script as string +++ script &= " set Doc = Word.Documents.Open('" & sPAth & "') " & vbCrLf ++++ Me.Page.RegisterStartupScript("Open", script) End Sub...
  7. staleb

    Running a script from code

    What do u mean with outputed? If u mean that I can go to "view source" in the explorer and see it, then yes
  8. staleb

    Running a script from code

    Hi Hope this is the right forum for this This is my scenario: The user decides what kind of document he wants to create. The document is created by the application and stored on the server. Since I dont know how to store the document directly on to the clients machine, I'm storing it on the...
  9. staleb

    Running a script from code

    Hi Hope this is the right forum for this This is my scenario: The user decides what kind of document he wants to create. The document is created by the application and stored on the server. Since I dont know how to store the document directly on to the clients machine, I'm storing it on the...
  10. staleb

    Crystal Report and Web-server

    Hi My application uses CrystalReport. I now want to publish my application, but my web-server people tells me that I shouldn't install the whole CrystalReport on the web-server. (It would cost to much money with licences and everything) I should only install thoose componente that I use. How...
  11. staleb

    Page Title

    Hi Can I change the title(head line) one my web-page. If so how. I want to have a dynamic page, where the title is depened on who logs on my page. Can I do this in my vb.code: my.page.title = "myname"
  12. staleb

    Open MSWord document

    Hi I dont now if this is the right forum to ask this question, but here I go. I want to open a MSWord document on the clients PC/MSWord, the solution I use now is this: <script language=vbscript runat=Server> <!-- sub OpenDoc(strLocation) set objWord =...
  13. staleb

    Open MSWord document

    Hi I dont now if this is the right forum to ask this question, but here I go. I want to open a MSWord document on the clients PC/MSWord, the solution I use now is this: <script language=vbscript runat=Server> <!-- sub OpenDoc(strLocation) set objWord =...
  14. staleb

    Script from .net code

    Thanks I will try to get this to work
  15. staleb

    Script from .net code

    add it to "the onload event of the body tag" How is this done?

Part and Inventory Search

Back
Top