Adarro's Q&A profile
Visual Studio 2008 (Pre-release) Accessing binary resources in beta 2
Using beta 2, how do I set the Source property of a System.Windows.Controls.Image to a JPG resource from my codebehind The resource is locaded in a directory called "Resources/Images/Test.jpg". Should the JPG file be marked as a resource or an embedded resource If it matters, I'm building a WPF Browser app. Thanks a lot! Works great, thank you very much! PS: Boy, that's a pretty cumbersome UR ...Show All
Visual Studio Team System Did report updating frequency change since Beta 3?
Is there a way to make the reports show current information Or how can I adjust the processing time of the data warehouse -Ed Abshire Check out: http://msdn2.microsoft.com/en-us/library/ms244694(VS.80).aspx for the detailed steps on how to change the runintervalseconds setting. Thanks, Othmane ...Show All
Windows Live Developer Forums MSN search App Id
Hi I'm trying to make an application using msn search api but I can't get my application id. I've read I should go to http://search.msn.com/developer but that page doesn't work. I also got a code example that had an id to test it in case you just want that, but it gave me an error. Any idea where to get a working id Thanks L I have opened the page http://search.msn.com/developer/ now - it's ...Show All
Visual Studio Express Editions Data not added to database on INSERT
Hi! It seems as when I run a INSERT query the information get added to the database, but when I close the application down and start it back up the information is gone. I have two pieces of code. The code to insert data to the database looks like this: Using sqlConnection As New Data.SqlClient.SqlConnection(BOCompany.My.Settings.BOCompanyConnectionString) Dim sqlQuery As String sqlQuery = "INSERT INTO CompanyTable ...Show All
Windows Forms VS.Net 2005 Crashes on Overriding BackColor, ForeColor properties of User Control
I'm working on a User Control and everything was working fine. Then i added code to override the FORECOLOR & BACKCOLOR properties and after that when i rebuild the solution and tried to add the control in a sample Windows Forms and the moment i do this the VS.Net 2005 IDE crashes and closes without any warning / error message as to what happened. This is very annoying. I have been trying to resolve this since 3 days but no solutions so ...Show All
Smart Device Development VS2005 Emulator problem
Hi All, On my clean install of VS2005 B2 on Win2003 under VPC, in a device project, when I click the start debugging button and deploy to the PPC emulator, everything will go fine, files gets copied but then an error with the message "The operation could not be completed". What could cause this error The application seems to be deployed properly to the emulator, I can start it via File Manager. Anyone else have simil ...Show All
SQL Server Calculated measure
I have multiple fact tables very much like the internet-sales store-sales scenario described in the analysis services tutorial: http://msdn2.microsoft.com/en-us/library/ms166568(SQL.90).aspx I've created a calculated measure for total revenue (= [Ad Revenue] + [Preprint Revenue]) This works fine when the fact tables share a dimension such as customer. There are, however, dimensions that are specific to each of the fact tables For ex ...Show All
Visual Studio Express Editions cannot inhertis Image class ??????????????????????
this is my code : public class ImageData inherits System.Drawing.Image end class when i write it, a error show : "Class 'ImageData' must declare a 'Sub New' because its base class 'Image' does not have an accessible 'Sub New' that can be called with no arguments." so, i wrote it then : public class ImageData inherits System.Drawing.Image Sub New() end sub end class then, a error next: "First statement of this 'Sub New' ...Show All
Visual C# How to retrieve the key value of a listitem in C#?
While adding a listitem to any listview, we can pass-on "key" value, but how to retrieve this key value back I could not find this, plz. anyone help me out. First up... you are adding a ListItem to a ListView Is this for a WinForm app or an ASP.NET one I ask because ListView's are used in WinForm apps while ListItems are used with ListBox's in ASP.NET. If you did mean ListBox and not ListView... Which key value do you mea ...Show All
Microsoft ISV Community Center Forums Installing SharePoint 2007
Hi All, Does anyone knows how to install SharePoint 2007 beta.I have downloaded its binaries got in a ISO image, made that into a CD.After installing its pre-installs when i tried to install for error like this. "The configuration file is not valid.Try again setup with out config file or rectify the config file" Have anyone faced problem like this or any one has any idea Thanks in advance. Hi Amarendra, Your best b ...Show All
Microsoft ISV Community Center Forums Visual Studio vs SharePoint/Front Page
What is the 'connection' between these two seemingly unrelated development tools I have been reading some evangelical blogs on the sharepoint v3 site, and it seems as though Sharepoint v3 will offer a lot of "infrastructure" (security, web parts, asp.net) for business-oriented / collaboration / scheduling web sites that may require a lot more effort using Visual studio. From the look of things, it's apparent to me that Microsoft is be ...Show All
Windows Forms ClickOnce Deployment
I am currently try to publish a C# project, which has a dependency to C++ project (native DLL). I used the Publish Wizard, but if I try to run the installer I get a System.DllNotFoundException (the native C++ DLL is missing) – the setup doesn’t recognize that there a dependencies to a C++ native DLL. The MSDN says: “Visual Studio does support ClickOnce in the Visual C# and Visual Basic development environments. If your Visual C++ pro ...Show All
.NET Development List<struct>.Contains(struct) - death by GC
My program slowed when it shouldn't have, and I traced it to huge amounts of garbage caused by using the List<struct>.Contains(MyItem) function. Using the CLR profiler, I found out that all of the garbage is two classes: 1) A bunch of boxed MyItems (it's a struct) and 2) Some other class which looks like the function is using reflection (sorry, I didn't write down the name). I think List<struct>.Contains(MyStruct) s ...Show All
Visual Studio login Failed
I have a windows app that connects to a sql database. I now want to do reporting from it. I have created a CR report (from the buit-in VS2003 version of CR) that is going to be used to display the information. When I run the app I get a login prompt for the database. No matter what I enter into the prompt CR returns "Login Failed". Searching the web the only references to try and solve the problem de ...Show All
SQL Server Equivalent SQL Server configuration to SQLNET.EXPIRE_TIME (Oracle Configuration)
Hi, Is there any similar configuration that can be done in MSSQL Server for the following configuration in Oracle sqlnet.expire_time (This enables dead connection detection, that is, after the specifed time (in minutes) the server checks if the client is still connected. If not, the server process exits. This parameter must be set on the server. ) ...Show All
