Ask a Question related to ASP.NET General, Design and Development.
-
Herfried K. Wagner #1
Re: Simple App As A Smart Client
Hello,
"cksj" <cksanjose@hotmail.com> schrieb:Post your application in the> I'm working on first app in Smart Client programming.
microsoft.public.dotnet.framework.compactframework ng.
Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
[url]http://www.mvps.org/dotnet[/url]
Herfried K. Wagner Guest
-
Smart Client Downloading -Sattelite Assembiles
Hi I am working with Smart Client.I am having a windows application which needs to works with Multiple Languages so i am using Sattilitie... -
smart client for windows ce?
Hi Can windows ce support smart client? Does using smart client requires IIS? Thanks -
Smart Client and IIS 6.0
I am trying to get a smart client app to work properly under IIS. I used the same techniques as I had under IIS 5 but it is not working. The problem... -
Smart Client form Permissons Problem
Out of 7 users, 3 don't work. One of them did things in the right order so now I'm not so sure what is the common denominator. Here is the error... -
How to localize a smart-client?
Hi! I've made a windows application that I'm going to distribute as a smart-client. When I start the application on a local computer the correct... -
Ken Cox [Microsoft MVP] #2
Re: Simple App As A Smart Client
If sLocation is a string, shouldn't the path be in quotes?
Ken
"cksj" <cksanjose@hotmail.com> wrote in message
news:%230CsyH9TDHA.1912@tk2msftngp13.phx.gbl...
I'm working on first app in Smart Client programming.
I have a very simple application that has 3 textboxes and 1 command button.
The command button will add the numbers in the first 2 textboxes and puts
the sum in the 3rd textbox. The app is done in VB.Net and is compiled as a
dll. I have another exe app that will load the dll from the http server.
When I ran the exe on my machine where the dll is located I get an error.
The error I get is file not found or dependency file not found.
Here's my code:
Try
'Download the assembly from a web server over HTTP
Dim sLocation As String
sLocation = [url]HTTP://MIS0014/AdditionServer/AdditionServer.dll[/url]
Dim formAsm As [Assembly] = [Assembly].LoadFrom(sLocation)
'Get the Form from the assembly
Dim formtype As Type = formAsm.GetType("AdditionServer.AddNumbers")
'Create an instance of the Form
Dim FormObj As Object
FormObj = Activator.CreateInstance(formtype)
'Cast it to a Form object to enable early binding and show the form
Dim Form1 As Form = CType(FormObj, Form)
Form1.Show()
Catch exc As Exception
MsgBox(exc.ToString)
End Try
Ken Cox [Microsoft MVP] Guest
-
cksj #3
Re: Simple App As A Smart Client
"Herfried K. Wagner" <hirf.nosp@m.activevb.de> wrote in message news:<u9a3Bu9TDHA.3640@tk2msftngp13.phx.gbl>...
The app that I'm working on is a "smart client" application. Other> Hello,
>
> "cksj" <cksanjose@hotmail.com> schrieb:>> > I'm working on first app in Smart Client programming.
> Post your application in the
> microsoft.public.dotnet.framework.compactframework ng.
>
> Regards,
> Herfried K. Wagner
people call it "no touch deployment". What you're thinking is that my
app is for "smart devices".
cksj Guest
-
cksj #4
Re: Simple App As A Smart Client
On my original code, the location is between quotes. When I pasted the code,
some how the quotes were gone.
When I run my program, I also get a DCOM error. The error states that the
IWAM account can't logon to the computer. I looked at my Local Policy and
under "logon locally" rights, the IWAM account is in there. Did I miss any
other security?
"Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca> wrote in message
news:OpjETc%23TDHA.1724@TK2MSFTNGP10.phx.gbl...button.> If sLocation is a string, shouldn't the path be in quotes?
>
> Ken
>
> "cksj" <cksanjose@hotmail.com> wrote in message
> news:%230CsyH9TDHA.1912@tk2msftngp13.phx.gbl...
> I'm working on first app in Smart Client programming.
> I have a very simple application that has 3 textboxes and 1 command> The command button will add the numbers in the first 2 textboxes and puts
> the sum in the 3rd textbox. The app is done in VB.Net and is compiled as a
> dll. I have another exe app that will load the dll from the http server.
> When I ran the exe on my machine where the dll is located I get an error.
> The error I get is file not found or dependency file not found.
>
> Here's my code:
> Try
>
> 'Download the assembly from a web server over HTTP
>
> Dim sLocation As String
>
> sLocation = [url]HTTP://MIS0014/AdditionServer/AdditionServer.dll[/url]
>
> Dim formAsm As [Assembly] = [Assembly].LoadFrom(sLocation)
>
> 'Get the Form from the assembly
>
> Dim formtype As Type = formAsm.GetType("AdditionServer.AddNumbers")
>
> 'Create an instance of the Form
>
> Dim FormObj As Object
>
> FormObj = Activator.CreateInstance(formtype)
>
> 'Cast it to a Form object to enable early binding and show the form
>
> Dim Form1 As Form = CType(FormObj, Form)
>
> Form1.Show()
>
> Catch exc As Exception
>
> MsgBox(exc.ToString)
>
> End Try
>
>
>
>
>
>
>
cksj Guest



Reply With Quote

