|
 |
|
|
Hi,
When the client application runs, Does it loads the assembly every time from remote server? Or only when new version is available. Because in your code there is no check for the version.
Regards, Mahesh
|
| Sign In·View Thread·PermaLink | 2.00/5 (3 votes) |
|
|
|
 |
|
|
Dear Experts
I've a requirement where i need to take in voice commands from the user and performs events in my application accordingly. I'm not a .net developer and hence wud like to take ur inputs on how to goahead with this requirement. The only clue i have is the steps i need to perform in .nt smart client application
1. Add the Interop.SpeechLib ( speech library ) as a reference to your VS 2003 .Net project 2. Write code in the app launch event to create an instance of the recognition context using the speech library 3. Write code to load the grammar file into the recognition context using the speech library API 4. Activate the rule ids in the grammar files using the speech library API 5. Handle the "reco" event and "hypo" event in your code 6. The "reco" event handler should contain case statements for each of the rule ids. The "reco" event handler can be as simple as calling a button click event.
but i have question that keeps me stoping from proceeding further:
1. how my application will be responding to the triggers and how it is integrated with .net smart client 2. is it to be web based application?
looking for ur inputs.
P.S
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
Hey Diws, The article is fine and helped me a lot to develop a sample for my usage. I have used the SCSF May 2007 to develop that application. Everything is working fine, if I run it directly.
But when I deployed it, I am not able to view the other Blocks used inside the app. Say, menu items, tool bars, buttons, etc. The shell only showing up.
Please help me, if you have any solution.
Thanks in advance.
|
| Sign In·View Thread·PermaLink | 1.67/5 (5 votes) |
|
|
|
 |
|
|
Hi,
I have developed a an EXE that would be running on a web browser...At the same time i would like it to accessing the system resuorces. How should i go bout with giving the permissions to this particular piece of code...
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
I have created a small web service which is functioning fine when I am using it through my WinForm application. But I unable to use it through the your smart application. I am adding the web reference of my web service to the smart application but unable to create a its object in the application. I am Geting a compilation error.
error CS0246: The type or namespace name 'localhost' could not be found (are you missing a using directive or an assembly reference?)
Please help.
Sandip
|
| Sign In·View Thread·PermaLink | 1.38/5 (4 votes) |
|
|
|
 |
|
|
Hai to all codeproject members, Help me in doing my project on smart client application. Did you know How to develop smart client application
Vijay
|
| Sign In·View Thread·PermaLink | 1.00/5 (3 votes) |
|
|
|
 |
|
|
Personally, I would start by looking at the Smart Client Application Block by Microsoft.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
| Sign In·View Thread·PermaLink | 1.25/5 (3 votes) |
|
|
|
 |
|
|
 |
|
|
 |
|
|
yes, i want to know if this is work in applications with dependencies' assembly or datasource
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
For .NET 1.1, the dependent assemblies must be located in the same directory on the web server.
When .NET looks for dependencies, it will follow the rules set in the various config file. By default, it will look where the executable is and the bin folder underneath where the executable is, as well as the Global Assembly Cache.
So far as your data source goes, your best bet is to use a web service hosted on the same machine that the application is hosted on. By default, a smart client will get permission to establish HTTP connections to that machine, and so you don't need any additional permissions.
If you can't use a web service for some reason, then you need whatever permissions the data provider needs. In general, these will require close to full trust permissions (often will require full trust permissions), which limits the use to basically intranets.
For .NET 2.0 there is click once, which is a better solution for most uses of smart clients.
Also, you may want to look at NeoSwiff -- which lets you compile C# WinForms code into Flash, which is a great solution in some cases. You also might want to see if you can encapsulate your application into a WinForms control -- if you can, then you can add an object tag to your page, which will load your application without the user even having to click.
In any event, all these solutions will run with greatly reduced permissions on the local machine. If you need to do things like access local files, etc. your users will have to configure your application to allow the additional access. Assuming you are in an intranet situation, your best bet is to sign the assemblies and have the enterprise configuration modified to allow assemblies signed by that certificate full trust.
If you are in an internet situation, your best bet is to avoid smart client and click once altogether, and to use .NET controls only if absolutely necessary. Using a smart client, click once or Java Web Start on a page severely limits your audience. Instead, wait for whatwg (off of www.w3c.org) or one of the XAML platforms to take off, and then write to that. The reason I say this is because proxy filters, etc. often attack object tags, and you can't be sure what technologies your users will have installed. It is best to limit smart clients and other technologies to a known user base.
|
| Sign In·View Thread·PermaLink | 1.20/5 (2 votes) |
|
|
|
 |
|
|
Hello....
your given code is working fine. I tried ur demo on local machine by putting url as file://c:/...../smart.exe as url. but i have a query that client application is always going to invoke method(main)of server form. so what is the use? i mean to say, where is the concept that it just checks for version and if it is diffrent then new version is downloaded and used locally....
If i dont make any change to server application then also it is invoking the server class's main method...why?
I am a beginner... in .NET so its apperciate if u give some more details...
Regards,
|
| Sign In·View Thread·PermaLink | 2.00/5 (4 votes) |
|
|
|
 |
|
|
Hi,
Does anyone has experience (or know of someone) with develop smart client app that has the similar funtions as of Outlook 2003?
Thanks.
|
| Sign In·View Thread·PermaLink | 1.40/5 (4 votes) |
|
|
|
 |
|
|
you have just given the code in zip form.but what are the configuration settings we must make to the server as when i'm building new server application its not getting loaded. what are the extra things to be done.
|
| Sign In·View Thread·PermaLink | 1.75/5 (4 votes) |
|
|
|
 |
|
|
Hi thnx for such an interesting article. My query is...
I have a web application, I want it's user to have access to some part of the site offline. they can fill up offline forms and save data locally when internet is not available, now when they can able to connect to internet their local data should be mearged with the database.
Could Smart Client be the solution of this problem? any other possible solution welcome...
|
| Sign In·View Thread·PermaLink | 2.00/5 (5 votes) |
|
|
|
 |
|
|
when the network connection is unavailable,Assembly.LoadFrom(strURL) will throw an exception and your server side .exe file will never be loaded!How do you solve this problem?
Welcome to www.webdiyer.com!
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
I think that's the point of a Smart Client Application. If the connection is unavailable, then the latest version located on the client machine will be used. The next time you start up with a connection, the new version will be downloaded and you can run with the newer application
|
| Sign In·View Thread·PermaLink | 3.10/5 (5 votes) |
|
|
|
 |
|
|
These articles covers Smart Clients in more details:
A RSS Feed Aggregator & Blog Smart Client http://www.codeproject.com/smartclient/rssfeeder.asp .NET 2.0 Smart Client + .NET 1.1 SOA based Services http://www.codeproject.com/useritems/smartclientsoa.asp
Regards, Omar AL Zabir
|
| Sign In·View Thread·PermaLink | 2.00/5 (3 votes) |
|
|
|
 |
|
|
 |
|
|
I have VMWare running on my development PC with a virtual PC serving up pages etc that I can see from the normal front end using URLs as if they were out on the internet. I can set up a simple HTML page in the SmartServer directory that I can see. However, when I run the client software, it can't find the Smart.exe even though I'm sure the path is correct. If anyone understood that, I'd be grateful for any suggestions.
I've made a VB.net version of the client 'cos I can muck around with that more easily, but the result is the same: nothing happens!
Cheers Neill
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
|
 |
|
|
 |
|
|
I have re-written the sample program in vb.net individual the server and client work fine but when I call the server assembly from the client vb.net app I get a null reference (Object reference not set to an instance of an object). I think it’s from the line:-
TypeContent = [Assembly].LoadFrom(strUNC).GetType(strClassName)
Where strUNC is the Universal Naming Convention string for the filepath (in place of a website) and the strClassname is the namespace.class string. To complicate things I can call the C# server side assembly with the vb.net client side app and the program works fine but the vb.net version does not. Any ideas would be greatly appreciated.
robert
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
This VB translation worked for me:
Dim strURL As String Dim strClassName As String Dim assemblyContent As System.Reflection.Assembly Dim typeContent As System.Type
strURL = "C:\test\TestApp.exe" strClassName = "TestApp.Form1"
Try assemblyContent = System.Reflection.Assembly.LoadFrom(strURL) Catch ex As Exception MsgBox("Unexpected Error: " & ex.tostring) End Try
typeContent = assemblyContent.GetType(strClassName)
Try typeContent.InvokeMember("Main", BindingFlags.Public Or BindingFlags.InvokeMethod Or BindingFlags.Static, Nothing, Nothing, Nothing) Catch ex As Exception MsgBox("Unexpected Error: " & ex.tostring) End Try
Matt J.
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |