Why the ExecuteAssembly cannot work

Why the ExecuteAssembly cannot work

Post by Thunde » Fri, 22 Aug 2003 16:06:39


Dim AppFile As String = "\Program Files\CF_RDA\CF_RDA.exe"
Dim myDomain As AppDomain = AppDomain.CreateDomain("MyApp", Nothing)
Try
myDomain.ExecuteAssembly(AppFile)
Catch ex As System.IO.FileNotFoundException
MessageBox.Show("Cannot execute" + Constants.vbCrLf + AppFile +
Constants.vbCrLf + ex.Message)
End Try

it always show me "Cannot execue" for FileNotFoundException,but the file is
really exists
 
 
 

1. ExecuteAssembly does not work at production

2. findcontrol("PlaceHolderPrice") why why why why why why why why why why why

why why why why why why why why why why why

Can't i get

dim PlaceHolderPrice as placeholder =
formview1.findcontrol("PlaceHolderPrice")



<asp:FormView ID="FormView1" runat="server" DataKeyNames="AdNum"
DefaultMode="Edit" DataSourceID="SqlDataSource1">

<EmptyDataTemplate>



</EmptyDataTemplate>

<EditItemTemplate>

<table border="0" cellspacing="0" cellpadding="0" width="550" >

<asp:PlaceHolder ID="PlaceHolderPrice" runat="server" Visible="false">

<tr>

<td style="width: 3px;" valign="top">

</td>

<td valign="top">

Price:

</td>

<td valign="top" width="10">

$</td>

<td valign="top">

<asp:TextBox ID="PriceTextBox" runat="server" Text='<%# Bind("Price")
%>'></asp:TextBox>

td>

<td width="10">

 </td>

</tr>

</asp:PlaceHolder>


</table>

</editItemTemplate>

</formview>

3. AppDomain.ExecuteAssembly: want notification when executing assembly starts

4. AppDomain.ExecuteAssembly - Not initialised to an instance of an o

5. AppDomain.ExecuteAssembly()

6. Repost: AppDomain.ExecuteAssembly: want notification when executing assembly starts

7. why why why does function not work

8. G QOS don't work??why why why!!!!!

9. Why, why why... everytime I move to a new pc tclapp fails to work??

10. Why I cannot find my registry key even my Add-in is working?

11. Why do my rules not work/ cannot be deleted either?

12. Collected File query not working; cannot fathom out why?

13. Smooth the data in a table, Why this cannot work?

14. Why VBA with Me! cannot work ?

15. Remote desktop: cannot copy files why still not working