Marcio Martins's Q&A profile
Visual Studio Team System Team Explorer in Visual Studio 2005 RC1 Team Suite
I just installed VS2005 RC1, and the Team Explorer tab that i was used to seeing in VS2005 Beta 2 seems to be missing. I am using Team Foundation server as a source control environment, and I am not able to connect. Does anyone know if it is hideen somewhere Correct...we'll have TFS Beta 3 available for download in the next 3-7 days. It is the only version that is intended to work with Visual Studio 2005 RC. ...Show All
SQL Server Missing image in PDF Export version
I have an ASP.NET application that passes stored procedure params and generates a dynamic report with one or more Image controls. The image paths are created with absolute references to their locations in a separate web directory, the one that the .NET app calls the report from. So the stored proc returns a string similar to http://mysite.com/myimage.jpg , and with an expression I wrote in the report designer, I assign this to the Image control's URL property. This approach works great in the Report Designer, when I preview it, as well as when I export it to PDF from within the designer. From the .NET calling app, however, the PDF i ...Show All
.NET Development Dataset Current Row Position
I am programatically creating a dataset with a table and need to know the current row number I am on before doing something else so I can get back to it. I have no controls bound to this dataset/table and would prefer to do everything in program. In the old days of recordsets I just used to get the bookmark of the current record and then go back to that bookmark. I have searched and can't find how to do this and I know it is probably really simple. Thanks DataTable (/DataSet) doesn't have a CurrentRow concept. If you want to refer back to some row while doing a foreach, you can simply save the Dat ...Show All
SQL Server get unspecified error when browsing data of CUBE in Analysis servise
Please give me solution, I am getting this message when I am browsing data of cude "Unable to browse data of <cude name> unspecified error" please tell me the solution of this. hey asif, m also getting the same problem, did u find any solution. I have installed SP4 ...Show All
SQL Server transfer database task error
hi, I have created a SSIS package that does nothing more than loop through all DBs and copies the userDBs to another server. However, I keep getting an error after the task has created the database during its execution of "Create Role" statements. Here is the error: Error: The Execute method on the task returned error code 0x80131500 (ERROR : errorCode=-1073548784 description=Executing the query "CREATE ROLE [aspnet_WebEvent_FullAccess] " failed with the following error: "User, group, or role 'aspnet_WebEvent_FullAccess' already exists in the current database.". Possible failure reasons: Problems with the ...Show All
Visual C++ STDMETHODIMP
I am trying to compile some VC++ 6.0 code on VC++2005, and I get the following error: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int The line of code is simple: STDMETHODIMP Func(WORD Index); Knowing that STDMETHODIMP boils down to " LONG __stdcall ", what's the problem here The same compiler error is generated for STDMETHOD. Any clue Thanks, Mo Can't you just rebuild the old libs with the new compiler This will save you tons of time as now and for the future. If that is not the option, try using the linker options /NODEFAULTLIB. I ...Show All
Windows Forms Linking to a resource file within the WebBrowser object
I'm using C# 2005 Express and .NET 2.0. Here is a screen capture of my app: http://www.utopiadigitalmedia.com/img/UtopiaGraphicWorks.jpg As you can see, I have a help utility docked on the right side, which as a "WebBrowser" object. THe object contains HTML loaded from a string resource compiled into the app: this.webBrowser1.DocumentText=(string)GraphicWorks.Properties.Resources.howto; now here is the problem- I would like that howto HTML to contain graphics, and to contain links to additional pages of info. I would prefer that those graphics and other pages are all resources, so the program can be distributed as a single exe, instead of ...Show All
Windows Forms TabControl leaves me wanting more
I've got an application that has a TabControl with some tab pages on it. I'd like the users to be able to close a tab if they dont want it any more. The tab control will add the left and right arrows if there are more tab pages than can fit on the tab control, so that you can move down the list of tabs. However, I can not find an intuitive way to allow the user to close the selected tab during runtime. What would be ideal is if there was a way to put a button in the TabControl header, like the left and right arrows, that could close the selected tab. Only thing is that the TabControl won't allow you to place a button in the header. Does a ...Show All
Visual C# Throttle CPU speed
Hey all, I need to control the speed (in hz) that a c# application executes at. I want to be able to simulate the program running at 600Mhz, 1Ghz, 2Ghz, etc... Anyone any idea how to do this I would prefer to code the CPU throttling into the C# app rather than use a external program. Thanks, Stevoie for what exactly is this needed if you're running in a loop, you can use System.Threading.Thread.Sleep(); to slow down if needed, or just calculate stuff depending on the time that the last loop needed.. ...Show All
Visual Studio Tools for Office ActionsPane with a Shared Addin
Hi, I need to add an ActionsPane with a Shared Addin to a Word Document but I can not find the way... I have a user control and when the user creates a new document i want to show the user control in the task pane. Can i do it with a Shared Addin With VSTO I found the way, but i didn't find with a shared add-in. It is possible Thanks a lot, Juan Here you are referring to objects that exist on different levels. The Actions Pane exists only in the context of the customized document. To prove this, compare the availableTask Panes for your VSTO Excel document and your non-VSTO Excel Document (you can use View - Task Panes ...Show All
SQL Server Meaning of TextQualified attribute in flat file connections
Can anybody explain what the meaning of the TextQualified attribute on a flat file connection is I am importing delimited flat files where text columns are not qualified by quotes. If I use the Suggest Types button in the Flat File Connection Manager Editor, it sets TextQualified to True for all columns. Importing works fine than, but it also does with TextQualified = False. So what's the difference Hans Geurtsen. If TextQualified=TRUE then a string surrounded by quotes will get interpreted as just the string. In other words the following 2 entries in the file will be loaded as the same: ThisIsAString "Thi ...Show All
Visual C++ Compile error C1083
Hello all, I got the following error when building a Visual C++ MFC application using Visual Studio 2003 on Windows 2000. Compiling... stdafx.cpp c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afx.h(182) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory Does anybody know where can I get that file Thank you, Following is the compile log: Build Log ------- Build started: Project: MyProject, Configuration: Debug|Win32 ------- Command Lines Creating temporary file "c:\Documents and Settings\Administrator.GABY.000\My Documents\Visual Studio Project ...Show All
Visual Basic Using a listbox to display related data
Hi, I'm thoroughly confused. Seems to me this should be simple, but for some reason, I can't figure it out! I've got a listbox with a list of names from a parent table. I have a relation between that table and a child table already created. What I need to do is, after the user makes a selection in the listbox, I then need to, in a second listbox, display the data from the child table based on the user's selection. I know how to display the related data using a DataGrid, but I can't figure out for the life of me how to do the equivalent with a listbox. Can anyone help Thanks, Elizabeth ...Show All
Visual Studio Team System Deleting a Team Build
A while back there was a thread that mentioned a command line utility for deleting Team Builds - see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=6684&SiteID=1 Will this utility make it into RMT What is it called Will http://blogs.msdn.com/hemantk/archive/2005/09/26/473930.aspx has detailed docs. ...Show All
.NET Development Blocking remoting use of 'static' methods/properties in .NET 2.0...
I have been in the process of migrating a service-oriented system to .NET 2.0. This system makes heavy use of .NET Remoting to distribute business logic off of our web servers and onto application servers. To my GREAT dismay, I have just learned that remoting in .NET 2.0 explicitly denies call access to ANY static method, property, or field on a remoted object. While I fully understand the logic behind this move (static methods/properties require no instance, so nothing needs to be created on the server, or so you assume), I think one obvious and very useful tactic has been completely ruined by this move. This has put up a huge roadblock ...Show All
