Anup Shah's Q&A profile
Windows Forms CrystalDecisions:Logon Failed
Trying to Launch CR Viewer in .Net..Getting the same Error Message.... "CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed." It does work with SQL Server and ODBC but not with Oracle Client...Not sure where i am doing wrong...My Code is " protected CrystalD ...Show All
Windows Forms Listbox Databinding question
OK, I know this sounds very simplistic, I've searched all over the net for it, but I can't find anything on it. How do you databind a datareader to the contents of a listbox In webforms, I know how to do it by using the databind met ...Show All
Visual C# BUG?? custom events
Hi, I'm using visual c# express '05 Beta, I added a custom event to my custom control and it didn't show up in properties, I added code to handle manually in the main form, everyting runs fine when executed but the design view for the main form shows Error: The type 'CleanTuneFinder.TuneInputControl' has no event named 'FocusNotNeeded'. (it shows up as a warning on the bottom). S o now the "visual" part is go ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is better to declare as class level variables?
I'm working off from Derek Pierson's tutorial series, and in his Skybox Render() sub he declares these matrix variables and assigns these other properties. Dim worldMatrix As Matrix = Matrix.Identity Dim viewMatrix As Matrix viewMatrix.M41 = 0.0F viewMatrix.M42 = 0.0F viewMatrix.M43 = 0.0F Since they don't ever change during application run, I was thinking they should be declared just once as class level in ...Show All
Visual Studio Team System Code Analysis Check-in Policy Fails after a clean build
Question: Why does the Policy Warnings tab of my Pending Changes window contain a Code Analysis error message for a project that has just been rebuilt without error or warning Background: I have a Team project that contains one Visual Studio Solution with four Visual Studio Projects. I have enabled Code Analysis for all projects with just one rule enabled (CA1000). I have also set a checkin policy for the Team Project to in ...Show All
Smart Device Development Combobox bug using Windows Mobile emulator
I have an application that uses a combobox's selectedindexchanged property to make a second combo box visible. When the first Combobox is populated with an item list everything works correctly. However when the first combobox is populated via a datasource form a Windows Mobile SQL table, the second Combobox becomes visible the instant the form is loaded. Obviously I don't want to see the second Combobox until after the first one is populated as ...Show All
Visual Studio Team System Mapping between FxCop Rules and .NET Design Guidelines
Is it planned to implement a mapping between FxCop Rules and the "real" MSDN .NET Design Guidelines (Could be a table on some web page or something in the FxCop CHM). Regards Micha The version is identical to the standalone release, with the caveat that there is some difference in the rule set. The spelling rules are missing from VS and VS contains a new assembly for Maintainability rules that don't ship in the ...Show All
Visual Basic Most wanted code snippets and resources
Hi Everyone, We'd like to hear your ideas and opinions on Intellisense Code Snippets . - Which new code snippets would be most useful - Which code-snippet categories already in Visual Studio would need additional code snippets - What new snippet categories would you add to the ones already in Visual Studio - Which code snippet resources would you find most useful in your everyday experience using, authorin ...Show All
Visual Studio 2008 (Pre-release) MediaElement and VPC question
Does MediaElement have an issue with playing an AVI file when the app is in a VPC I installed the CTP on the VPC and found that MediaElement does not work. My best guess is that the VPC's default graphics drivers may not be compatible with MediaElement. is that the case Here's the XAML I used :- <MediaElement Width="100" Height="100" Source="c:\\windows\\clock.avi" LoadedBehavior="Play" S ...Show All
.NET Development HTTP status 401: Access Denied
I am trying to programtically execute an MS SQL Server Reports Server Service in a web application. " /ReportServer/ReportService.asmx">http://<Server>/ReportServer/ReportService.asmx " I am receiving an "The request failed with HTTP status 401: Access Denied." I have tried using "DefaultCredentials" and Network Credentials that have local administrator rights on the Report Server computer. Below is the code I am executing. This same code ...Show All
Visual Basic ERROR: Unrecoverable build error when building Setup project in VS.Net 2005
Hello, Somebody, please help me out, I got "Unrecoverable build error" when building setup project. I try the solution in http://support.microsoft.com/kb/329214/EN-US/ but did not work out. I am totally stuck. Please, your any information, solution will be very much appreciated. Thanks! Yi-an This worked for me: Mergemod.dll is not registered correctly To resolve this problem, register Mergem ...Show All
Software Development for Windows Vista Installing Windows Workflow Foundation Beta 1
There have been several threads with questions about installing Windows Workflow Foundation Beta 1. I'm hoping to summarize the installation instructions for anyone else that might be having trouble. These instructions are also available on the WindowsWorkflow.net community site here . James Conard Architect Evangelist - Windows Workflow Foundation http://www.WindowsWorkflow.net http://blogs.msdn.com/jamescon ...Show All
Visual Basic Change Border Color
Hello good day! I jst would like to ask anybody who knows how to change the border color of a textbox at run-time. What i mean here is i already have textboxes on my form at design time, and want to change their border colors. i am using vb.net 2005. Thanks for any help. How about creating the textbox es with a border style of none and then drawing the rectangles yourself in the OnPaint event of th ...Show All
Visual Basic addtional note
Hi, I have this form in VB6 that is pretty useful and I'm tryng to migrate it to VB2005. This form receive a query as parameter as well as arrays of width colums and aligments. The query fills a Grid, and, for each column, a TextBox is created and will be used as a filter. Each TextBox is set with the arrays of width and aligment. Since control arrays are no longer supported in VB2005, I'll probably use IList or Control Collection howev ...Show All
SQL Server Crystal Reports driver for SQL Server 2005
I use Crystal Reports with SQL Server 2005. Which driver (ODBC or OLEDB) should be used when connecting Crystal Reports to SQL Server 2005. Business Object support forum has an article (which is old) says to use ODBC. That it is faster than OLEDB. They have a more recent article which state to also use ODBC when upgrading Crystal Reports 8.5 to XI and connecting to SQL Server. But then I read the OLEDB is the new interface and should be used ...Show All
