YuriyFil's Q&A profile
Visual Studio Team System Unable to view Source Control Explorer in Beta2
I currently have 25 or so developers running up against Beta 2's Version Control. Everybody up to this point has been fine. However, I recently added another member to the team and they can NOT see any of the existing projects under Version Control. I have given them every access right I can find (include Project Administrator on the Team Project itself). Any ideas or things I could try Thanks, ~slee To be honest, I would suggest moving to Beta 3 refresh, since beta 2 is a dead end. Beta 3 is a huge improvement over beta 2. Buck ...Show All
Visual Basic RegEx Help
I have a reg ex loop I am doing where as each line in a text file has to match a pattern( a number pattern, like 0.1...0.2.) that will be written to a new file. I cant seem to get this to work correctly. What might I be doing wrong Also how do I set my "Do While" loop to go until the end of the file is reached Dim data As String Dim mystreamreader As StreamReader Dim myStreamWriter As StreamWriter Dim re As New Regex("\d*(.[1-9]) |\.[1-9]") Dim reopts As R ...Show All
Visual C++ Strange C2664 in VC 7.1, VC8
Hi, While porting some C++ code from VC7 to VC8 (2005.NET) I encountered a strange version of compiler error C2664. The actual code was of course much more complicated, but I have managed to reduce the problem to this 40-liner: // CODE BEGIN class Class1 { public: virtual Class1 * Copy() const = 0; }; class Class1Deriv : public Class1 { public: Class1 * Copy() const { return (Class1 *)(new Class1Deriv(*this)); } }; class Class2 { public: Class2(const Class1 &arg1); }; class Class3 { public: Class3(const Class2 &arg2); }; void main(void) { const Class2 *p ...Show All
SQL Server MDAC and automatic connection retries?
I nfo: We are testing a server imaging product (Symantec's LiveState Advanced Server) that, in essence, let's us take a real-time image of a server (incremental images also supported). There is no need to reboot the server into a DOS-like mode (like GHOST). Furthermore, the LiveState images can be stamped down to dissimilar hardware than the original box (good for Disaster Recovery.) According to Symantec, for a Sql Server incremental image, they "quickly" stop SQL server on the machine (to insure the integrity of the databases in the image), then restart sql server again! My question is this: what happens if someone is ...Show All
Windows Forms Export/Import Data
How do Export/import data from excel/word to SQL server 2000/or Access 2003 using VB.NET. HI Jebat, One way of transfering data from sql server to excel is to user the DTS. The following article explain it. http://support.microsoft.com/Default.aspx kbid=319951 Cheers, VJ ...Show All
.NET Development SqlClient.SqlException
Hi, All. I am not sure my question belongs to here. I tried to use DAAB(Data Access Application Block) in my project, and got an unhandled system error on system.data.dll. The code broke on da.fill(ds); line as listed below. I have tested the connection string and the stored proc, and they are all working. What else should I do Thanks! public static DataSet ExecuteDataset(SqlConnection connection, CommandType commandType, string commandText, params SqlParameter[] commandParameters) { //create a command and prepare it for execution SqlCommand cmd = new SqlCommand(); PrepareCommand(cmd, connection, (SqlTransa ...Show All
Visual Studio Team System Installation problem with Reports Server
I'm trying to do a single-server (beta 2) install but keep hitting a problem during setup. The system says: Miscrosoft SQL Server 9 Reports Server services is either not started or not installed which isn't true. All prerequisite software has been installed and is working. I can browse localhost/reports and both reports and teh server are running in their own app pool. The only place I didn't follow the installation guide exactly is that SQL Server 2005 is a named instance (SQL2005) rather than the default instance. Is this the cause of my problem Does TFS require SQL Server to be the default instance If not, does anybody have any idea what ...Show All
Visual Studio Visual SourceSafe 2005 IDE Integration Problem with Visual Studio 2005
Hi I have Visual Studio Professional 2005 installed and I just recently installed SourceSafe 2005 and It won't integrate with the Visual Studio IDE. The SourceSafe menu doesn't appear in the File menu of the Visual Studio and I cant import projects from SourceSafe, what can I do Thanks Go to Tools->Options->Source Control->Plug-In Selection In the combo box in that page, select the Visual SourceSafe plug-in. Then to access the Projects already on SourceSafe you use the File->Open Project dialog, and click the SourceSafe button on the left bar of the Open Project dialog. ...Show All
Visual Studio Open From Source Control problem
When I do this with my provider I get this error The source control bindings for this project do not match the bindings reported by your source control provider. This solution, or part of it, may have been forked or branched. To update the projects source control bindings use the Change Source Control on the Source Control menu. If I click OK and let VS reload everything is fine. But I can't figure out where this is coming from. I've even diffed all the files before and after this error. The only difference is the .suo What is the mechanism that causes this error Thanks, JD Hi I sus ...Show All
Windows Forms Bug on ListBox?
Hello, I'm using VisualStudio .NET 2003 on a computer which had VS 2005 Beta 2 previously installed, I made a simple project consisting in a DataSet that contains a data table with only two columns, there is also a ListBox linked to one on the table's columns and also a TextBox linked to the other column, by means of a button I add a DataRow to the table, I'm able to see the text on the TextBox but nothing on the ListBox, there is something there because I'm able to "select" the item but I can't see the text. I have another machine which had never VS 2005 installed and when I compile the code there it works well. What should I do to fix the ...Show All
Smart Device Development how to use library?
i use below code to check my external storage. maybe this is not the correct way but this is work! if who have any better solution please tell me. for my system almost every form using this code, so i hope can use library to write this code, it is easy for me if next time i want modify the code. but i never use library before so i hope someone else can help me or give me some example to refer. Private Shared Dir As IO.Directory Private Shared myStr1 As String = "Directory, Temporary" Private Shared Directories() As String = Dir.GetDirectories("\") Private Shared i As Long Private Shared ...Show All
Visual C# Out of Memory?
When using my application I seem to get an Out of Memory error at random. I cannot find any common "action" that leads to this. additionally it occurs more frequently when the application is either minimized for more then 5 minutes or is a background window (not the active application) for more then 3-5 minutes. It doesn't happen all the time. I seem to only get it once a week at most. It does not seem to occur when the application is the active window. It's a web browser application and uses the WebBrowser control. it is running on a system with IE6 all latest patches. what's wierd is that I would expect this to occur when the app ...Show All
Visual C++ how can I destory or exit this window of CFormView by a enevt handler in this class?
I built a MDI application and the view is CFormView.In the interface of this CFormView,how can I destory or exit this window of CFormView by a enevt handler in this class Thank you very much for your answer! To destroy a view you should destroy the frame window it belongs to. If you want the user to be asked about saving changes use GetParentFrame()->SendMessage(WM_CLOSE); To close the frame without question: GetParentFrame()->DestroyWindow(); ...Show All
.NET Development Compiled Regular Expression...setup during runtime...
If one specifies that the regular expression should be compiled into the assembly, how does that affect a dynamic creation of the expression For example, the areas in red are specific to the string.format where a delimiter defined at runtime that is being inserted. Regex( string.Format ("( <= {0} |^)( :\") ( <Column>[\\w\\.\\- ]*)( :\") ( = {0} |$)", this.Delimiter ), RegexOptions.Singleline | RegexOptions.ExplicitCapture | RegexOptions.Compiled); Since it is generated at runtime...how, or if, does that affect that it will be compiled into the assembly Or am I misunderstanding compiled The documentation says t ...Show All
Smart Device Development Establishing a Direct Database Connection
Can I establish a direct database connection with .NET CF Is this possible with Pocket PC/.NET CF For example is there a System.Data.OracleClient that supports .NET CF Thanks again, Jeff. Yes, it's possible to establish direct connection to SQL Server 2000 and SQL Sever Mobile (CE), support for that is included into VS. Other DB providers are available from 3rd parties. For example, Oracle DB provider can be found here: http://crlab.com/oranet/ ...Show All
