Flip's Q&A profile
Visual Studio Swapping Group Order
Hello All, I am using SSRS 2005 and have created a client side report. After I had completed (or at least I thought it was complete) the report, I realized I was missing a group. I went and added the group, but now I can not move the group above the other groups. I have tried setting the parent groups on all the groups, but it dows not change the group order. Is there any way to swap or change the group order if so how thank you, Matt The parent group would be only used if your dataset represents a recursive hierarchy (e.g. manager - employee). Check this link for additional information: ...Show All
Visual Studio Team System Why Cant I enter start date and finish date on tasks work items?
Those fields are disabled by default, and I would like to make some reports if I finish for example a task after the finish time. You can use the witexport and witimport tools found in C:\Program Files\Microsoft Visual Studio 8\Common7\IDE to make changes to individual work items. Type in the tool name at a command prompt and you would see their usage. Hope this helps. Rahul (wannabe MSFT) ...Show All
Visual Basic Best method for exporting a DataGridView to Excel
I have a datagridview(DGV) which contains data based on a user selections from a pre-defined dataset In point form: User starts program program builds datatable user opens file and program read all data from file into the dataset.datatable user defines the data they want to see program displays datagrid based on dataset.datatable and user choices. (basically it displays the whole dataset and removes unwanted columns\records) I want to be able to export the datagrid to excel (not sure which method yet). I have tried the excelexporter component i found somewhere on the msdn forums (it exports the data to look exactly like ...Show All
Visual C# casting problem from SD.DbType to SD.SqlDbType
Hi all. I have a very strange problem of casting from SD.DbType to SD.SqlDbType/ When I try to cast SD.DbType to SD.SqlDbType it returns odd SqlDbType. For example I have DbType = string, if I cast it to SqlDbType then it returns Int16 type. If I cast DbType = Int16 to SqlDbType then it returns varchar type etc. Below is the code for that. I am using .NET 2.0 and trial version of visual studio professional edition. Do you think its a bug in .NET or it is something else Please let me know. Thanks a lot public override SD. IDataParameter CreateParameter( string name, SD. DbType type, int size, Object value) { SD. SqlDbTyp ...Show All
Microsoft ISV Community Center Forums Named range in another open workbook
Can I refer to a global named range in another open workbook from a worksheet module within the active workbook I have not been able to figure out how to do this. First create a workbook called "farbook.xls" and define a named range called "farname" and in the farname cell enter a value and save and close. Then enter the following in another workbook: Sub GetFarValue() Dim oWB As Workbook Dim oRng As Range Set oWB = Workbooks.Open("c:\my path\farbook.xls") 'change path as appropriate Set oRng = oWB.Names("farname").RefersToRange MsgBo ...Show All
Visual Basic When using a Splash Screen, you can't cancel the Application.Start
I have Splash Screen selected in the Windows Application Framework properties of a VB 05 (RTM) project. I've put the database initialization code in the Application.Startup event handler (in ApplicationEvents.vb) and the Splash Screen will display fine while it's connecting. But if I can't connect to the database, I want the application to shut down. But when I set Cancel = True in the Application.Startup event handler, the application doesn't close. The Splash Screen just sits there forever. From what I gather, the Splash Screen will stay open until the Startup Form has been fully initialized. But if you c ...Show All
.NET Development How to tell Excel driver NOT to guess data type of some columns
If Sheet1 contains only one column like this: COL1 1 2 3 a b I use OLDEB to access this sheet and Excel driver always thinks that this column is of type 'integer' and sets the last two rows to 'null'. That's not what I want. How can I tell the driver NOT to automatically guess data types Had the same problem recently and I decided that you can't. I ended using the Excel.Application object to access the file, slower - but solved the data type problem (ie, you can access the data in any cell without getting that null value) ...Show All
Visual Studio Express Editions Binary to Number... Maybe vice versa
Hello, Once again, I have a question My question is this: How can I convert Binary a Number and vice versa I've seen simple PHP pages do this but I can't find anything online about this. If there's an algorithm, then please tell me, I'll try to implement it. Thanks for any help! Keehun Nam This might give you a start: Add a button and two Textboxes to a form. In the Button's Click Event put the following code: Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text Like "*[!0-9]*" Then TextBox1.Text = ...Show All
Visual Studio Team System Not getting "Create Unit Tests" window or coverage results for C++ class library project
Hi, I am using the 180-day trial version of VS2005. Here are the unit-testing problems I'd like to get some help with: I have a C++ class lib project in my solution. Problem (1) When I right click on a method name I don't the the "Create Unit Tests" option on the pop-up menu. I got around that by adding a dummy C# project and right-clicking on a C# method name. Problem (2) After I ran the unit tests, there is no code coverage result for the C++ tests. Thanks in advance. -me- Hi Waii, actually you found a bug in our product where "Create Unit Tests" dial ...Show All
Visual Studio Express Editions updating database
Hi, I was following lesson 09 - Data Binding (absolute beginners guide) and i'm having problems when i try to update and insert data. At runtime, the form seems to uptade the data, but when i close the program and open again, the data doesn't change. The only place that allows me to change the database is the database explorer. I even tryed to run the project that comes with the lesson and it did not work. Works on the video but not on my computer. Am I missing something is there some change from the beta version of VB Express Edition(because the lesson was made on the beta version) The following code executes pretty well. the mes ...Show All
Software Development for Windows Vista workflow persitence
Using SqlPersistenceService, I can save/restore an runtime workflow to/from SQLServer in running application. Here is my problem: -Run app, save workflow -Turnoff app -Run application again, try to get above workflow but not can Are the any solution for that Tx Kha - could you post any error message or the code snippet for how you're trying to reload the instance ...Show All
Smart Device Development Windows Mobile 5 Outlook 2002 contact storage location
I am having a problem with syncronizing my contacts with ACT! the pim.vol is taking up too much memory and I cannot move it to storage. I can only get around 4000 contacts to sync. My old Palm would sync all 9600 contacts. Is there a way to keep from running out of memory by moving the pim.vol file I've found the same problem! I've moved from a O2 xdaIIi WM2003 to a T-Mobile MDA-Pro running WM5. My synchronised pim.vol file is 10Mb, and it renders the MDA-Pro useless due to low memory with attendant hangs, crashes and error messages. This problem didn't exist on WM2003, so the "upgrade" to WM5 has ...Show All
Visual Studio Team System Change frame src property
In an framset I want to change the source property according to the users selection of many conditions. Is this as part of a web test, or a general HTML/ASP.Net issue If it's the later, then you should check out some of the other forums on this site, since they are more focused on the specific technologies you are looking at. ...Show All
SQL Server Slow execution of queries inside transaction
I have some VB.NET code that starts a transaction and after that executes one by one a lot of queries. Somehow, when I take out the transaction part, my queries are getting executed in around 10 min. With the transaction in place it takes me more than 30 min on one query and then I get timeout. I have checked sp_lock myprocessid and I've noticed there are a lot of exclusive locks on different objects. Using sp_who I could not see any deadlocks. I even tried to set the isolation level to Read UNCOMMITED and still have the same problem. As I said, once I execute my queries without being in a transaction everything works great. Can you help ...Show All
Visual C++ VC2005, can't mix declarations and statements
"anonymous@discussions.microsoft.com" <Tydr@discussions.microsoft.com> wrote in message news:93b7fcd6-9f12-472a-b6cd-3ddf94654878@discussions.microsoft.com > I have VC++2005 express beta2. > I create a default, empty win32 console app: > > int main(){ > int a; > a = 5; > int b = 5; // get error C2143 here > } > > I get this error, both with Release and Debug builds: > error C2143: syntax error : missing ';' before 'type' I bet your source file has a .c extension, rather than .cpp > If I change 'Compile as' ...Show All
