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?
:(
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...
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"">" &...
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...
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...
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...
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...
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"
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 =...
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 =...
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...
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
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 = ['" &...
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...
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...
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.