MNJ(m-studio)'s Q&A profile
Visual Studio Addition to main_castle.xsl for tables for lists
I added the following to the bottom of main_castle.xsl for Sandcastle to create nice looking tables/lists for the <list> elements in your xml documentation. It's not complete, but it's a start. < xsl:template match = " list " > < xsl:choose > < xsl:when test = " @type='table' " > < table class = " authoredTable " > < xsl:apply-templates select = " listheader " /> < xsl:apply-templates select = " item " /> </ table > </ xsl:when > < xsl:when test = " @type='bullet' " > < ul > < xsl:apply-templates /><!-- select="item" /> --> </ ul > ...Show All
SQL Server Is it possible to have more than one table footer rows ?
Well, we can add another table footer row by right-clicking on the footer row of the table and select, Inser Row Above, or, Insert Row Below. But, I want to set different values to same properties of rows. Such as; Row3.RepeatOnNewPage = False Row4.RepeatOnNewPage = True What do you say -SMang the Frustrated Developer SMang, You can't hide your table rows independently with the RepeatOnNewPage, but you can set the rows "hidden" property to true or false. The catch here is that you will need to tie it to a toggle item. Ham ...Show All
Visual Studio Team System How to Switch Team Suite Versions
I have team suite installed. When I first ran it, I was prompted to select an edition. I chose Team Edition for Architects. I assumed that this would allow me to do everything that Team Edition for Developer would do but would arrange the menus items differently. However, this is not the case. I now wish to work with Team Edition for Developers. How can I get Visual Studio to prompt me again for which version I wish to work with Any help would be greatly appreciated. thanks, Will Are you sure that's what it prompted you for The reason I ask is that the different editions are not mutually exclusive - installing a Team Edition simply installs VS Pro, then installs the Team Edition add-ons ...Show All
Visual Studio problem when following "Walkthrough: Creating and Running Text Templates"
Guys, I am new to your dsl tool, and I am trying to follow the workthroughs in the Help. I am stuck at the "Walkthrough: Creating and Running Text Templates" where I keep getting the same error when trying to run the Custom tool on the text template copied and pasted from the Help: Error 1 The processor named 'ClassDiagramExampleDirectiveProcessor' does not support the directive named 'modelRoot'. The transformation will not be run. C:\Documents and Settings\chuijh.AHNTDOM1\My Documents\Visual Studio 2005\Projects\ClassDiagramExample\Debugging\TextFile1.txt 2 4 Debugging Did I miss something here Joe Hi Joe, make sure your LibraryCode.tt (pay attention, file name is L ...Show All
Visual C++ error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRTD.lib
Hello, I am pretty new on VC ++ 2005. I use VC++ 2005 and created a Win32 console application. I got the error messages: Error 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRTD.lib Error 2 fatal error LNK1120: 1 unresolved externals C:\C++ Projects\ImageStore\Debug\ImageStore.exe 1 Here is the code. Thanks in advance! //Imagestore.cpp #using #using using namespace System; using namespace System::Collections::Generic; using namespace System::Text; using namespace System::Data; using namespace System::Data::SqlClient; using namespace System::IO; namespace ImageStore { private ref class Class1 { public: static int Main(array ^args) { int errorCode = 0; Class1 ^oMain = gcnew Cl ...Show All
Visual Studio Updating to the 2.0 SDK
I'm wondering what I have to do to get the 2.0 SDK functional on my Computer. I have SDK v1.1 on and running Visual Studios 2003. I have downloaded and ran the dotnetfix.exe which should install necessary things to run 2.0 applications. But I need the ful SDK (also downloaded) so that I can build using some of the newer classes. When I installed the SDK 2.0 the first time, it came up in the 'Add/Remove Programs' window, but the VS2003 failed to recognize it. Any suggestions in order to use .NET 2.0 you need to have VS2005 as VS2003 does not support .NET 2.0 or higher, only .NET 1.1 either purchase the full verson of VS2005, or the upgrade, or download the Express editions for free for life ...Show All
.NET Development USB access over TCP/IP network
Hi, Sorry if this might be off topic here but I wanted to know if we can access a USB device over a network. I would appreciate any pointers/links to code Thanks in advance tribal The following product might do what your are looking for: http://www.fabulatech.com/usb-over-network.html Michael ...Show All
Visual C# wanting to right click within FileListBox and change Form title text to selected file.
how do I access the title bar of the frmTest below thx. -greg namespace TestExplorer { public class frmTest : System.Windows.Forms. Form private void fileListBox1_MouseClick( object sender, MouseEventArgs e) { frmTest . = this .fileListBox1.SelectedItem.ToString; } Thank you Brendan. When do the following, I get the following error on the fine that contains frmTest.Text private void fileListBox1_MouseClick( object sender, MouseEventArgs e){ frmTest .Text = "hello" ; } Error 1 An object reference is required for the nonstatic field, method, or property 'System.Windows.Forms.Control.Text.get' C:\protos\windows ...Show All
Visual Studio Example code and it's language
How do I place example code in a code file that is language specific. For example: public class MyTester() { <SUMMARY>Test Method</SUMMARY> <EXAMPLE> <PARA>C#</PARA> <CODE> MyTester tester = new MyTester(); test.Test(); </CODE> <PARA>VB</PARA> <CODE> Dim tester As MyTester = New MyTester() test.Test() </CODE> </EXAMPLE> public void Test() {} } I would like to be able to do this so that users of my documentation can filter on the language which they want to see. I have noticed that the MSDN site works this way which leds me to believe that it can be done. Can some one shed some light on how this is done. Thanks John Hi ...Show All
Visual FoxPro MyEditor (Edit Control) Validation in VFP-9: STOPPING Menus, etc?
I'm trying to *stay within myEdit control(s)* until *pProcessing* is finished. I seek *better ways*, per se, from any of you (besides making the form(s) modal). Here are some of my awkward (non-bulletproof) workarounds. In myEditor.VALID ... If pProcessing This.SetFocus * Return .F. Endif To STOP Menus... In _msysmenu: set skip for pProcessing (for every menu bar()... ) OR SET SYSMENU SAVE SET SYSMENU TO ...when pProcessing is finished SET SYSMENU TO DEFAULT (I'd prefer to make _MSYSMENU/SYSMENU just *freeze* ... in a modal (myForm.windowtype=1) manner and not have it *blink* off and on ) To prevent oApp.oToolbar... If pProcessing oApp.oToolbar.enabled=.F. Endif Hiding forms until pProcessing is completed, Etc. Etc. Thanks in adv ...Show All
Internet Explorer Development Problems with Document.Write
How do I add extra data to an HTML file using JavaScript after the document has finished loading I've tried document.write() and document.writeIn(), but they both make a new document and add the data to that. Any ideas Hi, Rather than using document.write you shoudl look at DOM methods such as innerHTML or createElement to create the HTML adn then insert it into the document where you wish. Thanks -Dave ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Sprites reverse model winding?
Has anybody had the problem of their models winding going backward when a sprite is drawn to the screen Is there a fix, or did I miss something Thanks! The SpriteBatch is fiddling with the RenderState, specify SaveState in your SpriteBatch.Begin call and all is well :-): MySpriteBatch.Begin( SpriteBlendMode .AlphaBlend, SpriteSortMode .BackToFront, SaveStateMode .SaveState); ...Show All
Software Development for Windows Vista show SWF with Directshow
Hi how can i render swf file with direct show in C#, Please help me if you know about it or you have any sample code. Tanks I'm doing a similar project, putting a TV Tuner window on a form with some browser windows. If you would like to collaborate and share information then email me as two-thousand six at ronhudson dot-you-know-what. I have everything working except the audio. ...Show All
SQL Server Problem with MSAccess and executing a DTS package via VBA - returns column headings only
I wonder if anyone can help with this. I have searched around and not found much on the topic which can resolve my problem. History on the reason for using VBA and not C# or VB or VB.net etc. Whn I arrived at this company, there were no development tools so had to resort to Access and VBA. Of course, the routines I wrote are now set in production and I haven't had much time to convert them to c# and ASP.NET (which I have learnt over the past couple of years). Anyway the problem is that I found on the SQLDTS.com site that I could in fact create and execute DTS packages within VB and followed the examples and got this working in VBA. Of course I created the DTS first and then saved it as VB, then used the resulting code with the VBA pr ...Show All
SQL Server For security reasons DTD is prohibited in this XML document
I have seen one other post about this and using IP addressing rather that DNS names - I am using DNS. I have a large report that runs fine in report manager, but as soon as I try and export it to Excel it takes an age to run and I get the above error. Any ideas anyone Oh, and I export loads of other reports to Excel with no problems on the same server. This is now happening on a large number of reports in our reporting regime. Does anyone have a clue as to whats causing this Server is Windopws 2003 SP1, all clients are Windows XP SP2 ...Show All
