VS 2008 Fulltrust For Network Application?
Feb 8, 2011
On the earlier version of VB.net 2003, I could run a wizard to give full trust to a .Net application on the network. With VB.net 2008, there is no longer a wizard to do this. I did some Googling and most of the references I find refer to using Caspol for .Net 2.0. That doesn't seem to be an option .net 3.5 (I can't find Caspol in the framework folder). Does anyone know how to do this for VB.net 2008?
View 2 Replies
ADVERTISEMENT
Aug 18, 2009
Here is my idea so far: I have a bunch of computers connected in a local network. One of them is a MySQL server, one will have a vb.NET program wich will act as a "second server" and the rest will be different clients. What I want to do is that the "second server" will send out some kind of message or network package to some of the clients in the network, and they will execute a code based on what message it is, or what kind of package it is. I'll give you a simple example:
[Code]...
View 6 Replies
Jul 28, 2009
I have a VB2008 application that runs off a server. Users connect to the application via shortcut.
[code...]
For what it's worth, the application is targeting .NET 2.0 Framework on both the development side and package install side.
The illustration below is more for my sake than yours, but should help me explain the problem.
User A and B work just fine, but when User C and User D attempt to use the program via shortcut9(same as User A and B) the error below is displayed.
[code...]
what I can do to allow User C and D to use the application?
View 11 Replies
Dec 13, 2009
I'm new in VB, and plan to developed an application that can monitor the network according their subnet and display the network utilisation. Can anybody guide me what is the needed to develope this application on VB..
View 2 Replies
Oct 14, 2009
I have created an application which uses an sql server connection as its datasource. The problem I'm having is that the application needs to work on computer that has no network connection. How Can i change the datasource so that on runtime it can work off a machine that is not connected to a network? The datasource from the sql connection only contains one table with no data. It only needs to be updated with a target folder that can be changed to any location on any computer already written in the code.
The connection string suddenly stands as: Dim MyConnectionString As String = "Data Source=MY-PC;Initial Catalog=ImageLocs;User Id=test;Password=test;Pooling=False"
View 5 Replies
Nov 18, 2011
I have a .NET 2.0 *.dll that calls My.Computer.Network.Ping(). The *.dll is then run out of an *.exe via AppDomain.CreateDomain() and Invoke(). The problem is that this works just fine under Windows XP but under Windows 7, I get an exception saying that no network connection is available. I tried the Ping() call out of a small console application under Windows 7 and it works just fine.
[Code]....
View 6 Replies
Jul 22, 2005
I have an application installed on my local disk.This application runs with FullTrust privileges.I'm trying to load an assembly giving it FullTrust (same privileges of the loader).My assembly is located on a network share.I'm actually using this code but I get a security exception:
An exception of type 'System.IO.FileLoadException' occurred in mscorlib.dll and wasn't handled in the appdomain it was thrown fromAdditional information: Could not load file or assembly 'Main, Version=2.2.2029.19859, Culture=neutral, PublicKeyToken=2244f6f9e95cedae' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT:
[code]....
View 3 Replies
Jul 28, 2011
I have an application in vb.net that runs over a network. Actually shortcut of the exe file is shared over LAN, so databases remain on one computer where the application has been installed. Everything works great except one thing. The logo of this application is saved in a database, that reports can pick to load picture. The logo file is chosen by the user, using OpenFileDialog and then saved in database. It is saved like D: Picturesfilename. jpg When I run the application from network (using shortcut that we have made to the main exe file), it given error on D:Picturesfilename.jpg because this doe not exits in the system that is running the shortcut. How to save the logo path in a way that it always finds it in application directory, when run over the network.
View 2 Replies
Jun 2, 2009
How difficult would it be to have my application check for user authorization over a network?
If I have a php server, each time someone starts my application it should connect to the server and check the users computer name against a list of authorized computers, possibly using MySQL.
View 13 Replies
Dec 30, 2009
I want to develop an accounting software for a mini Super-Store, this program will be able to run on a network with a central database; in other words a network application. I have not used sql sever before neither have I written any application that will run on a network.
View 7 Replies
Aug 31, 2010
i am using postgres as Database, for my application. i will deploy my database in server machine. how can i access that database through my application in client machine
View 1 Replies
May 27, 2009
I have a client-side app which I am working on. As I start to enhance the app, I am starting to wonder whether or not I should be building a network side app instead. My app in its current form sits on the client side and generates some text and XML files which are stored locally on the client side. The user reads/write to these files. However, I want to start working with SQL AND the processing time of my app is starting to consume resources (i.e. time and CPU) on the client side.
Can someone provide me with some highl level feedback on what one would do to make their client-side app a network app that multiple users would have access to. I realize more detail would need to be provided in order to provide thorough answer. However at this point, I really just want to understand how a network app would differ from a client app from a programminga and deployment perspective.This is not necessarily a VB question. Howevever since I am working in VB I though I would start in this forum. Feel free to move to the appropriate forum if need be.
View 7 Replies
Jul 22, 2011
Our company runs Windows Server 2008 R2 and as part of the normal login procedure you type your username and password. IT sets the domain when you get your PC so that is all good. So, when you open IE, the intranet sight detects that you are person XXX YYY and then logs you into the site automatically as the right person.
Now is there any way that I can do the same with an application written in C# or VB.NET. I.e., I would like the user to not have to log in as they have already done so during Windows log in, and then use the application as the individual user. This is for loggin purposes and specific rights for each group.
View 1 Replies
Feb 15, 2012
Any simple way of automatically updating a newer version of my application from a network share. Everything I have read pertains to an update from a web site. This is possibly a simple thing to do but as I have 6-8 users using the application I have to email them all stating there is a new version on the share and for them to copy and overwrite the existing application executable in the program filesapp directory. If this could be done on launching the program within the splash screen that would be fantastic.
View 3 Replies
May 16, 2012
I have been trying to make a chat application that can go out the local network for quite some time, but all I seem to find is chat applications for in local networks?
View 7 Replies
May 2, 2011
I am starting a new project in VB, a card game modelled to be similar to a real card game.
I have the majority of the program planned out and have even started coding parts of it; my problem comes with the networking.This is a real-time card game (not turn-based) and I want to be able to play with real people (family mostly, so over LAN is what I'm after).
I have tried searching for code samples but I everything I have found seems more complicated than I feel is required for the task, introducing a lot of new concepts and not explaining them.
What I'm after is a simple way to exchange the information in real-time, I don't care so much for efficiency (at the moment) just ease of use - though if I need to wade through a heap of documentation I will. A perfect answer would tell me what the names of some of the controls/methods that would be appropriate are, even if it just re-affirms a bit of the complexity, you do not have to detail anything if you don't want to I just feel a bit at loss as to what exactly it is I am looking for!
View 3 Replies
Aug 17, 2009
I have my vbnet application with sql server express designed for individual desktop pc. Now I want to have it work on a network.
1_ how can I make my customer to install sql express and the Database on the server and enable the network protocols seamlessly? dont want to have my customer configuring sql expess manually. 2_ how can I have my client software to look for the sql express and connect to it in a seamless way??
Can I avoid the customer to enter configuration data?
View 7 Replies
Jul 12, 2011
I have developed a windows application for my company. It is a multi user software and we are using sql 2008 as the database. The sql 2008 is installed in our company server. Within our LAN, there is no problem in accessing the software and its working pretty fine.
Now the problem is, some of the managers need to go out frequently(for business tour and all) and they need access to this software. The software is already installed in their laptops.Is there any way to access the database that is in our company server ???
We have few static IPs with us, is there any way i can use that here (Using NAT in the firewall or something)?
View 3 Replies
Nov 29, 2011
I want to execute some code when a network drive is available. Just like our application even have NetworkAvailabilityChanged. I want this to work just like our Application Events.
Private Sub MyApplication_NetworkAvailabilityChanged(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.Devices.NetworkAvailableEventArgs) Handles Me.NetworkAvailabilityChanged
End Sub
Private Sub MyApplication_Shutdown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shutdown
[Code] .....
View 3 Replies
Feb 11, 2009
Lately our network is having some speed issues at certain times of day, so what I'd like to do is make a little app that will test the network speed at certain intervals, like once an hour between certain servers etc and then write the results to a text file. Is VB 2008 cable of doing something like this? I thought of maybe copying a 500mb file from 1 place to another and somehow record the average transfer rate of that file, but I am not exactly sure about how to record the transfer speed.
View 4 Replies
Mar 14, 2010
I have a client/server chat application which I made . My question is how do I make the application work not only Locally but On any other network. I tried putting my IP in the part of creation of the client socket .
View 2 Replies
Jun 8, 2011
I want my vb.net application to access the sql database from another network segment.I have two network segment, the application program that I made is in 192.168.7.xx segment and the SQL Server 2005 Enterprise Edition is in 192.168.1.xx segment but that application program cannot access the sql server unless I make them in the same segment.
View 1 Replies
Jul 14, 2010
I am using Microsoft visual basic 2010 and SQL server 2008.I develop a small database application and it run well on my pc.I built and distributed the application to other pc on the same network, but when I run the application from other pc I got error message like this:A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.(provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)[code]
View 2 Replies
Jun 7, 2012
I would like to ask something about Network in VB.NetI try to search network code sample to produce VB.Net application (Like Server and client)But I found a lot of codes (Server and client) and the codes are very complicated for me because codes are mixed with chatting process So I would like to know or want some sample Network VB.Net application(code) the application has two forms
form1(server) and form2(client)
form2(client) has (one button or textbox)
form1(server) can make visible or invisible (button or textbox) of the form2 (Like that code, I can able to make or learn other processes) I want to know how to code it. If I can get the code, I can learn more smoothly with various way
View 2 Replies
Dec 17, 2011
I have recently finished a console application and deployed it to several computers on our network for testing. As it is just an EXE a copied to the hard drives of selected computers for now. When the app is launched it writes info to an sql DB so I always know which computers it is on.
During the past few weeks I have modified this app at least 6 times (improvements, adjustments, etc)
It is a paint to keep going back to the computers to update it with the new version, and getting mixed up which version i am on - LOL I am looking for advice on how I would go about doing this automatically, for example, it would be cool if I just had to put an updated file in a repositry and clients would use this to update.
In Visual Studio, when I view the properties of my application>assembly information - I can set a file version. Is it possible to extract this info and store it in a variable? I would like to dump the in my DB. Also I could then possibly compare the file version of the launched app against an updated file in a network share folder.
View 16 Replies
Sep 20, 2011
I would like to sleep for packetSize/Bandwidth amount of duration for a network application in VB. This value varies from "10^-3 - 10^-6" seconds.When I use the Sleep() func, I think it is not sleeping for the duration if it is less than unity (< 1 sec ~~ 0 sec??).
Edited:I have to keep sending packets after a short nap of above range. So, I could not specify, for eg., to sleep for 0.001 milli seconds at the client side.My requirement is for the client side of CS app, which reads a file and keeps sending small packets at regular or irregular interval of sleeps to the Server. The Server, later, captures the packets and processes it at its own rate..
View 4 Replies
Feb 14, 2012
I am creating a server-client type application that allows the network administrator to perform tasks on remote computers by using TCP sockets (TCPClient and TCPListener).The server application needs to send out a message to a client machine (with client application installed) and from this, the client application will send back the required data (i.e. system info, task progress etc). This part works fine.However, I am having trouble in getting the client application to constantly listen for an information request in the background. It should be listening whenever the application is running. What I want to do is to have an event handler which, when a message comes through, acts upon the instructions to send the relevant information back. The server does not need to constantly listen for data, as it will only receive data after it has sent a request.
View 2 Replies
May 28, 2009
Basically back in VB6 days, I created several VB6 apps with Access as the backend database. I'd package my Access db file with the application setup, which copied it on to a shared network drive, and then different computers on the LAN could use the same backend database file, and that worked just fine. With SQL and VB .Net, I've done work with a SQL database hosted on a remote server, so you can basically build your query string easily and anyone can connect to it from anywhere, and it works just fine.However, what I'd like to do is have a local SQL express database as the backend for a VB .Net application and make a setup program that can install it in a way that it could be shared on a Local area network, without the user who is installing the application do anything.
I know about building a connection string with the local machine name, but I don't really have any experience with including an actual MDF file with the application. Does anyone know how it works, and is it a better approach? Does it work similar to placing an access file in a shared unc path?I know that ClickOnce (which is awesome) can install SQL express easily on a user's machine. However, the key is that I want SQL express to be installed only on the machine that is going to be the database server in a LAN enviornment, and not on every machine, unless it is neccesseary. And then how does your VB app know how to build the connection string to access the database from any machine on the local share?
View 2 Replies
Oct 21, 2009
I recently came across a problem for image file storage in network.I have developed a desktop application. It runs in network. It has central database system. Users log in from their own computer in the network and do their job.Till now the database actions are going fine no problem. Users shares data from same database server.
View 7 Replies
Aug 5, 2010
I recently came across a problem for image file storage in network.I have developed a desktop application. It runs in network. It has central database system. Users log in from their own computer in the network and do their job.Till now the database actions are going fine no problem. Users shares data from same database server.
View 3 Replies