Software Development Network Logo
  • Visual C++
  • VS Team System
  • SharePoint Products
  • Microsoft ISV
  • Windows Vista
  • IE Development
  • Audio and Video
  • Smart Devicet
  • .NET Development
  • Game Technologies
  • Windows Forms
  • SQL Server
  • Visual Studio
  • Visual C#
  • Visual Basic

Software Development Network >> Peter Torr - MSFT's Q&A profile

Peter Torr - MSFT

Member List

JRQ
Digital Farmer
Syed Atheeque Pasha
MyLady
JawKnee
gordon LI
Siggy01
GaryMcC
mfareezaw
kcchesnut
Ksev
Baji Prasad
gokce
Mike Norman
Henry_Yang
CassieC
Namshub
olloemre
gafferuk
GabiMordov
Only Title

Peter Torr - MSFT's Q&A profile

  • Visual Studio Tools for Office Issue with launching Word 2003 XML (WordML) documents with Word 2007 Beta 2 & VSTO 3 CTP

    Hi – We had developed a Word 2003/VSTO 2.0 assembly that provides custom features that are consumed by WordML documents. When we tried to migrate this solution to Word 2007 Beta 2/ VSTO 3 CTP, we get the following error during build: C:\Program Files\MSBuild\Microsoft.VisualStudio.OfficeTools.targets(96,9): error : An error occurred while attempting to persist the data. The message returned is: Unable to retrieve the manifest from the document. . Questions: 1. Are WordML documents supported by Word 2007 Beta 2/VSTO 3 CTP 2. If not, is there a documented approach to convert WordML documents to Word 12 XML formats Your responses will be much appreciated. Thanks in adva ...Show All

  • Visual C# giving inputs to a website through code

    Hi, i need to fetch data from a particular website. it should be done through code, no manual interaction. in that website , there is a text box and a button "GO". the data is retrieved on the same page when user enters a date in that text box and click on GO button. but when i do this through code, how can i set the text box value and how can i invoke click event of that "GO" button. pls help me . its urgent Thanks in advance sajitha hi, if this is a windows form, you don't need to control the webpage from it, you can use webclient class or (httpwebrequest and httpwebrespond classes), all what you have to do , is to look at the source of this webpage and to build the action that will be generat ...Show All

  • SQL Server Enable Service Broker for DB Mail on SQL 2005 Cluster

    I'm having problems enabling service broker for DB Mail on a SQL 2005 cluster, when I try to execute this sql it just hangs. Any ideas USE master ; GO ALTER DATABASE AdventureWorks SET ENABLE_BROKER ; GO See here: http://blogs.msdn.com/remusrusanu/archive/2006/01/30/519685.aspx This statement completes imeadetly, but the problem is that is requires exclusive access to the database! Any connection that is using this database has a shared lock on it, even when idle, thus blocking the ALTER DATABASE from completing. There is an easy trick for fix the problem: use the termination options of ALTER DATABASE: ROLLBACK AFTER integer [ SECONDS ] | ROLLBACK IMMEDIATE | NO_WAIT - ROLLBACK will close all existing sessions ...Show All

  • Visual Studio 2008 (Pre-release) Browser Applications/ Navigation Applications/ WPF/E

    Hello *, I tried to find an answer to the question: "What do I need on the client site to run a WPF application in the browser " but I am still a little bit confused about it. I know already that the internet explorer version 6 or later can run these applications, and other browsers like firefox or safari can also if somebody writes a plugin that hosts the microsoft web browser control... But do I already have the .NET Runtime 3.0 to be installed on the client And the server/IIS 5.0, do I only have to add the MIME type for the new extensions I would be very pleased, if someone here could post a link with detailled informations or could write a small list of software requirements a client must have in order to execute ...Show All

  • Visual Basic How would I make a .XML doc like .INI?

    Hi. So far, I think I have gotten my form to write .XML with this code... (This is just a test form, I will add it to the real one once I get this figured out) Dim Saved As New Xml.XmlTextWriter( "..\Test.xml" , Nothing ) With Saved .Formatting = Xml.Formatting.Indented .Indentation = 2 .WriteStartDocument() .WriteStartElement( "1stStartElement" ) .WriteStartElement( "2ndStartElement" ) .WriteElementString( "TextBox1_Value" , TextBox1.Text) 'Saves TextBox1's value .WriteElementString( "TextBox2_Value" , TextBox2.Text) 'Saves TextBox2's value .WriteElementString( "TextBox3_Value" , TextBox3.Text) 'Saves TextBox3's value .WriteEndElement() .WriteEndElement() .WriteEndDocument() .Flush() ...Show All

  • Visual C++ Managed C++ Copy Constructor

    I am porting managed C++ 2003 to managed C++ 2005. I have a copy contructor that is not building... error C3699: '&' : cannot use this indirection on type '...' public ref class App {... App( const App&); // C3699 ...}; Anyone know how to declare a copy constructor under managed C++ I would put the hat (^) as suggested in the message, but then according to C++ it will not be a copy constructor and therefore one will not be present and the compiler will/may generate one (if this were ISO C++). FYI... In this case I'm not actually using it. I've declared it private and did not implement it so as to prevent others from calling it unintentionally. As I port, I may see examples where I do need a copy constructo ...Show All

  • Visual C# Excel data in datagridview

    Hi, I am trying to view an excel file in a datagridview control. After using OLEDB to connect to the file and then doing a "Select * ...", the data shows up in the grid view. But heres the problem....theres a column that has results from a test. Some are pure numbers (e.g. 4, 5, 6..), while some have values that say the result was less than a certain value (e.g. <6, <7 ...). The datagridview displays the pure numbers fine, but the cells with the "<" sign shows up blank. I did some debugging and looks like the value of that cell is coming back as DBNull. Has anyone ran into this isssue before. Please advice. Thanks. Hi, This problem will come because, oledb will r ...Show All

  • Visual C++ Can we export public static variables using AFX_EXT_CLASS?

    I am trying to export a class which has a static BOOL variable in a MFC extension DLL using AFX_EXT_CLASS . I find that when I try to access this variable from the client application I get a LNK2001-unresolved external error. But MSDN documentation clearly states that "If you are exporting the entire class rather than selected members of the class, static data members are automatically exported." So does the 'static data members' imply only functions If so, how do I export a static variable in an Extension DLL Probably you have to have a declaration in your executable which uses DLL, like this: declspec( __dllimport ) extern BOOL MyClass::myStaticVariable; If i ...Show All

  • Visual Studio Team System Error when I upload my Porcess Template

    I got this error when I tried to upload my new Process Template, any idea ---begin Exception entry--- Time: 2007-02-07 12:28:42Z Module: Engine Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: The Project Creation Wizard encountered an error while uploading documents to the Windows SharePoint Services server on "ServerName". Exception Details: The Project Creation Wizard encountered a problem while uploading documents to the Windows SharePoint Services server on "ServerName". The reason for the failure cannot be determined at this time. Because the operation failed, the wizard was not able ...Show All

  • Windows Live Developer Forums Sandbox getAccounts() error

    I'm getting the following error when attempting to invoke the getAccounts() method of the CustomerManagement class; Server was unable to process request. ---> |-199999|-1|MSN adCenter cannot perform the selected action due to undefined system errors.| Anybody know what this means (it was working fine yesterday) Thanks in advance pete Hi Pete, The Sandbox experienced a small window of downtime due to server maintenance. Everything should be working fine now . Please let us know if you should experience any further errors. My apologies for any inconveniences this downtime caused you. Best Regards, JasonDT - MSFT ...Show All

  • Visual Basic Access --> SQL

    Not sure where to post this, so will start here. I have written an application which links to a MS Access mdb as a data source. I now need to migrate this to MS SQL. I have imported the tables into SQL ans recreated the views (query). However, I want to change the Data source in my VS2005 - VB app. Everything is the same name wise etc. Is there an easy way to achieve this and will I need to recreate those query (fill) that I have attached to the tables internally Any advice would be greatly appreciated. Many thanks in advance (i hope!) :-D Thanks Dman1. I used the wizard to add a data source and cant seem to edit it from the configuration. Can I manually edit the data namespace and if ...Show All

  • Visual C# object to enum conversion: How generic can it get?

    I need to write a dozen of helper functions which will convert an object to enum types. I need to write these seperate functions because the enum types are different. My question is, can I achieve this with just one function i.e. can I merge the following two functions into one public enumTypeOne GetOne(object o) { enumTypeOne one = (enumTypeOne) Enum.Parse(Type.GetType("enumTypeOne"), o.ToString()); return one; } public enumTypeTwo GetOTwo(object o) { enumTypeTwo one = (enumTypeTwo) Enum.Parse(Type.GetType("enumTypeTwo"), o.ToString()); return two; } Can I have one generic function (which probably will take a reference argument to store the return value) which can achieve the functionality of both the fu ...Show All

  • Visual Studio Express Editions Cannot connect to SQL Server Express for the life of me

    I am pulling my hair out trying to connect to a SQL Server 2005 Express database in Visual C# Express 2005. It seems like it should all be a simple process, but it's amazing to me how frustrating this is. I have a SQL Server 2005 database on my machine, I'm going to Data > Add New Data Source in C# Express, I'm navigating to the Data folder in the SQL Server program files dir and trying to connect to the .mdf file, but I keep getting stuck trying to create the connection. For some reason my instance is MSSQLSERVER rather than SQLEXPRESS, but I already changed my config to reflect that. I've tried doing User Instance on/off, tried windows auth vs sql server auth, tried turning on named pipes and TCP access (with permissions given to 127. ...Show All

  • Visual Studio Express Editions idiots code book

    hi everyone, i am a beginner to vb as are many who post here, i am putting together a book that explains all code statements and explains how they work and what they are doing better then some of the books i have read. i there is anyone who can submit their error mesages and solutions that will be great, also i will be posting all kinds of command questions as i have already done to others on other posts and i would be gratefull for yoiur explanation comments. i want to start with accept changes why do i use it and wehn dio i use it, what is it for thanks I have actually written a book but it hasn't been published yet (and I don't know if it ever will be!). I would rather suggest that y ...Show All

  • Visual Studio 2008 (Pre-release) ImageBrush with video

    Hello all, I know how to brush an object with an image: Brush: <ImageBrush Stretch="Fill" x:Key="elipse1Brush"> <ImageBrush.ImageSource> <BitmapImage CacheOption="OnLoad" CreateOptions="IgnoreImageCache" UriSource="building.jpg"/> </ImageBrush.ImageSource> </ImageBrush> Object: <Ellipse Fill="{DynamicResource elipse1Brush}" Stroke="{x:Null}" x:Name="movieElipse_" Width="347" Height="187" Canvas.Left="105" Canvas.Top="70" TextElement.Foreground="{x:Null}" AllowDrop="False"> <Ellipse.BitmapEffect> <DropShadowBitmapEffect/> ...Show All

©2008 Software Development Network