nitesh252002's Q&A profile
Windows Forms Problem Including Files...
This should be a simple matter. The documentation I have read says "just include the files in your project and manage them in the Application Files dialog box, accessible from the Publish page of the Project Designer ." I am trying to include some .pdf files with the install. I have put them in every folder of my project but I can't get them to show up in the Application Files dialog box. I can see the files in the Solution Explorer but can't include them. Any hints Much appreciated, Gage I have this same problem actually, and can't seem to make it work. Maybe you can help me. My post is here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=546739&SiteID=1 ...Show All
Windows Forms Question about how show different display panes
I'm sorry for what is probably a simple answer and probably not a very clear explanation of what I'm attempting to do. I'm trying to understand how to create a program that can display different information in a main window pane. For clarity and as an example, I'm trying to understand/clone the way Outlook functions. When you click on a button the main pane as I call it changes, either your mail displays, or your calendar displays, or, well, you get the idea. Do I create, place, and destroy programmatically in code each control that I want to display based on the button pressed Is there a way to layout the controls for each sub-form that I want to display in the main window form so I can see the layout in real time and not through ...Show All
Software Development for Windows Vista assigment of Fault property in ThrowActivity
Hi, I've tried to assign the property Fault of the ThrowActivity in my hosted designer. It works when I do this in a newly created workflow. But after building and reopening the workflow in the designer the error " Please correct the follwoing errors in specified binding: Path "TestException" used to specify member for "SequentialWorkflow" is invalid. Path needs to point to valid member." occurs. "TestException" is a public Exception member of my derived SequentialWorkflow class. Does anyone know a solution for this problem Thank you for help. Andreas Take a look at this post for more information. The short answer is that the when you reopen the ...Show All
Microsoft ISV Community Center Forums Help With using XML Index file in Excel VBA...
Hi Ive read through the MSDN reference library for help on XML in VBA - although, I cant find any answers. Maybe you guys can help me out. I have an XML Index file. This file specifies a userId, and the path where that users file can be found. As Below... name subject_id output/2000027/02934289 850912AB05108268B3A3F5B4340CC1F9 output/1999270/06491337 6A49B2D34F376C2E257FBA9F5979C556 output/2000024/02931089 AA6194970A98F3C5542BF226A627051D So, for user AA619... the file path is (output/200024/02931089) The index file is very large. How do I go about: 1. Opening XML File 2. Go through each entry 3. Set directory to that entry, and open the fi ...Show All
Visual Studio Express Editions Bug: Output window: can't change text/background colors of current error/warning line (?)
I looked all over in the fonts and colors settings under Tools/Options (including 'output window') but found no way to change the hard to see colors of the current error/warning. It causes a great amount of inefficiency with all the required squinting and face close to the monitor positioning. Is there a way to change the hard to see colors or is this a bug/design flaw The problem is that the Output Windows is pretty simple - it is a window that receives and displays text. It has no smarts: it can't distinguish between an error, a warning or some other random piece of text - it is all just text. Having said that you can increase the size and/or color of all the text that is displayed in the Output Window. ...Show All
Visual Basic New row in datagrid: Old values are overwritten instead of a new row appears
First post from a not so experienced VS.NET/VB programmer I am writing a short piece of code that allows users of the program to enter some data in textboxes and then by clicking on a button, allow them to add the information they put in the textboxes to a datagrid. The first time they press this button, it shows perfectly in the datagrid on the form, but the 2nd time it only updates the first row instead of adding a new row. By doing some searches on Google, I found out that I am not using the right code, but I can't find how to do it correctly. I hope to get an answer here. Below you see the code I am using currently, I wanted to attach an image to show the screen of the application, but obviously as a ...Show All
Visual Studio 2008 (Pre-release) Linq2SQL Count, Single/SingleOrDefault operator bugs(?) in ASP.Net applications
DB.Customers.Count(c => c.City == "London"); Specified cast not valid exception, if there is some customers from London. However Func<Customer, bool> predicate = c => c.City == "London"; DB.Customers.Count(predicate); works well. Another bug( ): When I delete customer from database in one page request and then execute Customer cust = DB.Customers.SingleOrDefault(c => c.CustomerID == deletedCustomerID) ; in the other request, it somehow brings this customer from death, however foreach(Customer cust in DB.Customers) doesn't enumerate him. This is not very efficient method, 'cause Single requests all the table from database and then bruteforces it (Single(predicate) even does ...Show All
Visual Studio 2008 (Pre-release) "Download Dialog" from an XBAP
According to these: http://msdn2.microsoft.com/en-us/library/aa480229.aspx and http://msdn2.microsoft.com/en-us/library/aa970910.aspx I can fire off a "Browser Download Dialog" from within an xbap, which I assume would enable me to give a file to the client. How exactly is this done I've searched for hours now and can find no example. I've tried using a frame control but it fails with "Failed to convert resource into object." Will I need to write some something to force a download from an html page embedded in a frame I've found a vague tip here http://scorbs.com/2006/06/14/photostore-xbap-standalone to set the Content-Disposition header to “attachment” on the server. But that tells me nothing about what I need t ...Show All
Visual Studio Team System How to remove change sets as candidates for merge?
I have 2 branches, say Test and Prod. I have a change set(Say 321) and I don't want or need it to ever merge into prod. How do I remove it from the list of candidates for merging I've tried this tf merge /discard /version:C321~C321 Test Prod /recursive It says the the changes were set to "AcceptYours" but then in the Source Control, the change set still shows in the list of change sets to merge. Any ideas I wasnt able to run tf checkin I get the message "Unable to determine workspace" I read the doc and played around some, but couldnt get it to work. Any magic that I need to know about :-) Thanks, Staffan ...Show All
Software Development for Windows Vista Workflow designer ignores DefaultValueAttribute?
I created a DependencyProperty on a custom activity and I tried to give it a default value like this: public static DependencyProperty SchemaProperty = System.Workflow.ComponentModel.DependencyProperty.Register("Schema", typeof(string), typeof(SqlCreateTable)); [Description("The schema or owner of the new table")] [Browsable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [DefaultValue("dbo")] public string Schema { get { return ((string)(base.GetValue(SqlCreateTable.SchemaProperty))); } set { base.SetValue(SqlCreateTable.SchemaProperty, value); } } However, when I drag this activity onto a workflow the Schema property is not automatically set to "db ...Show All
Visual Studio 2008 (Pre-release) Definition of PrimarySelectionAdornerProvider
Hi, I have read the article at http://blogs.msdn.com/subhagpo/archive/2006/06/15/633663.aspx and have take a look at PrimarySelectionAdornerProvider and the Extension but I do not find where this class are defined. I have installed the Cider June ctp with VS 2005. What is the assembly to reference and the namespace for use this classes -- Andrea Thanks Jim Now I get it. Your Cider classes are only for design time features of custom controls that will function within Cider/VS. That's a pity as there is a lot in those classes that would be useful and would be better than the very complex standard adorner techniques. You can't even build the standard adorners in XAML eg with EID. Anywa ...Show All
Visual Studio Team System Unit Test does not support namespace with '.'
Hi, I have created an Xlinq library having a namespace in the format of 'x.LINQLibrary'. When I tried to create a unit test for one of the functions, the selection window for the create unit test do not transverse to the function as it would usually do. I also notice that the namespace display in the window became 'x' instead of 'x.LINQLibrary'. I did some experimentation and realise that by removing the 'x.' hence ending up with 'LINQLibrary' as the namespace, there would be no problem. Can I know how I could resolve this Regards chionh Thanks, your solution works. However, I need to clarify on whether this bug has been solved in the 'shipped' Visual Studio 2005. I am actually using this version ...Show All
Visual Studio Unable to install GAX June CTP - States Visual Studio 8.0 is not installed
I have the team system developer version of Visual Studio 2005 installed. However when I run GuidanceAutomationExtensions.msi I get this message: Visual Studio .NET 8.0 is not installed. Do you want to see information of the product Click Yes to be directed to a web page, click No to exit. Thanks Hi, I have the same problem and I don't know what to do about it. Dit anyone found a solution for this issue. I can't find anything on the internet, I thought I was the only one who faces this error. I am running vista home premium, latest version of GAX, Feb 2007, should be possible to run on vista. Thanks in advance ...Show All
Visual Studio Express Editions ISO file for SDK
So, I decided to burn a CD. I downloaded what was billed as an ISO image: http://www.microsoft.com/downloads/details.aspx familyid=E15438AC-60BE-41BD-AA14-7F1E0F19CA0D&displaylang=en First off, is that the correct latest and greatest The file that got downloaded has a type extension of .img , not .iso as I expected. My burner (Nero) does not recognize the extension. What's up with that I was able to make a CD of VC++ Express with no problem. It had a .iso type. Anyone know what I can do with the .img file Or better yet, where I can get the .iso file orcmid wrote: Jive Dadson wrote: So, I decided to burn a CD. I downloaded what was billed as an ISO image: http://www.microsoft.com/downloads/details.aspx ...Show All
Visual C# How to fire an event when the Browser closed?
Dear all, I'm currently using ASP.Net w/C# to develop a Web Site. Is there any method to catch the browser close event so that i can do something before/when the browser close Many thanks! Best Regards, Stard. Hi, Please post your question in the following forums as this forum is related to only c# and not web related. http://asp.net Just found one solution for you...below is the link. http://forums.asp.net/thread/1362515.aspx thank you, bhanu. ...Show All
