Paul Stubbs's Q&A profile
Visual Studio VS2005 adds strange temporary project files to source control, after having worked disconnected
Hi all, I have a strange problem on my Notebook using VS2005 and clearcase. SourceControl works fine, when I'm in the office. When I work at home, Visual Studio asks me if I want to work temporarily disconnected and it also performs disconnected checkouts of the files that I modify. So far so good, but when I'm back in the office and connect to source control, Visual Studio adds strange temporary 0KB project files to source control, e.g. ~sak9acba8c901c641b9.csproj Did anybody experience this problem and maybe knows a solution I didn't have this problem using VS2003... Best Regards Bernd Ritter ...Show All
Windows Forms DataGrid Paging Problem. Please help
Hi All, I have to using 2 radiobuttons to control 2 datagrid summay and detail representively. when I click detail radionbutton, there are 10 pages records. when I click summary radiobutton, I select 3rd pages it display the following error. In the summary report just only 1 page record. "System.Web.HttpException: Invalid CurrentPageIndex value. It must be >= 0&n ...Show All
Software Development for Windows Vista A new outlook on Windows Vista
Hi! I am fascinated by the way in which Microsoft plans to change the nature of operating systems radically. Vista promises a better future -- lots of new data exchange solutions, better information organization and an easier GUI. It looks very exciting to me. However, there is still some doubt whether Vista will really be able to define the new wave of technology. I've been a user of Windows for the past 9 years, and have been accustomed to it (one reason I'll accept Vista quickly). I'd like to point out a few things that Microsoft should improve in order to gain more popularity (and market share ). Of course, I'm not a Microsoft empl ...Show All
SQL Server SQL Server does not exist or access denied
Hi, I have developed a small application using VB6 on Windows XP. Following is the code snapshot. I have added Microsoft ActiveX Data Objects 2.1 Library through Project Reference for ADODB Connection. Public con As New ADODB.Connection Public Sub Main() Set con = Nothing With con .CursorLocation = adUseClient .ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=SCMSUG;Data Source=Admin\local" .Open End With End ...Show All
Visual Studio Express Editions How to Load / Save
I Have three questions about loading and saving! 1. How do you load a file like a .txt file into your program and then edit and save it as another file like .doc 2. also how do you open music files and/or picture files 3. And is it possible to convert files like mp3 by opening them and them saving them in another format like wma Thanx in advance vbnewcomer, To play a music file... Download the Windows Media Player 9 SDK from http://www.microsoft.com/downloads/details.aspx FamilyID=e43cbe59-678a-458a-86a7-ff1716fad02f&Disp ...Show All
.NET Development Change Application Pool Identity Programmatically
Security doesn't allow developers to have IIS installed locally on their PCs, nor do they allow developers to be in the administrator group of the development web server. In order for them to debug, we have individual application pools running under the identity of the developer. (Thankfully IIS 6.0 has allowed this feature.) We wrote a small program that allows a user to recycle their application pool: public void RecycleAppPool( string appPoolLocation, string appPoolName) { //Execute Code to recycle a user's app pool DirectoryEntry w3svc = new DirectoryEntry(appPoolLocation + appPoolName); &n ...Show All
Visual Studio Team System User name in a workitem
When we have fields related to users in a workitem (ex.: assigned to) it shows his Login Name at team explorer. Here, we use ID numbers as Login Names (things like 10001, 140345...). This is obivious hard to track, so we use the Full Name attribute instead of Login Name in our day by day. Sadly, I couldn't find a way to configure this in team explorer. It shows only the Login Name of the users. What can I do Change Login Name of our users is not an option, but list just the ID's is really ugly and hard to work with. Thanks in advance, Max Andrade Found it http://forums.microsoft.com/MSDN/ShowPost.aspx PostID= ...Show All
SQL Server To find all pairs in table that fits to given criteria.
Task: To find all pairs in table that fits to given criteria. For example: I have a table with id's and weight of people. The task is to find all pairs of people (id's) that their weight in range of 0-5 kg. The result need to be without repetitions of data. id weight 1 80 2 84 3 81 4 90 So results should be: 1 2 (or 2 1) 2 3 (or 3 2) 1 3 (or 1 3) but not both I'm using MS SQL Server 2000. Question: How to do it in SQL Thank you very much. I run query on the large( ) table (60000 rows) and as result I get strange output. This is a reson why I asked the prev. question.& ...Show All
Windows Forms databinfing to text box
i have a database (bank account) with 3 rows inserted manually in the sql serevr. when i open the form to add a new account i want the text box (which is disabled threw its properties) to show the current (new) account- 4 and not the first and the rest of the text box to insert the data to the new row.. i bind the text box like ...Show All
SQL Server Query Tool from SQL Server 2K Missing in 2k5 Edition?
My favorite tool ever in SQL 2000 was a little utility, a front end if you will for querying the system tables. It was under the tools menu and if you typed say 'account', you could find all objects containing the name 'account'- stored procs, tables, columns, etc. A GREAT little tool that few people seemed to use. Now I have 2K5, can't remember its proper name to google it by, and can't seem to find it anywhere, though I suspect it is burried somewhere. Anyone seen this one in SQL 2K and remember its name, or better yet, seen it in 2K5 and can point me there Thanks in advance, Jeff Yep, that's ...Show All
Visual Basic Ordinary users can't update MDB files installed in same directory as app
I'm using Windows Installer 3.1 to put my VB 2005 application on user machines. The destination folder is C:\Program Files\my company\my app\. The application uses an Access DB that I have been putting in the same folder. The application and data are to be accessible to all users and the DB needs to be able to accept new data and modifications. All is well as long as the user is a power user or administrator. Ordinary users sometimes find that the default installation won't allow them to update any of the files since the folder, being under Program Files, is created without the necessary permissions. This yields the ever-popular "Ope ...Show All
Visual Studio 2008 (Pre-release) Hyperlink in Frame in WBA
I have a WBA with a Frame that loads loose XAML files from the same site of origin. The XAML file can contain hyperlinks to external sites. When I click on one of the hyperlinks, I get the security error ("Request for WebPermission failed"). Are there any workarounds to avoid that Startup URI: http://www.valil.com/Valil.Blog/Valil.Blog.xbap Application Identity: http://www.valil.com/Valil.Blog/Valil.Blog.xbap#Valil.Blog.application, Version=1.0.0.50, Culture=neutral, PublicKeyToken=d9a6d73d2011876c, processorArchitecture=msil/Valil.Blog.exe, Version=1.0.0.50, Culture=neutral, PublicKeyToken=d9a6d73d2011876c, processorArch ...Show All
Visual Basic Visual Basic 2005 Express Edition
I have installed VB 2005 EE from a MS cover disk. When I open File | New the Windows Application icon I expected to find is not present. How do I create this icon Malcolm Thank you for your reply. I do not have Microsoft Visual Studio 2005. I have Microsoft Visual Basic 2005 Express Edition Beta 2. According to a magazine screen shot there should be five icons in the New Project dialogue under the heading Templates: Visual Studio installed templates I have three icons at this location & they are: Class Library, My Movie Collection Starter Kit & Screen Saver Starter Kit. There are two missing icons namely: Windo ...Show All
SQL Server Importing unicode data from Oracle Database
Hi everybody, i try to import data from an oracle database configured in unicode. When i run the package i have an error message Error at Data Flow Task [Source - ACCOUNT]: Column "ACCOUNT_CODE" cannot convert between unicode and non-unicode string data types. how can i resolve this regards. Thanks for your help. I have change data type in advanced editor but now i have this error the output column "ACCOUNT_CODE" on the error output has properties that do not match the properties of its corresponding data source column. The data appears as string and i can not change the error output data t ...Show All
Windows Forms Improve Drag and Drop ToolStrip
Dear all, My application can allow users drag and drop items (images) from Listview to Toolstrip, However, I only can add items in Toolstrip orderly. So I want to improve my application can be perform manipulation (same Microsoft office): 1. Toolstrip allows drag and drop items from listview to Toolstrip any position. 2. From Toolstrip user can be drag and drop ToolstripItems to delete those items. My code: public partial class Test : Form { #region F ...Show All
