Sharing Data Between Server And Moving Laptop
Sep 2, 2010
I have a PC with sql server 2005 express, my application works with it great, is it possible to install another copy of my application to a laptop that will move around and wont have access to the data all the time. trying to find something like SQLCE has(RDA)so it can see the data make changes and when it returns it submits all the changes. Is this possible and how can it be done.
View 6 Replies
ADVERTISEMENT
Nov 20, 2009
I developed a project that uses Access 2003 db on my Vista 32 bit desktop. I recently bought a Vista 64 bit laptop and upgraded it to Windows 7.I installed Visual Studio on my laptop and Office 2003.I copied the project from my desktop to my laptop using the exact same paths. When I try to build the project on my laptop I get this error:"Unable to find manifest signing certificate in the certificate store"So, I tried creating a simple project using an Access 2003 DB and when I try to run it I get this error:"MicroSoft.JET.OLEDB.40" Not registered on this machine".I went to the "windowsSysWOW64" folder and ran "regsvr32 msjetoledb40.dll"and it ran successfully, but it didn't solve the problem.If I use the Server Explorer in the IDE, it displays the data.
View 2 Replies
Jun 12, 2011
i want to know what i need to build an application like terminal services or xenapp ( citrix server)
View 3 Replies
Mar 3, 2009
I want to build an application(the client and server) that the clients would be able to see and modify only certain files on the server depending on their credentials. For example, a specific client can read/modify a word file, but another cannot. And the server should specify which client has which rights. After a client has made any change in a file, every other clients should be notified by email. I've read some articles about .Net Remoting but I still don't know how to make a client see/modify files on the server.
View 1 Replies
Sep 8, 2011
links or Procedure how to build a client/server and file sharing through lan because my friends needs a reference for That
View 4 Replies
Feb 10, 2011
I have a project to read the data from Window Mobile phone 6.5. I want to send the data from handy to laptop via bluetooth. I try out to find samples but it rarely hard to find.
View 8 Replies
Nov 17, 2009
I am working with several RFID readers that perform different function in my vb.net program. Currently each reader port number is hard coded into the respective form. For example, reader 3 operates on COM1. However, this will be problematic when installing on different machines.
What I would like to do is have a "configuration" form where the user can select each reader and then select the COM port. Then all other code references these settings. What would be the best approach for this.
The only way I know to do it currently is to place this information in a small database and then have the forms reference that database, but it is a lot to do for such a seemingly trivial task.
View 3 Replies
Sep 30, 2010
I am in a VB programming class and I am having an issue with a program that I created. The focus of the program is creating a class to do calculations and sharing the data with a form.
The problem that I am having is with a certain piece of data that is shared between the class and form. To be more specific, it is two check boxes that each have their own variable as boolean, done as a true/false if checked/unchecked situation.
When I step through the program, somehow the values get changed entering the class for calculations. For example if it was true, false, it comes out as false, true when the class accesses the data. There are other variables and data types that get pulled but these are the only ones that are being altered.
View 3 Replies
Apr 13, 2011
I have done programs in the past with VB6 using the winsock control to receive data to be processed. I would like to do the same thing in vb.net but I am having problems. I have done numerous searches and consulted numerous books and articles, but haven't found the best approach for accomplishing the following.
I would like from 1 to 20 clients to be able to send a string to the server to be processed. It would be nice to if the clients could connect to same port and use async processes to open/accept more connections. One of the books (Visual Basic 2008 Recipes) has a recipe for creating "Multithreaded TCP Server that supports Asynchronous Communications".
I am trying to base my program off of that example and modify it for my application. The problem I am having is how to share data with the Main form and the classes that handle the communications. The TCP class has two classes contained in it. One class for listening for connection, beginning the accept client and the other class (clienthandler) for completing the connection and getting the data. I would to be able to get the data from the clienthandler class and post on the main form. I have trying to have a public property for the data but I think my confusion comes in because the clienthandler would be created new for every new client. The mainform would not know how many of the new clienthandlers were created etc.how get the data to the main form and clear the data when done. I have even considered putting data into MSMQ and having main form pull data out.
View 7 Replies
Jul 7, 2011
I know a little about threading and delegates, as well as socket programming. I'm working with a VB.NET-compatible SDK called TrueVision3D to create a small online game for me and my friends. The problem is that I cannot for the life of me figure out how to pass data from one thread to another. I've created 2 seperate threads on seperate forms.
The first thread is created on a form titled FrmLogin, and it contains all the socket code. I need to be able to update variables in the second thread, which mainly consists of a render loop. The second thread is created on a form titled FrmMain. I'm not quite sure if it matters what forms the threads are created on, I'm just trying to give as much information about the issue as I can. I've tried using delegates and events to pass information from the thread back to the form it was created on, which works fine, but how do I pass data to the second thread from the first?
View 1 Replies
Sep 5, 2011
where i need to start to create "Online" (or transfer data / sharing data /Transfer information ) program?
I mean that two or more different computers with the program can connect with each other ... Like Chat, Online games, etc..
View 2 Replies
Mar 31, 2010
I have two forms A and B. B is a child of A - i.e. I have a button on A that pops up form B. I want B to be able to access and change data (e.g. an instance of an object etc.) in A and also to call some function in A. At the same time I'd like to preserve the right to alter the data in A without opening B. I've achieved this using the following (i.e. by declaring the object and method as Friend):
Public Class frmA
Friend _data as Hashtable
Friend Sub GetData()
If _data IsNot Nothing Then
_data As New Hashtable
Is there anything inherently wrong with the what I've done and if so how can I achieve a similar result? (It seems to work - I can read, add to and change the values in the _data Hashtable from within form B and when B is closed the values persist i.e. I can access the changed values from within form A. I just dont know if its a horrible fudge).
View 2 Replies
Sep 24, 2010
I am sharing databinding when opening a detail form a summary form. The data is shared fine. What I don't know is how to save any data that may have changed, or to create a new record.[code]...
View 2 Replies
Sep 13, 2011
My question is in two parts:
1) I am writing an application for a touchscreen which will have several different Forms - each of which will be full-screen. What is the best way to achieve this? Hide/show each Form as the user navigates between screens? MDI Parent with multiple Child Forms becoming visible 'on top'? Or is there a more elegant solution?
2) I would also like a 'banner' on the top of each Form (or always visible on the top of the MDI Parent, etc) similar to a 'navigation frame' on a website. This banner will display a clock with the current time, and the current GPS location (meaning that a Timer will be used to get/set these values every 1000 milliseconds). I thought of using a UserControl for the banner - but if this is used on multiple Forms then I will end-up with multiple Timers all waiting 1000 milliseconds to update essentially the same information.
Is there a best practice for this type of scenario? - my thoughts so far are using the "Main" Form for Global Timers, etc - but then how do I update all Form clocks each second? (without iterating through all visible Forms... which seems messy).
View 5 Replies
Dec 1, 2011
I am building a code library to be used by a 3rd party developer. Neither my code or the 3rd party have any UI controls involved. It's purpose is a combination of providing the ability to look up information from a database while at the same time polling it and throwing events when a set of conditions are met. Naturally the only way it's going to be responsive to the 3rd party library's commands is via multithreading since everything in a single thread stops once you start polling the database.
The sub I am using is part of an object that I create in the main thread and attempt to have it run via a thread, when a condition is met I have it update a property in that object, throw the event (or execute a callback in my latest attempt) and then attempt to have a simulator for the 3rd party control read the property.It's easy to setup the multithreading part, the hard part appears to be throwing the event so it is seen in the original thread and the data is available there. Any attempt to do this generates a cross thread error when the data is read.
I attempted to use delegates and calling methods asynchronously and using the callback function but still get cross threading errors.Is my only possiblity to use a background worker, using either the progress changed or runworker completed events? Even then am I going to be able to set the property in the function from one thread and read it in another?
View 1 Replies
Jun 11, 2011
I have a windows forms application with one exe and several dlls(Class libraries) in a single solution. The application uses common data that is used across all the dlls. I would like to load the data when the application is starting up and use the loaded data at various points in the dlls so that I do not have to load the common data again and again. How can I share the data loaded in main EXE across the DLLs?
View 2 Replies
Nov 12, 2009
I am in the main process using Activex EXE to create a sub-process, Activex EXE project inside a class module, class module which there are two instances of the event the equivalent of two threads, I defined the standard module module1.bas as public variable a, in two instances running at the same time, how the definition of public variables are not used, such as a private variable, each carrying out their respective variables of the same name! For example the implementation of a = a +1 statement, let the first instance of a run, a steady increase from 1; when executed when an instance of 2, a should be an instance of a value when the two began to increase, but also from two examples of 1,2 , ... began to increase.
[Code]...
View 1 Replies
Nov 14, 2011
I am trying to achieve something which am doing very wrong, though the idea is present. I am trying to a move subfolders within a folder from the server the application is running to another server.
The code I have is shown below:
Private Sub MoveFiles()
Label2.Text = "F:New Folder (3)TestzippingutilityTestzippingutility1DailyCollection"
Label5.Text = "G:ippinyUtilityTestFolder"
Dim sFilename As String = ""
For Each myFile As String In IO.Directory.GetFiles(Label2.Text, "*.*")
[Code] .....
Problems:
1) myFile - reads files and NOT FOLDERS. This has to move folders instead.
2) ("fi.MoveTo ('destination')", - is not a sqlcommand and its not practically correct. If I ran it as it is, receive teh error message Sqlexception was unhandled. Incorrect syntax near 'destination'.
View 5 Replies
Aug 23, 2011
I have a Client/Server application. Both Client & Server use to be in 32-bit machines. Every thing was working fine.
When I moved the "Application Server" to a 64-bit machine, I am getting "Error converting varchar to datetime" in almost every screen that has a date picker in it.[code]...
View 1 Replies
Aug 5, 2009
I have MS Access 2007 Databases and VBA modules associated with it.I Now want to upgrade my project so as to use Sql Server 2005 and Vb.net using visual studio.net.Can any one suggest Complete details on the transfer without much hassle or data loss.?
View 3 Replies
Sep 22, 2010
i want to ask that i want the code for moving the data from one form to anothe form in VB when i click on delete button.means some of the data from form1 which i want store in another form after deleting it.
View 7 Replies
Feb 5, 2010
I'm working on a project and I would like to take some data from one table and put it into another... lets say total of 19 columns in table A 6 of which I need to move to table B which has lets say 10 columns. (I'm at home and don't have the actual tables infront of me at the moment). Can I use the DataSet from Table A to populate Table B or do I have to do something else in the middle?
Table A
TableAId , FirstName , MiddleName, , LastName , Dob
TableB
TableBId , First Name, Last Name
So I want to move First Name and Last Name from table A to B.SELECT FirstName, LastName FROM TableA is what the SQL statement would look like for the set (obviously making this simple)
View 5 Replies
May 8, 2009
I have a list view with 2 columns and I want to move the data in the 2 columns to another list view but here is the problem. The other list view hass 4 columns. the frist 2 columns are for the first record I selected and the other 2 columns are for the second record. It will be like vs, like if you have record a,b, c,d and you select record a and click the button awill be on the first 2 columns and if then you select record c and click the button it will be a vs c but then I will need to be able to to that with the records remaining on the first listview. Here is the code that I try.
[Code]...
View 18 Replies
Jun 14, 2010
I have this app that can now control my browser but after I use the htmlcollection of links how can I put that stored information into a richtextbox?[code]
View 2 Replies
Jun 23, 2009
I am attempting to retrieve byte array data from one in memory Datatable row and column and store the value retrieved in a different in memory DataTable row and column. The second DataTable is not associated with a database. I have not been able to save the byte array data in the second DataTable.
[Code]....
View 2 Replies
Mar 12, 2010
I m workin on vb.net ado.net oledb, I have also added datagrid Control to my form
for retriving database from .Mdb file i used following code
Code:
'decleared Name Space
Imports System.Data.OleDb
[Code]....
or when i click any record in datagrid, then the current record of dataset also should move to clicked record of datagrid, so that i also may see datagrid's clicked record in textboxes
in short i want to use default feature of vb6's ado control, when we bind datagrid with ado control, it worked autometically, both data grid and adodc wer connected each other at a time, so that moving next record also apears in datagrid.
View 5 Replies
Aug 3, 2011
I am updating my last post so hopefully someone will help. I have following code that will move a cell to the next column when hitting the enter key while doing an edit. It will even check the row at the last cell to validate data is present.
However, if there is no data in a cell and I press enter, the focus moves to the next line like it normally does. I need to prevent the user from moving or clicking on any cell until the cell they are on has data in it. Here is the coe I have used[code]...
View 2 Replies
Nov 21, 2011
Currently I have two tables in a Database (Temp, Main), currently I have four fields in Temp(ID, Qty, LastDate, AddRem), and Three in Main, (ID, Qty, LastDate). I have the program set up to enter in all the information minus AddRem into Temp, then my thought was to either tag the item to remove, or add to the Main table. I'm assuming this could be done by import then update, however every avenue I've attempted has been meet with Exception errors.For the add/remove field it is linked to a Combo Box, which brings me to my other question, how would you link a specific field to say hey if it's this option then add, and if's the other remove?
View 11 Replies
Feb 7, 2010
I am working on moving applications from Windows 2000 to new server Windows 2003 R2(64 Bit). I noticed that there are some VB programs and config files for those programs have been placed in Windows 2000 Registry. Some other applications are using them from different servers.Why do we use registry here? How can i move these to registry in windows 2003? Can I just move these or do I have to write VB programs to place them in 2003 registry?
View 1 Replies
Oct 5, 2008
I have this:
Private m_PerformanceCounter As New _
System.Diagnostics.PerformanceCounter( _
"Processor", "% Processor Time", "_Total")
[code]......
View 4 Replies