473,671 Members | 2,283 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1257
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.a sp

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(B yVal sender As System.Object, ByVal e As
System.EventArg s) 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(sLoca tion)
'Get the Form from the assembly
Dim formtype As Type = formAsm.GetType ("SmartClientDl l.Form1")
'Create an instance of the Form
Dim FormObj As Object
FormObj = Activator.Creat eInstance(formt ype)
'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.ToSt ring)
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(B yVal sender As System.Object, ByVal e As
System.EventArg s) 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*****@spammi ngisevil.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.publi c.dotnet.langua ges.vb
NNTP-Posting-Host: 204.138.140.138
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!tk2 msftngp13.phx.g bl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.vb:156485
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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
3395
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 as ff: typedef struct { float *data ; int count ;
6
3091
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 memory, disk, network etc) needs to be returned by the smart pointer on access. I was thinking of using the function call operator () since that can take arguments e.g :-
3
2655
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 on the subject? (and yes, I have already googled it at length, but still no strong decision) ============= After a long stint of pure-desktop / pure-server applications, I'm currently working on a number of smart-client projects in C# using...
2
2379
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 installing anything on the client (but I hate HTML and markup in general and it's limitations, the request/response model, state management, etc). AFAIK, Smart apps or smart clients or whatever we call them are simply variations of Web applications...
1
2427
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. First I want to change my Local OCX control and replace it with a smart client. Is there any way the smart client can be called form a web application? Also please suggest me a good site where I can see some examples and build a smart client...
3
326
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
2053
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 application on the client, that communicates with an application on the server via Webservices/Remoting/..) I would somehow think a smart client, but would just like to have the
1
3515
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 certificate along with message level security. (Right now the web services are consumed only by the smart client application in intranet environment. However, few services would be exposed as enterprise services in future. Such services can be...
4
3201
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
1473
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 window and makes a HTTP request with a big raw postdata to a remote server. 2. In this web browser window a Java Applet based application shall start and he will retrieve the posted data and he will work with it.
0
8481
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8400
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8602
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8672
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7441
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6234
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4227
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2817
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.