jn_joe's Q&A profile
SQL Server Error exporting a subreport to Excel!?
Hi All, I have a report sonsisting of two subreports. When I export it to Excel I get an Error!! I played around with it and I found out that if I use ReportItems in my page header it will cause this error! Does anyone have any idea why Is this a bug or there is some work around it! Thanks. In my situation there is no table! Just a simple sub-report. Anyhow, I ended up removing the header and any reference to the ReportItems from my report Footer to make it work! I believe this is the only solution to this MS bug! But, still love to see if someone come up with a solution for this glitch. Thanks. ...Show All
Visual C# C# .NET Naming Conventions
Does anyone know where I can find a list of naming conventions for UI elements. I found a bunch of places where they have variable, property, method, event handler, formatting style, etc. conventions. But I am having a hard time finding naming conventions other than the Visual Basic 6.0 Naming Conventions on Microsoft's website. Check out the following link: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpgenref/html/cpconNETFrameworkDesignGuidelines.asp Hope this helps. ...Show All
Visual Studio Team System Testing Native Code (C++ ) using Team Unit Testing frameworks
I have been looking for some pointers or guide lines as to how do I test C++ unmanaged code using Unit Tesing capabilities of VS 2005. Do I need to write wrappers in managed code ( a sort of mixed mode class one that calls into managed code and other that calls the native code) Any suggestion welcome Regds Dinesh If your C++ code is COM typelib, you could register the lib, and could add the lib to your test project's references (via COM tab in Add references dialog). Then you can exercise your C++ code in managed test code. If your C++ code is not COM lib, you can use DllImport to import the functions and exercise them in mana ...Show All
Visual C++ Cancelling WSALookupServiceBegin
Hi! Is it possible to cancel a call to WSALookupServiceBegin (i.e. interrupt it) I use it to discover bluetooth devices, and it blocks for a long period of time. I want the user to be able to cancel the lookup. Is it possible Thanks in advance, Nille Something what i found shortly: http://developer.novell.com/support/sample/tids/iws2e014/fs1.cpp It looks very similar to your problem. Maybe you forgot something in your code. Bye Martin ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectMusic for Managed DirectX
Hi, I have a question. Is there any plans to implement DirectMusic for Managed DirectX If so, I would like to know when. I'm a fan of DirectMusic and interactive music is important for games. Final Fantasy VIII (from Square Soft but formly SquareEnix, however, I like calling Square Soft since I don't know about Enix that much) makes use of DirectMusic for DirectX 6.1. Grayson Peddie wrote: Hi, I have a question. Is there any plans to implement DirectMusic for Managed DirectX If so, I would like to know when. I'm a fan of DirectMusic and interactive music is important for games. There are no plans to support DirectMusi ...Show All
Visual Basic GDI+ Question - Copy drawn image
I've spent the last hour googling, searching this forum, and MSDN2 for what, I assumed, would be a simple process. I have a picturebox that I've drawn in (via the Paint event). I want to copy the information I've drawn on the picturebox (not the box's .Image property, which is nothing) to the windows clipboard. Short of resorting to the API and BitBlt how can I get what's drawn on the picturebox into the clipboard Hi! You can draw stuff in own bitmap and copy to clipboard this bitmap: Bitmap bitmap = new Bitmap (100, 200); using ( Graphics g = Graphics .FromImage( ...Show All
Visual C# Help please! How can I dynamically change for.ex. a grid cell fore color value w.r.t a condition?
I have a column in a DataGridView which I want to show it with a different fore color-dynamically-according to a field value. I tried to find an Inline if operator (like iif(bool, value1, value2) in other languages) but I can't in C#. Is there any operator for this goal in C# .Net 2005 Thank in advance. Thanks a lot Eisa , It's just I was looking. ...Show All
Visual Studio Can't get LAN Booster client to use server
When loading a solution in VC++ 2005 (RTM), I get the message "Unable to use SourceSafe LAN service, performance of SourceSafe operations will not be optimal". SSService is running on the server and there are no errors in the application log of the server related to it. The only entry is a message indicating the service has started. The server is a Windows 2003/SP1 system that is NOT running Windows Firewall or any other firewall. The client is a Windows XP Pro/SP2 system. I've not tested any other clients thus far. I'm trying to get a test system working first. The VSS database was originally created with VSS 6 ...Show All
Visual C++ Help with compiler error
After discovering the code I would need to write my version of IPCONFIG from MSDN I quickly realized that when I tried to compile what I had written mixed with what I am using from open source that my program wasn't compiling right. I have looked over the code several time, but I am unable to come up with a solution. I figured instead of scrapping the idea I would run it by you guys to see if you have any insight or ideas for my code. Thanks ---------------------------------------------- [c++]#include <stdio.h> #include <windows.h> #include <stdlib.h> #include <Iphlpapi.h> int main() { PIP_ADAPTER_INFO pAdapterInfo ...Show All
Windows Forms Inheriting DataGridViewColumn - Saving Properties
I have a class that I am in the process of developing that inherits the DataGridViewColumn class, in order to add a new type of column(multicolumn combo box for those who are interested). In an attempt to streamline the process of setting up the column, I am trying to set up custom properties which can be edited in the Columns editor. ...Show All
.NET Development typed dataset
Hi, I am using vs 1.1 and sql server 2005 beta 2. Trying to create .xsd file From the server explorer, I drag a table to the designer window. But I get the following error: DataAdapter configuration error. The wizard deyected the following problem when configuring the dataadapter for "Invoice" Details: error is select clause: expression near '['. error in from clause near '[' unable to parse query text. Thanks You might get a quicker response on the .NET Framework Data Access and Storage forum. ...Show All
Windows Forms How to convert a string into a datetime.
I have a string value = "2004", which is from a listbox. How do I convert this string into datetime format I need this datetime format value to be a parameter to call other store procedure. I have tried this 3 codes and none of them work! Please help... SqlClient.SqlParameter.value = CDate(lstBonusYr.SelectedValue) Run-ti ...Show All
Windows Forms ComboBox and Data Binding Problems
Hi all. I am developing an window application in VS 2005 Pro that contains a ComboBox with the data source was loaded from a table in database. The table has two columns (CustID and CustName, which CustID is the primary key) I want the ComboBox display the CustName but the value insert into the database is the CustID. So I set in the ComboBox task menu the Data Source is CustNameBindingSource (this control was auto generated when configure the "Add new data source Wizard"), Display Member is CustName, Value Member is CustID, Selected Value is CustNameBindingSource - CustID. When I run the application, when the cursor move to the ComboBox, I ...Show All
Visual Studio Team System named instance of SQL Server in beta refresh
Is this supported Will it be supported in the final release Thanks The use of a client native alias to run TFS on a named instance is not an officially supported or fully tested approach. ...Show All
Visual Studio Adding code lines to a VS 2005 source code file
I need to add some code lines to an existing source code file (.cs or .vb) in VS 2005. I'm writing a VSPackage that has to do this. Which is the better way to do this - I add code lines directly in the source file as text - I get the code dom graph and I add the code lines adding instruction statement to it and then serializing it again. - other... Any hints Thanks the code dom lets visual studio worry about language syntax and positioning, but doesn't do a good job of covering things that are different between languages or new in vs '05 (for example - i haven't found a way to use t ...Show All
