sczzmxzx's Q&A profile
Visual Studio Tools for Office Word 2007 customized ribbon deployment
I want to deploy my Word 2007 customized ribbon to other Windows XP Professional computers. What software components need to be installed before I can install the customized ribbon (What parts of Office 2007 etc.) Also, in what sequence should these components be installed What did you use to create this customized ribbon Is this a VSTO v.3 solution A COM Add-in created using .NET or COM A dotx or docx file Assuming VSTO v3, you can't install it, yet. Currently, the VSTO v.3 tool is only available as a technical preview. There isn't a VSTO v.3 runtime, yet. You'll have to wait until the beta comes out. And then there will be documentation concerning the prerequisites. ...Show All
SQL Server SSIS - AcquireConnection method call to the connection manager failed
Hi all, I am facing a problem with the connection method, it says, "[Store [10069]] Error: The AcquireConnection method call to the connection manager "Data Source Destination" failed with error code 0xC001A004. " (Store - Look up component.) This problem occurs only when i am using Transaction option, all the component(Look up,Destination etc) says the same error message in the Pre-Execute phase. But i can open the component and can able to see the data in preview. And also this is not occuring in our testing environment. We have copied the same pakages in our production, the package failed stating the above. I can not simulate the same problem in my testing server. Has anyone faced this kind of probl ...Show All
.NET Development Is it possible to enumerate modifiers?
Hi All, I would like to place in a combo both the vbModifiers and c# like default,private,internal,public etc.... Can these be extracted from somewhere or shall i manually add them also forgot how you handle keywords or reserved words in c# the following does not seem to work public enum cSharpModifiers { @default, @private, @protected, @internal, @public } thanks in advance You can extract the type attributes of a type using the TypeAttributes property of the Type class like so: object obj = ...; TypeAttributes attr = obj.GetType().TypeAttributes; You can then isolate the visibility flags using TypeAttributes.VisibilityMask . The problem is that the enumeration maps mul ...Show All
.NET Development Time for a dumb memory question
Ok, so I've read that I should, as much as possible, dispose or null my variables and objects to save up on some memory. I have a small application that, after loading, takes around 17-18MB of memory (as reported by Task Manager). I do have some initial variables that I can null after loading so I do that. there is also a function that gets called every 15 minutes. when it is called the first time task manager reports 20-25MB used. it usually goes back down to 17-18MB after about 10 minutes or so before the function gets called again. It also has variables and objects that I can null and dispose after the function completes so I do that as well. I ran 2 versions side by side, one that disposes and nulls and, one that does not, to se ...Show All
Windows Live Developer Forums Not displaying links correctly in messages sent by the AddIn
Hi! My question may seem trivial, but It kind of bugs me. I am making an AddIn that translates the tag WIKI<Something> in a link to the Wikipedia's page for Something. I tried it out, it worked ok, but when I sent a message to some friends, they complained because the URL was displayed as simple text. However, with normal messages, that is sent by me directly, the URL are normally hihlighted as URL's. My code is below: using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Messenger; using System.IO.IsolatedStorage; public class WikiAddIn : IMessengerAddIn { private MessengerClient mclient; private String language; IsolatedStorageFile isol; void IMessengerAddIn.Initialize(Messeng ...Show All
Community Chat IBM Hawk
I got to know abt a Logging tool IBM Hawk..Can any one help me for getting details about this tool related to Logging AbhijeetSingh wrote: I got to know abt a Logging tool IBM Hawk..Can any one help me for getting details about this tool related to Logging Given that this is an MS forum, you're probably in the wrong place pal. I'd recommend: www.google.com and www.ibm.com for starters. ...Show All
.NET Development Volume Shadow Copy
Hi all. I assume that this is not the correct place to post this question. If so, please point me to the correct place. Here is my question: I want to create an application that will backup files. I want to prevent locking the files during the backup. So, I want to use Volume Shadow Copy service. This is what I need to do (I think so): - implement a requestor that will tell VSS to create a shadow copy of the specified files - get the location of the shadow copy of the files from VSS - backup the files from the shadow copy location. Can I make direct calls to the VSS API from c# (using PInvoke) Or I need to create a C++ library that will implement the requestor Any examples that can guide me Or maybe another a ...Show All
SQL Server SQL2005 Backup/Restore space requirements
I have a backup file from a SQL 2005 database on machine A - size 4.3Gb. When I try a restore to machine B I get an error stating that it needs 21Gb to restore but there is only 15Gb free space on the machine. Why does SQL server need 21Gb space to restore a 4Gb backup Greg. Use RESTORE FILELISTONLY to check on the sizes of the files. Although the backup may only be 4G, it does not include any interally unallocated space. At restore time, we still require the full size of the original file. Hope that helps. ...Show All
Smart Device Development icmpsendecho() and Icmpapi.h
Hi all, i have written a little MFC app and am just trying to get an icmpsendecho() to work however i get this error: fatal error C1083: Cannot open include file: 'Icmpapi.h': No such file or directory does anyone know how to get it working i thought that the library was Iphlpapi.lib which i have included in the build as i am using other IPHelper functions. I hope someone can help, thanks Martin Hi Martin, It seems that problem is in library. In Windows CE .NET 4.1 and later, you have to compile with 'Iphlpapi.dll', not linking to Iphlpapi.lib. For more information see article http://msdn2.microsoft.com/en-us/library/ms927411.aspx . I hope it is not very late! ...Show All
Visual Studio PostgreSQL as data provider?
I would like to be able to use PostgreSQL as a data provider\data source within Visual Studio 2005. I am using the free\open source Npgsql ADO.Net data provider in my code, but now I would like to be able to use the visual tools provided by Visual Studio. Is this possible When I go to choose a data source, one of the options is "<other>", but I don't see any way to add a different data provider to the listing. You need a Data Designer Extensibility (DDEX) provider, that you can build with the DDEX SDK: Visual Studio SDK Data Designer Extensibility (DDEX) SDK http://msdn2.microsoft.com/en-us/library/bb165128(VS.80).aspx ...Show All
Visual C# WindowsApplication1.exe has encountered a problem and needs to close...
Hi. When I Create new C# WindowsApplivation Project in VS.net2005 and Compile it, I receive this error : WindowsApplication1.exe has encountered a problem and needs to close….. I write no Code in this project and just after the Project Creation I used "Start without Debuging" for Compile it. What should I do Thanks. I'm so sorry for my language. yes! for every new solution I have this problem. and I don't modify code in any way. I said that my project was empty. it's kind of you for answering to my question. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do I load a 3d mesh (.x file)?
How do I load a .x mesh into my scene The space game seems to use its own format (which it names .swm), and there's nothing in the help. I've been scanning through through the classes in the Framework namespace, but I can't see anything obvious! Is .x the recommended format for objects like this (If not, I change my question to be about the recommended format :D) If anyone knows anywhere that has some nice .x meshes I can play with, that'd be cool too. The only one I have lying around is a chair, and that's going to look a bit funny running around my game :D After running the space game again, it seems the ships are definately 3D :D I'll just steal the Mesh classes from there for now, and stick o ...Show All
Windows Forms Windows forms C++ Samples
hi, I understand that C++ under Visual Studio 2005 finally has a very capable RAD GUI builder, so I don’t have to use VB or C# to get the same results and thus in theory do it all with C++. (btw, congrats on getting an ISO language inline with .NET...a much harder job than with proprietary languages I’m certain). However, I cannot find any C++ samples actually built with the Windows Forms rapid development tools. I did down load the calculator app, but it clearly was not built using the tools, so of little use. Would someone advise me please where these C++ sample applications may be found Thanks very much:) link fixed see also http://www.codeproject.com/managedcpp/ http://www.c ...Show All
Visual Basic Attach and Open another .exe
How do you attach another .exe program to your Form1 and open it from a MenuStripItem Alex A little piece of advice, when something doesnt work as expected and your asking for advice. A statement like "it give me an error" or "It doesnt work" are very indescript and dont actaully provide much additional information for us to help you out. Stating something like - "I used this code ......... and it gave me the following error ........." where you can put in additional information helps us see what code you actually used and what specific error message occured. This enables us to identify the problem and give you a good answer immediately rather than asking more questions or guessing at what di ...Show All
Software Development for Windows Vista Page_Unload Event Handler Question
I am trying to use the Page_Unload event (for the first time) in one of .NET Web Pages. I added the Page_Unload event to my .NET web form (using VS .NET 2003) and set a breakpoint at the first C# instruction of the Page_Unload event and another breakpoint at the first C# instruction of the Page_Load event. When I run the page in debug mode, the Page_Unload event is being fired when the web form is loaded (right after the Page_Load event is fired). When I exit the web, form the Page_Unload event is never fired. Does anybody know why TIA There's seem's to be confusion as to when the Page_Unload event gets fired. I am expecting the Page_Unload event to be fired when I navigate from my form (that has the Page_Unload ...Show All
