Sql - Branching Strategy For Release Based Db Project?
Dec 23, 2011
We have a asp.Net vb.net 2008 project on tfs2010. The project has one main branch and for any release we create a new feature branch which is finally deployed. Post production deployment we merge back the branch back into main branch.We are now also adding a db project to manage our SQL too. Question is how to version control the differential scripts. The db project contains all create scripts which is fine if we had to deploy thep project from scratch but the project is already live. So now any new release or hotfix would normally contain alter or change script practically.
View 1 Replies
ADVERTISEMENT
Sep 15, 2009
Im new to VB 08 and i made a project that runs fine when i debug from inside the VB solution explorer. When i go to my BIN folder and try to run my project, the project runs but the button event seems to be none exsisten, also my message box does not appear on load, it should give an ERROR message if it does not detect the process writen in the module.
View 3 Replies
Mar 9, 2012
Both projects are set to build in release modeBoth projects are in the same solutionThe solution is set to build in releaseBoth projects output to a Release folder in bin / objEverything seems to be okay except for one thing.When inspecting the files with a tool such asI tracked this down to a setting in the Advnced Compiler Options for the pdb files.If the debug info output for VB is set to anything other than none - then the project builds in debug mode (keep in mind it still outputs to the release folder).
View 1 Replies
Jul 8, 2010
I developed a project is vb.net express 2008. Published it and the whole clickonce didn't work. Now I have Visual Studio 2008. I opened my project and have been working on it for weeks now. when I build it today it said biuld successful but the new .exe file etc have not been written to my Release folder.
View 20 Replies
Feb 28, 2009
Its finally done... post your impressions!Attached File(s) GH_Champion.zip (11.34K)Number of downloads: 35
View 7 Replies
Nov 4, 2011
I am new to regular expressions and I am trying to implement the metaphone algorithm in vb.net. [URL] The algorithm has lots of steps to replace characters depending on certain conditions. (ex. replace w unless followed by a vowel). Is there a way to handle branching logic using regular expressions?
[Code]...
View 2 Replies
Apr 27, 2010
Would it be a good idea to start converting forms into .NET one at a time which you would then invoke from the VB6 app via COM-interop.This way, by the end of the process you would just convert the 'shell' of the VB6 application into a new .NET app, and all your forms are ready to go in .NET.
View 5 Replies
Jul 16, 2010
What will be the steps for finding the DFD of A Project based on Banquet Hall?The project if of basic level.
View 2 Replies
Nov 18, 2010
If I add a service-based database to my VB.NET (2010) Winforms solution, is there a way to connect to this database from SQL Server Express Management Studio on the same computer?
View 2 Replies
Aug 24, 2011
I'm working on a project that is based on modules and plug-ins. Any of these modules might alter some part of a database in various ways. One module might write or edit one table, while another module might write or edit other tables.
The modules all communicate via events raised on a common object. Therefore, when a person using module A enters a certain change that would edit data managed by module A, the module raises a Proposed Edit event such that all other modules that might be affected by the edit will have a chance to accept or reject the edit. If no module rejects the edit, then module A makes its changes and raises an Edit event, at which time all the other modules make any changes they need to make.
That's the basic pattern, but there's a problem. If I don't share a transaction during the edit, then module A can successfully edit their tables, but module B might fail to edit their table. In some cases, the failure by B should rollback the changes made by A. Therefore, it would make sense for module A to share an open transaction for all the other modules to use while making their changes, and this gets either committed or rolled back, depending on whether everyone was successful, or not.
The problem with that design is that a person could write a new module C that had a bug which caused it to fail to update correctly. That would cause it to signal that the transaction failed, such that all the other modules, which had been working up to that point, would no longer work because this new module kept canceling the transactions. In other words, the modularity of the program has now been lost. Every module depends entirely on every other module that even cares about its data.
In most cases, what would be lost if certain modules failed would be minor, whereas what would be lost if other modules failed would be catastrophic, as there would be no way to re-create the lost data with any kind of ease.As long as this explanation is, it may not be sufficient. At least it might start a discussion. Do the actions of all the modules act in the same transaction, or should they be left to succeed or fail on their own?
View 11 Replies
Feb 27, 2009
I've finally got a project compiled and tested and ready to roll out.I have discovered that the "Publish" option is not what it seems, and that we must create a separate "Setup Project" to carry out the task of installing the files.This is not the most intuitive process I've seen, and the online help on that subject is not easy to understand.I was hoping that someone could direct me to a tutorial or guide that would step me through the specific approach I need. Many of the other guides online are vague and address multiple scenarios and do not separate the approaches very well.I have the contents of my project in /bin/release. It runs nicely by iteself with no errors.Here's what I need:
1. To create a setup exe that I can distribute that will install my software, with all of the supporting (resource) files and folders.
2. I need the setup process to force the installer to "agree" to a EULA.
3. I'd would like to provide an image on the installation screen/popup.
4. I would like the software registered in the registry and rely on it being there in the registry.
5. I need it to default to program filesprojectname (it does by default)
View 6 Replies
May 1, 2009
how to write the code for my project.I am to base my new project on an existing one(existing one has code that works 100%)and create an Array of a structure that bascially holds the information from a summary form AND the totals from an AddToOrder_Click event. If you are still with me)... I cant figure out what the code is for my structure and Array so that I STILL have a Summary Form but I have an array that shows when I click my PrintPreview. So an Array is basically a "space" that holds information, like my summary form except it doesnt show until I click PrintPreview right?
If I just wanted to show the table then my code belongs in the PrintDocument1_PrintPage to show the array but the actual structure code belongs in the Click_Event of my AddToOrder? Please Please understand I AM NOT asking for anyone to write my code, basically I am asking for some clarification on what exactly creating an array from a structure is and therefore determing where the structure is to be placed in my code..
View 6 Replies
Apr 15, 2012
What will be the steps for finding the DFD of A Project based on Banquet Hall?
View 1 Replies
Mar 21, 2010
I am currently working on a multi branch desktop based project using VB.NET 2008. My Admin want to see the list of currently working branches and not working branches. Additionally they want to know how long a branch is not working.
To display the offline branches I first take a ListBox control named lstListBranch and then upon that control I take another ListBox control named lstListTime to display the offline time.
I want to permanently hide the scrollbar for lstListTime control and want to scroll lstListTime when lstListBranch is scrolled.
View 2 Replies
Jun 7, 2011
is it possible to implement strategy pattern with different parameters in VB.net? For example I have the following code:
Public Interface InterfaceDataManipulation
Sub updateMyData()
End Interface
How to implemente updateMyData in the class that implements above interface class with different parameter,for example in class x :
Public Class X
Implements InterfaceDataManipulation
Public Sub updateMyData(ByVal x as String)[code]......
But the IDE raises an error "class x must implement updateMyData on interface InterfaceDataManipulation"
View 2 Replies
Apr 18, 2011
I have inherited a .NET 4 VS2010 solution consisting of a WinForms app and a web service. I don't have access to a server that's running a copy of the web service but I have to run, debug, upgrade and test the project that accesses the web service as well as the web service code.Later, I also want to quickly switch between a deployed web service and the code in my local projectWhat's the best strategy for changing the projects so I can make changes to both projects, test locally, deploy the web service then test against that? If I find issues, I want to switch back to "local" mode to debug.
View 2 Replies
Dec 24, 2010
I developed app which accepts user responses. I created secondary labels which I envisioned as larger "tool tips" which prompt the user. ("prompts")As the user inputs to either combo box or text box, the label should go invisible and a "prompt" for the next input should go visible.I am trying to use Selected Index Changed,Leave, or LostFocus events to accomplish the visible invisible change.Is that the most effficient way to accomplish my functionality? A twist I would like to incorporate: the purpose of the "prompts" is to guide an unsophisticated user through the app the first couple times.After familiarity is acheived the "prompts" can be annoying.My strategy is to allow user to turn off the "prompts" by a check box.Then my conditionals will test the checkbox. checked property and either show the "prompts" or not based on the test. [code]
View 7 Replies
Mar 4, 2010
I'm about to start a new project and want some advice on how to implement.I need a web application which contains a booking module for reserving timeslots, and a time management module which will enable employees to clock in / clock out.
If I am writing an update to the time managment module, I don't want to disrupt the booking engine availability by releasing a new solution containing both modules.to make things more difficult, there is some shared functionality like common users, roles and security.Here's a suggestion I've gotten, which sounds a bit cruddy, but may be functional.Write a 'container' web application which consists of basically a frame, and authentication / security features. This then has links which, will load the 2 independantly built and released web applications into the frame.I can see that say, if I wanted to update the time management module,
View 4 Replies
Jun 15, 2010
I'm trying to bind a WinForms TreeView control to some user-defined objects. In particular, I'd like to bind aTreeNode.Text property to myObject.Name. My strategy is to create xTreeNode, a subclass of TreeNode, add a DataBindings collection, and expose its Text property.
This would allow me to write some code like this:
Dim oBinding as Binding
Dim bs as New BindingSource
bs.DataSource = myObj
[code]....
View 5 Replies
May 18, 2012
a debate has been sparked here about the use of the strategy pattern in my classes.
Basically, I have a 'Shape' object that is an interface 'IShape'. We have 'Circle', 'Rectangle' and 'Elongated' that are the concrete classes that must implement the IShape interface.
[Code]...
View 3 Replies
Jan 28, 2011
I have VB.NET Window based project built on .NET 3.5 Framework that is working on the Windows7 32 bit System but when I try to run this same application in Windows7 64 bit System it gives an error message: "System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"
View 4 Replies
Dec 6, 2009
Im a new in this VS2008. But i have some foundation of programming in VB6.0. So im planning to create this application using VB since im familiar in that language.I downloaded a Visual Studio 2008 and SP1 - now on its 90-day trial, and planning to buy the full version depending if it will meet my needs. I just read afterwards the conditions and how to buy it. I hope its free shipping and credit card is acceptable.^^
I need to make an application something like a reporting system, my plan application is a client-server application. Currently im reading the How to topics and some walkthroughs so far so good. Now here are some sort of details and target need to fulfill.
1. An interface from client that will input the data from the multiple-user , including images and these data will be saved in database/table remote server (center database server) LAN.
[Code]...
View 3 Replies
Mar 2, 2011
we changed the mapping from the table per concrete class to the subclass strategy and now the UnitTests fail, but I cannot recognize why.There's one base class Article and a child one SemifinishedArticle with no specific properties.
Article.hbm.xml:
<?xml version="1.0" encoding="utf-8" ?>
<ibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
[code].....
View 2 Replies
Aug 5, 2009
I have a usercontrol with a picturebox and a few buttons related to it, such as LoadFromFile, Paste and Zoom (that last one pops up a new form). Is there a way to override the basic Enabled property of the usercontrol so that I can keep the Zoom button active all the time, while turning off the other buttons?
I realize there are 2 "obvious" replies. don't do Enabled=False, create a custom method. do everything in the one form, not a usercontrol, so you can pick and choose disabling. Both are less than ideal, given that I'm putting this control into a couple of existing forms, so I'd like to work around how those forms already behave. So is there a way to override the behavior of my usercontrol when it gets disabled? What would be my best strategy?
View 3 Replies
Aug 17, 2011
I have to compare two columns in two different Excel sheets and delete the duplicates. I have come up with several strategies that work, but I am searching for the most efficient way to do this. At first, I was sorting the columns and looping through them in the manner of a sequential update and deleting when the cell values were equal. But I discovered here an article by Mike Rosenblum that explained that it is much more efficient to stick the columns into an array and iterate them from there. So I was able to do that. There was a complication in that once I had deleted a row, then the array and the spreadsheet were out of sync. So I had to compensate by incrementing a variable each time a row was deleted, and subtracting this variable from the array index to calculate the row to be deleted in the spreadsheet.
So now I am wondering whether there is a better strategy. I thought that if I could merely hide the rows to be deleted and then find a way to delete all hidden rows at once after the loop was over, then this would eliminate the problem of the array and the spreadsheet getting out of sync and would make the code easier to understand. I thought of putting the row numbers of the duplicates into another array and deleting the rows after the comparing loop. But this creates the same problem of having to compensate the row numbers in the array.
View 1 Replies
Aug 9, 2011
I am trying to write a system that will send an email to my Client and when my client reply I need to read the Email and push it back to proper Record for the Client.We are using Exchange and outlook, For Sending email I am using smtp with custom coding Which automatically record an email content to the Client File howerver how to read the reply as it is coming into outlook of user machine and push it back to the Proper Client record.
View 3 Replies
Dec 20, 2010
Public Class ExtendedDateTimePicker Inherits DateTimePicker
View 5 Replies
May 5, 2010
For reasons that are beyond my control, I have three Projects. Projects A and B reference project C. Project A references project B so that it can open a large form in project B. I now need to open that large form from project C, but VB won't allow me to add a reference from C to B because that would create a circular dependency. I found a way around it, though. I created a Timer in A, and when I opened C from A, I passed in that timer. When the user performs a certain action, I enable the Timer from A, and this causes C to open B for me.
View 2 Replies
May 6, 2009
I have a project that I have created, it something like a contact database.It is complete with its own sql server database, and controls and forms.I kinda of understand that I can include this project into another project.This is the tricky part,Can I include my contact project into another project and add more items to the database and forms in a new project?What I'm after is like using classes.My contact database would be like the base class, and the new project would be adding more features to that project.
View 10 Replies
Nov 15, 2010
i was developing Voice Chat Application in visual Basic .NET 2008 i try a lot methods to make installer for it :
1- i add Project Setup Project for my Project for Visual Studio 2008 Deploy & setup Type Projects and make it with output option and detect dependices
2- i try make it with Setup Factory 8.2.1
3- i try with MSI Factory 2.0
4 i try with Setup Factory 6.0
and after making installer copying it to my test virtual Machine or my friend lap and install it i get this error when try to run my application :
[Code]...
View 3 Replies