msdnstu's Q&A profile
Visual Studio Tools for Office VS 2003 enterprise developer and vs 2005 professional
Hi can anyone tell me what is the limitation of vs 2005 pro compare with vs 2003 enterprise edition. Can vs 2005 pro do the office development, as i know it cannot but i have try it on its ok for me to extract the data into the excel document. please advice Hello, This is a great site for comparing VS products. http://msdn.microsoft.com/vstudio/products/compare/default.aspx . Does this help ...Show All
SQL Server Cannot get SQL 2005 RS up and running
I am attempting a migration to RS 2005. I restored the ReportServer and tempdb databases over to the new server. The config manager says the ReportService service is running. When I try to view the reports in a browser I get a report server is not responding error. Thanks Richard The report server has encountered a configuration error. See the report server log files for more information. (rsServerConfigurationError) For more information about this error navigate to the report server on the local server machine, or enable remote errors ...Show All
.NET Development process.close()
If I use process.close(), does this terminate the process as well as releasing any associated resources Do I have to use process.kill() specifically if I want to terminate a process before closing it An example of what I'm talking about is below. Thanks, Derek. private void button1_Click( object sender, EventArgs e) { Process p = new Process (); p.StartInfo.WindowStyle = ProcessWindowStyle .Hidden; p.StartInfo.FileName = @"C:\WINDOWS\system32\notepad.exe" ; p.Start(); p.WaitForExit(10000); if (p.HasExited) { if (p.ExitCode != 0) { MessageBox .Show( "error: notepad exited with code " + p.ExitCode); } } else { MessageBox .Sho ...Show All
Visual Basic Filemapping
Hello, just tried to create a new filemapping, and i did everything like the examlpe in the msdn-library but it just dont work: althougt I am sure the file is created, because the Function "createFileMapping" returns a handle I can work with afterwards, the function "OpenFileMapping" always returns zero. And the Err-Function returns "2", that means "ERROR_FILE_NOT_FOUND" The problem is, that I have to open the filemappingobject fram another program, the "openFileMapping" function is therefore necessary. Please tell me my mistake if you find it. Thanks [Code] Private Const STANDARD_RIGHTS_REQUIRED = &HF0000 Private Const INVALID_HANDLE_VALUE = -1 Private Const PAGE_READ ...Show All
Visual Studio Team System Feature Request: Sql Data Compare-limit what is compared by table
CTP5 is great! As a developer, I am excited about the new MSBuild functionality. This will allow us to update our developer DB after each stage build. However the data compare piece does not appear to have the ability to limit what is compared/updated on a table level (i.e only compare/update Users with age>40). Perhaps a bad example, but when your stage DB is 15GB, it would be great to be able to pull down a sub set of your larger tables to your Dev environment. Typically we only want to pull down data related to specific User Sets (ie. Users in specific companies etc.). Point well taken that we don't offer any filtering of data compare as you have expressed in your example, but you may look into ...Show All
Visual Basic Master-Detail User Input Form...
Hi, I am quite new to VB in general. I am trying to build a database application using Access tables and create a user interface for it using VB2005. The first form I am strugeling with is the Input form that should allow the users to input invoice type records into the two tables, lets say, Invoices and Items. The form shouls use simple forms elements like TextBoxes, ComboBoxes, CheckBoxes and Buttons that will insert the records into the tables when pressed. Could any of you give me a best practice example that would allow me to acomplishe this (Since I am new to VB, I would prefere to do everything as "visual" as possible, I mean during design time.) Thanks a lot in advance, Regards, Gep. ...Show All
Visual Basic Master-Detail User Input Form...
Hi, I am quite new to VB in general. I am trying to build a database application using Access tables and create a user interface for it using VB2005. The first form I am strugeling with is the Input form that should allow the users to input invoice type records into the two tables, lets say, Invoices and Items. The form shouls use simple forms elements like TextBoxes, ComboBoxes, CheckBoxes and Buttons that will insert the records into the tables when pressed. Could any of you give me a best practice example that would allow me to acomplishe this (Since I am new to VB, I would prefere to do everything as "visual" as possible, I mean during design time.) Thanks a lot in advance, Regards, Gep. ...Show All
Visual Studio Team System Changes are not shown in the Form
In my application I do a change of some WorkItem fields. Via the Team Explorer in Visual Studio I want so see the changes of the WorkItem fields. When I select the WorkItem the changes in the Form are not shown. I change another field in the Form and then the next error occurs: "Unable to save all edited documents. 0 saved successfuly. 1 could not be saved. Please correct the unsaved work items and try again." So this means that the changes are committed but are not shown in the Form After about 5 minutes the changes are shown in the Form !! Why does it take so long to show the changes in the Form Yngwie, this could happen if you have a workitem opened in team explorer UI, or if you ...Show All
.NET Development XmlDocument
Hi, I need to create an XML document in VB.NET to include the type of the element as this will be used by another process once I have created and exported the XML file e.g. <IDField type="asn1:INTEGER">3</IDField> Is it possible to do this, I have looked at XmlTextWriter as a method for creating the XML document within VB, but can't see an option to include this information. If I load in an XML document that already has this information in it then it is retained internally and is present when I export the document again. Any help appreciated, Dave Thanks for that Martin, as you can probably tell, I'm quite new to handling XML in .NET I ended up with the following, which seems to give me what I want Dim w ...Show All
.NET Development Is there a better way of coding this RegEx ?
I need to run verification on SSN's read from a file sent to us by our users. We cannot process any records that with an SSN that has all zeroes, ones, twos, threes, ... etc. I have completed the below RegEx that catches all invalid SSN's up to a point and then began wondering if another way might be better I'm just learning Regex and this has me stumped. The code below is what I came up with and works, but to me it is way too long; or is my "newness" showing thru and this is the only way to code this private Regex regexSSN = new Regex ( @"( !000)( !111)( !222)( !333)[0-9]{3}\- \s " + @"( !00)( !1)( !22)( !33)[0-9]{2}\- \s " + @"( !0000)( !1111)( !2222)( !3333)[0-9]{4}" , ( RegexOptions . IgnorePatter ...Show All
Visual Studio Visual Studio 2005 Service Pack 1 Beta
I would like to know exactly what “ Visual Studio 2005 Service Pack 1 Beta” updates. Most importantly does it update the framework If someone could point me in the direction of a specification I would be most grateful. There is no exact specification of what the service pack contains for all products to which it updates. As Ahmedilyas mentioned, it doesn't update the .NET framework and therefore does not update C#, VB.NET, JScript, or J# compilers. The service pack's release notes list some of the bug fixes and the C++ and TFS teams have posted some of changes that have gone into the service pack here: http://blogs.msdn.com/vcblog/archive/2006/06/22/643325.aspx , http://blogs.msdn.com/robcaron/archiv ...Show All
.NET Development Using soap with tcp
Hi, I have a windows service that is currently using tcp format headers and I want to change it to use soap. I've read that soap formatters can be used with tcp but I have not been able to find an example. Here is the code I have in the on start of my service: BinaryServerFormatterSinkProvider serverProv = new BinaryServerFormatterSinkProvider(); serverProv.TypeFilterLevel = System.Runtime.Serialization.Formatters.TypeFilterLevel.Full; BinaryClientFormatterSinkProvider clientProv = new BinaryClientFormatterSinkProvider(); IDictionary props = new Hashtable(); props["port"] = 32460; TcpChannel chan = new TcpChannel(props, clientProv, serverProv); ChannelServices.RegisterChannel( chan ); / ...Show All
Visual C++ "archive member will be inaccessible".. but it is accessible!
Hi All! I have a header managedobject.h containing among others this class template: template< class tManagedObject > class DeletedAtShutDown { typedef ManagedPointerAdapter<tManagedObject> mt_Adapter; public: DeletedAtShutDown(); protected: virtual ~DeletedAtShutDown(); private: mt_Adapter* m_pAdapter; }; #include "managedobject.cpp" this is part of managedobject.cpp with the implementation: template< class tManagedObject > DeletedAtShutDown<tManagedObject>::DeletedAtShutDown() { //... } template< class tManagedObject > DeletedAtShutDown<tManagedObject>::~DeletedAtShutDown() { //... } This gets compiled into a static library, resulting in this warning: warning L ...Show All
SQL Server How to update 2005 report definitions to a 2003 Report Server
I am creating reports using RS with VS 2005 and trying upload them to a 2003 report server, I get the following error... The report definition is not valid. Please verify that the report definition uses the current report definition namespace (i.e. ‘http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition’). (rsNotACurrentReportDefinition) Get Online Help Also, when trying to open 2003 rdl files in RS 2005, I am warned that the file may not work once converted to 2005. Any thoughts Please read this related thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=414302&SiteID=1 ...Show All
Visual Basic Starting another App
I want to add a command button and when this button is clicked I want to start another application, for example the calculator. What code do I use to accomplish this Sorry, but I am just starting out. TIA, JoeAbs yes, VB6 questions must be posted at the appropriate communities, since these forums are for .NET, not VB6: www.microsoft.com/communities I guess you would need to use Shell or something however, best posted over there ...Show All
