473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Smart Client

The Bigger Better Basic tour spoke to us about "smart clients." It seemed
intriguing, especially the web-launched executables that downloaded the
required assemblies under the hood - that was fascinating.

However, these one day presentations do not usually have time to show you
how you would do these things. So I looked around on MSDN, but couldn't find
anything that described, in practical terms, how you would do this - just
the usual "architect" stuff (for those folks who don't write code but are in
charge of those who do. ;-)

Are there any examples on MSDN, even small simple ones, of how this works? I
can really see this being useful!

R.
Nov 20 '05 #1
1 1250
Hi Richard,

You may try to take a look at the link.
eath of the Browser?
http://msdn.microsoft.com/library/de...us/dnadvnet/ht
ml/vbnet10142001.asp

You may try to create a winform app and add a button, paste the code in the
button click handle function.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Try
'Download the assembly from a web server over HTTP
Dim sLocation As String
sLocation = _
"HTTP://sha-vphuang-03/SmartClientDll.dll"
Dim formAsm As [Assembly] = [Assembly].LoadFrom(sLocation)
'Get the Form from the assembly
Dim formtype As Type = formAsm.GetType("SmartClientDll.Form1")
'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
End Sub

Create classlibrary and add a form , add a button onto the form, paster the
code to the button click handle function.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
MsgBox("Hello Big client")
End Sub

If you have any concern on this issue., please post here.
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
From: "Richard K Bethell" <so*****@spammingisevil.bad>
Subject: Smart Client
Date: Thu, 13 Nov 2003 09:52:47 -0500
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <OC**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: 204.138.140.138
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:156485
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

The Bigger Better Basic tour spoke to us about "smart clients." It seemed
intriguing, especially the web-launched executables that downloaded the
required assemblies under the hood - that was fascinating.

However, these one day presentations do not usually have time to show you
how you would do these things. So I looked around on MSDN, but couldn't findanything that described, in practical terms, how you would do this - just
the usual "architect" stuff (for those folks who don't write code but are incharge of those who do. ;-)

Are there any examples on MSDN, even small simple ones, of how this works? Ican really see this being useful!

R.


Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

27
by: Susan Baker | last post by:
Hi, I'm just reading about smart pointers.. I have some existing C code that I would like to provide wrapper classes for. Specifically, I would like to provide wrappers for two stucts defined...
6
by: Shankar | last post by:
Hello, We have a smart pointer class which provides the dereference operator -> to access the underlying object pointer. Now, we have a new requirement where a different type of object (e.g from...
3
by: Marc Gravell | last post by:
Kind of an open question on best-practice for smart-client design. I'd really appreciate anyones views (preferably with reasoning, but I'll take what I get...). Or if anybody has any useful links...
2
by: Jeff | last post by:
Please note this is NOT a rant or complaint! And yes, I'm over-simplifying, but intentionally. Here goes... With ASP.NET Web applications I like that I can access data from anywhere without...
1
by: HM | last post by:
Hi, I have an existing web application in ASP/VB which uses OCX controls. I want to replace them with a Smart client solution, but I do not want to change the whole application at the first go....
3
by: jack | last post by:
HI all im have heard little of smart client and wanted to implement it .. is there any one who could help me with some example or some explanation of smart client please . Thanks for replying me.
10
by: Pieter Coucke | last post by:
Hi, What's in general the most performant for a VB.NET Windows Forms (2.0) application: - a fat client (everything one the client, the server hosts only the database) - a smart client (an...
1
by: Rasheed | last post by:
We are building a smart client application (.NET 2.0) which uses Web Services to access the business objects. Services: The Web Services have been secured by brokered authentication using X509...
4
by: Ronald S. Cook | last post by:
What is Smart Client Software Factory and how does it related to/fit in with Composite UI Application Block (CAB)? Thanks, Ron
0
by: Ekart Laszlo | last post by:
Hi, there We have currently a Java Applet based solution that we would like to rewrite to a .NET solution. The scenario is the following: 1. Starter Client application opens up a web browser...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.