Clayton Marinho's Q&A profile
SQL Server Dimension Access for Roles in AS 2005
When creating a role in AS 2005 and specifying dimenison access (on the Dimensions tab of the role definition in BI Dev Studio), why do some dimensions have the option of "None" as access level while others only have "Read" and "Read/Write" For example, in looking at the Adventure Works sample solution for AS 2005, if you add a role and then go to the Dimensions tab of the role definition, you'll see that Account, Department, Organization, and Scenario only have "Read" and "Read/Write" as access options. All the others have those two as well as "None". At first, I thought that it was because of some unique setting for those four ...Show All
Visual Studio Team System Error code is 26403
I get a very generic message during the upgrade about the source possibily being corupt. --------------------------- Microsoft Visual Studio 2005 Team Foundation Server Setup --------------------------- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 26403. --------------------------- OK --------------------------- I checked the install log and found the following error prior to the rollback. Couldn't load string ID: 2000 From file: CustomText.1033.dll I googled this error and found that it had occurred in prio ...Show All
Visual Studio 2008 (Pre-release) Access violation exception in PresentationHost.exe
After I upgrade from Feb.CTP to Beta2, the PresentionHost.exe always throw a access violation exception every several seconds. How to solve this problem I uses WindowsFormsIntegration in my program and my machine runs Windows 2003. On Windows XP this problem does not exists. Thanks! Thanks! I have solved the problem. It seems it's caused by previous Feb. CTP. I uninstall the Beta2, and run the vs_uninst_winfx.exe, and install Beta2 again, and the problem disappears. In the previous installation, I just uninstall Feb CTP and then install Beta2, so the vs_uninst_winfx.exe is necessary after uninstalling Feb CTP. ...Show All
Visual Studio Addin for Visual studio 6.0(msdev.exe)
Hello, I am trying to develop an addin for Visual studio 6.0(msdev.exe). I am using DevStudio Add in Wizard for it. It provided me default code for handling application events and debugger events. But my objective is to handle copy,cut,paste ,print commands in editor.These command are not the part of IApplication events or IDebugger events. Could anybody please help me in finding the best possible solution for this. As per my understanding Cut,Copy,Paste methods are part of ITextselection interface ,which i try to implement in my class,but unable to handle those events as there is no proper event passing. Thanks and regards, Ruhina. ...Show All
Visual Studio Overriding PublishUrl in publish target doesn't work without clean
I have a clickonce application I want to deploy to multiple sites. My build script compiles the application once and then it calls the publish target once for each deploy site setting the PublishUrl accordingly. Unfortunatly msbuild seems to think that since no modifications have been made since the compile was done it doesn't need to rebuild the manifest file. So, I cannot compile once and publish multiple times, instead I have to recompile the entire project once for each deploy site. Is this how msbuild is supposed to work in a situation like this, and if so why, or have I missed something. Naturally, I'd like for msbuild to sim ...Show All
Visual Basic Creating Tables with sql express
I know this deals with ms sql express more so than vb.net but it correlates b/c I want to edit the database with vb.net express. On to my question... I'm trying to learn how to use ms sql express using the SQL Express Manager. However, I can't seem to figure out how to create tables. I'm reading http://msdn.microsoft.com/SQL/2005/getstarted/default.aspx pull=/msdnmag/issues/04/09/expresseditions/toc.asp but it seems outdated and I can't replicate what he's doing in the tutorial. I'm not a total novice when it comes to programming, but SQL Express Manager isn't as intuitive as one might think, there's no "Create Table" context menu. Can ...Show All
Windows Forms populating grid on the fly
hi friends am trying to populate data grid on the fly in button's click event. my sample code is SqlCommand myCommand = new SqlCommand ( "select * from task" ); myCommand.Connection = conn; myCommand.ExecuteNonQuery(); grdTask.DataSource = myCommand; grdTask.Refresh(); this is not loading any data or returning any error any ideas . am using VS 2005 and C# Thanks 1. You can't bind directly to a SqlCommand. You need to load the data into memory first (DataSet). 2. The ExecuteNonQuery method is to run Update, Insert, and Delete queries, that don't return any result records. For Select statements, you need some sort of Re ...Show All
Visual Studio Problems with August CTP ReportViewer WebControl
I am having an issue with the ReportViewer control in the August CTP of the WebForms ReportViewer control. When I attach an eventhandler to the Sort event of the ReportViewer control, and subsequently click the icon for interactive sort (on the report), a blank screen renders without report content. Has anyone had a similar issue How have you worked around it -JG- Here is a copy of the code I am using: ReportViewer rv; protected void Page_Load(object sender, EventArgs e) { rv = new ReportViewer(); &nbs ...Show All
Visual C++ Using Bookmarks in VC 8.0
I am switching to .NET 2005 from using VC 6.0 and for a short while VC .NET 2003, but I use the IDE for also reading through logs and loved the bookmark feature for this. First I had to figure out how to get the function keys back to the way they worked in VC 6.0 (Ctrl+F2 and F2), but now that they are working I was looking for a way to get the bookmark stepping to work as it did in VC 6.0. It used to let me set bookmarks and then step through them in the order that they appear in the log, but now it seems to go through an order list of the bookmarks and shows them in the order that they were set, even jumping to other open documents. ...Show All
Windows Forms How to Access varaibles in JavaScript from Vb.NET
From the Windows Form (frmstart.vb) how can I access the Functions and values of Variables in the JavaScript (Test.js). I need with example code. Is it possible access the things in the JavaScript from Windows Forms. This is a windows application for getting values from JavaScript variables. Both the files are included in Windows application project in VB.NET. frmSta ...Show All
.NET Development Send e-mail through a winforms application
I'm about to deliver and install a Windows Forms application (made w/ vs2005 and .net 2.0 beta) to a customer, and a problem came up ... The application will have to send an e-mail in a specific function. To send the email, I tried the code below: Try Dim oMail As New MailMessage With oMail .From = New MailAddress(" sender@domain.com.br ", "Sender Name") & ...Show All
Visual C# Error: allowDefinition='MachineToApplication'
Hi, I get the following error when I publish & run the website on a live server. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Source Error: Line 68: by Microsoft that offers a single logon and core profile services for member sites. Line 69: --> Line 70: <authentication mode="Windows" /> Line 71: Line 72: <!-- AUTHORIZATION I cant figure out what am I doing wrong Thanks in advance..... ...Show All
Smart Device Development designview with multiple framework from chris tacke
Hello, 1)if I implements this, everything works fine. In the code there is something like if designtime end I suppose this is to get design view but this doesn't work. I have to comment everything from the stackform and uncomment the normal form so I can see designview and edit the form 1)are there others that have experience with this framework I wonder how much forms on the stack (the forms are not closed but hided for performance reasons) will be a problem for the memory or won't this be a problem I gave up, the multiple framework because it was not possible to have to ...Show All
Visual Studio Package Load Failure
I was working with DSL tool in Visual Studio 2005. After install Visual Studio SDK Feb2006, it got error "Package Load Failure" while I customizing the visual graphical notations on DSL "minimal language" project. "Package 'Microsoft.VisualStudio.WCPCommonServices.WCPCommonServicesPackage, 'Microsoft.VisualStudio.WCPCommonServices, Version=2.0.0.0, Culture=nuetral, PublicKeyToken='b03f5f7f11d50a3a' has failed to load properly ( GUID = {8F583BC9-4E70-4888-A667-4C461AC6D3A5})..... Command "devenv /resetsippkgs" does not fix the problem. It ended up I can not see the "new" classes/links from the ...Show All
Visual C++ _TLOSS in _matherr
I am porting a mathematics application from Borland C++ to Visual C++ 2005 Express Edition beta, but it seems that _matherr does not work as described in msdn. After some research and tries I have succedded in getting _matherr called with the _DOMAIN error (for instance when evaluating log(-1)); but it seems that _PLOSS and _TLOSS are not used and the supporting routines do not complain if things like sin(1e300) are evaluated. Any ideas to make _matherr work as in Unix or in Borland C++ Thank you I have created issue# 536175 for tracking down the bug. As Nikola suggested, it might be hard to get it fixed in ...Show All
