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 gkittelson 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: *

  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?
  16. staleb

    Script from .net code

    but you'll still need to call the javascript function from somewhere for it to fire (e.g the onload event of the body tag). " How can I call it from .net code? Is this how? btn.attributes.add("onclick","javascript:VisBilde();") If so this means that the user needs to click another button. I...
  17. staleb

    Script from .net code

    Yes the code is located inside a sub: Private Sub KjenneMerkeEndret(ByVal pUrl As String) .. .. End Sub I debug the program and it runs throu the sub without errors
  18. staleb

    Script from .net code

    Hi, not sure if this is the right forum but here Go! I have a script I want to run from my code: Dim script as String script &= "<script language=""javascript"">" & vbCrLf script &= "<!--" & vbCrLf script &= " function VisBilde()" & vbCrLf script &= " {" & vbCrLf script &= " var url = ['" &...
  19. staleb

    MSWord and Asp

    I really appricate all the ansewers given One final question. This "Private Sub DownloadFile" routine does it require the document to stored on the web server. The reaseon I ask is this. We have three servers: One DB, one document server and one web-server. Our users only have access to the...
  20. staleb

    MSWord and Asp

    Hi again Excuse my lack of knowlegde here on this topic. But is this the right assumption regarding, download file and HtmlInputFile: The user need to download the file make the changes store it locally and then upload it? Is this correctly understood? My idea with this application was...

Part and Inventory Search

Back
Top