Bard7's Q&A profile
SQL Server Customize QA - 'Script output as Execute'
Hi group, In QA there is an option called 'Script object as....' Were developing a lot of sp's. When I use this option the 'skeleton' of a sp is created. Eg Create proc uspMySP @Message varchar(10) AS SELECT @Message The mention option would generate the following: DECLARE @RC int DECLARE @Message varchar(10) -- Set parameter values EXEC @RC = [EMGLSP3].[EM3_OWN].[uspMySP] @Message The question: Is it possible to customize this I would like ...Show All
.NET Development How to compute processor queue length
Hi, Will you please suggest the some approaches in C# from which I can get the processor queue length performance counter. I have tried following approaches from using performancecounter class 1 counter.Nextvalue() when I tried to use NextValue() I got 0 2 (sample1.rawvalue - sample2. ...Show All
Windows Forms How do I add a control with code serialialization?
I want to programmatically add a Panel to a TabPage when the TabPage is added to the TabControl. The end result should be identical to the code produced when I add controls from the toolbox. When I do add the panel to th ...Show All
Windows Forms Treeview Bug
It is not possible to make a single node bold without the end of the node text being clipped. The work around this problem, I tried setting all nodes to bold and then setting all but one to regular. The problem now is that  ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XFileManager.FromFile
Has anyone attempted to work with the XFileManager class in DirectX managed I searched the boards and have not found reference to it. I am having problems with the FromFile method. More specifically, if I take a valid .X file (that I can successfully load into the DirectX Viewer) and attempt to load this same file using the FromFile method of the XFileManager, it throws a XFileErrorCodes.ParseError exception. XFileM ...Show All
Windows Forms browser & winform
I want to create a menu in plain html for my application. How do i launch a winform by clicking on those links(anchors) in the browser I am using framework 1.1. thanks for any advice You have to elevate the permissions level& ...Show All
.NET Development Public Variables that can be seen by Web Forms
Is there a way to set Public Variables that can be seen by Web Forms. Yes, but not all *.aspx items, just the aspx item I'm working on. Sorry about the terminology. I new to visual web development. ...Show All
Visual Studio Express Editions Printing Linebreak question
Can anyone show me some example code of how to break up lines of text for printing I want to know the most efficient way to take the text that was typed into a textbox and break it up if its too long to fit on one line for printing. I've been fooling around with this but I can't seem to figure anything out that would be elegant or efficient...and hopefully reusable. There's some usable code in this thread: ...Show All
Visual Studio WiX/MSI Task?
I was under the impression that there was going to be a WiX task for MSBuild. I can't, however, find any reference to it in any docs. Nor can I find anyone else who actually uses it. Am I wrong, is there no WiX task Can someone please confirm Thanks, Derek There's actually two sets of WiX MSBuild tasks that I know of. One is part of the WiX source distribution (though not with the binaries yet). The other is ...Show All
SQL Server Bulk Insert from Mapped Network Drive
Hi, I am trying to perform bulk insert using mapped network drive, but getting following error: Server: Msg 4861, Level 16, State 1, Line 1 Could not bulk insert because file ' F:\Download\MVY.b45 ' could not be opened. Operating system error code 5(Access is denied.). F is mapped network drive pointing to my SQL Database Server. While searching, i got the following link but not able to relate with my problem: http://support.microsoft.c ...Show All
.NET Development Use .net dll in VB6?
I want use a .net dll in vb6. I have registered dll with resgam. I have generated .tlb file. I have add in references tlb file. But when I run it tak error "File or asembly name xxxx , or one of its components, was not found". Before register with resgam the error was "ActiveX component can't create object". Do you know how use .net dlls in vb6 Thanks _______________ HipHop Directo Foros de musica ...Show All
Visual Studio Express Editions Help me with importing c++ dll functions.
Hi, Im trying to import these functions from vb.net but i dont know what WORD and so on would be in vb.net and how I would call them. ////////////////////////////////////////////////////////////////////// // Decrypt Message From FrontCode Peer Cache Server // // Parameters // pSrc : (IN) Message From Peer Cache Server. Buffer must be 132 bytes. // pDst : (OUT) Primary Node Addresses. Buffer must be 120 bytes. // // Remarks // Node Address St ...Show All
Smart Device Development WZCSetInterface under XP: setting the 8021.x authentication
Our application runs both on PDAs and tablet PCs. It uses a wireless connection to connect to the network and that sometimes needs to be set to a different SSID. On the Windows Mobile platform this is no problem, because we can use the WZC functions which are quite well documented ( http://msdn.microsoft.com/library/en-us/wceddk5/html/wce50grfAutomaticConfigurationsFunctions.asp frame=true ). Now, the same functions should work as well un ...Show All
Visual FoxPro Input mask for a spinner
I've defined an input mask for a spinner as $$99999.99 It displays the value $ 855.09 as $ 955.9 What am I doing wrong Thanks. I've defined an input mask for a spinner as $$99999.99 It displays the value $ 855.09 as $ 955.9 What am I doing wrong I tested this with a base class spinner bound to both numeric and currency fields and it worked flawlessly. Is you spinner a bound control(is the con ...Show All
Windows Forms Using ErrorProvider for multiple text boxes
I have a sample program that takes in change (money) amounts and converts them into the largest denominations possible (I teach VB.NET at a college and I made it up for my students to do). I am using the error provider to validate th ...Show All
