VS 2010 - Updating Project Without Affecting Info / Details
Nov 21, 2010
I just made a project which a registration it has Tables/Database. [MemID] [Name] [Address] etc... I try to test this program i publish this to make a installer, after the installation, i run the program i put some information:
Example:
MemID : 1
Name : Julio Jose
Address : PO Box
Then I save all the information. While running the program I noticed that I forgot to put a remove/delete button. I close the program, and I edit my project to put the button (remove).. after editing i try to publish, uninstall and install the program. I noticed that the information I save in the program is gone. My Question is: Is it possible to update your program with out affecting the details/information of your program?
View 3 Replies
ADVERTISEMENT
Apr 24, 2009
i am newbie in constructing layouts in crystal report.i have details section in left side of the page
Subject A |_______|________|________ | Subject B |_______|_________________| Subject C |_______|________|________ | Subject D |_______|_________________| Subject E |_______|____Total__|________ |
there can be different number of rows at the left side,meaning it depends on output of the query.And heres the problem, i need to make another table at the right side. how to make a table at the right side or draw lines without affecting details section? this is just purely table without fields on it.
View 1 Replies
Feb 16, 2012
I am developing an application toolbar to be used with our companys CAD software and I have this portion of it Reading the lines of a text file into various comboboxes and such. However, if there are only 12 lines in the text file when I click a button to update and apply the new information i get an error because the file is already open. I need to figure out how to make sure its closed before WriteAllLines kicks in.
Imports System.IO
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If System.IO.File.Exists("c: emp est2.txt") Then
Dim theFile As String = "c: emp est2.txt"
[Code] .....
View 6 Replies
May 10, 2012
I`m trying to insert information in accdb. [code] I`m trying to write the LOMBART system..if anybody have exaples please give me or tell me what to do for this code.
View 3 Replies
Apr 29, 2010
So I'm having more database problems. The specific problem I am having is that I am trying to update a DataGridView to display new information that was input into the database programmatically. I have tried several methods, but none have worked, and one actually "broke" the program. So I am in need of some more assistance.
Here is the current code that I am trying to use to update the view (this contains pretty much everything that I have tried up until this point):
[Code]...
View 3 Replies
May 28, 2012
I am trying to make a system Login using windows username and password I have got the code for the username already which is [code]...
View 7 Replies
Nov 17, 2011
I am trying to do is fill out a form with certain info, put the info into an array, and write it to a listbox using loops, arrays, and maybe a function if I need one. This is for VB2010 and here is what I have so far... I think there are ways to make it shorter but I cannot figure it out.... maybe just brain dead from all the coffee I have been drinking!
[code]...
View 1 Replies
Oct 5, 2011
A registeration sys using a Microsoft acres database I have a table named customer info to store customer details when registering and I need coding that will add the following to my table customer I'd , firstname, lastname , phonenumber and user also has to make selection between radio buttons male or female.
View 2 Replies
Jul 26, 2009
I have 4 Tables Master And Three Tables Details
how to programming this Technique
This Picture dispaly what i mean http://img300.imageshack.us/img300/3981/26072009110315.png
View 2 Replies
Dec 9, 2011
I'm trying to get a details view in ASP.NET to display the details of the logged-in user only. I have been told to use:
select * from STAFF where USERNAME = user.identity.name
I thought this was too simple to be true and I was correct as it shows no data when I attempt to run.
View 1 Replies
Jul 29, 2010
I have recently seperated some code from my original Project and I have created a class library which is where my function resides.
originally my function was stored in my win form project and I could call this when needed and increment the progress bar for example
do
processing code
progressbar.value = x
loop until x > y
how do i do the same if my code resides in a seperate project (class library) ?
View 8 Replies
Nov 23, 2011
Here's a dialog box which runs for approximately 16 projects and takes over 5 minutes to complete (in total).
View 1 Replies
Oct 22, 2010
If I create a new project on VS2010, and add the WMP.dll reference place the WMP control on a blank VB form, build and debug the application it will run just fine.But if I upgrade a project that already had the WMP.dll reference in it, I cannot debug the application because I gives me this error
View 4 Replies
Nov 26, 2011
I have a MDI app in development that uses parent-child datasets. My problem is when I update a dataset on one child form I then need to update the dataset on another child form. I know the dataset update has been commited to the source as when I reload the second child form the changed values are displayed.
[Code]...
Main.CarTableAdapter.Fill(Me.RCCarV2DataSet.Car)Unfortunately when I close the form that executes the above code the "Main" form which is still open should display the new values in the bound controls but it doesn't. The only way I can get the changes to display is to close and reload the "Main" form.
View 14 Replies
Jan 24, 2012
If I have some resources added to a project, such as images or sounds, they are placed in Resources folder. Say I created a new image file with the same name and want to replace the one I added earlier.
Do I have to do this via Projects Properties Resources tab by removing the old one and adding the new one? Or can I simply copy and paste the new file in Windows Explorer into the Resources folder (replacing the old one)? Would it break the project? Does it matter if the project is currently open in Visual Studio?
View 3 Replies
Oct 5, 2011
I have previously asked a questions regarding DataGridView control:[URL].. now I'm trying to make the first column to include an autosuggestion. ie. when a user types an ID(say, "12") then all the records that starts with it(ie. "12*") will be displayed as suggestion.
And upon clicking an ID, the corresponding product_name will be displayed on the next column. I think, I could do this using Validating() event of DataGridView.
View 7 Replies
Mar 28, 2012
I have a Table. In Form1 i have a TableDataGridView.
I like with double click in a Row of TableDataGridView, open a new form (Form2) with details view (of the same table) but textboxes filled by clicked row.
I Know the event
Private Sub Table1DataGridView_CellDoubleClick But i cant find code for that what i need.
View 4 Replies
Jul 26, 2010
In some of the forms ,whenever i change some properties using the Properties Window of some controls or the form they get reflected in the Properties Window but will not get changed at Run Time.
I am facing this in quite many of the forms, hence i am applying the property changes in form load, this is causing performance breach .
View 15 Replies
May 22, 2011
I am having difficulties with getting a PictureBox to resize its contents properly. I have read through my code, and cannot find any issues. I was wondering if there might be something I'm overlooking? I am using Microsoft Visual Basic 2010 Express version10.0.30319. 1. I am using an HP-Pavilion PC with a Pentium(R) Dual-Core CPU E5300 Processor. Here is the code, which I copy-pasted from my project. Underneath it is the designer code.
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub[code].....
View 2 Replies
Jan 5, 2012
I have a program that colors certain words, but when I do a Ctrl+Z, the textbox undoes the coloring. How do I make it stop undoing the coloring, and just the text that was edited?
View 4 Replies
Nov 16, 2009
Dim t As String = source
For Each m As System.Text.RegularExpressions.Match In System.Text.RegularExpressions.Regex.Matches(t, ">.*?<")
search = m.Value.Substring(1).Remove(m.Value.Length - 2)
If search = "" Or haku = " " And counter < 337 Then
[code]....
What you see here, is a code that picks everything written in between > and < markers from a source code on a website. What it returns is always a time stamp in between 00:00 and 23:59 and a string. Or almost always. There is a few instances where there are two times in a row and not every other, effectively breaking the system.Also, when this happens, the first time of the two has a "-" after it, i.e 18:00- What I've been trying to do, is making the program recognize when there is an extra character (the -), delete the extra character, and then jump over the next result in the search (the following time). This would completely resolve the problem.
The thing is, no matter how much I go through it in my head, I can't seem to think of a way to affect the NEXT result without screwing up the current result or all the following results. As you can see, my code is faulty. What it does now is an emergency method (as my teacher review of the code is coming up real soon) it jumps over the time with the extra character, and lists the following time. This however is not ultimately wanted, because in the bigger scheme of things, it displays the incorrect time for the incorrect string.
Search variable holds all the results of the regex search, for easier handling, and is used for checking for the extra character.Length6 variable is boolean for determining if the result had the "-" or not. The column ariable is to list the time and the string on the same line in the textbox.Jump is the variable that makes the code skip the conditioned result from the search.The counter variable, that might seem extra, is just for extra conditioning, its use is to prevent the first 337 instances of the search.
View 1 Replies
Apr 16, 2010
How can I resize the two dimensional array size without affecting its value?
View 3 Replies
Aug 13, 2010
Recently, I've been running some tests with C++ and VB.NET to compare execution speeds. In the last thread I posted, I talked about how I had encountered the fact that C++ was executing just as fast as VB, but got that issue resolved. Now I'm hitting my head against another wall:I had made a DLL for VB.NET to test out this theory and compare in just one program side by side execution time of identical VB.NET and C++ code. But the interesting thing? VB.NET's execution time improved such that it was now exactly identical to the execution time of C++. Spending some time with the problem, I discovered that the "Target CPU" option in advanced compile options in Visual Studio 2008 was the culprit!
Since I'm running 64-bit Windows 7, I figured making the target CPU x64 would yield the best execution time. Wrong. Here are the results in execution time of a Windows Forms application for VB.NET,calculating all the prime numbers up to 10,000,000 and getting their sum.
Any CPU: 15.231 seconds
x86: 10.858 seconds
x64: 15.236 seconds
Below is the code I'm using, feel free to test it yourself:Public Class Form1
[Code]....
View 3 Replies
Sep 21, 2010
I have an application half built which accesses a Access (2003)Database File. From within the application I am able to change the data in the Access File using a Data Grid. The changes to the Data File are saved and can be recalled, changed or otherwisemanipulated however, when I add too or change any of the applicationcode the Access file reverts back to it's original state losing any data or changes that has been made.
View 3 Replies
Jun 5, 2011
I am here with the same Query but with a different look I want to apply the culture change to my program. I created a class library for culture change. and applied it . It is only working with the form name, i did it with two different languages and got the result. But the controls inside the form remains as it is.
View 4 Replies
Apr 17, 2010
I have created a banner for a sl3 app . What I need now is a timer(timespan?) event to trigger the banner to load new info every 5 seconds. I can't find info on timespan on how to trigger this event.
View 10 Replies
May 28, 2010
Has anyone else had issues with Visual Basic 2010?My visual basic program has been running fine for months but recently every time I try and load a project (any project) the program freezes, then I have to close it down and reload, every time I load Visual basic for the second time I get the following error:
HTML
An error was encountered while opening associated documents the last time this solution was loaded. Document load is being skipped during this solution load in order to avoid that error.Plus when trying to run a project in debug it takes ages to load (around 5 minutes) this has only started happening recently, projects were loading in seconds.
View 9 Replies
Sep 30, 2011
A colleague has written a useful tool. He wrote it as a standalone tool, but it works even better as an includable dll, though it needs a bit of other functionality for it to be a really good drop-in component. What I am wondering is whether a project can be compiled as both an exe and as a dll?
There are alternatives, such as having a dll version and an exe version, since the dll version needs to include a few different methods that the exe version doesn't need, but this alternative sucks, since it would mean changing two sets of code.
Another alternative is to build the dll, then change the exe to be a project that references the dll....and does nothing other than calling one method in the dll. That kind of sucks, too, but not as bad.
I want to be able to use his module in some of my programs, and it really should be built as a component rather than a standalone app, but I want to know whether there are other options that I haven't considered.
View 2 Replies
Mar 14, 2011
get information from wikipedia.So the info goes to TEXTBOX1.TEXT and then creator to label8.text and then the image will go to picturebox1.image.i have a listbox with all the videos?
View 4 Replies
Jan 21, 2012
I'm developing an application that will need to be used with a client.The software can be managed online ( at website ) and by desktop client.I can't find any information in how to send information to website and retrieve data from website. The PHP code is entirely written. how do I get something like:
Client -> PHP -> Create Account ( Send this to a file like create.php?user=USERNAME&pass=PASSWORD )
The PHP file ( stored online ) will run the information and create the account?How to send that information with VB .Net?After that, PHP will return a info if it's ok or not the user account creation.How to retrieve the results from PHP and show them in the client?
View 3 Replies