Philippe Abadir's Q&A profile
Visual Studio Team System July CTP - worth installing?
I'm doing production work on Beta 2 and really don't have any specific problems. I do see the occasional crash of visual studio, and there are warts on team system here and there that I know have been fixed since beta 2. My question is - is it worth my effort to upgrade my environment to the July CTP Doing so will require backing up all my code and documents, scraping the machines down to the bare metal and re-installing from scratch (I don't want to risk a beta uninstaller not quite working). Following the rebuild I can reload my source code and documents, but I'll lose all history. So, does anyone (yet!) have ...Show All
Visual Studio Different database names on different servers
Hi, I created a report that uses the standard setlogoninfo routine. It works fine, when only the server name changes. However the database name is different on different servers, but the tables are the same. How can I change the databasename at runtime my code looks like this: private void Reports_Load( object sender, EventArgs e) { ReportDocument crReport = new ReportDocument (); if (ReportName != null ) { crReport.Load(ReportName); this .Text = ReportName; TableLogOnInfo tliCurrent; foreach ( Table tbCurrent in crReport.Database.Tables) { tliCurrent = tbCurrent.LogOnInfo; tliC ...Show All
Visual Basic Conditional Compilation
Hi, I have a number of projects in my solution and I use Conditional Compilation in a number of places, I would like to share Constants between projects, so I don’t have to define and undefined the same Constant in a number of projects. Can't seem to find a way round this. Any comments appreciated Thanks You can define constants so that are accessible by the entire project, by doing the following in Visual Basic 2005: In Solution Explorer , right-click your project and choose Properties In the Properties window, choose the Compile tab and click Advanced Compile Options In the Custom constants te ...Show All
Windows Forms Adding a button to the title bar?
How do you add a button to the title bar of a form. So that it sits next to the (x) and minimise buttons. I want to do something like the microsoft beta Comments\Bug reporting but so far have been unabe to find any information on how to do this. I have looked at the SystemMenu but it only apiers as a dropdown Any help would be ...Show All
Visual Basic Removing directory rights
Anyone know how to removed a group from a directory i.e. if there was a group called "TempUsers" that had read rights and it was applied to c:\temp how can I remove "TempUsers" from the dir I can add the group.. just can't work out how to remove!! NM Check out this link for information: http://msdn2.microsoft.com/en-us/library/system.security.accesscontrol.directorysecurity.aspx ...Show All
SQL Server Export Wizard generates errors
I am trying to export data from my local server to the hosting server. However I get errors when executing it: Validating (Error) Messages Error 0xc0202049: Data Flow Task: Failure inserting into the read-only column "ID". (SQL Server Import and Export Wizard) Error 0xc0202045: Data Flow Task: Column metadata validation failed. (SQL Server Import and Export Wizard) Error 0xc004706b: Data Flow Task: "component "Destination 7 - Batches" (497)" failed validation and returned validation status "VS_ISBROKEN". (SQL Server Import and Export Wizard) Error 0xc004700c: Data Flow Task: One or more component failed ...Show All
SQL Server Commercial Application using MSDE or SQL Server 2005 Express
Hi, I'm currently developing a commercial application in VS2005 that will catalogue hobbyist type data such as Music and Movies and I am considering using SQL Server 2005 Express for the client database. My question is how popular is MSDE and/or SQL Server 2005 Express in commercial software products I can't think of any application that I could buy off the shelf that uses the light-weight version of SQL Server whether that be MSDE or SQL Server 2005 Express. I love what has been done with VS2005 and SQL2005 and I would love to roll this out but I would like to know that i'm not the only person that is going to implement SQL Server 2005 ...Show All
Visual Studio Team System Custom Exception causes "Not Authorized to View this page"
Hi, I am having a problem throwing custom exceptions. Whenever my web application throws an unhandled custom exception it does something so that the next time I run the application I get a "You are not authorized to view this page" message. I have tried manipulating the Directory Security in the website property pages and on the physical directoreis themselves with no luck. It seems to work just fine if the exception thrown is a system exception, for example: Null Reference, but not if I create and throw a custom exception. Any help would be appreciated...... Thanx in advance. You probably should post this in an ASP.NET specific ...Show All
Smart Device Development Foreseable security risks if lock device within my application.
Can anyone think of any security risks if I lock the device down (PPC) at an application level (not OS as apparently unsupported) This means that the app would prevent user input until they enter a specified U/P. App's would be hidden/start menu etc from the user. Has any one done this, is it recommended, got a better technique Thanks as always, u guys are a great source of info. We do this, and no risks, but it's not too easy to do. You'll need a fullscreen app, and trap all the hardware buttons. Also if you enable the sip, users can click Options, and then get access to the Start but ...Show All
Windows Forms Treeview AfterLabelEdit Problem
In summary, the problem is when you add a node to the treeview and then reload the treeview in the AfterLabelEdit event. It adds the node in 2 places, even though I am reloading the data from the database to load the treeview. If you reload the treeview outside of the AfterLabelEdit event, the treeview loads fine. I have submitted this bug to MS and they are taking their sweet time on it. I have also had another post concerning this issue with adding nodes to the treeview in the AfterLabelEdit event and then reloading/refreshing the tree in the AfterLabelEdit event as well. What I need is for someone else to confirm t ...Show All
SQL Server Convert Binary to Ascii
Hi Guys, I've got a question about how to convert binary to ascii. I'm using sql server 2k and reporting services. In the database i have a field with binary code in it and i want to convert it to plain text (ascii). Can anybody help me with a script,code, function, whatever.... Many thanx in advance. Gabs For the source of the field, replace the field name with a T-SQL statement. Use the CAST or CONVERT statements in T-SQL to take the field from binary to ascii. Buck ...Show All
Visual Studio Express Editions yadda yadda for Dummies -- getting data into my VB thang
I posted this here , but realized it may have been in the wrong place. WDIK yadda yadda for Dummies -- getting data into my project. OK, here's another newbie question. I run a third party app. I've been able to take data from that app, and by "pasting as link" into excel, manipulate the data (yes, "paste as link" was a new discovery for me, so now you get my level of experience). Now I want to do more stuff with this data, stuff that is cumbersome in a spreadsheet. It would seem to me that if I can paste it into a ...Show All
SQL Server Cannot Set Connection String For Bulk Insert Source Connection
I came across something strange today. I was wondering I was doing something wrong. I want to go through a directory and get files and assign the Fully Qualified File Name to a User Variable. I want to use that variable as a connection string within Expression in Bulk Insert Task Source Connection, Data Flow Task and File System Task. It is working fine within Data Flow Task and File System task. It is NOT working for Bulk Insert . Did you come across this or am I doing something wrong - Expressions ConnectionString @[User::FileName] Did anyone come across this before Thanks Sutha ...Show All
Microsoft ISV Community Center Forums VBA in Office 12
Could anyone show some information about VBA in Office 12 Does Microsoft support VBA in Office 12 Are there have any new features or improvements Thank you in advance! I believe that Visual Studio Tools for Office will be replacing VBA in Office 12, but that Microsoft will still support VBA. Here's a few sites that may be of use: http://www.microsoft.com/office/preview/default.mspx http://msdn.microsoft.com/office/understanding/vsto/default.aspx I hope this helps! -brenda (ISV Buddy Team) ...Show All
Windows Forms Graphics list
Please excuse my 'noobeyness' but, I'm building a Windows app. and I'm not terribly familiar with how to go about things in that environment. I've got an Imagelist that can contain between 0 and N images (.jpg's if it matters). What I need to do is to display the images 3-across with a maximum of 15 per page: X X X   ...Show All
