Fawad Hamid's Q&A profile
Visual C# Error Installing and Running C# Beta 2
Whenever I install C# Express Beta 2, I get an error message during the install process of C# Express (An error has occurred would you like to send an error report). The installation continues just fine. When I open C# after the installation completes, I can go to file > new project, but the templates listing is empty. If I try to open an old .sln or .csproj, I get another error message and C# crashes. Here is a list of the things I've tried. Uninstalling everything .net 2 related and reinstalling. Uninstalling everything .net related and reinstalling (including .net 1.1). Uninstalling everything and installing beta 2 from a CD. Un ...Show All
SQL Server connection problem
Hi I want to connect a VB6 application to a sql express 2005 database. My database is on a server with windows 2003 server and my application is running on a windows XP machine. I try to use ado and almost all connection string i saw on internet, the best i got is the error: connection failed SQLState '01000' SQL Server error: 53 SQL Server does not exist or access denied. even if i use the same server name and authentification as in the microsoft sql server management studio express. This is my code: Dim cn As ADODB.Connection Set cn = New ADODB.Connection cn.Properties("Prompt") = adPromptAlways cn ...Show All
Visual Studio Team System Where to get load test controller and agent software?
We downloaded VSTS2005 beta3 refresh and VS2005 release version. we can't find the test controller and agent installastion package. Where are they Controller and agent are licensed separately and are not available through the MSDN subscription. Load agent info here: http://msdn.microsoft.com/vstudio/products/vsts/load/default.aspx Pricing how to buy info here: http://msdn.microsoft.com/vstudio/howtobuy/Default.aspx Ed. ...Show All
Visual Studio Team System Tests Not Runnable, Multiple Tests with ID Found
Hello, I've started using Team System for unit testing and have been very pleased with it for a while but recently I've run into a strange error on some of my tests. When I try to run the unit test project all my tests are marked with the message, "Not Runnable", and I get an error message saying, "Multiple tests with ID <guid> found". Other test projects in the same solution are fine and run without incident. If I rename the class containing and rebuild the solution the tests run just fine but if I shut down Visual Studio and relaunch it the error is back. Am I doing something wrong Thanks. Are you using inheritance in the ...Show All
Visual Studio Master-Detail Reports
Is there anyway to do a Master-Detail report with a separate table for the Master data and one for the Detail Crystal Reports does this, as crappy as Crystal is I'd hate to lose something. There is a sample of this report design at www.gotreportviewer.com ...Show All
Visual Studio Express Editions Error C2248
I searched for other cases of this error, and could not find anything similar to this. The online help hinted at the cause but the solution did not work. I was unable to paste into this form (Win 2000, IE 6 SP1), so I have pasted some code samples at http://spaces.msn.com/members/robertjohnson/ If anyone can be bothered to read through this turgid example I'd like an opinion on how to get it to compile. It worked on VC 7 compiler, and it's probably me not understanding the error message. Thanks in advance. Well I'm glad the team fixed the bug in 7.1. So when's 8.1 coming out I'll give it another go! ...Show All
Visual Basic Problems with my For statement
I have a text file that I split by line using the following: Protected eo() As String = Split(My.Resources.itemOffsets, vbCrLf) I also have the following For statement: For i As UShort = 37 To 255 If cb.SelectedItem() = eo(i) Then b(132128) = Array.IndexOf(eo, cb.SelectedItem) Next where cb is a combobox b() is a byte buffer now, the file itemOffsets contains 256 lines, each with a different string. However, two of the strings are exactly the same. Their line numbers are 34 and 71. The reason the above For statement equals 37 to 255 is because I want it to read the string at line 71 and not the one on line 34. The ...Show All
Windows Forms Crystal Report using Dataset
Hi, I'm having problems in using an report that uses a dataset . My other reports are not using datasets and they work fine . And this problem only occurs when i install my application in the clients. In my developing machine works fine. The error is "query error engine". All other reports works fine. I've even copied the dataset files ".xsd" ...Show All
Visual FoxPro 2 more questions (VFP8)
(1) I've made and deployed a simple app. with its own helpfile, but when deployed, nothing happens when I press F1. (It is not, that the app cannot locate the helpfile. If I rename it, I get an error when starting the program.). Any suggestions (2) The other problem is, that about one in every 4 times I close the program, the process keeps hanging and thus locking my datafiles. (When I kill the process, the datafiles are corrupted, when I start the app again). Any suggestions The PACK command only works if you open the table exclsuively. Could it be that there's an error on this line and the error handler a ...Show All
Windows Forms Esc in maskedtextbox
Is there any solution for the Esc keystroke to change text back to its last state Just like regular Textbox. Wei, The idea is your solution....it is not easy and you will have to code your solution: Private Sub TextBox4_KeyPress ( ByVal sender As Object , ByVal e As System . Windows . Forms . KeyPressEventArgs ) Handles TextBox4 . KeyPress Dim MyString As String = TextBox4 . Text If Asc ( e . KeyChar ) = Keys . Escape Then TextBox4 . Text = MyString End If End Sub Don't know what you are trying to accomplish but that should give you an idea of ho ...Show All
Visual Studio 2008 (Pre-release) trigger for IsFocused - not working?
I just want to add a trigger for the main window, when it goes out of focus, so I did a little test app, and it seems to be broken. It raises an exception, in which it says that 'IsFocused' string is not a valid value for 'Property' property of type 'DependencyProperty'. Here's the code: <Window x:Class="WindowsApplication1.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="WindowsApplication1" Height="300" Width="300" > <Window.Triggers> <Trigger Property="IsFocuse ...Show All
Smart Device Development Named mutex in C# - P/Invoke?
I need a named mutex in C#. Where can I find the documentation on how to do P/Invoke calls for this Thanks. I don't have V2... Anyone have any ideas for V1 PInvoke I need to create/open/release a mutex. Thanks. ...Show All
Visual Studio How to programmly stop a build?
We are integration our MSBuild-based project into VS2005. One problem we met is that we can't find a way to stop the build programmly in the MSBuild object model. Can some body shed some light on this Thanks. Sorry, there's no way to do that in the current version of MSBuild. If your task is executing inside the build process you can return false from ITask.Execute stopping the build, but you can't do that using the object model. It's definitely something we will have to think about for the next releases. thanks, Lukasz ...Show All
Game Technologies: DirectX, XNA, XACT, etc. i need help! pls I want to begin to write games
I need documents to learn to use directx in c++ or vb, to not knoweverything about directx, thanks for its attention and hope can help me, and sorry for mi english Of course one simpler route would be to use a pre built game engine. Say you want to start building a first person shooter (which is a very big job to do it properly), look at one of the game engines built for this type of game. Whilst you will have plenty of programming still to do, it hides a lot of the complex stuff to do with talking to DirectX or OpenGL. You will still need to learn the basics however but its will be more gentle than trying to effectively build a custo ...Show All
Visual Basic Some questions about VB 2005
I have some questions about VB 2005: 1) How can I shutdown or restart the computer 2) What's the difference between My.Application and Application 3) How can I shell an non-executable program, e.g. ".txt" These are my question until now in VB 2005. Please can anybody answer me I have new questions about VB 2005: 1) I made 2 forms, and I put a timer control in Form1 and I write in Timer_Tick: Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Timer1.Enabled = False Me.Close() Form2.Show() ...Show All
