View Complete Post
I wanna call a child process to run from the parent process. In that case the parent process should not be accessible before closing the child. I nearly accomplished this stuff by using the following code.
ProcessStartInfo pStart = new ProcessStartInfo();
pStart.FileName = @"D:\Child.exe";
using (Process proc = Process.Start(pStart))
The above code works successfully but my problem is different. In my child application there are totally two exe's.
In child application generally we used to call the Login.exe to login then the Login.exe will automatically close and the Child.exe will open.
In my present scenario I have to cal the Child application from the Parent. If I used the above coding, the Login.exe is called successfully. But after logon the Login.exe will close and then Child.exe will run then the Parent.exe is available now.
So I need the Parent.exe remain unaccessible until the Child.exe is closed.
Let's say we have 2 time consuming functions, aaa and aaa1 inside a aspx page.
public static string aaa(int i)
public static string aaa1(int i)
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
<input type="button" value=
I face this "Jscript runtime error: Object does not support property or method" whenever im trying to run this page.
Im using Microsoft Visual web developer 2008, i wonder if this is related to my problem, i not sure there is anything i need to add as reference or update anything.
Anyway, it happen that last time i tried use the same type of jquery code in another project and it seems to work well without an error.
But now when im try to use it again in this recent project i created, it come out with this error and i have no idea how to solve it even look through google and this forum.
So below is my code that i need to use.
I have staff area of my site I am protecting with forms authentication using c# and .Net 4.0. What I want to do is let the staff members register on the site but instead of the confermation email being sent to them I want it sent to me so I can go in and approve it. I have been trying to use the SendingMail method but can not figure out how to get it to email me instead of the person that registered. I have searched around this site and find many topics on the SendingMail method but none seem to properly address my issue. Can anyone help me out?
I want to build multi-language website in asp.net 2008 and asp.net 2010. So, which process is better for building application? Using either Local and Global Resource or New Folder to make separate according to language?
Application performance should be good and also easy manageable.
Please suggest me in which way I will build the application either using resource or folder. If there is any other better solution then please share.
i am posting my vb.net problem .plz tell me how to resolve this :-
Dim conn As String = ConfigurationManager.ConnectionStrings("NorthwindConnectionString").ConnectionString 'Dim mysqlconnection As New SqlConnection(conn) 'If mysqlconnection.State=ConnectionState.closed Then mysqlconnection.Open(); 'Dim mySqlcommand As New SqlCommand("select CategoryId,CategoryName from Categories", mysqlconnection) 'Dim mySqlDataAdapter As New SqlDataAdapter(mySqlcommand) 'Dim mydataSet As New DataSet() 'mySqlDataAdapter.Fill(mydataSet); 'Gridview1.DataSource=ds; 'Gridview1.DataBind(); 'if mysqlconnection.State=ConnectionState.closed Then mysqlconnection.Open();
i m getting 5 errors in this code
declaration expected in mySqlDataAdapter.Fill method; Gridview1.DataSource=ds; Gridview1.DataBind();
I got a recent working code from client.I see errors in the get methods when i compile , below are some place where the error happens.Can any one help me out?
Error 2 'System.Environment.NewLine.get': cannot explicitly call operator or accessor C:\Documents and Settings\shankar\My Documents\Visual Studio 2008\Projects\DKCLwin\DKCLwin\LocalizationAdmin.cs 150 170
The new .NET Framework 4.0 maintains backward compatibility while allowing core innovations by using a new feature called In-Process Side-by-Side. Learn about how it works and some problems it didn't solve.
Luiz Fernando Santos, Jesse Kaplan
MSDN Magazine December 2009
See how you can streamline your team projects using Process Templates in Visual Studio Team System (VSTS)
Brian A. Randell
MSDN Magazine December 2008
Using threat models to drive your security engineering process helps prioritize the code review, fuzz testing, and attack surface analysis tasks.
MSDN Magazine November 2008
In this column the author outlines some approaches to threat modeling that can be employed by development teams of any size.
MSDN Magazine July 2008
Jay Flowers demonstrates how to set up and use a Continuous Integration server using both discrete tools and the more comprehensive CI Factory solution.
MSDN Magazine March 2008
This month Stephen Toub answers questions pertaining to the Windows Vista Restart Manager API and generic method compilation.
MSDN Magazine April 2007
While the Visual StudioÃÂ® Build menu's Build Solution option is the usual way developers compile their current work on a project, the process of building the complete solution for testing, deployment, or production often requires many more steps.
MSDN Magazine March 2006
Before you can test any software system effectively, you must understand the system under test. If the system includes the MicrosoftÃÂ® . NET Framework, understanding the system under test includes understanding its assembly and method dependencies.