|
Thanks for reply ..
Actually I m looking for a suitable risk model to apply which can calculate risks..they havnt given any concept to use..for example: Jacobson's matrix window which uses formula like "Risk score = Impact of threat occurring x Probability of threat occurring"
but i have to use something different...please help me..
|
|
|
|
|
I am trying to learn something about the AJAX controls available for ASP.NET.
I am using VS 2005. I download the install for ASP.NET AJAX 1.0. It completes and creates a directory C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025. From there I try to Browse from my VS Toolbox "Add Items". When I browse for System.Web.Extensions.dll, I get a few ScriptManager Controls.
However, when I browser for System.Web.Extensions.Design.dll or AJAXExtensionsToolbox.dll, I get a message that there are no controls in the DLL to be added to the Toolbox. Yet, I thought that there are supposed to be 30 or more AJAX controls that should be added.
What am I doing worng?
Thanks!
Mark
|
|
|
|
|
Have you added refrence of ajax control toolkit to your project
|
|
|
|
|
I thought that is what I was trying to add. I downloaded the Toolkit and installed it. All it appeared to do was add some files to C:\Program Files.
What else am I supposed to do?
|
|
|
|
|
Hello all,
I am totally new to web based vb.net programming. I want to be able to copy data from Excel and paste it to the datagridview in a web form. I know how to do this for windows form, but it isn't working for the web form. Any ideas?
Thanks,
GJ
|
|
|
|
|
try this [^]
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
My requirement is to run an EXE in remote system. Consider my application is in 'System A' and EXE is in 'System B'. Now i have to run the EXE in System B. How to do this.
I am using ASP.Net with C#
I am working in this for last two days, still didnt got any solutions. I have already tried with 'System.Diagnostics.Process', I can able to run locally but cant able to run in Remote system.
System B is not a client system. Its a separate remote system. Where files be stored. I have just to trigger the EXE their.
Any solution/steps/code will be more helpful. Thanks in advance.
|
|
|
|
|
You should be able to run the executable through System.Diagnostics.Process, however you need enough permissions to do this. You may want to run your website in impersonate mode and require a login for your website. I would not recommend this though...
Maybe explain us what you want, then someone may come with a better solution?
|
|
|
|
|
HI Eduard,
I have tried using System.Diagnostics.Process, but cant able to run in remote system.I just want to run an executable file which would be support for the application.
|
|
|
|
|
This sounds like something that could be solved with a webservice.
The webservice could "listen" for things like, start, stop, progress commands. You could then have one machine send these commands to the webservice.
Just a suggestion.
|
|
|
|
|
Thanks for the suggestion David, can you give me some ideas how can i do it with web services. I am not much familiar with web services.
|
|
|
|
|
ya, you can use webservice to run a exe on a remote machine. Write a simple webservice which calls your executable and deploy it on the machine which has the exe. But for that you need to make that machine also as a server.
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
Since you don't have much experience with WebServices, and you speak about System B having files stored. You might find this an interesting approach.
The FileSystemWatcher class allows you to monitor a folder for changes and based on some type of change, your application can take action. The idea being that System A could write a small file in a folder that System B is watching. When System B sees the change, it runs whatever logic is necessary.
The only thing that you require is that System A can write to a shared folder on System B.
Two good articles to show you how this works ..
CodeProject: Watching Folder Activity in VB.NET[^]
MSDN: FileSystemWatcher Class[^]
|
|
|
|
|
Thanks David. But i think it wont required for my requirement, i just want to execute the exe file on user click event.
|
|
|
|
|
when you want to execute the exe ? after a specific time or after any specific operation ?
|
|
|
|
|
|
This is ONLY possible, if machine B is your server, or you have a way of communicating to machine B from the server. Machine B needs to be a webserver of some sort, or on the same network as your server, for this to be possible. You need to provide more information to get your solution, and it may be that you can't do it ( it usually is when people ask how to run an exe, but they usually want to run it on the client )
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
|
|
|
|
|
do you have LAN connection from System A and System B...(both servers)
If so, pass UNC path to the System.Diagonistic.Process to run the exe with UserId and Password criteria.
But Mind that, the process with run in your machine by this process. If you want to run on System B, invoking the process from System A is not possible. You need to find some way say windows service or something that may invoke your process when some action is taken by System A.
|
|
|
|
|
Which of these machines is the server for this ASP.NET application ? If B, then it's trivial. If A, then it's not possible, with ASP.NET.
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
|
|
|
|
|
System A contains ASP application that's the problem....
|
|
|
|
|
Hi All,
Can any body give me any code or Link how 2 use DataContractJsonSerializer.
Thanks
Vipin Paliwal
|
|
|
|
|
what about MSDN ??
DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(Product));
using (FileStream fs = File.OpenRead(@"c:\jsonText.txt"))
{
Product product = ser.ReadObject(fs) as Product;
MessageBox.Show("Product Name: " + product.Name);
}
[Serializable]
public class Product
{
public string Name;
}
Just see how Product is Deserialised from jsonText.txt file.
for further ref you can check this code as well
http://geekswithblogs.net/AzamSharp/archive/2007/11/04/116586.aspx
|
|
|
|
|
How to change the text in a Messagebox button ?
imgDelete.Attributes.Add("onclick", "return(confirm(Are you sure you want to delete the folder?'))");
in the confirmation messagebox the text can change in to Arabic, But two buttons 'Yes' and 'No' also I want to display in Arabic while changing culture.
|
|
|
|
|
You can't. Create your own popup window with your own buttons.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
thats a good idea and you can go through these links will help you,
Link 1[^][^]
Link 2[^]
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|