MikeL2's Q&A profile
Visual C# How to convert 2003 win from code to 2005 with partial?
Hi, all. I have a window application written by VS.NET 2003. I opened it with VS.NET 2005 and convert the app. However it doesn't convert the structure of each class code. I like the seperated classes intruduced in VS.NET2005, which seperates form design code from custome code. Is there any tool or way to convert my old 2003 style form coding to 2005 style code seperating design and custome codes Unfortunately, there ...Show All
Architecture N-tier layer separations and connection/interaction
I happen to be experimenting based on some examples I've found on the net but I want to be directed to the right path, those samples tend to be incomplete or misleading. In a typical N-tier scenario, which should reference which And is the use of Data Transfer Object in accordance to any best practice that maybe existing Accordingly, how does those layers supposed to connect/interact with one another eg. what does BLL passes to the DAL and w ...Show All
SQL Server design best practices on series number
Hi, I need to design a table header for inventory transactions with the specifications as follows: 1. System-generated series numbers (integer) 2. Series numbers must be unique by branch by transaction type. Thus if I have following: Branches: Br1, Br2 Transaction Type: SRS (Stock Receipt from Supplier), SRB(.. from Branch) The series number must be implemented in such a way that, Br1 SRS 0000000001 Br1 SRB 0000000001 ...Show All
Visual C# How to pass in one value and return 2 more?
Hello, I am not sure what the best approach is to this, so any of you who have much more experience might be able to tell me how best to handle this. I have a form that has text fields for City, State, Zip. When the user types in a zip code and tabs off of the field it will auto populate the remaining fields. For example if a user types in 90210, it passes the zip code to a method which runs a SQL query to pull the city, state (Beverly Hil ...Show All
Windows Forms New features that I would like to see in Whidbey
These are some of the features that I would personally like to see or that I have heard other people requesting. As far as I know these are only features that have not been discussed as being in the next version yet. .NET Framework Shared ...Show All
Visual Studio 2008 (Pre-release) Querying and late bound data providers
Hi Normally in the projects I work on we use a strict provider based architecture for accessing data. Obviously this is done to avoid having any nasty database or XML or something else dependancies in the logic of the program. The problem on the other hand is that querying such data stores must also be part of the provider meaning that all possible ways of querying data must be covered by the provider which obviously isn't feasible. Now I was ...Show All
.NET Development http channel registering
Hey everyone, I just want to ask a question about the registration of the http channel in config files. I have just fixed a bug in my application where I was getting an error saying that I cannot register the http channel more than once. I understant what it is saying, but I dont know why it would be trying to register it twice in the first place. In my wen.config file (im creating a asp.net app here) I have some elements that define the http ...Show All
Visual Studio Can Sql Server Management Studio and Visual studio 2005 use the same solutions and projects in VSS?
I like the SQL server management studio and VS 2005 to work with Visual Source Safe thru internet. But I do have one BIG problem is that I use VS 2005 to create a database solution (or poject) to check this solution/project in VSS. Can I use SQL server Management Studio to open "VS 2005 solution/project" instead of re-create a SQL project I could not find any information on how to do ...Show All
Visual Studio Team System Creating build on a few solutions under different team projects based on different labels using team build
Hi, I'm trying to create build on a few solutions under different team projects based on different labels using team build. I saw on this blog: https://blogs.msdn.com/manishagarwal/archive/2005/09/27/474273.aspx by Manish Agarwal the way how to do it. But I couldnt find the way to retrieve the sln based on the different labels. This is the view of my team projects: -------------------------------------------------- ...Show All
Windows Forms MDI Parent/Child Problem
Hay guys. I kind of new to this whole thing, and I was wondering if someone could help me with this problem: I've got a MDI Parent with a menu. When you ckick on one of the menu items, this code runs: Dim Form as new Form1 Form.MDIParent = me Form.show() Now: is there any way to create a new form (Form2) from form1 and still make it an mdi Child. Basically: 'This code is in a button Dim Form as new Form2 Form.MDIParent = Form.show() I tried ...Show All
Smart Device Development Treo 700w Emulator connection pob
Hello i have recently installed the Treo 700w emulator. I can open the Device Emulator Manager and run the Treo 700 emulator, even sync it with Activesync, but I can not connect to it from MSVS 2005. When I try to run my application it starts the Treo emulator but it does not connect. I have no trouble connecting to the other win5mobile emulators. I just get an error Device connect failed, nothing else. Thanks Jon Hello, We would lik ...Show All
SQL Server Slowly Changing Dimension question
Hi. I am using the Slowly Changing Dimension Transformation to move data from oracle database into sql server 2005 and it's working fine using the historical data. i'm just confused about something: if i delete a record from the oracle source table it will remain in the destination table without being deleted or marked that it is expired. whereas i need it to be deleted. could someone pls advise me how to solve it thanks for your ...Show All
.NET Development Unable to compile asp.net code behind file using dos vbc command
I get compiler errors when I try to compile my vb code behind file using the DOS command: vbc /t:library /r:system.dll,system.web.dll <filename.aspx.vb> Most of the compiler errors were references to string functions such as Mid$, Format$, Right$, Instr, etc not declared, and OLEDBError not found. Below is a part of the compiler error messages: C:\Inetpub\wwwroot\CEAProduction\CEAPremiumRenter.aspx.vb(5) : error BC30466: Names ...Show All
Visual Studio Team System Can't open multiple projects with Project 2003 (Beta3)
I want to see the "master" project plan and tried to use a query that has all the tasks from all my projects but when I try to use that query in Project 2003, an error is displayed that only the tasks from the project I select will be shown. Same for excel. How I can do this or any workarounds (Possibly a report that I export) Thanks - Javier This Scenario will not be supported in V1. But there is workaround on how to do this in Project 200 ...Show All
SQL Server Adding SCRIPT and LOOK UP components using C#
Hi, Could you please tell me how to add SCRIPT and LOOK UP component to a data flow using C# Also, is there any artilces/site which gives information about the SSIS programming Regards, Gopi Gopinath M wrote: Also, is there any artilces/site which gives information about the SSIS programming from the bol: http://msdn2.microsoft.com/en-us/library/ms136025(sql.90).aspx ...Show All
