Sephlock's Q&A profile
Smart Device Development Bug in VS 2003?
I recently posted regarding a TypeLoad exception in Microsoft.VisualBasic http://forums.microsoft.com/msdn/ShowPost.aspx PostID=113878 It appears that my findings have highlighted a bug in VS2003 is this the case Also my work around seems inconsistent sometimes its OK other times it doesn't have the desired effect. Any ideas Thanks in advance. Sure. Please remove "online" from my e-mail. Also, please rename VB files to .txt and pack it all with normal zip, that would let it pass antivirus filters. Thanks. ...Show All
SQL Server Instal Reporting Services on server with SharePoint Portal
Is this configuration supported and if it is, are there directions on the process to install these on the same server The only instructions I can find are for sharepoint, not portal on the same server as Reporting Services. ...Show All
Visual Studio 2008 (Pre-release) XmlDataProvider error in XAML
Hi. I'm trying to bind to some XML in an XmlDataProvider, defined declaratively in the XML thus: <XmlDataProvider x:Key="ImageData"> <data xmlns="" > <text>TEXT</text> </data> </XmlDataProvider> Cider's giving me an warning, saying the XML elements within the data provider are invalid child elements, and if I switch to design view I get an 'Error reading the designer file' message. If I take out the <data>...</data> XML, leaving the data p ...Show All
Visual C++ LNK1104: cannot open file libc.lib
I have a project built well with VC++ 6.0. The project is built with mutlti-threaded DLL and the project depends on 4 specific libraries and serveral rouge wave libraries. Now I try to build it with VS2005 and get the linking error "cannot open file libc.lib". It seems our specific libraries is built with single-threaded DLL, I am not sure, but that is what I want to find out. I used /VERBOSE to display the progress message, but couldn't find out which library depends on libc.lib. I added libc.lib into ignore specific library and got the 127 linking errors which are related to rouge wave libraries. The following are some errors: tls77-ms ...Show All
Software Development for Windows Vista Reloading the state machine instance from persistence in Tracking
I am trying to extend The Ordering State Machine example. I want the form to load all persisted workflows on start up, displaying each at their current state in the list view. I have implemented the SqlPersistenceService and the Tracking service successfully and both databases are being populated. As a test I am loading a persisted workflowInstance using its GUID WorkflowInstance CurrentInstance = theWorkflowRuntime.GetWorkflow(new System.Guid("63714370-9bd8-4ab3-9928-cc3c0b2c6696")); CurrentInstance.Load(); I have implemented the handler for the workf ...Show All
Visual Studio Progress bar/Pages
Can anyone help me. I'm writing a VB.NET Windows app that displays a crystal report. This is working great but i have a few questions on making look nice for the user. 1) The app i have made allows the user to get sales data on a supplier, now some suppliers will have more products than others and span over more than 1 page. So how do i get crystal reports viewer to display the number of pages 2) I need a progress bar/stsaus to show the report is running. Like if you run the report in Crystal Reports XI it will show ytou the progress in the bottom right. I Either need to display that or add a progress bar to the a ...Show All
SQL Server MIRROR database questions
Hello all. I was reading an article by Rich Heiges called Mirroring - A New Look at HA. It left me with 2 questions (A) Can I change the operating modes of the principal and mirror roles on the fly, or do I have to stop the MirROR process (B) It said that MIRROR supports 32-bit to 64-bit H/W interoperability -- but will it support interoperability between 32-bit and 64-bit instances of the database Thanks! For (A), you meant role-swithing (i.e. making mirror the principal and vice-versa). You can do manual fail over but this requires you to suspend mirroring. Active transactions are rolled back b ...Show All
Visual Studio ReferencePath vbproj.user options
On 01-19-2006, Faisal Mohamood (Program Manager|Visual Studio - MSBuild) said the following: >> A standard visual studio project will automatically import the user file into itself via the Microsoft.Common.targets - so all you have to do is drop the file next to the main project file. As an experiment, try this: Go to project properties page, and specify a reference path for the project, and save the project. You should then be able to see a .csproj.user or .vbproj.user file saved out by Visual Studio. Reference Paths is an example of customization that Visual Studio treats as a user specific property.<< We use the .user fi ...Show All
Windows Forms Problems binding to COM based SDK
I'm attempting to write a WIndows Forms UI for a Com based SDK. The SDK requires the creation of a session object from which object factories and data structures are available. Language: VisualBasic Visual Studio: 2002 .Net 1.0 One of the data structures returned is a list of objects to which I would like to bind some UI controls. Unfortunately I rec ...Show All
Windows Forms Show a txt file in a Textbox
How can I show a text file in a textbox I mean for example if I have a textbox in my program and I have a txt file in my computer and in the txt file writes "Hello" . I want a person to see "Hello" in my program's textbox when he/she opens my program. Here's a function to read text from a file for your toolkit. You use it like this if you want to put text in your textbox: TextBox1.Text = ReadTextFile("c:\test.txt"); using System.IO; public static string ReadTextFile( String mFile) { if ( File .Exists(mFile)) { using ( FileStream fs = new ...Show All
Visual C++ Embed UserControl in MFC
Hello Sir, My question is- Can we embed a usercontrol written in C# to a MFC window (without using CFormView and /clr options) If yes, then could you give me some tip to do that. - Thanks, Raj For mixing managed and unmanaged, you have to use the /CLR switch. Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Team System Large solution performance (Was: Useless output from TFS source control)
It pains me to see that even the new Team System source control writes the same pointless drivel to the Output window in visual studio: ---- Operation started at time 3:32:18 PM ---- ---- Operation completed successfully at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation completed successfully at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation started at time 3:32:19 PM ---- ---- Operation completed successfully at time 3:32:19 PM ---- ---- Operation started at time 3:32:19 PM ---- ---- Operation started at time 3:32:19 PM --- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Shader debugger + ... VS2005beta2?
I want to hear the answer from Microsoft representatives: does the "DX extensions for VS" (the most important for me is HLSL debugger) compatible with VS2005beta2 And if it is - what SDK version i should have to use it (now i only have June2005) There is a bug in VS2005 / DirectX-installer. If you only have VS2005 installed the installer program will not recognize that you have VS at all, and thereby the option to install the extentions aren't available. I resolved the problem by installing VS2003 as well, but there should be some sort of alternative way to get around the problem... ...Show All
Visual C++ Automation detection
I have an application that you can run through automation and that you can also run doing the standard double-click and it loads thing. well is there a variable or method i can query at any point during my application that will tell me whether or not the application is being run through automation or otherwise Thanks Will If you use the standard MFC way you have a command line with the /automatin option when started from OLE-automation The CCommandLineInfo class parses this parameter and setsthe flag m_bRunAutomated. ...Show All
.NET Development Side By Side Execution of 1.1 and 2.0
I'd like to hear from people that are running this in production for web sites. Do you have any prod servers running both web sites on 1.1 and 2.0 side by side How reliable is this Any issues or gotchas to be aware of MVP's what are you recommending a shop do to get going on 2.0 Should they buy a seperate production server and test server that runs 2.0 exclusively Doesn't 1.1 get installed by default with 2003 Any chance of security or auto-updates breaking one or the other's web sites Thank You Just wanted to follow up on this thread. We installed 1.1 and 2.0 side by side and have had no issues ...Show All
