Migrating 6.0 To Modern Architecture?
Aug 10, 2010
We have a small visual basic 6.0 application with an Access DB that we would like to migrate to modern code and architecture. I am not technical, but I am believe this would be something like a .net framework with a SQL Server DB.What I am wondering about, is there any way to covert this code to a modern language/architecture? If so, what is the easist modern language to migrate to?
View 7 Replies
ADVERTISEMENT
Jun 7, 2010
Links are broken for webcast series "Modern Software Development in Visual Basic .NET" for sessions 10-15 located at URL
[Code]...
View 2 Replies
Jun 26, 2012
I need to convert a VB Collection to a modern one, like Dictionary or Hashtable. For my approach, I need the Collection's KEYS. Googling tells me that it's impossible. Re-writing the entire application using new collections is not an option as the application is really old and large (converted from VB6 to VB.Net).Using the old Collection also is not good - as there are new components in development.Converting a - for example - Hashtable to Collection works:
using VBCollection = Microsoft.VisualBasic.Collection;
public static VBCollection ToVBCollection(this Hashtable table)
{
[code]....
View 1 Replies
Nov 6, 2009
I was wondering does anyone know where i can find some good books and or articles covering the architecture and design of OOP applications. Also I need a book that explains how to structure an application as it relates to the data tier, business logic tier, and the front end.
View 6 Replies
Jun 3, 2009
In the first comment (by J.W.) to this question: Using ObjectDataSource and DataObjectTypeName, How Do You Handle Delete Methods With Just An Id Parameter?, it is said that using ObjectDataSource is a bad design. What is considered good design for well-architected ASP.NET applications?
View 1 Replies
Nov 12, 2010
To write a effecient Active Directory library to ease the work of technicals who are responsible to create access models into the domain controller's Active Directory. This library must allow the following:Basic operations: Add, Modify, Delete, List entries;An entry may either be an organizational unit, group or user (no further need required as of now);I thought about having a class which would represent the domain with which we want to work with.
public class Domain {
public Domain(string root) {
Root = root;
[code].....
View 1 Replies
Dec 25, 2009
what is a disconnected architecture in dot net?Why are the dataSets a disconnected architectures in dot net?
View 15 Replies
Nov 1, 2009
When trying to determine the Architecture of an OS, I ran across IntPtr.From reading the documentation, I saw this: Quote:The IntPtr type is designed to be an integer whose size is platform-specific. That is, an instance of this type is expected to be 32-bits on 32-bit hardware and operating systems, and 64-bits on 64-bit hardware and operating systems.
Since the size of IntPtr is intended to be the size of the architecture, would it be feasible to test the size and determine the OS by that? Or is there a better way?
I was thinking there might also be a way via WMI, but I don't want to use that for compatibility reason.
View 23 Replies
Oct 4, 2007
Is there a way to programatically determine if the OS Architecture is 32-bit or 64 -bit?
View 5 Replies
Nov 5, 2009
I need to write an app that that will iterate over our database, and perform various anaylsis on each record. In order to do this (partially for the learning exercise in creating plugin support) I want to use a Plugin model.
Currently, I have a simple Interface in my main app, which plugins can Implement. My app then loads all DLL's in a folder looking for ones implementing the Interface.
As you can see in the pseudo-code below, I have to keep performing a loop through all loaded plugins calling the process methods.
Sub ProcessData()
For Each Record In MyDataSet
For Each Plugin In MyPluginCollection
[Code].....
View 3 Replies
Apr 14, 2010
I am beginner in programming and developed an application of mine. Although, I am finished with the coding part, but I have to present my software architecture diagram. I am not a software engineer and so familiar with basics of software engineering, layering etc.I have used 1) .NET GDI Graphics in my application, 2) Text to Speech, 3) RichTextBox which retireives pictures etc. How do I proceed with the architecture diagram now?
View 1 Replies
Aug 12, 2009
I am working on a new domain model for an application that will have order processing for items built in (well, too keep it simple for this question anyway). I have a class "VendorItem" that represents items that can be ordered. Originally the "Order" class was going to have a list of VendorItems associated with it, but I have come across problems with it so far.
Let's say that the system has been creating orders for some time just fine. One day a user comes along and decides that a vendoritem has changed price or some other detail like packaging size. I wouldn't want the previous orders to be affected by such change. At first wash I was going to make a "OrderLine" class that is basically a copy of the "VendorItem" class, but that just feels (smells?) wrong in the OO sense. Is there a better way to refactor this so I don't have copies of classes and information in the domain model?
View 4 Replies
May 23, 2011
I have a large application that has always existed all in a single .NET project up until recently (200,000+ LOC). I'm finally getting to the point where I can fix this. I just started using the Entity Framework (4.1 using code first) and I believe this is a good time to start seperating my logic.
What I did is I separated my application into three subprojects:UI - Windows forms project Business - The POCO classes Data - Legacy data access code AND the DBContext class to connect my POCO classes to the database. I also have a Windows service project and will soon have a WCF project, but those concern me less.
The problem is that in this plan, the data layer depends on the business layer and vice versa causing a circular reference error. There is no way around this.So, my idea is to move my POCO classes into the data layer removing all business logic first (just keeping the database fields, basically). Then, I will inherit from those classes in the business layer adding back all the business rules. Then my data access layer will not rely on any other project, the business layer will rely just on the data access layer, and the interface layer will rely on both for now but eventually only on the business layer.
Does anyone see any problems with this, or a better way of doing things given my current circumstances?
View 5 Replies
Jun 6, 2011
Explain Singleton architecture of Remoting.
View 1 Replies
Jul 20, 2011
I need help in understanding this architecture. The person who wrote it is long gone and I'm stuck to figure it out. We are creating an object in some code from some random workflow in the web application (unimportant for my question). The object is being instantiated from a class found in a Designer.vb file. I couldn't initially see the file until I clicked the "show all files" in Solution Explorer in Visual Studio. There are 3 files linked together.. a *.xsd file, a *.Designer.vb file and a *.xsx file. The *.Designer.vb file looks to be auto-generated.
Goal:Get dbo.note.text from the dbo.note table column and place it in the dbo.exportnote.text column. I just don't understand how it's connecting to the database and getting the data from the dbo.note.text field. I want to make the query more specific (possibly put a where clause on it). But really I just want to understand how it's communicating with the database. Most of the code uses stored procedures. So I'm confused on the architecture. What would be really cool is if you can explain how this code was autogenerated. It appears that the *.xsd file is an XML file when I "View in Browser" from the Solution Explorer.Code to instantiate object of designer class:
[code]...
View 2 Replies
Oct 21, 2009
Using VB.NET 2008 I want to know what is 3 Tier Architecture for windows application? How to make a code for Inserting, Deleting, Updating in a database using 3 tier architecture.
View 5 Replies
Aug 15, 2011
I am going to be taking up a new job as a VB.net developer. I have worked with C# for about 3years. I did mention to the interviewer that I haven't worked with VB.net, but he seemed to think that its easy to migrate from C# to Vb.net.
View 1 Replies
May 1, 2012
I've done a fair bit with the other languages in Visual Studio, and have some C# code I wrote which I am trying to port to Visual Basic.
I will show it here:
public sealed partial class Dice
{
private sealed partial class MT
[Code].....
My question is one of a fairly simple nature, how do you make a thread safe singleton constructor with Visual Basic?
I tried a similar pattern to the one above, only to find that I had a lot of difficulty declaring the static variable instance as a null, this in turn would ruin my public Instance property, as I would have no way of telling if the class had been instantiated or not...
Anyhow, even a simple explanation as to the correct way of doing this would be nice, I'm sure I can fill in a lot of the grey areas, I just need more information than what I'm finding in MSDN, it seems Singletons are only really described in detail for the other languages...
View 4 Replies
Aug 24, 2010
I want to migrate some code from Vb6 to Vb.Net Here is the code that doesn't work:
UpgradeStubs.MSDataGridLib_DataGrid.getCol(ShowInsur) For UpgradeStubs, I have found an equivalent: Artinsoft.VBUpgrade.Maps, but overall it doesn't work.
View 14 Replies
Sep 30, 2009
I program in vb2008.I am curious about what resources exist:( books, videos, courses) which address how to migrate to 64 bit applications.Right now I have 4 machines with 8 gbyes of memory running XP64.My chief interest is in what I need to do to allow myself to address >4gbytes of ram in a vb application.
View 1 Replies
Mar 24, 2010
I program in vb2008. I am curious about what resources exist:( books, videos, courses) which address how to migrate to 64 bit applications. Right now I have 4 machines with 8 gbyes of memory running XP64. My chief interest is in what I need to do to allow myself to address >4gbytes of ram in a vb application.
View 10 Replies
Oct 23, 2009
I am in process of designing an architecture for an application. Following is the high level requirement.
1. The basic requirement is to convert a flat file into XML
2. The input flat file can have various formats, the delimiters, the data positions may vary.
3. The output XML format is predefined. There is a specification defined in a word format, which I think I need to define it as an XSL or XSD.
I am planning to follow some design pattern. Not decided yet. The architecture should be flexible to extend the input file formats and accommodate any changes in output specification.
View 2 Replies
Feb 8, 2011
Building a large application using 3 tier architecture in vb.net. Question: I am a vb.net developer. I have developed small and medium size application with 2 tier architecture. Now I am going to develop a large application. I have decided to develop that application using 3 tier architecture. So I studied about 3 tier. Now I know how what is 3 tier and how to develop a simple application. And also I studied about .Net Remoting and Web services. In my project, 7 modules are available. Each module has 3 layers. How can I manage in a Single Solution?
View 1 Replies
Jun 22, 2010
how to create a stable plugin architecture. Stable because I plan on opening up plugin creation to the public but I dont want a sloppy coded plugin to take down my whole application.
So I thought of using an AppDomain per plugin and I did a little seaching. But it seems that even using a temp AppDomain to load plugins and then unloading it once all assemblies have been inspected raises complexity allot and I was planing on using an AppDomain per plugin.
I feel the gained stability (if there is any at all) may be raising the complexity so much the app will never be done..
Is there another way to both create a stable application and at the same time making it extensible?
I cases where the host calls a defined function via say IPluginInterface I guess I can pack a whole lot of try catch blocks around that call but what if a plugin insisted of a timed routine that would run continously without being invoked from the host other that a starting call to StartPluginService or something like that?
If I include a plugin like that in the default AppDomain and it blows up I sure will blow my own foot off right?
View 3 Replies
Jul 15, 2011
I'm creating a rather large and complex application and was wondering if any of you had any recommendations for good books on application and project architecture. Multi-user - database - heavy interaction with windows api for shell extensions.Not the standard maintenance or reporting app I usually write!
View 2 Replies
Sep 2, 2009
I have made a windows application (running parfectly on my system). Now i want to run it on another computer.
Here's what i tried: I noticed that an exe file of the application is created inside the Debug folder after the application is deployed. So i thought that copying and pasting the .exe on any other system should work fine but trying to run the exe on that system gave an error and it would not run.
P.S. This application did not have a database. Also, i have made another application which interacts with an access database. How will i be able to run that on another system?
View 3 Replies
Jun 25, 2010
We're building an application using VB.net and WPF. Obviously we've found that there are huge differences between the syntax in the two, and we have a few problems trying to do things in Form apps in WPF.If possible, could you pass us some resources on things like switching between WPF windows, we'd use Show() and Close() in WinForms, and referencing variables from other forms, i.e. otherForm.StrVariable references StrVariable from otherForm.
View 2 Replies
Jul 1, 2009
I are testing Win7, and I have a ____ trying to just do anything in Win7. Lots of permissions problems. unexpected crashes.
I are no more owner of my code files!
I had no idea that my application was so buggy on Windows 7 :(
View 6 Replies
Apr 27, 2009
I'm migrating some code from VB.NET to C# (3.5).I find structurs like:
Public Event DataLoaded(ByVal sender As Object, ByVal e As EventArgs)
Protected Sub Mag_Button_Load_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Mag_Button_Load.Click
[..]
[code]....
What is the most streight-forward to translate such behavour in C#?
View 1 Replies
Apr 17, 2012
Here's my current set-up:
Public Interface IDatabase
Function CreateParameter(name as String, dbType as <dbTypeEnumeration>)
End Interface
[Code]....
The problem here is what exactly is dbTypeEnumeration. In the example above, it's simply a placeholder to what my problem is. Since we use both Oracle and SQL Server databases, the DbTypes are different depending on the database being used. For Oracle, the OracleClient object has its own OracleDbType enumeration with types. SQL Server also has its own enumeration.
My question is: is it possible to show those database-specific enumerations depending on which repository is injected into the DatabaseService constructor? If not, what's the best way to go about this? I want to separate the two databases, share logic, and allow for future development, ala the interface as a code contract for that development.
View 2 Replies