JohnDB's Q&A profile
Visual C++ Problems while generating Browse Information
Hi, Please let me know of your suggestions for the following isssue. I decided to generate browse information for my huge project (which takes around approx. 40 mintues to build). Project was builded successfully. After that I did some changes in few source files and again builded the code. This time while generating browse information compiler raised few issues telling that browse information could not be generated for few source files (firstly it tells us issues one by one per source files and not collectively as to for which all CPP files browse information could not be generated). I decided finally to skip generation of browse information and switched off the option from project settings. Now I expected App to just get link ...Show All
Visual Studio Team System Is it possible to build library used only for the unit testing?
Hi, I am a newbie to the team system. Currently, we are building a test system based on team test for our existing application. Since the application is quite large, we would start from a small portion of it. My question here is whether it is possible to build library used only for the unit testing For example, one of the methods is newticket(Ticket ticket). The existing application reads the xml-based queue message from the msqueue and generates the ticket object, then pass it to newticket method. But right now, I would like only generate test case for newticket. So I need a method to generate the ticket object from an xml file. I also can reuse this method to generate ticket object for cancelticket and changeticket methods. Since i ...Show All
Visual Studio Tools for Office Outlook 2003 - Email redirect on button click
Due to the immediate answer and solution on my last thread, I am asking you guys again I am creating an Outlook 2003 add-in using C# and VSTO second edition. I have created a CommandBarButton, and want to redirect an email to a given email address when the button is clicked. It is of importance that the original subject, content and sender/recievers are kept. I have the button click event up and running, and I have also extracted the selected MailItem. 1) Is there framework support in the Outlook OM for redirecting a MailItem to a given email account, given my criterias above If there is no direct support for this, does anyone know a workaround Code examples are much appreciated. 2) When the mail message is redirected, I would ...Show All
Windows Forms AutoGrow
I have tried the property "Dock in Parent container" that makes Dock=Fill. It works fine when I have only one control(panel or datagridview) in the form, this is ,I can see the the panel or dagridview expanding when I maximize the form Now I would like to have two panels in the form and make them autogrow and autoshrink with the form. How can I do this thanks in advance, D I wanna have the two panels one below the other, each one will have a datagridView that can be very large (I'm using a custom command to expand/collapse some columns, but on full view I wanna let the grid expand with the form). Any idea Tks, D ...Show All
Windows Forms Excel in the WebBrowser control
Hello, I am using .NET 2.0 Windows Forms. There is a form with a webbrowser control. I navigate to an Excel spreadsheet and the webbrowser control opens the spreadsheet "inline". All is good until I try to close the form. The Excel process appears in the Task Manager for sometime after I close the form, so it's not possible to clean up the Excel file that I viewed in the webbrowser -- when I try to delete the file, I get The File is Used By Another Process error. Here are my questions: Is it possible to issue a Close command to the Excel instance that is hosted in the webbrowser control Something along the lines of ExecWB that was available in the ActiveX version of the WebBrowser control. Is it possible to get the ...Show All
Visual Studio 2008 (Pre-release) How to return datatable from a typed dataset using WCF service and Jun CTP ?
How to return datatable from a typed dataset using WCF service/ Hi, In one of my application I am using the Typed Dataset that contains many tables. I want to return a particular Datatable form the dataset as following. -------------------------------------------------------------------------------------------------------- Case 1. The following code is working, but the problem is I can not use .EnforceConstraints = false property as this property only available with Dataset. (I want to use this property because I want to return only selected fields from the table and rest of the fields may have not null columns) mydataset.vemployeedatatable itypedstest.get ...Show All
Software Development for Windows Vista About SetIpForwardEntry2 and CreateIpForwardEntry question?
Hi All I want to create IPv4 route entry on Vista. I used SetIpForwardEntry2 and CreateIpForwardEntry2 functions to add a new IP route, but they don’t work. Does anyone have any easy examples for me to program Thanks. ...Show All
Visual Basic Navigate Previous and Navigate Next missing
I am converting from VB 2003 to VB 2005... In 2003 in the standard tool bar there were two buttons, Navigate Previous and Navigate Next that moved to where you cursor was. They are not in the Standard tool bar for 2005 and I cannot find them anywhere. They have nothing to do with bookmarks. Where are they Thanks! Bob I believe they have been replaced with an arrow drop down menu, next to the black x button in the tabbed menu item, I believe thats a replacement but could be wrong. Clicking on it will bring you a list of opened up items and simply select the item you wish to navigate to. ...Show All
SharePoint Products and Technologies Is it possible to show a Windows User Control in Sharepoint?
Hi, I have a website that has a control that is shown in a web page. Is it possible to add this user control in a Sharepoint page Doing it in a aspx or ascx page is easy, but then when I try in Sharepoint I get an empty control. Any help is greatly appreciated. Xavier I could be wrong, but I believe you want to encapsulate your user control within a custom ASP 2.0 Web Part, then have Sharepoint use your newly created web part. Check this out: http://msdn2.microsoft.com/en-us/library/e0s9t4ck.aspx ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Saving Files
My game is now ready for 360 Super Stardom.. but i need to save high scores to make the replay value higher. Please could someone point me in the right direction of saving files and high scores To work on Xbox, you should use the Microsoft.Xna.Framework.Storage namespace to open your file. That will give you back a System.IO.Stream, which you can write to using any of the standard .NET functionality. One easy way is to wrap a BinaryWriter object around the stream, or another would be to use the XML serializer. Both of those approaches will work on Xbox as long as you use our storage API to initially open the file. ...Show All
Visual C# Intellisense for events...
Hi! I have a component that provides some events (via the Properties Window in VS2005) So, when when selecting some event I can show some breef text telling the user something about the event in the bottom of the Properties Window (via Attributes). But, I want to provide some help of the parameters in the generted event stub; private void myComponent_OnConnected(string ipAddress) { } How to provide some info/help about my parameter ipAddress I would like some text to show up when holding the mouse over the method name... Thanks, Mats Tanks! But this was not really what I was looking for. I also use /// comments for all my methods. My concern was how to get this working for event methods; /// <summary> /// Bla, bla... ...Show All
Smart Device Development working with threads - novice
Hi, I'm new to this forum but I hope I posted inthe right section. I'm kind of new to C# so please be patient with me :) I'm tring to save my path (gps coordinates from my asus a636) to a kml file as part of a bigger project. I managed to save my present location but now I want to save a set of coordinates. I have 2 buttons for this task: startRecord - should start the while that writes to file the coordinates, and saveTrack - should stop the while. I have the following code for the save part. The problem is the WHILE. When in starts it never stops. Being kind of new to c# I searched and found that the problem is that the WHILE should be on a separate thread. Is this the solution If so...could you show me how to plac ...Show All
Smart Device Development How to increase Device Emulator's Screen buffer beyond 1MB
Whenever I set the screen resolution to 800x600x32bpp, I get the error, "The Screen buffer is limited to 1MB. Reduce either screen size or depth." Is there a way to increase the screen buffer beyond 1MB Thanks, rucky Dear all, I try to debug a UI Enviroment on Device Emulator running at 1024x600x16bpp resolution. I have changed hardcoded display resolution limitation and config.bib. however I can't launch CE 6.0 Emulator image at 1024X600X16bpp. I can see the s ympthoms, view on somthing are irregular image in Device Emulator's endline I hope someone may explain me a little bit better this problem. Best regards ...Show All
SQL Server Configure Report services
HI, I am having SQL Server 2005 express edition, how can i configure report services VSB, Take a look at this document from Microsoft. http://download.microsoft.com/download/4/f/8/4f8f2dc9-a9a7-4b68-98cb-163482c95e0b/UsingSSRSwithSQLExpress.doc Hope this helps. Jarret ...Show All
SQL Server Populate dropdown list with dimension hierarchies
Hi, I am currently trying to develop an application which would help in retrieving data from cubes (Microsoft Analysis Services)! The user would not be accessing the Business Intelligence Studio, etc. but would be viewing the data from a custom made application developed in VB.Net2005. While implementing this, I want to populate the drop-down-list in the VB(.Net) Form, by retrieving the various hierarchies in the dimensions of the cubes (along with dimensions if possible). This should be done dynamically and in real-time! Can you please help in implementing this Any code/method, etc would be highly appreciated! Thanks in advance. Best wishes! (Software : SQL Server 2005 Enterprise Edition (with Analysis Services and BI St ...Show All
