|
I have a folder on the server with a web sharing permission.
if i add the Built-in security principals(Network) for sharing permission, i can use the scripting.fileobjectsystem to copy file from client to that folder. but the problem that i can access that folder from client. when i remove this permission then i cannot access the folder from client but also i cannot copy file using scripting object.(access denied exception)
Any idea ??
dghdfghdfghdfghdgh
|
|
|
|
|
Hello,
i want to copy a file to server side.
i thaught that maybe i can get the file using scripting.filesystemobject .getfile and then put it in an html input and then save it on the server. can i do that in javascript ??
is there any other idea to post file in vbscript without using scripting object . movefile to ...
regards.
dghdfghdfghdfghdgh
|
|
|
|
|
The HTML input control is highly locked down, to stop people from stealing files. If you want someone to send you a file, you need to ask them to select it. Unless you use an activeX control, then I'm not sure what's possible.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
I have uploaded data into Amazon site through my own web page. Where I am writing data into predefine Xml according to my Web page.
But right now I m trying to write that data into Predefine XSD with the help of predefine xml.
Can any buddy tell me how to write data in xsd from xml.
|
|
|
|
|
<asp:templatefield headertext="Award name">
i want to use header text in code behind
is their any method
how to change the header text of an template field dynamically
|
|
|
|
|
<asp:templatefield headertext="Award name">
i want to use header text in code behind
is their any method
|
|
|
|
|
|
Hello everyone,
I want to start a VB.net windows application installed on client PC from my ASP.net web application.
I have tried using shell command but no success.
Please could you give me some idea for doing the same. It's a bit urgent, please.
Any help would be of great help.
Thanks in Advance. Awaiting a reply soon.
|
|
|
|
|
VikashGohil wrote: It's a bit urgent, please.
That's a real shame. How could you get yourself into a position where you need to do something urgently, and it's physically not possible to do ?
Imagine if a web page could run executables on your PC at will. We have enough security issues. An ActiveX may be able to do that ( it may not, also, I am not sure ), but ASP.NET *by definition*, cannot. What ASP.NET IS and DOES, makes that impossible.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Thanks for the reply, Christian.
Just Another query, even if i use VB.net as my code-behind, is it still not possible?
I searched for it and read somewhere that starting a process from Asp.net web page might open a windows application, although i haven't personally tried it.
Will be trying it.
anyway Thanks for your reply.
|
|
|
|
|
VikashGohil wrote: Just Another query, even if i use VB.net as my code-behind, is it still not possible?
I think you need to read a book on ASP.NET, because it's clear you don't understand it. It doesn't matter what you use, it's on the *server*. Your page is on the *client*. No VB.NET or C# code you write, runs on the client, therefore it doesn't really matter what language you use.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
how to get the value in code behind like
i have a label for which i will use label.text
like wise i want to get value inside a tags
in code behind
|
|
|
|
|
Tags like td, unless you created them, in which case you can add a name and a runat="server" to make them a server tag, are generated by controls like a gridview. If the gridview generated the tag, you can't really do more than examine the datasource of the grid view. If you're adding HTML and want to check it's content, then make it a server control.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
<td>
Reward
</td>
here i want to change " Reward " dynamically
i will connect it to a resource file
tanx
modified on Saturday, June 13, 2009 2:36 AM
|
|
|
|
|
1 - don't ask the same thing twice, add to your original post
2 - check the checkbox not to interpert tags, if you want to add tags to your post, otherwise, we can't see them ( I fixed that for you )
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Hi Experts,
In my web form one drop downlist box is there, i fill the items like India, United states, United Kingdom, etc..my dropdown width only 35. if i select the united states. whole name not visible. i want visble whole name. right now it's not visible. i know it's possible through CSS. but i am not expert in CSS, pls suggest me any one.
Thanks & Regards
Rammohan
|
|
|
|
|
You need to make your drop down box visible enough to show the whole string in the first place. I don't believe css or even js can do string measuring, although you can store a width for each control and dynamically change it. You would use js, not css, for that.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
developed one asp.net project (merger) , i hv sucessfully run the project in the local host, & iwant to run the project in remote, so i creeate a virtual rectory and browse the home page it will run, after open the form i have click the add button
it will show the error message like this
"Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application"
i am using windows xp
sql2000
|
|
|
|
|
Edit your posts, don't post them twice.
It looks to me like you've shown server side UI, which means two things.
1 - you don't really understand ASP.NET
2 - because when you're developing, the server is also the client, you would not notice your bugs until you deploy.
ASP.NET on the server, runs C# or VB.NET code to generate html. HTML and Javascript run on the client. If you show any UI in a .NET language, it will show on the server, thus freezing the server and breaking your application.
http://forums.asp.net/p/907491/1019440.aspx[^] is the first of literally hundreds of hits I got explaining this, by googling the error message you pasted here. Google is your friend, you should try using it. As for the error, your code is broken. You should do some reading on ASP.NET to try to understand it a little better, and obviously, remove all server side UI code.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
developed one asp.net project (merger) , i hv sucessfully run the project in the local host, & iwant to run the project in remote, so i creeate a virtual rectory and browse the home page it will run, after open the form i have click the add button
it will show the error message like this
"Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application"
i am using windows xp
sql2000
|
|
|
|
|
Hi,
I am working on WPF stack panel. In this I am adding images to the stack panel dynamically. After add the images I need to move the slides in one position to another.
If any one have any idea on this please reply me. This is very much necessary for my application. If possible please send me a sample application.
Thanks in advance.
|
|
|
|
|
You should ask this in the WPF forum, ASP.NET has nothing to do with WPF. I can't answer your question without asking more, so if you ask in the right forum ( I am hoping you've not just spammed the whole site already ), I will ask there.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Hi all,
I have to display a modal popup on the click of a link button. the link button is inside the gridview and I have to pass the Id of the dataItem bound to the selected row to the modal popup. This I had successfully achieved using codebehind. But,now I am not suppose to write any server side code for this,hence I have show the modal popup using javascript.What I have tried uptil now is,
<br />
<script><br />
function showModalPopup(val)<br />
{<br />
document.getElementById('<%=chatCommentId_hf.ClientID%>').value=val;<br />
return $find('deleteBehavior').show();<br />
} <br />
</script><br />
--------------------------------------------------------------<br />
protected void gv_RowDataBound(object sender, GridViewRowEventArgs e)<br />
{<br />
if (e.Row.RowType == DataControlRowType.DataRow)<br />
{<br />
((LinkButton)e.Row.Cells[2].FindControl("delete_lnk")).Attributes.Add("OnClick", "javascript:return showModalPopup(" + ((Label)e.Row.Cells[1].FindControl("ChatCommentId_lbl")).Text + ");");<br />
<br />
}<br />
}<br />
This is working properly but the modal popup does not wait to get the user response,it just disappears immediately.I want it to wait till the user clicks any button on the modal popup,as it happens in case of other modal popups.Any idea how can I achieve this.
Please help.
Thank You.
|
|
|
|
|
Place the gridview inside an update panel and that should resolve the issue.
Thanks
|
|
|
|
|
Hello,
I have a problem regarding XSD. I am trying to bind data in predefine xsd from predefine xml. And to upload that Product feed into Amazon. I have all ready uploaded my data to Amazon with the XML.But i am unable to upload with xsd so please help me that how can i do this.
|
|
|
|