Amir The Ruler's Q&A profile
Visual Studio Sorry, another:The report definition for report has not been specified
I've gone through all of the posts on this subject and cannot find a resolution. I do the report creation using a Report Server project. Create the .rdl report with the subreport. Beautiful, works as advertised! When I copy them over into my project, rename them to .rdlc and run the project I get the infamous message in the immedite window and the subreport doesn't load. The .rdlc files are loaded as an embedded resource. I found the post that says 'if it knows where to load the main report it also knows where the subreport is'. I use: Dim hdl As New SubreportProcessingEventHandler( AddressOf MySub) AddHandler reportVie ...Show All
SQL Server not able to login in other computers!
I'm developing with Visual Studio 2005 Standard Edition and SQL Server 2005 Express Edition, my problem is that as default SQL Server Express uses windows authentication. Since I develop in my own PC and install the software in another PC, my SQL Server Database is useless cause it still tries to log in wih my computer name and windows user. I'm using a conventional intallation project in which I include all the files (fonts, project output) that the computer should have, and I also included the .mdf file for the Database to work. I tried using SQL Server Management Studio CTP to help me create a user for my Database, but the users I c ...Show All
Game Technologies: DirectX, XNA, XACT, etc. frames per second benchmark for games
Hello all, I'm John, a newbie to real-world apllication development. My experience so far has been in the classroom working with C/C++, no DirectX knowledge yet. I would l ike to write a program that will allow users to benchmark games by analyzing frames per second (FPS). My main hurdle at this point is retrieving the FPS information from the games. I believe the answer lies in understanding DirectX programming. Here's a brief summary of what I want to do in my program: - allow the user to start/stop benchmark process. - while benchmark is running - gather d ...Show All
Visual Studio What works on the express editions?
Hello I already know that VS Addins and VSIP Packages don't work on the express editions. Can someone please help me on what of those do work, and how do they differ from the full VS: Using Custom Tools to automatically generate source code files Putting toolbars and buttons on the IDE (I know there are no addins, but maybe invoking external programs ) Custom Code Snippets & Templates Best regards, Gustavo Guerra Thank you Phil. I see by the item "Reporting" that the use of SQL Server Reporting Services is supported by all editions and products. By 'Std can use SQL Reporting Services' d ...Show All
Visual Studio Express Editions C++: DialogResult and namespaces confusion...
Hi I'm working with C++ Express, I'm new to Windows Forms and the namespaces used but not to C++. I'm having difficulties with DialogResults: The MSDN documentation gives examples like this: System::Windows::Forms::DialogResult result; result = MessageBox::Show( this, message, caption, buttons ); if ( result == ::DialogResult::Yes ) Yet when I compile I get the following errors (for the if line) : error C3083: 'DialogResult': the symbol to the left of a '::' must be a type error C2039: 'Yes' : is not a member of '`global namespace'' error C2065: 'Yes' : undeclared identifier So I also try without the leading :: and get: error C20 ...Show All
Visual Studio Team System Can't Query Qork Items. Error TF26000
I'm in Visual Studio and either trying to do a checkin or just trying to run queries against work items I get the error TF26000: Could not connect to the Team Foundation Server. Check that you have a network connection and that your Team Foundation server is available. The server is available and I can connect, other things that require the server are working (for example I can check code in). Any help would be gratefully received! We also fixed this error by removing the user and then adding them again to the Team Project. It's almost like their user id in TFS was corrupt. ...Show All
Visual Basic Error/unexpected behavior with defining/using a custom property on a user control
I have a user control which is defined in a class called GuiSetup. On this user control are two other user controls of the class SideGuiSetup. The two controls are called LeftGuiSetup and RightGuiSetup. These are all VB6 user controls; they are not ActiveX objects but rather are defined in .ctl files that are included with the project. I need to be able to distinguish between LeftGuiSetup and RightGuiSetup when I am in GuiSetup code. In other words, when I am in a SideGuiSetup routine I need to know whether "Me" is the Left or the Right instance. In SideGuiSetup class I created an Public enum called GuiSetup ...Show All
Visual J# System.IO.Stream <==> java.io.InputStream/OutputStream
Hi; So you have wrapper classes where like: DotNetStreamWrapper (java.io.InputStream stream) : implements System.IO.Stream JavaStreamWrapper (System.IO.Stream stream) : implements java.io.InputStream And same question for Enumeration <==> Iterator. - thanks - dave Hi Dave, Just to understand your question better, Do you want to know if these wrapper classes ship with Visual J# Thanks, Varun [MSFT] ...Show All
Visual Studio Deploying web app
Hi there! I've got an msbuild proj here and in one of the steps I'm copying the new files to my web server. I'm having problems with something here that I don't understand how it works: * I want to delete all the contents within the folder and subfolders where my web app is located. I've added something like this to my build proj: <PropertyGroup> <FolderToDelete>C:\Temp\BuildTest\Test</FolderToDelete> </PropertyGroup> <ItemGroup> <MySourceItems Include="$(FolderToDelete)\**\*.*"> </MySourceItems> </ItemGroup> <Target Name="DeleteFiles"> ...Show All
SQL Server rs:ClearSession not working
the report data does not refresh even though i added the rs:ClearSession parameter to the URL..i have to click the refresh button to get the latest data.. the URL i use: http://localhost/Alcon/Reports.aspx rs:ClearSession=true&distCd=DPI&SOSummary=true any ideas on how to solve this problem yes, thr Reports.aspx is the pageviewer actually.. i already solve the problem... but the solution was a bit weird... i have to add the rs:ClearSession to the parameter of the report and not on the URL. ...Show All
Windows Forms How do I get the table to accept input into a form written via a program.
If I write to a text box via a program, the table attached to the form is not updated until I navigate to the next form record. Presumably the Form locator.position change accepts and confirms the value to the table. The Data Table is not linked to a SQL database or MS Access but I read and write to it from text files so I can not to an sql COMMIT. On occasion, the field will display the value sent but the underlying table ignores it. So I need an “Enter” like event to commit or confirm it in the table. John Spencer wrote: Remco, Don't worry if you can not help here but I took a look at your s ...Show All
Visual C# else or not else?
Hi all! Just a little question. Should I use rather if (cond) return a; else return b; or if (cond) return a; return b; What's the actual difference at runtime What do you prefer Thanks for any hints! it is same here, and also I don't think there is any difference in the runtime. Maybe I will perfer the first one, because it is easier to understand. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX7 SDK Lost Forever?
I am very distressed at the moment. I simply cannot find the last release of the DX7 SDK anywhere ! I may just be ignorant as to where to find it on MSDN Downloads but I just can't find it anywhere. Anyone who knows where I could find a download of that priceless treasure please let me know. We only support the last 3 releases of the DirectX SDK (currently the June, August, and October 2005 releases). DirectX 7 became an unsupported SDK a few years ago. ...Show All
Windows Forms Microsoft Outlook 11.0 Object Library
I am retrieving message from the Inbox as follows: (MS Article ID 310258: How to use the Microsoft Outlook Object Library to retrieve a message from the Inbox by using Visual C# .NET) Try Dim oApp As Outlook.Application = New Outlook.Application Dim oNS As Outlook.NameSpace = oApp.GetNamespace("mapi") oNS.Logon(Missing.Value, Missing.Value, False, True) Dim oInbox& ...Show All
Visual Studio Team System Load Testing - Not enough free threads
Durring my load testing in 2005 I get the following execoption: System.InvalidOperationException: There were not enough free threads in the ThreadPool to complete the operation. at System.Net.HttpWebRequest.BeginGetResponse(AsyncCallback callback, Object state) at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.Execute(AsyncCallback completionCallback, Object callerState) It only appears to happen when I go over 10 users.... Any Ideas Thanks It sounds like your web server may not be responding to connection attempts quickly enough to keep up with the rate of new reques ...Show All
