.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Post New Web Links

Urgent!!!!!!!-- xecuting Server Side .exe File From Client Side

Posted By:      Posted Date: September 15, 2010    Points: 0   Category :ASP.Net
 
helllocan any 1 plz teel me . How To run exe on client machine which(exe) store in Server side.I dont want user need to downoad My .exe file and then Install on his machine. I want user just click on Register linkbutton and directly Start Executable Installation process. PLZ HELP MEAMIT:)


View Complete Post


More Related Resource Links

Create PDF file in server side

  
Hi,I need to create a .pdf file which can download by client clicking on the link in my web site. That pdf should be generated using stored information in database. It has different types of fonts which has not installed in client machine and only installed in web server. In this case, I'm not interesting to use crystal report or any other third party components that need to register to use and has some limitations.How can I do that using ASP.NET with C#?Thanks.

onclick() between client side and server side

  
Hello, I want to enhance a composite control's client side, my approach is to recreate all method on JavaScript, so here I have some troubles : 1) Can I call onclick event on client side otherwise on server side ? 2)  the statement table.onclick=SelectRow(event) fires a bug ! Hello,I want to enhance a composite control's client side, my approach is to recreate all method on JavaScript, so here I have some troubles :1) Can I call onclick event on client side otherwise on server side ?2)  the statement table.onclick=SelectRow(event) fires a bug !

Treeview web server control client side evnts

  
HiI'm using Treeview control with asp.net 2.0. I would like to know how to get the client side events working. I don't want a post back for every little thing i do with the Treeview. Particularly i want to catch the node click event on the client side using java script, i want to enable/disable buttons based on the selected node. Is this possible? i tried some examples available on net but doesn't seem to be working. Please help me.. can someody give a working example....John 

Can I invoke a client side script from server side code

  
Hi is it possible to involk a client side script from the server side code without any interaction from the client side?Such as a popup or alert box?I know I can code this with the page load or the click event, I would like to call the alert from within my serverside code and trigger the action from there.Thanks

Run a batch file at server side

  
Hello,         I am creating an intranet application which runs a batch file and create an xml file as result. Which i am using for further processing. My problem is when i am running my application from local machine batch file is running fine and creating xml,but when i am running it through iis nohting is happening,it meance process.start coudn't start command Prompt.I am using following code. I have given all permission to iis.Dim ProcessInfo As Diagnostics.ProcessStartInfoProcessInfo = New Diagnostics.ProcessStartInfo("cmd.exe", "/C " + Server.MapPath("~\myScript.bat"))        Dim Process As New Diagnostics.Process       ProcessInfo.CreateNoWindow = False        ProcessInfo.UseShellExecute = False        Process.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal        Process = Diagnostics.Process.Start(Server.MapPath("~\Spandata\RunSpan.exe"))       Process.WaitForExit(20000)        Process.Close()

stop execution of client-side from server-side.

  
I have a textbox inside a composite control. I have exposed the textchange event to the page. In the server-side text change event, i need to show an alert box. So i m using ScriptManager.RegisterStartUpScript to raise the alertbox. My problem is the event is fired when any button in the page is clicked and they may execute some client-side script. I need to stop their execution. Anybody knows how to do this? Please help.

convert client vbscript code to server side

  
Hi There, we have some .htm pages with client side vbscript,the code is pasted below, we want to get this page run on the server side so that we can access this from a URL, can you please advice how convert this code to be able to run on the server side. Client side code: <HTML><HEAD><TITLE>Select Module</TITLE> <SCRIPT LANGUAGE="VBScript" ><!--     Option Explicit        Dim College    Dim Modules    Dim ModulesArr    Dim counter    Dim MyModules         Set College = Top.App.ActiveCollege    Set Modules = College.Modules     'Sorts the ModulesArr Array by module name.    Sub SortModules(StartPosition, EndPosition)        Dim I, J        Dim CurrName, CurrIndex        For I = StartPosition to EndPosition            J = I            CurrIndex = ModulesArr(J, 0)            CurrName = ModulesArr(J, 1)             'while Mod

Posting using Server Side and not Client side form?

  
Hey, i want to post to a page by using server side and not client side form and submit button.Now im using this code:Response.Redirect(Request.Url + "&t="+Title+"&d="+Description+"&a="+Author+"&p="+Published+"&i="+Thumbnail);so it redirecting to the same URL with parameters.. (it works)But it makes alot of bugs and the address bar is long as hell..How can i post to the same page using Server side code (C#) and send the same parameters?Thanks.

How to connect to MOSS server using visual studio from client side

  
Dear All We are having one moss development environment and we are having many developers working on it.Since all the developers cannot work at a time,we are facing difficulties while developing sharepoint components. Is there any way to connect to sharepoint server from visual studio(from client side) so that we can compile our sharepoint components from client side and deploy later to the server? Any help on this would be much appreciated? Thanks Karthik S

Client Side vs. Server Side, which is better to do?

  

This is a two fold question. The first is which should I user over the other Client Side rendering or Server Side rendering? I know it depends on the situation like if I needed to build a drop down list populated from a SQL DB then server side but what about normal static things like links and this leads into my second question. I want to make button that reloads the page current page from scratch. Should I make an ASP:Button and have C# backend code that redirects to the URL or should I use a normal HTML button that has JScript to do the redirect? And if it makes a difference the dedicated server I run on has an Intel Xeon X345 @ 2.7GHz with 4 GB ram running 2008 R2 Web, IIS 7.5, and SQL 2008 web on it so resorces are limited.


WCF session client service reference "State" is not updated when the server side has closed

  

I am using vb.net (Visual Studio 2008 with framework 3.5). I have a server that exposes several services requiring sessions. I am using wsHttpBinding for all. One of my requirements is to allow non-dot net third parties to access these services. When a client connects to a service and then some time later the server goes away, the state of the connection is still reporting "open".

Currently I have implemented a "ping" function on the server. My client calls this function every 5 to 10 seconds and if the server does shutdown, I get alerted with an exception error. This works, but I was wondering if there is a way where I don't have to call my ping function?

I don't want to use a dual connection binding and I was hoping to use the connection state variable? But, I don't know how to get it to update by itself. The client user application could just wait until it goes to invoke a service method, but I was wondering if there was another way.

Thanks in advance!!

 


Should I go Client Side or Server Side?

  

Hi Everyone,

 

I am currently working on a site where I expect most of the visitors to be returning visitors.  Their main use for this site will be to check a vast amount of data which should only occur some minor changes about once a day.  I will expect quite a lot of users and I would like my website to operate as efficiently as possible. 

 

To make the site as efficient as possible I am thinking of building my website in a way that does not seem to be the way most web developers go about building their site I and would like to know what some of you think about my approach.  I decided to make all my pages in HTML, CSS and Javascript and therefore no .aspx pages.  All data relative to the user will be stored in cookies and I will have an AJAX script that will poll the server to check only for changes in the data since the last time a query to the data was made meaning that the user will not have to download all the data every time the user visits the site but only the small changes.  The login part of the web site will also be javascript based.  Inside a cookie a session id will be stored and every query to the web server will require that session id to be sent to validate if the user is allowed to access tha

client side functionality in a custom server control using vb?

  

Hi,

is it posible to add client side functionality to a custom server control in vb.net?

i am looking at msdn library and there is no code for vb :/ http://msdn.microsoft.com/en-us/library/aa719700%28v=VS.71%29.aspx

I fount this on MSDN Library Adding Client Capabilities to a Web Server Control

What i'm trying to do is to add some client functionality to my control, so that you can get or set some properties/values on client side. From the above link i see  that this is doable with Ajax Server Control, but i don't have it, i have Custom Server Control. Can i do this with Custom Server Control and how?

Thank you.


Client side script for server side controls

  

I have a whole table full of checkboxes each of which is associated with a label.  Both checkboxes and labels have runat="server".  What I'd like to do is to write a small script that will make visible or hide the label depending on the check state of the checkbox.

function ShowHideLabel(cbControl, lControl)
{
    lControl.Visible = cbControl.Checked;
}


 

<asp:checkbox id="cb1" runat="server" text="CheckBox 1" OnClick="?" />
<asp:label id="l1" runat="server" text="I am visible" />

What do I need to put in OnClick for this to work?

 

Thanks
 


server side validation to file upload control in asp.net

  


hi,

how to validate a file upload control to allow  maximum "100kB" Size images.if exceed it should fire a asp validation"file size must be 100KB maximum".


plsssssss


Many Thanks in Advance. 



Client Side Code added to a file .txt when uploaded - FileUpload, VB.net

  


heyy..

im tryin to upload files to the database using the FileUpload. the upload take place. when i download the file again ( word document, excel document.. a text document (.txt), a winzip file) , it turns that the file is corrupted and cannot be opened.. an image file or an mp3 file doesnt present this problem.

my application is developped usin vb.net 2010 and sql server 2005 as the database.. 

i searched the internet and the forums here but ive couldnt find an answer of what is happening wiz me..


ill present here the upload function and the download function.. plz help.


Protected Sub btn_upload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn_upload.Click
        If Me.file_upload_case.HasFile = True Then
            Dim contentType As String = file_upload_case.PostedFile.ContentType
            Dim fileData As Byte() = New Byte(file_upload_case.PostedFile.InputStream.Length) {}

            file_upload_case.PostedFile.InputStream.Read(fileData, 0, fileData.Length)
            Dim originalName As String = Path.GetFileName(file_upload_case.PostedFile.FileName)

            Dim u As New UploadFileC
            u.CaseBranchP = Me.combo_branch_code.SelectedValue.ToString
            u.CaseIDP = Convert.ToInt64(Me.txt_case_number.Text)
          

How can I retrieve the value if a server side control value whose value is updated on client side on

  

I have a hidden variable and its value is being updated using javascript(client side) which I make a call from server side code. 

After making the call I am not able to retrieve the updated value from Server side variable.

I went through this forum http://forums.asp.net/p/1289684/3668484.aspx but not able find a way how to implement functionality with IFRAME.

Please provide me some sample code. I am trying to call the client side code and retrieve the updated value from server side in page_load event.

Thanks


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend