Answer Questions
Ian Morrish - MSFT Known issues? Rename, checkout not working?
Are there any known issues where a file does not get checked out when using silent checkout User claimed they edited file but was not showing in pending checkins. Are there any known issues of renaming files in a project not working We have ocassional user reports of this, but we have not been able to get a good enough description to reproduce. Thanks The checkout one I don't have enough details on to be able to reproduce and on the rename one we have one scenario we reported but we are not sure that is the same scenario this user has hit in the past. The one scenario we do know about is: 1. Have a project with a file file1.cs 2. Create a new file in the project file2.cs 3. Delet ...Show All
bigdavelamb Making a call to a shared Shared Method
Hi, Can not workout answer to this problem: I have, for example, a MDI form (Form1) a child form (Accounts) and a Class (Add_Account) Within Form1 I have a shared method as follows: Shared Sub testshare() MsgBox( "testshare" ) Form1.Text = ( "Test Share" ) End Sub I call this shared method from the Add_Account class like this: Form1.testshare() '\\Calls shared method in form1(MDI form) This all works fine. What I cannot understand is this: I have aslo created a shared method within the Accounts form as follows: Shared Sub stat() MsgBox( "status bar" ) End Sub The issue is I cannot see this shared method when making a call to it from the Add_A ...Show All
SPWilkinson 64 bit DT
Hi I am installing TFS DT on a 64 bit machine. THe machine already has SQL Server 2005 and SP1 (64 bit editions)...and YES, it is installed according to the TFS installation guide :).(no reporting services, default instance etc). Now, I am installing the DT on this machine and the installtion complete comes up.But when I open the management studio to check for the databases, none of the databases exist. If I try to install DT again, the Repair/Reinstall or Uninstall options box comes up. Do I need a specific 64 bit installation media for TFS or am I missing something big here (P.S: I have done a couple of Dual server installations in less than 2 hours..on 32 bit machines) This may ...Show All
Keith Brown How to run MSTest from windows application?
Hi, I am writing a automation tool to test installation and functions of both Server.DLL and Client.DLL. To verify installation test I developed a windows app that installs server, client and test project. Now over this, I loaded all the test methods from the test projects. I want to let the tester choose the test methods and run that through MSTest.EXE and send report in email. Now, problem i faced is when try to run MSTEST.EXE from System.Diagnostic.process, The system gives error saying MSTEST file is not found. obiviously because it resides in VS.NET folder which our project cannot locate. How can I make it independent of the MStest.exe's location thanks, kesh Hello, I think you ca ...Show All
pflangan Screen Capture of a Web Page
Hi there, I have loaded a web link into WebBrowser1, for example http://www.yahoo.com I used the following codes to capture the stuffs displaying on Webbrowser1. Const ScrollbarWidth = 18 Dim wbRect As Rectangle = WebBrowser1.ClientRectangle Dim wbBm As New Bitmap(WebBrowser1.ClientRectangle.Width - ScrollbarWidth, WebBrowser1.ClientRectangle.Height - ScrollbarWidth) Dim gwb As Graphics = Graphics.FromImage(wbBm) gwb.CopyFromScreen(WebBrowser1.PointToScreen(New Point(0, 0)), New Point(0, 0), New Size(WebBrowser1.Width - ScrollbarWidth, WebBrowser1.Height - ScrollbarWidth)) gwb.Dispose() wbBm.Save("c:\temp.png") wbBm.Dispose() I set the browser to {Width=443, Height=376} and the screensh ...Show All
Linky application has compatibility issue running on Windows Vista
Hi: I use Visual Studio 2005 to create and compile a MFC Dialog application. The MFC Dialog application calls a MFC extension DLL (using LoadLibrary or AfxLoadLibrary). When the application runs on Windows Vista RC1 or RC2 (without Visual Studio 2005), the LoadLibrary returns 0 (fail to load the DLL). But after install Visual Studio 2005 on Windows Vista RC1 or RC2, the application works very well! The same application runs well in Windows Vista Beta2. When they use Visual C++ 6.0 to compile the same application, the application works well in any versions of Windows Vista. thanks!! A quick workaround for not having to deploy the libraries is to set the project to statically link the ...Show All
Joel McCormick TFSWarehouse DB tables is not getting updated
On updation of contents from VSTS, the following tables of TFSWarehouse DB are not getting updated.Tables like Current work item, work item history, Work item , etc. This has directly impacted on the Reports generated through these tables. Whereas, TFSWorkitemtracking DB tables shows the latest entries done through VSTS environment. There are no problem on creating/updating any workitem. Please note, this trouble has been persisting since last few days. Please help ASAP Aha I agree with Paul, first of all check that, and also check if "TfsSchedulerService" service, is running, this is the service which runs the webservice hourly, and check the event log on the server for any error ...Show All
AlexBB Jet.OLEDB.4.0 error
I am trying to connect to an access database but everytime I try and connect I get the following message: "The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine" I went on the microsoft wibsite and downloaded and installed the latest Jet but I still get this message. Can any one help me clear this It is obviously stopping me from developing my application. try installing the latest MDAC: http://www.microsoft.com/downloads/details.aspx FamilyID=6C050FE3-C795-4B7D-B037-185D0506396C&displaylang=en Hi, I tried to get records from Access' mdb database using OleDb provider, I've got the same error on Conection.Open(). Then I found the correct provider settin ...Show All
waff Renaming projects
Can a project be renamed after the creation process i.e. If I change my mind about the name of an existing project, can I change it Thanks, Maggie Can I ask why this limitation exists Are there manual steps you can take to effect a rename operation [besides creating a new project and moving everything] We are running into serious problems getting automated builds running due to an extremely long team project name. If we cannot change the team project name itself, is there a way to effect a change to the path structure that is setup as part of the build process [to say, rename the team project build directory] Hello Maggie, You cannot rename an existing team pr ...Show All
Jolly Joker Problem to save a table
Hi, I've a problem when creating a table, it creates the table and it includes the registers, but when I leave the application the table isn't saved in the database. I've already modified the property of the database to Copy if Newer. Dim nome As String = "TESTE" Dim cmd As Integer Dim query As String Dim sqlComando As SqlCommand connBD = New SqlConnection(strcon) query = "CREATE TABLE " + nome + " (CodTeste Integer, Nome nvarchar(50))" sqlComando = New SqlCommand(query, connBD) & ...Show All
kayki How to solve this problerm!
Good afternoon everyone: I use own rules to check a website project.there are some unknown warning by the compiler,Such as VB$t_ref$L0,VB$t_i4$L0,VB$t_array$S0,VB$t_struct$N0.I don't known how to generate them.Is there any one can tell me the reason --Tiny Have a look at this blog post: http://blogs.msdn.com/fxcop/archive/2007/01/26/faq-when-looking-at-the-names-of-locals-in-a-custom-rule-why-do-i-see-strange-names-such-as-cs-1-0000-and-vb-1-0000.aspx Regards David Hi sammy: Thanks for you help!btw,This problerm is any method can solve it Hi Tiny: Recently I write some rules to run on web project and also met this question. bec ...Show All
Ashok Kumar Roy I can't get my add new database Source Function to work
I can't get my add new database Source Function to work. I get this error message:format of initialized string does not conform to specification starting at index 0 I enter the data source configuration wizard. I push the [NEW CONNECTION] button I change the data source from SQL to Access and then press [OK] button and a messagebox appears: format of initialized string does not conform to specification starting at index 0 I was adding a new database source then pointed to microsoft database access file, and when I pressed enter I got this error messege: format of the initialized string does not conform to specification starting at index 0 it is lo ...Show All
robhare How to debug DLL?
Hi, I have a dll written in C++ (6.0 MFC). The functions of this dll is called by an application I just started in C# 2005 Express edition. I read about how to call a dll in C#, but my problem is the reverse situation. I need to debug the dll to find out if all parameters are passed correctly from C# to the dll functions. But if I set the exe file compiled from the C# to test the dll, it does not even start (it does when I start outside of the C++ debugger). What is wrong and what can I do I would be grateful for any help. Peter Hi Mike, Finally I succeeded with attaching the 2003 debugger to the C# 2005 exe. It is not a perfect solution, and I will try to recode the dll ...Show All
Kartit dbase querys
ok, bashing my head in the wall again. I am using Visual C# exp. 2005 , sql exp 2005 on a winXP Box I have a table called options, to make it easy, lets say it has a season column, which contains the season data such as spring, somer, winter, fall. It also has a choices column, which would contain the choices to pick from for each season. so,, the first row maybe Season = spring with choice = blue, second row is Season = fall with choice = green and thrid row is season = spring and choice = red. now the form. I want a seasonal form, say SPRING FORM, and have that form would have a combo box to pick the choices for spring from. i dont want the other seasons to show up . just the ones under the spring season. i ...Show All
hanne_midttun Vb 2005 just keeps quitting
Hi All i am running WindowsXP Pro SP2 (.Net 1.0 / 2.0 and 3.0 framework installed) i have being using VB for a few years now. i was soo pleased when they released VB 2005 but i havce a problem. 1) I installed vb2005 from the microsoft's web site and installed it, then i went to created a new form it just closed the program down so i thought i would try loading the program again and creating a form but the same problem happend. i have disabled the SQL SERVER that can be accompanied which vb2005, would that cause a problem and make the program quit thanks alistair p.s this also happens with Visual Web Developer Did you look in the event log to see if there is any info in there about the crashes. ...Show All
