Ian Morrish - MSFT's Q&A profile
Visual Studio VS code generation
I'm working on custom Designer. This designer must generate code files with partial classes definition (like Form designer generates Class.Designer.cs) in C#,mC++,VB,J#. I have no problems with generating Class prototypes (using DTE CodeModel) The question is: Is there any VS classes that allow me to parse methods: for I need to generate something like Initialize methods of Form designer. The designers that ship with Visual Studio all use the CodeDOM to produce their output. The CodeDOM is more flexible in generating code, but not as good as parsing code. Craig ...Show All
SQL Server SSIS Error: Unable to use Excel as a data source
Here's the error: ------------------------------ TITLE: SQL Server Import and Export Wizard ------------------------------ An error occurred which the SQL Server Integration Services Wizard was not prepared to handle. ------------------------------ ADDITIONAL INFORMATION: Exception has been thrown by the target of an invocation. (mscorlib) ------------------------------ The connection type "EXCEL" specified for connection manager "{9341ACF8-D41D-4295-B4FF-8E93E5E28096}" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Chec ...Show All
SQL Server SSRS Upgrade
Hi, I had a MSRS 2000 Installation working just fine. It was a two server installation with the IIS on one server(webserver) and the database(ReportServer and ReportServerTempDB) on the other server. My MSRS2K installation was done at the F drive instead of default C Drive. I ugraded the Database Server first to 2K5 and then upgraded the Webseerver for the ReportingServices only(by selecting Reporting services in Setup) the setup finished successfully. what I found was that the MSRS 2K has not changed at all, It still shows me the 2000 Interface . In add remove programs I cant see SSRS 2005. Also I see a new directory strucure in C dri ...Show All
SQL Server Please help with explicit permissions for a database
Hello! I've just installed SQL Server 2005 CTP and now I have a question. If I open any database properties window, click "Permissions" tab in the bottom grid (under the title "Explicit permissions for...") I see several columns and one of them is "With grant". When I click a check box in this column then "Grant" chek box is automatically checked as well. Please explain me the purpose and meaning of "With Grant" check box. (I do understand the purpose of "Grant" and "Deny" checkboxes). Thanks in advance for help! Regards, Vasily "With Grant" is short for "Grant With Grant", that is,&nbs ...Show All
Windows Forms Problem (I think Some Bug) In VB.Net Debuger 2003
hi , surry for my bad english i have a problem with vb.net debuger . i wrote a big project with vb.net and sql server 2000 , but after many days of starting a project , when in developing accuring a error for example syntax error or logical error or etc in line 10 in form 1 a debuger return line 50 form 5 and i must to&nbs ...Show All
.NET Development Error generating XMl Document
Hi All, I am trying to send a collection object in the form of an array to update tables in the datatbase, in my appication which is using web services. The application has three layers.... the Facade,Business and the data access. The problem is that, when i try to do the same, i get an error saying: "Error while generating the Xml document.Include SoalInclude or Xml inclure and many more things." please help out.... Padmav, Can you post all of the exception (ex.ToString()), how you are generating XML document and the schema of the XML document... Thanks. ...Show All
SQL Server Data Syncronization
I have MSDE 2000 installed in my system and i am looking for a way to syncronize my data with other workstations. May you refer me an approach for syncrozning data periodically (With Or Without) MSDE Regards, ...Show All
Visual Studio Microsoft Document Explorer cannot be shown because the specified help collection 'ms-help://MS.MSDNQTR.v80.en' is invalid
I have installed a RC version of VS Team Suite along with full MSDN installation. After completing installation, I'v got " Microsoft Document Explorer cannot be shown because the specified help collection 'ms-help://MS.MSDNQTR.v80.en' is invalid " error when I have tried to access it by doing "Start" -> "All Programs" -> "Microsoft Developer Network" -> "MSDN Library for Visual Studio 2005" When I accessed it from VS 2005, it only have SQL help available. I have tried to reinstall it several time but no luck. Any help would be appreciated. Eric I have the same problem, except tha ...Show All
.NET Development Oracle 8.0.6 connection in VS 2005
For my projects in Visual Studio 2003 in my connection strings I would use the MSDAORA (MS OLE DB Provider for Oracle) provider and it worked fine. Now with Vis Studio 2005 that provider connection type no longer works correctly. I can't seem to find a provider that works correctly with a Oracle 8.0.6 client. Does anyone know the correct provider I need or the drivers that I need. I have tried ODBC and OLEDB but nothing is working properly. I have an 8.0.6 database but maybe I need a newer Oracle Client software Any experience in this delima would be appreciated. Thanks, What is the error you get Is your VS 2005 on t ...Show All
Windows Forms grid row display order affected by binding?! (interesting)
I have random data coming in from a process which I need to display with the latest always appearing on top. There are no specific sorts, keys or anything. Just rows to display. How do I do this I am trying with DataSet.InsertAt(0, *datastring*) I tried the following (I can't figure this). If I insert rows into a dataset with InsertAt(0, *bla*) FIRST;  ...Show All
SQL Server [OLE DB] how can i use IRowChange::Insert() to insert data ?
i have some objects like this:CDataSource ds; CSession ss; CCommand<CDynamicsAccessor> rs; and i successfully opened rs like this: ...// connect to MS-SQL Server CDBPropSet* DBPropSet = new CDBPropSet(DBPROPSET_ROWSET); DBPropSet->AddProperty(DBPROP_IRowsetUpdate, true); DBPropSet->AddProperty(DBPROP_UPDATABILITY,DBPROPVAL_UP_CHANGE|DBPROPVAL_UP_DELETE| DBPROPVAL_UP_INSERT); DBPropSet->AddProperty(DBPROP_CANSCROLLBACKWARDS, true); DBPropSet->AddProperty(DBPROP_CANFETCHBACKWARDS, true); rs.Open(ss, "SELECT name FROM oletest", (DBPROPSET*)DBPropSet); how ca ...Show All
.NET Development Win32 Device Paths and FileStream
I need to be able to do this: Imports System Imports System.IO Public Class Form1 Private Sub Button1_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles Button1.Click Dim xFile As FileStream xFile = New FileStream("\\.\Device\CdRom0", FileMode.Open, FileAccess.Read, FileShare.Read) Dim intBuffer As Integer = 8 * (1024 ^ 2) Dim xBuffer(intBuffer) As Byte Debug.WriteLine(xFile.Read(xBuffer, 0, intBuffe ...Show All
Visual C# I think this is for an expert!!.. coz` no one knowes it..
I think this is for an expert!!.. coz` no one knowes it.. Can anyone tell how to insert a new line in a file Example: test.txt line 1 line 2 line 3 line 4 line 6 line 7 line 8 after the insertion of the line... line 1 line 2 line 3 line 4 line 5 line 6 line 7 line 8 i tryed to use the seek() method.. it works but he overides the other lines.. Anyone know how to do that You will have to rewrite the file Read lines from input file Output to temporary file Hit insert place, write insert line to temp file Continue to read from input file and write to temp file Finish read/write Delete original file R ...Show All
Visual Studio Express Editions Multiple installations?
Can I have the WebDeveloper edition AND C# Edition installed on the same computer Sure, you can, as long as you use final versions and you have removed all previous betas ...Show All
Windows Forms Cannot find an unused old assembly
Can anyone help me with this problem which has been bugging me for quite a while. I used to have this old library called WEUSADigital.CommonAll which is now no longer referenced or used. It has been replaced by a new library WEUSADigital.Common and all code has been updated. The application builds fine but when it executes it get the following error Sy ...Show All
