I have an application which takes input on a local machine and sends it to a database stored on a server. I'd like to be able to deploy my application over a number of computers (all on the same network), all of them updating the same database (on the network server).First of all, will this be possible without putting together a completely new application to handle all connections to the database and sorting the entries?
I have an access table that I'm loading into a dataset, then I'm binding the dataset to a bindingsource. The bindingsource is the datasource for a datagridview. I can use a command builder to update the entire table, but I need to update all the rows (or changed rows) in specific columns. I have a column called "dPrint" which is Boolean. I'm not sure how to use the bindingsource as my datasource in an Update Command. I've tried this:
I have been working with Visual Studio 2005 for about a year and a half but the deployment task was never left to me. So now I'm being asked at my company to build a setup which will prompt to install up to 4 applications, which can be chosen by the user using checkboxes.
All of the 4 share the same dependencies, so I created a merge modules package for that purpose. But I still don't know how can I build a single setup to install these 4 applications.
After making the changes or adding a record I use invoke childmethod from my toolbar to call these subs. The first table updates and adds, but the second does not. I have set all of my textboxes databindings and double checked them. I get no error, but it does not update the second table. What am I doing wrong?
Public Sub AddRecord() 'Clear out the input data fields on a new Add. ClearInputFields()
I'm using an access database in a program that I'm making for my school, the user is able to select an item from the menu, then it sends it to a list box, there is also a textbox to put a quantity of how much of the item you want. I have a field in my database called Amout Ordered, I want to update it with the amount of each item ordered, and I can't figure out how.
I am working on a project that is used for key broadcasting. Don't worry nothing illegal, I'm making a multibox application for world of warcraft. However I am having trouble when it comes to launching and manipulating other applications from another.
Is it safe to update an SQL database from multiple threads at the same time? I have a method which runs on up to 25 thread pool threads at the same time and it attempts to write to a text file and update an SQL database - I assumed that writing to the file would not work properly if all threads tried to write to it at the same time, so I have used SyncLock for that part of the method. Just wondering if I need to do the same thing for the part of the method that updates the SQL database? or is the framework (or SQL server) smart enough to either execute multiple update statements on the same table at the same time without a problem or queue them?
I am using vb.net and sqlite as database. I am using below scenario to insert multiple records in database using a single query.
INSERT INTO TableName (FirstCol, SecondCol) SELECT 'First' ,1 UNION ALL SELECT 'Second' ,2 UNION ALL SELECT 'Third' ,3 [Code] .....
For less records it is working very well.But when I am inserting about 800 records at a time, executenonquery is throwing the following exception: SQLite error Too many terms in compound SELECT.
I am working on getting a multiple values from a single column displayed in a single textbox or label. I know I should be able to find the information I need online, but I am coming up empty. I am using Visual Studio 2010 with SQL Server 2005. For example, I want to pull all the email addresses, that have a value, from a table and display them together. The output I am looking for is like this:
Say I have a code with 3 methods that do some pretty intensive work. Would executing these methods on 3 seperate threads be faster then executing them one after the other on a single core cpu? And what if it's a dual core or HT?
I'm building three web applications in .NET that will all share a users database and login information. Lets pretend that application 1 is the "parent" application and applications "A" and "B" are the "child" applications. All users have to be logged into application 1 to have access to applications A and B.
Authorization, Authentication, and MachineKey sections of all web configs are present and work correctly.
I have the correct web.config settings in all applications to achieve Single Sign On except one problem remains: what do I put in the "loginUrl" attribute of the forms tag in Applications A and B.
Assume that the url for the login to application 1 is [URL] How can I get applications A and B to send the user back to application 1 for authentication using only settings in web.config?
I'm trying to modify an app.config file that is not part of my .net application.My key needs to be unique and appear under a static key (Server1 or Server2) as the other application reads these values line by line, associating the database(n) value with the server(n) value.I cannot see a method of using the standard app.config methods against an external .config file, so I'm using the Xml Document class.[code]But cannot find a method of retriving the Key to check if it exists and more importantly increment the value?
I have a windows application developed in VB.net 2005. The application is installed in several machines.Is there anyway when I do any modifications and publish the code it updates in all the machines.
Using: Visual Studio 2005.We are developing three different applications. We currently have 4 different modules that we all share among our applications. When a change is made to one of the modules, we must make changes to the other two modules.If it is possible, how do you (where do you) create a single location for one file to be shared among three different applications? Hopefully this will avoid the unnecessay task of changing a file three times.
I need my application to update as it is on multiple computers. Will the program update and work if I just replaced the files in the application startup folder with the files from the newer version's application startup folder?
I have a DGV with a single row that I want to update with new data in a timer. What is the best way to do this? Would I just update each cell in the row individually when the timer fires?
I am using Visual Basic 2008 Express edition along with mysql manager 2008.I have made a bank database and am looking to add a feature to update the balances of customers (individually) when i withdrawl or add money.The code i am using currently is
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Me.Validate() Me.StudentBindingSource.EndEdit()
[code]....
This is the same function as the Save record but, i want to be able to enter a value into a text box and then click the button to update the balance.
I am trying to update a row or a single cell in ms access through vb.net. But when i update the text box named NRIC, say for example i want to update "s4522147B" to "tr4521856C" and mean while leaving the other fields the same.
But the thing is when i make the changes in nric.text (textbox), the dataset actually updates the whole column in the table instead of the selected textbox.
I have an app that I'm trying to keep single threaded, mostly for reasons to do with simplicity of ongoing maintenance. I've structured it so that I can eventually multi-thread it if need be but I'd rather not at this point. It's semi-real time and does perpetual looping to display a number of different graphs and do various work with both the graph display and the work being hosted in their own respective objects. If you're familiar with the Windows dispatch manager it's that general paradigm run synchronously. And yee haw, it pretty much works at this point and runs fast enough to meet requirements by a happy margin. I have a cosmetic problem that I'd like to solve if I could. When I left-click and move any form around, my graphs stop updating until I release the left click button. I was thinking about a doevents somewhere in the click event catalog.
Application A (Bidding Interface) - A web page to allow multiple end-users to place bids on certain items.
Application B (Managing Interface) - A web page to allow a user (or could potentially be multiple users) to monitor/control the actions from Bidding Interface.
So when a user from Application A place a bid on a piece, I'll need a way to alert Application B that a bid has been placed. Then from Application B, should the user choose to accept the bid, I need to send an alert back to Application A (to update current price, increase bid etc...)
I have a solution that currently has about 20 class libraries, and a dozen different web apps. Each web app shares a site-wide master page, as well as share js and css files.
I need to be able to build & deploy one app at a time, or occasionally update the entire suite. How is this possible with TFS and MSDeploy?
I am currently writing an application in VB.NET that draws to a Microstation(MS) CAD application. Like Excel, MS has a robust COM object library that can be programed remotely. Hence, I am posting this in the VB Office Automation forum.In the case where the user invokes my program and there are multiple instances of Microstation(MS) open, I need to let the user determine which MS application instance they would like the program to draw to. It could be potentially catastrophic if the program draws to an unintended application/file.So my problem is this, I need to know how to convert an instance of the application that was found by enumerating through the GetProcessByName method in the Process Class, to an "Micros tationDGN. Application" object.I have read the responses to Post 1317219 by jprg. In a response to that Post, (Post 1317389) Mike_R replied;But if you want to actually manipulate the Excel instance via automation in order to create and save a new file, etc., then it's pretty close to impossible to convert an instance that you grab within via the Process class to an Excel.Application instance.
I am looking for the code to consolidate multiple .xls sheets from within multiple work books in a file all containing the same format of information. Each sheet needs to be coppied to a new sheet within a single work book.
Once in a single sheet I need to then copy data from a range of fields into one consolidated sheet.
I am a vb6 enthusiast willing to try NET. I am confused by all the versions and the fact that limitations of the 'free' version are not spelt out. My requirement is to be able to convert vb6 applications (possibly, but don't mind a manual rewrite), to write applications (not for tablets or phones yet) that I can use myself and possibly publish to others. I would like to allow printed reports for my financial applications. I will have a small home network up soon but ability to operate on a network is not critical. I do NOT want to download a 'free' version and find that it is crippled one way or another, like allowing development but not publication.
Whether the 'free download' is OK, and which one (Express?), or point to a site where the versions are clearly laid out.
Is it possible to have a single class reside within two name-spaces and how can I do this?
To clarify: We have a class library (let say root namespace is classLib1), which has grown over time (more classes) and I want to logically group classes into different namespaces. However some of the older classes need to be grouped into these new namespaces (e.g classLib1.section1) and doing so will break legacy code in other assemblys that use this class library. So I want to be able to refer to a class using both name-spaces until we can phase the old ones out.
I can't find any information on this, which suggests there is a reason that people would not want to do this!?!
My program has two forms which get data from the same data source. After binding controls to tables and fields on both forms, I noticed each form has it's own apparently duplicate DataSet. Is it standard practice for each form to have its own DataSet even though they use the same ConnectionString and connect to the same database at the same time?
I originally developed a simple application software [VB.Net + MS Access] (Lets call this project A) but now I want to include more functionality in it. I have an encryption/ decryption software utility (Lets call this project B ) and a Text to speech generation utility(Lets call this project C) . That is, I want to add Projects B and C to project A. [Such that clicking on the main form of project A calls a form from project B or C as desired].In solution explorer, I right clicked--Add Existing Project--and added both the above mentioned projects 1 by 1. (Added B and C to the solution explorer with the already present A).As the application software's (Project A's) main form is the main form of my project, I want to have a menu option on the main form (Of Project A) so that a user could click on one of the menu options and the main form of my other projects ( Project B or Project C or Encrypt/Decrypt or Voice Generation) should open by him doing so. To this effect, I tried the following:
1. I dragged the form simply from one of the projects (From B or C ) into the folder of my Application Software (Project A).This generated a lot of Build errors and the Voice Generation utility (Prj. C) would not work like this.
2. Tried to reference a dll, however the authors of Projects B and C did not include a dll in their projects.
3. Now I came to know that to call a form residing in another project folder or even another folder within the same project, you have to give a path for the form. HOW DO WE DO THIS?
As you can understand, I cannot copy the entire code of the 3 projects here....I will try attaching my project here though..Here it is: http: rapidshare.co...MY_Prj.zip.html[Dear Administrator: The downloading option on the webpage does not allow files bigger than I mb, thts why I used an external link]As I said, in the application, Project A is TMS.NET ; Project B is EncryptFile and Project is C.I encountered a problem while adding project C [spoken word], so the project contains only projects B and A. I will try to attach project C seperately.That is, TMS contains proj A+B and Speech contains C.