sean_kirkpatrick's Q&A profile
.NET Development Switching .Net (valid) root
In the setup.bat of WSE 3.0 samples you are advised to use the aspnet_regiis for activate the framework net 2.0 as the valid root. In my system I have both frameworks: Net 1.1 and Net 2.0. I have already followed the previous command so now I have: D:\Documents and Settings\Administrador>aspnet_regiis /lv 1.1.4322.0 valid ...\\...\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi .dll 2.0.50727.0 valid (Root) ...\...Microsoft.NET\Frame ...Show All
.NET Development Access Exception to IOleContainer.EnumObjects() !
Hi, everybody! I want to access IOleContainer.EnumObjects() from c#, so I wrapd IOleContainer Interace with managed code, and get the IOleContainer object correctly. but found the Exception of "Object reference not set to an instance of an object". Thanks for any help. Here is the code: //interface IOleContainer : c# wrap public enum tagOLECONTF { EMBEDDINGS = 1, LINKS = 2, OTHERS = 4, ONLYUSER = 8, ONLYIFRUNNING = 16, } [ComImport, G ...Show All
Visual Studio Express Editions A question about forms
I'm new to C# after years of Delphi, so still getting used to things. I have a question about forms and displaying new forms. In the programs I write, I have a number of forms that I need to open and close, depending on circumstances. In Delphi this was easily achieved; you created the form and showed it and closed it as necessary. In C# I'm having problems understanding the same process. I can declare a form along with the other private/p ...Show All
SQL Server Get FlatFile Columns through ConnectionManager
The CreatePackage sample provided with SQL Server programmatically creates a package that has a source type of OLEDB to a flat file destination. I am building exactly the opposite, source=flatfile, destination=SQL Server. I expect that will be a more common scenario is using SSIS. The problem I have is populating the source columns in the FlatFileSource connection manager programmatically. I know it can be done because it happens when you bui ...Show All
Visual Studio Express Editions why is vb.net printing so difficult?
Hi, I have loads of VB6 apps I am trying to migrate to VB.net and the biggest problem I have is that printer.print has no equivalent in vb.net Can anyone tell me a simple way to print in dot net Thanks Impossible is about right. I just can't see what to type to make something come out on paper, and I have written some neat VB stuff (IMHO) in th epast but this dot net thing has me stumped. Am I missi ...Show All
Visual Basic Photo Matching Database
User selects a picture and querys the database for a match. How do I write the Code for this SELECT id, image, description FROM pictures [database] WHERE image EQUALS picturebox1.image I am concerned that the "image" format stored in the db will not match picturebox1.image and that I probably will have to convert picturebox1 into a binary array to match the format already in the database. Furthe ...Show All
SQL Server Still cannot Resolve! Footer Issue
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=241309&SiteID=1 ...Show All
Visual C++ Header File Inclusion problem?
Hi guys, Please take a look at this code. I have some problems, This is not the real code, but a sample. /************************************************/ //File: SomeObject.h class CSomeObject:public CObject { //.....code goes here } //End File //File: SomeObject.cpp #include "someobject.h" CSomeObject::CSomeObject() { //.....code g ...Show All
Visual Studio Express Editions Visual Basic Express publish error
I'm using Visual Basic Express Beta 2. When I try to publish a program. I get always this errors. What am I doing wrong I publish my program to my harddisk. Can anybody help me Errors Warning 1 Could not find resources for culture 'en-US'. Using culture 'en' instead. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 0 0   ...Show All
SQL Server Visual Basic with SQL-database connection and Windows XP
When you work with Visual Basic 2005 Express Edition on windows XP, and if your application contains references to SQL-databases, I have discovered that it is important that all identities be logged off before you open the particular identity where you want to work on your Visual Basic project. I have earlier assumed that it was only possible to work with Visual Basic on one identity, the one where the version was registered. ...Show All
SQL Server SQL Server 2005 Analysis Services
I installed SQL Server 2005 (Enterprise Edition) and Visual Studio 2005 (professional edition), both are evaluation versions, but I'm unable to start any Business Intelligence Projects. Much of the documentation states to go to Microsoft SQL Server 2005 and click on SQL Server Business Intelligence Development Studio. But, this doesn't appear in my choices. What am I doing Wrong Help would be greatly appreciated. Thanks. p.s. I don't hav ...Show All
Visual Studio Format Currency problem Webforms.reportviewer
Hi, In my report i am displaying some data formatted for currency see below: =FormatCurrency(First(Fields!totalSales.Value),2) This code works fine but puts a $ at the front instead of a £ which is what i want. My PC regional settings are set to united kingdom but it still displays the dollar symbol. Can anyone help JB You need to set the Language property for the textbox (or for the entire report ...Show All
Visual Studio Team System Will VS 2003 still be available after transitioning subscription
Hi all, My company is considering transitioning our Universal Subscription to take advantage of the free upgrade so that we can have access to Team System for Developer. However, we may not want to start using this for some time. My boss wants to be sure that we will still have access to all of the products we currently have access to, including Visual Studio 2003. Thanks for reading. If you have Universa ...Show All
.NET Development Bug in ADO.NET 2.0 using SQL Server 7?
We were using .NET 1.1 against SQL Server 7 just fine. When we switched to .NET 2.0 we found that the connection pooling against SQL Server 7 no longer works. As a side note we would like to upgrade from SQL Server 7, but we currently have a number of integrated third party packages that make this a very large task. I traced the connection pooling issue to the connection setting Connection Reset with a value of true. It you set Connection Res ...Show All
Microsoft ISV Community Center Forums Excel 9.0 Library and Generating chart with VBA
[code] Function generateGraphs(fileName As String, startCol As Long, ByRef xlApp As Excel.Application, _ ByRef xlShtSrc1 As Excel.Worksheet, ByRef xlShtSrc2 As Excel.Worksheet, _ ByRef xlShtSrc3 As Excel.Worksheet, ByRef xlShtDest As Excel.Worksheet) Dim colsToDraw As Long Dim rowNumber As Integer Dim endCol As Long Dim startColName As String Dim endColName As String Dim xlChart As Chart Dim chartCount As Inte ...Show All
