Roy Jackaman's Q&A profile
Visual Studio Team System How can I encode a POST body in a coded webtest?
This is my feable attempt: byte [] cmdBytes = Encoding .UTF8.GetBytes(strBody); Stream st = request1Body.GetBodyStream(); st.Write(cmdBytes, 0, cmdBytes.Length); st.Flush(); st.Close(); Throwing the following exception: {"Memory stream is not expandable."} Awesome! Thanks again Josh. This is extremely useful for emulating mobile application requests which require encryption and compression. ...Show All
Software Development for Windows Vista Monitoring sample in Beta1
Hi we were successfully able to download and run the monitoring sample from Beta1 ms-help://MS.WinWF.v1.EN/WinWF_Samples/html/4f70c1c5-f82d-4d5f-8b7d-943b9f99f8e2.htm#Topic2 But we had an issue in the Workflow view pane which dislayed the following error message: "Error loading the workflow definition from the tracking database or error processing the workflow definition. Be sure that all workflow and activity types can be loaded - e. ...Show All
Visual C++ Strange C2664 in VC 7.1, VC8
Hi, While porting some C++ code from VC7 to VC8 (2005.NET) I encountered a strange version of compiler error C2664. The actual code was of course much more complicated, but I have managed to reduce the problem to this 40-liner: // CODE BEGIN class Class1 { public: virtual Class1 * Copy() const = 0; }; class Class1Deriv : public Class1 { public: Class1 * Copy() const { return (Class1 *)(new Class1Der ...Show All
Visual Studio 2008 (Pre-release) How to load a resourcedictionary from xaml file
Hi, I have a resource file called skin.xaml. I am using the following code to create the ResouceDictionnary. ResourceDictionary res = new ResourceDictionary (); res.Source = new Uri( "StandardSkin.xaml" ); => parser error. Any suggestions thanks/chong I found the solution. using ( FileStream fs = new FileStream ( "StandardSkin.xaml" , FileMode .Open, ...Show All
Windows Forms Creating a Bindable Control
I've been searching and can't find anything on the subject. I'd like to make a control that has a DataSource, ValueMember & DisplayMember just like all the regular WindowsForms Controls. Is there a standard way of doing this Any links&n ...Show All
Windows Forms windows forms datagrid
I would like * a "row selection only" option in most cases, I use the grid as a simple lookup table. It would be nice to be able to turn off the cell selection and navigation options and have a simple "read only", "row  ...Show All
Visual Studio Tools for Office Normal.dot changed when opening word..... WHY??
My addinn is doing something strange... When I open word - doing nothing - and try to close word I get a question about saving changes made to Normal.dot. It seems like my addinn (a button offering the user to save the document in another archiving system) markes the normal.dot as changed... Any suggestions Sometimes it also seems like it does the same thing if I open an existing document... neoret ...Show All
Windows Search Technologies WDS(BETA2) ,IE7(beta) and OneNote 2007
Good Morning All, My question is twofold. I am running XP(sp2), IE7 and OneNote2007. When accesing OneNote it states I have to download/install WDS 3. I do the download, but WDS wont load or start. I have tried numerous times (rebooting, clean istalls of XP, Office and WDS) with no luck. Any suggeations Any help will be appreciated. John Smith Hi John, The 3.0 beta doesn't "start" like previo ...Show All
SQL Server Doubt in Select query
hai.. am havinf a table like.. tblMonths mon years Jan 2000 Feb 2003 Mar 2004 May 2005 No i want a query to give o/p as... jan feb mar may 2000 2003 2004 2005 Please help me... Regards, Satheesh You can use below query in SQL Server 70/2000. select min(case t.mon whe ...Show All
SQL Server Error Msg 141 on Bulk Insert
I've got the following SP to automatically insert all files in a directory into the database: SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE Imp_Header_PO_sp @FilePath varchar ( 1000 ) = 'D:\EBT\Outbound\' , @WIPPath varchar ( 1000 ) = 'D:\EBT\Outbound\WIP' , @ArchivePath varchar ( 1000 ) = 'D:\EBT\Outbound\Archive' , @FileNameMask varchar ( 1000 ) = '*Header.tx ...Show All
Visual C++ Help with visual beta 2
Im in a CS class using the microsoft visual studio 8 beta 2 as our program. last year we used lawence press libs and we cant use those in beta any suggestions Hi, I've looked at the libraries you linked to and it seems that they have been designed back in 1997 for Visual C++ 6.0. Since that release, we have made tremendous improvements in the product, specifically in the realm of standards conformance. Thus, the primary reason for the libr ...Show All
SQL Server Data Flow Task Problem
I have a Windows XP X64 machine with SQL 2005 Developer and VS 2005 Team Edition for Architects on it. For the most part it appears that all normal VS and SQL functions are working properly with the exception of SSIS. If I open the developer studio and drag a Data Flow Task onto the design surface I get the message below. I have tried doing an unistall and reinstall of Integration Services as well as a repair on VS 2005 with no success. I've sea ...Show All
SQL Server not able to login in other computers!
I'm developing with Visual Studio 2005 Standard Edition and SQL Server 2005 Express Edition, my problem is that as default SQL Server Express uses windows authentication. Since I develop in my own PC and install the software in another PC, my SQL Server Database is useless cause it still tries to log in wih my computer name and windows user. I'm using a conventional intallation project in which I include all the files (fonts, project output) ...Show All
Visual Studio Express Editions C++/JNI and unresolved external symbol(s)
Hello. Any help would be greatly appreciated. I keep running into linker errors like the following: MyMathFuncsJNI.obj : error LNK2019: unresolved external symbol "protected: static double __stdcall MathFuncs::MyMathFuncs::Add(double,double)" ( Add@MyMathFuncs@MathFuncs@@KGNNN@Z) referenced in function "public: static double __stdcall MathFuncs::MyMathFuncs::add(double,double)" ( add@MyMathFuncs@MathFuncs@@SGNNN@Z ) ...Show All
SQL Server Cannot Load SQLSpars.dll
Hello, I have had numerous problems installing SQL Server 2005 on various machine. Most of those problems are related to insufficient rights to various users. But I am baffled by this one: Setup Failed: Could not load SQLSpars.dll Why would this happen I see this message after beginning the SQL Server 2005 Standard setup and making my installation selections and beginning the install. The process stops after about 30 seconds, and displa ...Show All
