Maruis Marais's Q&A profile
SQL Server Report Viewer Issue in Visual Studio 2005 Beta 2. for Microsoft Reporting Services
Hi I am trying to display Microsoft Reporting Service Reports from windows application. I have application window with Report viewer control. I have assigned valid path and URI from Server report properties in report viewer control. When I try to display the reports Error is " "The attempt to connect to the report server failed. Check your connection information and that the report server is compaitble version. The request failed w ...Show All
Visual Basic visual basic ide+compiler is a mess!
Hi, i have a solution with with 10+ projects (some in c# most in vb) and every time i try to debug inside a vb project i get about 50 annoying error dialogs telling me vbc is broken and the only way to escape from them is to kill visual studio and restart it. sometimes i get lucky and the ide crashes itself saving me from the pain of the never ending dialogs. now debugging is a pain and whats the use of the "edit and continue" if i can even debu ...Show All
Windows Forms Windows Form Treeview from XML????
I am trying to create a treeview using xml, but not sure how to properly do it the way I need. I read the tutorial http://www.csharphelp.com/archives3/archive510.html But I am not sure how to setup the XML to give me the look I want. I need it to look like below: MSHP Employees Staff Supervisors John Smith Joe Blow Staff Jane Doe Chris Johnson ...Show All
Visual Studio Express Editions Installing VS2005 over trial edition
Hello, I received the trial edition of VS2005 a few months ago and recently purchased the professional edition and need to install it as time is running out on my trial. I used the trial edition with a few SDKs and dlls without really worrying about keeping track of them (I assumed the upgrade was a simple registration key change, not another install). Will the install of the paid edition wipe all of this out I also assume I don't have to ...Show All
Windows Forms ToolStripMenuItem questions
I've got a couple of (hopefully) simple questions on using the ToolStripMenuItem in conjunction with a ContextMenu in VS 2005. First, I need to change the font color, not only when it's selected, but before it's selected. I need some menu items to be green and some to be blue. I also need to make my context menus support multiple select, so on any given menu or sub menu, the user can pick an item, and instead of the menu closing, that item gets ...Show All
SQL Server Error in convert function
I use convert to work with Hijri functions when i write select convert (datetime,'29-10-1426',131) the result is correct 2005-12-01 00:00:00.000 when I increase the date by one select convert (datetime,'30-10-1426',131) I get Server: Msg 242, Level 16, State 3, Line 1 The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. Why and how i solve it As far as I know, the month 10 in Hi ...Show All
Windows Forms Horizontal divider line in Combo Box
This would seem to be a simple task but I can't seem to find a way to do it except to implement some seriously complicated Windows MenuEx API stuff - All I want to do is insert a horizontal divider in a combo dropdown box, to give visual separation between groups of items. My purpose really is that the items in the box will be fluid, except for a certain set of items which are special items that will always be there. Using VB2005, .NET 2.0 ...Show All
SQL Server Suspect Mode (no visual cue in SSMS)
When a database was in suspect mode in SQL 2000 E.M., the database turned grey and had (suspect) next to it. In SQL 2005 SSMS there is no visual indication as to when a database is in suspect mode. Is there a setting somewhere to emulate the previous behavior ...Show All
Visual C# ListView OwnerDraw and Custom Background
I am failing in finding a way to use the new ListView.OwnerDraw=true and render a custom background. - ListView.BackgroundImage is too simplistic for our needs. - SetStyle(ControlStyles.UserPaint, true); causes OnPaint and OnPaintBackground to fire *after* OnDrawItem, erasing any custom Item rendering. Am I missing a way to custom draw a ListView background while using the new-fangled OwnerDraw ...Show All
Visual Basic HTML Help Workshop
I need to write help files for 3 new VB forms. How shoud I do this (First Time) This is a very open ended question. What should you do Read the overview documentation with the product and help files (they are there to help you with the product strange though that might seem) Get some more resources http://www.beansoftware.com/ASP.NET-Tutorials/HTML-Help-Workshop.aspx http://www.amazon.com/gp/product/1572316039/002-1286 ...Show All
Windows Forms Install MSDE as a part of setup?
Hi, I need to install MSDE as a part of setup of my application. Setup must check if MSDE/SQL server are installed on local PC. If yes, setup must skip intalling of MSDE, otherwise it will instal MSDE in the background. How to do that Thank's Alexei Hi, I have found another way to check if SQL/MSDE is installed on computer. This can be done by ODBC. There is a code: [DllImport("odbc32.dll")] private static extern short SQ ...Show All
Visual Basic Bug in For .. Next with Single data type
Try the following simple code, by stepping through: Dim S As Single, T As Single For S = 16777214 To 16777218 T = S - 16777214 Next S Once S reaches 16'777'216 (hex FFFFFF) it will stop incrementing in the for..next loop, consequently T will remain at 2 I have the following System: Windows XP Professional, Version 2002, Service Pack 1, CPU is Pentium 4 CPU 2.4 GHz, CPU-Driver Microsoft processr.sys Ver ...Show All
Smart Device Development Serial Number on PPC 2003 HELP!!!!
Someone knows how can i get the serial number en a pocket pc 2003 second edition (the 2002 way doesn’t work, calling .exe). i’m developing with embedded c++ 4.0. Thanks in advance. Guillermo. I have created an application that retrieves Device ID, using KernelIoControl, and that too successfully. Thats why I pointed out to use the API. Is there any problem/error that the API is giving ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Apply shader in stencil shadows
Hi, i've been trying to solve this for 5 days but i can't: the DX Sdk(June 2005) Stencil Shadow example use a shader for shadow, what for and how i can f.i. apply a texture to the shadow ...Show All
Visual C# pre vs. post increment and operator overloading
I wrote a trivial class to test operator overloading - see below. In Main() I post increment and assign an int. The assignment happens before the increment - no suprise. I then perform the equivalent operation on the Test class instance and the assert fails. Can someone tell me why Cheers. using System; using System.Diagnostics; namespace test_overloading { class Test { privat ...Show All
