break_r's Q&A profile
SQL Server Successfully Implemented expression-based query to workaround Oracle 8i problem
Can anyone help with a resolution to the error message below, or authoritatively confirm that the new multivalued report parameters feature of SQL Server 2005 Reporting Services does not work against an Oracle 8i database I am getting an error running a report using a multivalued report parameter mapped to an embedded query where the data source is an Oracle 8i database. However, the following error only occurs if I actually select more than one value from the multivalued report parameter's drop-down list: Query execution failed for data set 'DataSetStyleList'. ORA-12704: character set mismatch Note that the report runs fine ...Show All
Visual Studio Express Editions How do you insert a byte in a string (without expansion)?
Is there any way to insert a byte in a string without this byte being converted to more ASCII characters For example: Dim A As Byte = 85 ' This is an ASCII "U" Dim S As String = "Start " S = S & A In this case, VB tries to be intelligent and insert two characters - 8 and 5 - inserted of one byte - the ASCII U. The result is therefore "Start 85" instead of "Start U". Is there any way to prevent this automatic expansion The reason for the question is that I have a program, which displays received bytes from a serial port as Hex output to a TextBox. Today it is done by means of two 1 ...Show All
.NET Development Screen Size
I have an app in VB .Net that I utilize on all user's desktop as a desktop interfeace with shortcuts and what not on it. Not a big fan of it, but it is a directive I was given. The question I have is when I open the form, I do a "maximize" so it covers the desktop. However, it when it expands, it also covers the taskbar at the bottom of the screen. The user has to press the window key of CTRL-ESC in order to get to the Start Button. Is there a way to reduce the maxmize size so that it does not cover the start menu I know it is a dumbe question, I am very new to the whole Programming world. Thank you Todd ...Show All
Visual Studio Team System Exceptions in unit tests in secondary threads kills vstesthost
Hi, I was told at the PDC to log this issue here. I have some asynchronous APIs like BeginWork(). I am writing some unit tests for these APIs. These APIs create threads to do the work and fire events to signify that work is complete. If there are uncaught exceptions in these secondary threads, VsTestHost dies without performing any further unit tests in the list which have not been executed yet. I wanted to know if this is a bug. If it is not, is there a workaround Thanks Pawan Pawan, Yes, as a workaround you can enable legacy unhandled exception exception handling by doing the following in vstesthost.exe.co ...Show All
Visual Basic Comparing 2 strings at character level
I am looking for a way to compare 2 strings and calculate the number of differences between them using visual basic Example compare "THE NETHERLANDS" WITH "THA NOTTHERLENDS" should give back an value of 4 based on 1) "E" in first string position 3 does not match with "A" in second string position 3 2) "E" in first string position 6 does not match with "O" in second string position 6 3) Extra character "T" found on position 8 of string 2 4) "A" in first string position 12 does not match with "E" in second string position 13 Can anyon ...Show All
Visual Studio Team System TFS Explorer default settings...
Is there a way to alter the default radio button option when checking out from the first option (lock etc.) to the middle option (Check-out). Also, things like file associations... I want to open XML files with the viewer/editor specified in my Windows Explorer file association settings, not the built-in XML Editor. Is there a way to do this Also, I saved some Word documents as XML, but instead of opening with Word like it does from Windoes Explorer, double clicking within TFS explorer launches the VStudio XML Editor :(. Had to save back to .doc etc...). Is there "open with " type functionality available somehow ...Show All
Visual C++ Help Needed : Error using a DLL after compiling with /CLR
I'm trying to take an old(er) C Win32 app and move towards managed C++ (C++/CLI). I have successfully made the modifications to the code to bring it up to C++ specs. I will compile/link and run just fine as C++. I can compile it as C++ code, but when I make the move to managed (via the /CLR) compiler switch I have *one* problem. The program uses many dll's.. some written in house some 3rd party. All the inhouse and most of the 3rd party dll's work fine, but I can not get a Crystal Reports dll to work. (Crystal Reports 5.0) Specifically when the code calls PEOpenEngine() I receive an error(512). This error just tells me that the "Print E ...Show All
SQL Server killing sqlservr.exe from sqlclr code
I keep getting different answers from different people on regarding if you can or cannot kill the hosting sql server process with an unsafe assembly. Can you do this If so could you please attach a sample demonstrating this Thanks, Derek Is this simple enough public static void killsql() { System.Environment.Exit(-1); } Steven ...Show All
SQL Server Cannot view actual report
Hi, I am using the reportviewer control the following way <% @ Page Language ="C#" AutoEventWireup ="true" CodeFile ="RenderReport.aspx.cs" Inherits ="pages_RenderReport" Title ="View Report" %> <% @ Register Assembly ="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace ="Microsoft.Reporting.WebForms" TagPrefix ="rsweb" %> < html runat ="server"> < head runat =server></ head > < body > < form runat =server ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Cylindrically project 2d image
HI I want to project 2d flat image cylindrically on mesh object. E.g., on cat or Dog face. I am using managed directX Can anyone help me on this manner thnx The article is up http://msdn.microsoft.com/coding4fun/gamedevelopment/zmanTextures3/default.aspx ...Show All
Visual Studio Team System Another event log error
Is there any reason I get this error in the System event log Event ID: 10016 User: NT AUTHORITY\NETWORK SERVICE The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {BA126AD1-2166-11D1-B1D0-00805FC1270E} to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20). This security permission can be modified using the Component Services administrative tool. The CLSID you referenced is the GUID for the Netman. These pages may offer some assistance: http://www.tek-tips.com/viewthread.cfm qid=1042889&page=10 htt ...Show All
Smart Device Development VFP & Pocket PC
Dear experts, I have working with VFP for ten years and never programmed in other language. Any suggestion to which language should I used at the mobile side for a shortest learning curve Thank you in advance. I also do VFP work, but spend most of my time with mobile C++ projects. Take a look at VB for mobile devices (assuming MS is still supporting it), as it is not as strongly typed as C#. ...Show All
SQL Server Bar graphic chart is not in the same order with data table
Hi All, I have a very simple bar-graphic report that has the following data: Sale Region Total Sale A 1,000,000 B 350,000 On the table, the data is sort by the Sale Region, so the A would come before the B. But on the bar-chart, the B is always displayed before the A. If it is a vertical bar chart, and then the B is on the left, the A is on the right. And if it's a hoz. bar chart, the B bar is on the top, and the A bar is on the bottom. I try to modify the RDL to make the bars displayed in order, but failed after many tries. Here is the RDL code that I wrote in an attempt to make ...Show All
.NET Development What happens underneath the BulkCopy Object of ADO.NET 2.0
Hi , Does someknow how does new Bulkcopy work in ADO.NET 2.0 What happens underneath because of which the performance gets better with BulkCopy Regards, Anjana Yeah, there should be another event that you can trap the invalid row, similar to the SqlRowsCopied event except you can access the invalid row and possibly try to correct it. It should have the SqlException or whatever as an inner exception, and also be able to specify whether to retry, skip, or abort (or maybe even try an update instead of an insert for that row) via the EventArgs similar to SqlRowsCopiedEventArgs.Abort. Possibly a wrapper class (since you c ...Show All
Visual C# Compiler Warning CS0467
In the following, I get a compiler warning (with VS2005 Beta 2, but not VS2003) on the Close() call. I'm using a reference to Microsoft Word 9.0 Object Library. Word. ApplicationClass WordApp = new Word. ApplicationClass (); object missing = System.Reflection. Missing .Value; Word. Document aDoc = WordApp.Documents.Add( ref missing, ref missing, ref missing, ref missing); aDoc.Close( ref missing, ref missing, ref missing); WordApp.Quit( ref missing, ref missing, ref missing); The warning is: Warning 1 Ambiguity between method 'Word._Document.Close(ref object, ref object, ref object)' and n ...Show All
