Gaurav_Gaur's Q&A profile
Windows Forms Windows installer launch condition
Hi Guys, I am trying to create a setup and deployment project in VS 2005 for a windows form project. A couple of dependencies for my application are - 1) .NET framework 2) ActiveState Perl 5.8.8 I have been able to successfully add the .NET 2.0 framework check to the launch condition. I've also added the Active Perl check but its not working right. I mean, I get a "perl not found" error even on systems where the perl is installed. How should I correct this behavior Its probably something in the Condition check that I'm messing up. Here are the properties I have for perl launch check - (Name) ActiveState Perl Condition Installed InstalllUrl <url> Message Perl could not be found. Please install ...Show All
Visual Studio 2008 (Pre-release) Making custom user control as root of xaml
i'd like to create a class that inherits from a WPF control say UserControl or Grid and then have another XAML whose code behind in turn inherits from that class. On using the name of the custom class in the Root element of the XAML, get an error saying this is an invalid root element. Is there a way to get around this There's a limitation in v1 that you cannot use a custom class as a root element, if that custom class is defined within the same assembly that is attempting to reference it. With the existing design, the XAML reader doesn't have a completed assembly to examine at the time that it tries to resolve the custom tag at the root. That's not a problem for elements under the root because there's lo ...Show All
Visual C++ OLE/COM Object Viewer in Vista
Hi all, I am facing problem with OLE/COM Object Viewer tool in Vista RC1. The tool went to non-responding state when i try to view a dll (i.e. tapi3.dll which comes with OS) by clicking the File menu > View TypeLib. But when a use the same tool on Windows XP, it works fine. Is it a bug If so, is there a fix available . Thankyou. Hello Re: OLE/COM Object Viewer in Vista The right place for your question is probably the COM newsgroup: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.win32.programmer.ole&lang=en&cr=US Thanks Damien ...Show All
Visual Studio checkout a file.(VSS+c#)
Hi. I connected to VSS using COM objects, that is located on the server. When I checkout a file to C:\test it checks out to the server c:\test and not to my local PC. IS there away to checkout not to the server's local computer folder but to the local computer from where the appiaction is run. Since not all users has access to the server machine. I am tring to find the local path's PC (user loged-in) when accesing the server.. (I use impersonation) Thank you in advance. Thanks,.. I asked ASP.NET guys, but didnt get a response yet. Yes it is a web application... MSDN site shows that http://msdn2.microsoft.com/zh-cn/library/microsoft.visualstudio.sourcesafe.interop. ...Show All
.NET Development Convert.Toxx vs DataType.Parse
Whats is the best practice between using Convert .ToInt16 ("stringVar") short.Parse("stringVar") what is more aproppiate for performance and memory space use thnks Convert.ToInt16("string") calls Short.Parse("string") ...Show All
SQL Server buffer is full
All, My weekly loading is failed and here is the error message I got. Could someone kindly point me what is the problem and how to detail with it Thanks Error: 0xC0047012 at Fact_ResidentService, DTS.Pipeline: A buffer failed while allocating 63936 bytes. Error: 0xC0047011 at Fact_ResidentService, DTS.Pipeline: The system reports 43 percent memory load. There are 4227104768 bytes of physical memory with 2378113024 bytes free. There are 8796092891136 bytes of virtual memory with 8787211939840 bytes free. The paging file has 10300792832 bytes with 14786560 bytes free. Error: 0xC0047022 at Fact_ResidentService, DTS.Pipeline: The ProcessInput method on component "Union All 1" (3629) failed with error co ...Show All
SQL Server Error: Subreport Could Not Be Shown (need to override error message)
Hey guys, I receive the message "Error: Subreport Could Not Be Shown", One or more parameters required to run the report have not been specified. I am ok with the error because it is legitimate, but I want to be able to override the error and only show a blank space if there is an error. Is there an easy way to do this Thanks!, BJ ...Show All
Visual Studio Team System API function to display 'Choose Source control item'
Is there an API function somewhere in the TFS Version Control system that will display the standard source control dialogs. For example I am writing a winforms project diff tool and it would be nice to be able to pop up a dialog box to choose the source control folder to compare. The only GUI dialogs that are exposed are only available in VS and only the ones described in the following blog post: http://blogs.msdn.com/edhintz/archive/2006/02/03/524312.aspx . Buck ...Show All
Software Development for Windows Vista Test Case 1 - embedded manifests and MSIs
I am able to embed a manifest into my executable with mt & a custom action, but it does not work when I put it in an installer. I can verify that the manifest is being embedded into the executable that I am building but when I create an msi, using a standard setup project, and install it, the executable no longer has the manifest. Do I need to run mt on the .msi Is the execuable being placed in the .msi before the post build events Or is there just something wrong with my setup project That's not quite what I was looking for. It will esure that the manifest is included with the application, but I was really trying to embed the manifest in the exe itself. On top of that, I need to be able to digitally ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Realtime debugging text?
Hello. All I`d like to do is display crude text somewhere inside the game screen. Can I do this without having to load/use any type of font. The `Print` commands equivelant I suppose It`s just so I can see a variable changing during play. Please excuse this possibly mundane question but I`m fairly new to all this. -Daz. HI, I created a new project and added `Console.Write("Hello")` ( with lots of permutations in different places .). But I`m not getting any text in the output window Could someone confirm that Console.Write() does work when used correctly and I`m just a muppet :/ It`s frustrating me now. -Daz. ...Show All
Visual Basic Byte Conversion
I have two values, and cannot place what conversion is being done ... I start with a 3-byte message 00 35 6D and the result after conversion is 13677 Can anyone tell what conversion is being done here It appears that it is converting your 3 bytes to a decimal value. If you open up calc.exe and put in your 00356D as hex and convert it to decimal you will get 13677. What are you trying to convert this to and how are you converting it currently ...Show All
Visual C# Problem with System.Web.Mail
Hello Everyone, I am trying to write code in my c# windows program to send email. I found good tutorials online to get this done. Most of which use the System.Web.Mail namespace. When I come to write that in: using System.Web.Mail; I get this error: The type or namespace name 'Mail' does not exist in the class or namespace 'System.Web' (are you missing an assembly reference ) I even tried: using System.Web.Util;............but I pretty much got the same error message. When I come to look System.Web.Mail in the help files, I find it there, I just can not use it. Can someone please help me by pointing out what is wrong. I am using visual studio 2003 c# on windows xp home edition. ...Show All
Visual C# [BUG report]: Can a MS person have a look at that bug in .Net or office? GenerateInMemory=true And ComServer And not in GAC
Hi, I can not compile a class "TestCompiler" on the fly in this particular case: - GenerateInMemory=true, AND - inherits from a base class "Eval" defined in another dll which is not in the GAC,AND - ran within Excel (Com server or IDTExtensibility2). In all other cases, it works fine (i.e. if GenerateInMemory=false OR does not inherit from a class outside the assembly OR when it is called from a console application). The exception is of type TypeLoaderException: - "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." - "Could not load file or assembly 'MyServerLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its depende ...Show All
Microsoft ISV Community Center Forums passing commands to VBA in PPT?
Hi All: Is there any way to pass a command line parameter to VBA inside a PowerPoint presentation We'd like to pass a file name into our program from the command line. Any thoughts/suggestions THANXS!!!! amb <<Is there any way to pass a command line parameter to VBA inside a PowerPoint presentation We'd like to pass a file name into our program from the command line.>> No, sorry. Most Office applications don't support "command line parameters". You need a different approach. If you were automating Powerpoint (rather than "shelling" it), there wouldn't be a problem. Starting from the command line means you have to store the file name somewhere the PPT program can access. This co ...Show All
Visual Studio Undocumented error (ESS_SS_HISTOPEN) in VSS 6.0
Hi All, I'm automating VSS through the COM interface and I consistently get the same error when attempting to do a 'get' operation on items in my database. The error being returned is 0x8004D75C, which I mapped to ESS_SS_HISTOPEN (or "A history operation is already in progress"). Aside from an entry in ssauterr.h, I can't find any documentation that gives me any idea what this error actually means. Anybody have a clue Sean Sean, After talking to my devs, I got the following information: "Which version of VSS is he using In 6.0d and older it was not possible to have to Versions collections simultaneously, and that is the error that you’d get if you tried it. That is fixed (with a ...Show All
