Jonathan McGee - MSFT's Q&A profile
.NET Development Generic list gets converted into an ArrayList when sent through web services
Hello, i have a customer object like this: public class Customer { public Customer() { } private string customername; public string CustomerName { get { return customername; } set { customername = value ; } } } And a generic Customer collection that can contain customer objects like this: public class CustomerList : List < Customer > { public CustomerList() { } } I populate a CustomerList wi ...Show All
SQL Server attribute key cannot be found - regular hierarchy
I am a newbie in Analysis Services. I have just designed a cube, drawing data from a bigger database. In the cube measures are about responses to questionnairies. There are 3 dimensions: question, time of response and user (who responded). The user hierarchy is a user-enterprise-activity hierarchy. When the cube is processed I receive the following error when it reaches to process the enterprise part: Warning 1 Errors in the OLAP storage engin ...Show All
Visual Studio Team System Checking in/out project does not check in/out all files as expected
I am noticing that in a couple of our projects when I check in or out the entire project not all items are checked in/out as expected. This behavior does not happen with all projects. This seems to happen when I check in/out these projects from within Solution Explorer when right clicking the project and choosing "Check in" or "Check out for Edit..." We are using Team Server Beta 3 Refresh with Visual Studio .NET 2005 RTM. Does anyone know why t ...Show All
Visual C# Searching in PDF files
Dear All, I have a windows application that search in .doc and .pdf files, for the pdf files after adding reference to the acrobat, how could i return the whole text in a string Thanks in advance Regards Tamer Hesham Hey Tamer, I found an article for you and you should also look at the comment I opened for you, which references the iTextSharp component. http://www.codeproject.com/csharp/winsearchfi ...Show All
Windows Forms Copy a graphic to memory and viceversa
I've a picturebox with a bitmap and two text printed on it with the .drawstring .drawimage functions Now I need to save this info into memory and plot it again later, how could I do I explain why I need this: I've a form that have some childs ...Show All
Game Technologies: DirectX, XNA, XACT, etc. D3DERR_OUTOFVIDEOMEMORY
I am recieving D3DERR_OUTOFVIDEOMEMORY Error, after roughly an hour during the execution of my D3D Application. Any idea what i need to look for This is the code i use to create my veretexBuffer: vertexBuffer = new VertexBuffer(typeof(CustomVertex.TransformedColoredTextured),6, d3dDev,Usage.None,CustomVertex.TransformedColoredTextured.Format,Pool.Managed); I dispose it every time the scene is drawn... Thanks... ...Show All
SQL Server HELP! - URL Access - Localhost vs. ServerName
We have a confusing problem and need some guidance. We are trying to use URL access to generate and display a report. We have tried two ways--building the URL string and popping up a new browser with the Reporting Services URL access string and simply using an anchor tag and setting its URL parameter to the Reporting Services URL access string. Both options don't work--well, one works for the local server and the other works for client comput ...Show All
Visual C# VS2005 Click Once: how to determine the publish version
Application .ProductVersion.ToString() returns the product version. Is there a similar way to determine the (Click Once) publish version --Goos van Beek Found it already here http://forums.microsoft.com/msdn/ShowPost.aspx PostID=9145 --Goos ...Show All
Smart Device Development Deploying to device always starts emulator
When I deploy to my connected device (WM5.0), the emulator is always started. How can I stop this from happening Can you please check that top-left combo box in Visual Studio has appropriate device selected instead of emulator -Thanks, Mohit ...Show All
Visual Studio 2008 (Pre-release) how to add shapes to canvas
Hi can anybody know how to add any shape like rectangle , circle or line to canvas through programmatically at mouse cursor possition. thanx - Nagu Nagu wrote: could you give me a simple code. I dont know any thing about ContorlTemplate i'm knew to wpf. Thanx - Nagu Take a look at the examples of the SDK: they are a lot of them that will help you. Check also the hands of labs Bye ...Show All
Visual Studio Team System Modify the Build Log : Exporting information to the Build Log file
I was wondering if there was any way to edit the tfsbuild.proj file to export information to the build log... Anybody knows Alright... found what I was looking for... http://blogs.msdn.com/buckh/archive/2005/10/25/484854.aspx ...Show All
Windows Live Developer Forums Edit Issues
I'm having some issues with my editPost implementation. The first is that each time I edit a post the dateCreated moves back 5 hours. I am at GMT -5 which leads me to believe that the adjustment is being applied somewhere but I'm not doing it myself so I'm not certain as to where it is happening. I'm assigning the dateCreated value of the post I get from getPost to the dateCreated value of the post I'm assigning via the editPost. Along the wa ...Show All
Windows Forms Smart Client. What exactly are we talking about?
I confused myself on the concept of 'Smart Client'. Initially I thought it was similiar to an app/service my company recently bought. It was a windows app run in a browser using Terminal Services (I believe). No need to install anything beforehand,& ...Show All
SQL Server searching xml column
Hi I have a table that contains a xml column 'propertiesXML'. I would like to select all rows in this column where one of the nodes in the xml document starts with something (for example 'S'). If the propertiesXML column contains 3 rows: <properties> <property name="name">Sally</property> <property name="id">21003993</property> </properties> <properties> <property na ...Show All
Windows Forms DataGridView, DataGridViewComboBoxColumn
Is it possible to select a value in a DataGridViewComboBoxColumn. Example I currently have a text box a DataGridView with a DataGridViewComboBoxColumn When a user enters a value into the text box I want to select an appropriate value in the combo box column in the DataGridViewComboBoxColum If someone could help, I would be most greatful as I have spent ages looking through MSDN and trying to find examples. Cheers Kris-UK ...Show All
