Jithendrian's Q&A profile
Visual Studio Sandcastle and VB.Net 2005 Comments
Sandcastle builds the help file for VB.Net 2005 applications but seems to remove any comments added to the code. Does Sandcastle only support /// and not ''' comment lines So the ouput CHM file page looks like this now: Reference Library DisplayMessage Method Namespaces > testVBHelp > Class1 > DisplayMessage(String) C# Visual Basic Displays the message. Syntax C# Visual Basic Managed C++ public bool DisplayMessage ( string strText ) Public Function DisplayMessage ( _ strText As String _ ) As Boolean public : bool DisplayMessage ( String ^ strText ) Parameter ...Show All
SharePoint Products and Technologies Sharepoint Designer Backup/Restore problem
I am trying to use Sharepoint Designer's backup and restore functionality to move a site from one server to another. The backup seems to complete successfully, but when I go to restore the site I get an error that looks like this: Cannot find C:\Windows\Temp\.......\exportsettings.xml. Does anyone know how to resolve this problem I'm encountering a similar problem but with a bit of a twist. I completed the backup of the site when we were still on WSS 2.0, and this created a .fwp file that I was able to restore the site with using Sharepoint Designer. It appears that the new file extension for WSS3.0 is .cmp and I'm wondering if I will be able to restore the site. Any input is g ...Show All
Software Development for Windows Vista Use Native WLAN API in managed code
Has anyone here used the new Native WLAN API from a C# .NET application I'm trying to p/invoke the functions, but have limited success; when calling the WlanEnumInterfaces function it won't return me a proper WLAN_INTERFACE_INFO_LIST. [ DllImport ( "wlanapi.dll" , SetLastError = true )] private static extern int WlanOpenHandle( [ In ] UInt32 dwClientVersion, [ In , Out ] IntPtr pReserved, [ Out ] out UInt32 pdwNegotiatedVersion, [ Out ] out IntPtr phClientHandle); [ DllImport ( "wlanapi.dll" , SetLastError = true )] private static extern int WlanEnumInterfaces( [ In ] IntPtr hClientHandle, [ In , Out ] IntPtr pReserved, [ Out ] out WLAN_INTERFACE_INFO_LIST ppInterfac ...Show All
.NET Development Hosting Remoting objects in IIS
Hello everybody, is it a better option to host remoting server objects in a window service or IIS i would like to know your opinions. thanx bhavtosh Hi, Hosting it on IIS gives you all the access framework, security, pools, availability. You can have also these features hosting the service using a winservice or a console app but you will have to write your own handlers. Also, IIS will serialize using HTML only (I think this has changed on .NET 2), where HTML is plain text generating bigger packages. Therefore, slower but more adaptable with less code. If you host your own service you can use Binary Serialization that is smaller, therefore faster connection but the other end should know how to diserialize it. Reg ...Show All
Visual Studio Express Editions Uninstall Questions
I'm going through the control panel, add or remove software tool, and the uninstallation has now crashed 2 completely different computers. It never finishes. Then when I come back and go to uninstall again, I receive nothing but errors. Any ideas Thanks in advance. I don't really understand what you're asking me to do. Are you giving me something to type in c:/ I don't know what the above program is, so I fear it. And what is %temp% Just making sure, but I'm trying to uninstall the program. It seems odd that I have to run a program to get rid of one. But thank you for helping, I'll do what it takes. ...Show All
SQL Server Works fine inside BI Dev. Studio, but fails when scheduling it in SQL server 2005.
Hi! We are currently developing a project in SQLIS using the BI dev. studio. The package executes with no problems in the development environment, but when I try to deploy it and execute it using the SQL Server Agent, the package fails. "Work flow" ----------- 01. Build a package deployment utility (Rebuild all). 02. Runs the deplotment utility. 03. Checks that the latest package has been installed. 04. Creates a new job in SQL Server, using the SQL Server Agent. 05. Adds a new step to the job. 06. Sets that it is a DTS package that should be run ("file-based") 07. Sets the location of the package. 08. Saves the job. 09. Starts the job manually After step 9, the job runs for a while until it stops... I've tried sever ...Show All
Architecture Properties and UML class and sequence diagrams
Hi, I am wondering what is customary to do with properties in UML class diagrams Should they be in the method section And if usage of properties are included in sequence diagrams. They are not actually methodcalls, but similar. Best, /M ...Show All
SQL Server Proxy Class is fine when used in C# project but returns error when Used with SSIS
My proxy class returns web service responses well if I use it in a C# code. I compile it with CSC and put it in GAC to use it with SSIS. Then I get web service response with some field values populated with "Exception of type :{System.InvalidOperationException "' occured. Here is the part of web service response received by the C# program: Name Value Type mainAddress {Address} Address city Metuchen string cityField Metuchen string country USA Country countryField USA Country state NEW_JERSEY State stateField NEW_JERSEY State Here is the same objec ...Show All
Visual Studio Team System TFS API - create label not working from web application
Hi, I've been struggling with this issue in the last days and I hope someone outhere has the answer: I'm working on a source control application which uses TFS API. among other things this application creates a label. The project which handles all the work with the TFS is an assembly and the user interface I choose is a web UI. the code which performs the creation of the label is as follows: public bool CreateLabel( string labelName, string itemSpecStr, string comment) { string labelOwner = versionControl.AuthenticatedUser; string labelScope = "$/Rich Media Platform/RMP" ; string labelComment = "Example label showing API usage" ; string [] itemSpecArray = itemSpecStr.Split( ',' ); try ...Show All
SQL Server Credentials used to run this report are not stored
Hi all, When I create a new report subscription in report manager, I got this error Credentials used to run this report are not stored any idea Thanks, Jone Thanks for your response. By the way, which name and password should I input. I tried to using ASPNET as the username (or 'sa' and the password to access sql aerver) but it failed, and gave error message bad user name or password. Thanks, jone ...Show All
.NET Development Create Table in code doesnt show in vb.net ide
I have some code to create a SQL table in vb.net but this does not show in the IDE explorer in vb.net 2005. I also do DROP TABLE command and that doesnt show. I want to create tables in code rather than direct in designer. Many thanks Chris Anderson ...Show All
Visual C++ Compiler Crash
OK I know I shouldn't have written it, it was a result of some slow responses on the machine that a class name got replaced by a bracket, and I;ve thrown away a lot of unnecessary stuff however:make a file containing typedef struct {} (; And the compiler will crash. .Net 2005, I haven't tried it on 2003 or Team System. BTW I saw another "compiler crash" thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=323623&SiteID=1 That referred the submitter to http://lab.msdn.microsoft.com/productfeedback/default.aspx So I went there - and ended up back here. Andy Marius Bancila wrote: It seemed to me that Microsoft evaluated the bug and it decided not to do anything about it, as the s ...Show All
Windows Forms Controls appear attractive in design but not runtime
Hello, I have recently upgraded a number of VS projects into 2005 and I have noticed that for each of these applications the user controls appear different at runtime. When using the designer in 2005 the buttons appear rounded, and more user-friendly (like the buttons in IE) however at runtime (or during debug) all controls appear a ugly, grey, windows 2000 style appearance. If I create an Windows Forms application from scratch in 2005 I get the attractive controls in all cases - It just seems to be the upgrade. Any ideas Regards, Luc Pettett Andrej, Both of these have been set - it is a problem which has occured with all of my VS2003 -> VS2005 conversions.... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Getting debug information....
How does one setup the XNA express IDE to receive debugging code. InvalidCallExceptions aren't very helpful in tracking down the problem. We don't have the DirectX sdk installed so we can't switch to debug drivers. How can we set this up TIA, lushdog The reason why you don’t see the messages is that messages from the unmanaged DirectX are not shown. The output window shows only messages from the managed part of the code. You can change this in the pro version but I am unsure if this switch is available in the express version. You could use an external Debug Monitor: http://www.sysinternals.com/Utilities/DebugView.html ...Show All
.NET Development XSLT compile error when using XslCompiledTransform.Load indirectly called from unmanaged code.
I have a component I wrote in C#. Among other things it performs a XSLT transform on XML data it collects. When I test this feature using another C# project that uses the component it works just fine. However when I export the component as a COM component and try to use this feature from a unmanaged application it fails on the XslCompiledTransform.Load command with an XSLT compile error. If I take out the template tags then it loads just fine, of course it will not actually do anything then either. Thanks for any help you can provide, Rich Inner exception: {"Overflow or underflow in the arithmetic operation."} Stack Trace: at System.Xml.Xsl.Xslt.QilGenerator.Compile(Compiler ...Show All
