c-breeze's Q&A profile
Visual C# Generating HTML or CHM files via XML Comments
Is there an option in Visual Studio 2005 that allows me to export all of my XML comments into a CHM or HTML file visually similar to the online MSDN library I know that there is nDoc and DOxygen, and other third party tools (none of which work well with .NET 2.0 btw), but I would think that with VS 2005, MSoft would finally include their own way of doing something like this. I'm sorry if you took my reply the wrong way, haha! I never meant anything towards you:) In fact, thanks for the info. I was just venting because Msoft has had Visual Studio out for how long now, and is only now getting to a documentation tool ...Show All
.NET Development Invalid attempt to read when no data is present.
Why I am getting Invalid attempt to read when no data is present this is my stored procedure followed by the code.. STORED PROCEDURE: USE shefa set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: <Author,,Name> -- Create date: <Create Date,,> -- Description: <Description,,> -- ============================================= ALTER PROCEDURE [dbo].[sp_get_user] @login_user_id varchar(255), @login_password varchar(255) AS BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON; SELECT * FROM persons WHERE login_user_id = @login_user_id AND login_password = @login_password AND is_staff = 'Y' A ...Show All
Software Development for Windows Vista Markup with ComposityActivities
Hi, I have the following scenario: I have a custom activity named BaseActivity. This acivity has a DependencyProperty string name. I have a custom activity named ComposityActivity. This activity is a sequential activity which has two child activities: BaseActivity and CodeActivity. I create an instance of ComposityActivity and I set the property name to "Test", then I create an instance of SequentialWorkflowActivity and I add the instance of ComposityActivity. When I use WorkflowMarkupSerialize to write a XOML representation of the instance I lost que value of my string because it write something like: <SequenceActivity x:Name="SequenceActivity" etc...> <ns0:ComposityActivity:Name="composityActivi ...Show All
Smart Device Development Active Sync, Outlook and Mobile 5.0 - Making them work!
After much trial and tribulation I figured out the problem in syncronizing my computer and smart phone running Outlook and Windows Mobile 5.0. I hope this helps someone else.... 1. Delete Norton Internet Security - COMPLETELY. This is not the first time Norton has foiled me, but it will be the last. I had other problems with Norton when networking, but left it on one of my computers, BAD decision. I now run Trend Micro Internet security and it works great. 2. Disable ALL firewalls EXCEPT windows and make sure it has an exception for Active Sync. 2. Delete all OLD versions on Active sync and download FREE Active Sync 4.2 beta. Thats what got me on track! Good luck. Active ...Show All
Visual Studio Tools for Office problems with deployment of VSTO 2005 Excel application
I have created a VSTO 2005 Excel application. If I deploy it to the computer where VSTO 2005 development systems is installed the application works as designed. If I install it on another client (or under VPC2004 on the development computer) the setup routine is working without problems. When I start the application I get this problems: If I doubleclick the Excel file Excel starts, the workbook will load, after this the whole Excel will hang (hour glass). There is no error message or something else. The Microsoft VSTO client troubleshooter will show that all needed bascis are installed correctly. Who has a help I am closing this thread due to inactivity. If this is still an issue please open another thread. Regards, Dar ...Show All
Visual Basic Running a batch file
Is there a special way of running a batch file I have tried process.start but it is not working. The batch file works when I double click it but not when I try to run it through my program. Thank you, Troy L I guess the current directory is not set, simply by executing the batch in the directory of your executable. Put e.g. this at the end of your batch: dir . pause Then you will see, where your current directory is. You could try to either give your directory as parameter to the batch: Process.Start(Temp & "\unzip.bat", Temp) and use it like so in the bat: "%1\7z" e "%1\file.zip" -y or start 7z.exe directly: Process.Start(Temp & "\7z.exe", "e "" ...Show All
Software Development for Windows Vista Certified for Windows Vista - Test Cases (test 31)
Performing the test case 31 and running the application under the "Application Verifier 3.3" with the check necessary for the test, I receive from "Application Verifier" the error reported in the log: < xml version="1.0" encoding="UTF-8" standalone="no" > <avrf:logfile xmlns:avrf="Application Verifier"> <avrf:logSession TimeStarted="2007-01-17 : 16:53:32" PID="1724" Version="2"> <avrf:logEntry Time="2007-01-17 : 16:53:32" LayerName="Handles" StopCode="0x301" Severity="Error"> <avrf:message>Invalid TLS index used for current stack trace.</avrf:message> <avrf:paramete ...Show All
SQL Server Error: 18461, Severity: 14, State: 1
I'm moving the master & resource databases as described on MSDN... http://msdn2.microsoft.com/en-us/library/ms345408.aspx I've completed step 7... "Start the instance of SQL Server in master-only recovery mode...." and am up to step 8 which requires me to login to SQL Management Studio to run a query, but I receive the following error... Login failed for user 'sa'. Reason: Server is in single user mode. Only one administrator can connect at this time. (Microsoft SQL Server, Error: 18461) Further details produces... "Error: 18461, Severity: 14, State: 1" I have no other open connection that I can think of. Can anyone help In case anyone comes upon this posting, he ...Show All
Visual Studio Relative Path="..\..\" in VS2005 .vcproj file able to load from VSS but not check in/out.
This is the structure I have in VSS (6.0d): $/Solution/solution.sln $/Project/project.vcproj $/Tools32/Include/include.h After I open the solution.sln through VSS in VS2005, it loads the project.vcproject with all dependencies. It loads "include.h" from VSS, however, I'm not able to check in/out this file from VS2005 UI. the include.h file is referenced in the the project.vcproj as: <File RelativePath="..\..\Tools32\Include\include.h" > </File> Is there a way to fix this Thanks! Alin, I used your advice to get going. I still had to manually edit the .sln file to change all the projects in my solution to correctly bind. Thanks, ...Show All
SQL Server Could not create Maintenance Plan
Hello, if I try to create a Maintenance Plan from my local workstation I get the following Error Message: TITLE: Microsoft SQL Server Management Studio ------------------------------ The action you attempted to perform on a remote instance of SQL Server has failed because the action requires a SQL Server component that is not installed on the remote computer. To proceed, install SQL Server 2005 Management Tools on the remote computer, and then try again. For more information, see "How to: Install SQL Server 2005 (Setup)" in SQL Server 2005 Books Online, or find the article on MSDN at http://go.microsoft.com/fwlink/ LinkID=57083 . (ObjectExplorer) For help, click: http://go.microsoft.com/fwlink/ LinkID=57083 On my loca ...Show All
.NET Development file download problem (webclient)
Hi, im writing application updater. Almost everything works just fine, but e.BytesReceived in callBack returns just nothing. Im using .NET framework v2.0. long bytes = 0; WebClient client = new WebClient (); Uri uri = new Uri ( "http://127.0.0.1/update/system/" + address); client.DownloadFileAsync(uri, "temp\\" + address); client.DownloadProgressChanged += new DownloadProgressChangedEventHandler (DownloadProgressCallback); static void DownloadProgressCallback( object sender, DownloadProgressChangedEventArgs e) { bytes = e.BytesReceived; // null all the time } Thank you in advance. Thx for reply. Im writing this autoup ...Show All
Visual Studio Express Editions Debug problem: program wont stop a break points.
I have taken a program that i got from a tutorial that was written for visual c++ 6.0 I think. I clicked on the project and it imported it into 2005. I have tried to put break points in places in the program I know it hits but they don't stop the program. I also hover over these points and says program can reach them. Also when I recompile (clean then rebuild all) I see in the out put window No symbols loaded. which I think maybe the problem. I read in another post that someone had which they didn't get any symbols loaded and I checked the areas mentioned ther which were correct. Also, in borland c++ I was able to put in a statement (which I don't recall what the name of it was. that would print to the output window for the compiler. ...Show All
Visual Studio Team System History of merge's?
Is there any way to get history on if a particular changeset was merged into a particular branch If not, it would be nice if there is some way to pull this off. I guess if you had a work item associated you could relate both changes to the same work item, but sometimes there is not a direct correlation. In this case we don't use work items yet and a developer should have done a merge of changesets, but I can't think of an easy way to tell other than just try to compare files. Granted since merges involved manual steps to do merging, a merge may not be able to have a direct correlation with a changeset, since there may have been changes to the changeset to do the actual merge, it still would be an interesting view as it at least track ...Show All
Visual Studio Express Editions Programming InternetExplorer via Script
I know how to enter data and mouse clicks on IE pages with html source code, by using the following classes: Dim wbBrowser As New SHDocVw.InternetExplorer Dim HTMLDoc As MSHTML.HTMLDocument Dim iHTMLCol As MSHTML.IHTMLElementCollection Dim iHTMLEle As MSHTML.IHTMLElement However, I have encountered a number of pages whose source code is Script only. When I use the above objects on those pages no html elements are identified. (I myself am not able to identify any elements either) How can I enter data in those pages Thanks, Antonio ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Confused about 360 Screen Resolution
I made a simple Tetris clone in XNA Beta 1 and have recently come to port it to the 360. I'm really confused about how it's worked the screen resolution though. On the PC, it was a 640x480 game which is a 4:3 aspect ratio. I've deployed it to my Xbox and when I play it on my widescreen 16:9 TV it doesn't seem to get stretched like I imagined it would. The squares for each block are still square and not rectangular. Because of this I can only come to one conclusion, that the 360 is chopping off the bottom and the top of the game to make it fit the aspect ratio correctly. I also imagine that if I made the game in a 16:9 resolution that it would chop off the left and right to make it 4:3. Can anyone confirm that this is what is happening Now ...Show All
