tgallagher's Q&A profile
Visual Studio Creating custom project
I am trying to create a new project type in the visual studio .NET 2005.There is 28 step method is given for creation of the custom project. At one of the step it is talking about a dll microsoft.visualstudio.package.project. This dll is not available in the vsip. We have downloaded the visual studio 2005 SDK & installed. Please provide simple steps for the creation of the project type. Example of the code will also be helpfull. Th ...Show All
Software Development for Windows Vista How to call a common function after every EventDriven
Hey guys, I'm working on a statemachine project. I'm trying to record some information when every EventDriven Activity has finished its job. Is it possible to achieve this without putting a StateFinalizationActivity on every StateActivity Is there any event that I can subscribe to call a common function Darren You could write a recursive function like this: static void setEventHandlers(CompositeAc ...Show All
Microsoft ISV Community Center Forums How to remove Application members from the global namespace
Dear Support, We recently implement the Application.Left property to move the application main window similar to the Office Application.Left property. Afterwards we encounter the problem that the 'Left' and 'Left$' symbols now are resolved to the Application.Left property instead of to the VBA.Left and VBA.Left$ methods. I noticed that the Office '98 VBA implementation suffered from the same artifact. This has b ...Show All
Visual Studio 2008 (Pre-release) Error getting activation key from MSDN Subscriber downloads for beta 2
When I request an activation key for any of the Windows Vista beta 2 versions on the MSDN Subscriber Downloads site, I get an Application Error: Error while requesting Product Keys. Please try again later or contact customer support. Did anybody succeed in getting an activation key from MSDN Subscriber downloads Nico Vuyge wrote: When I request an activation key for any of the Windows Vista beta 2 versions on the MSDN Subscri ...Show All
Visual Basic System.DllNotFound Exception
I'm migrating from VB 6.0 to VB.NET 2003. There is a particular file abc.dll that I'm not able to add reference to, though its a dll file. When I try to reference it, the error is 'This is a not a valid assembly or COM component. Only assemblies with extension 'dll' and COM components can be referenced. Please make sure the file is accesible, and that it is a valid assembly or COM component' How can I reference this file ...Show All
Visual C# How can I write an ActiveX component to start a program on the client side from a web page?
On our intranet we want a page with buttons to start installed applications on the client side. So I am trying to develop an ActiveX component that will be called from the web page and used to start programs on the client side. I'll make it with some kind of white list so noone can hack it and start something like format c: I get the component to run, but when I try something like this [STAThread] public void Start(string program) { Process pr ...Show All
Smart Device Development use a C# dll with ActiveX
I would like to know it is possible to convert a C# dll to a COM dll so that i could use it on a pocket PC Active X page: Example: <script language="javascript"> var obj1 = new ActiveXObject("MyPocketPC.Class1"); alert (obj1.helloWorld()); </script> I know that this works if it is a COM dll (C++) but i need to do it with a C++ dll. I know this works on a desktop PC by using: (Generating the DLL .NET ...Show All
Visual Basic VS2005 IDE is soooooooooo heavy!
I have a Pentium M 2.0, 1GB RAM with WinXP PRO... ...and VS 2005 IDE is soooooooooooo heavy and slow! I know that working on a VB solution with 10 projects is not the same as working with the "Hello World" sample! Some delays should be expected. But my IDE stops responding every 10 minutes on sereral actions, like opening the designer of a form, modifying a typed dataset. Sometimes I have to wait for a few seconds for just a copy to ...Show All
SQL Server Data Source for Process Cube
Is the source for the data used to process the cube actually embedded in the cube itself I.e. I have source data which could move around. How can I programatically modify the source connection string before processing the cube using SSIS You are brilliant. I knew about the scripting feature however I wasn't thinking about the data source being surfaced in the Management Console for analysis services. Thanks! ...Show All
Visual Basic Windows Service
Hi Anyone know how can I to do a Windows Service to work I wold llike a simple Windows Service, that get the atual date and time, and save it in a file (c:\log.txt), for each 1 hour. I could not to make it. I wold like of the code, and to make it run in my Windows Server 2003. Anyone can help me Thank you What doesn't work You'll need to some provide details as to what the problem is. There's plenty of help on creating service ...Show All
Visual Studio Express Editions Copy schema from data table to data source
DataAdaptor.FillSchema is handy for creating a data table and configuring it to match the schema of an existing table in a data source. But I need to do just the opposite. I have a table that I create progamatically. I create a new SQL database using t-SQL CREATE DATABASE. I want to add a new table to the database with schema matching that of my existing table. I can do it rather laboriously with t-SQL, but some sort of "DataAdaptor.S ...Show All
Visual C++ One question for WINCE variable
Hi that's my sample code could some one tell me that, how to put variable into MessageBox [code] #include "windows.h" #include "string.h" // // Program entry point // int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow) { char ch[50] = "hello world !"; ...Show All
Visual FoxPro The ability of network multi-sharing for VFP6.0
Do any expert know the multi-sharing ability of VFP6.0 .exe file Is there a limit for this Any other VFP upgrade versions produce better performance on this issue Any comment is appreciate. There are no specific limits, and I certainly know of VFP applications with hundreds, if not thousands, of users. I don't know of any specific problems with performance in VFP 6 or any other version. The usual ...Show All
SQL Server Opoening a 2005 report with a 2000 database
Hi All, I was wondering if you can open a report created in SSRS 2005 with a SSRS2000 client would this cause any errors Just want to make sure before i upgrade to ssrs2005. Thanks in advance. ...Show All
.NET Development How to serialize an array of objects using XMLSerializer
Hi there, I am serializing an array of objects using XML Serialization. If you serialize an array, the root name is prefixed with "ArrayOf". I could able to change this name using XMLRootAttribute object. Since am just serializing an array of object and NOT a particular class, am not able to change the name of child nodes. This my sample code, GeoEntity[] arrGeoObj; XmlTextWriter objTextWriter = null; XmlSerializer ...Show All
