Link9228's Q&A profile
Visual Studio Tools for Office Desperate: it doesn't open anymore my project!!
Hi, it's been a week since I had opened my project...today I tried, and I cannot open the VSTO project inside the solution! I get a weird message which I really don't know what it means...I'm crying, because I really don't understand! The message is this one: Unable to read the project 'RemoteCalendarsVSTO.csproj'. The project file ' ' has been renamed or is no longer in the solution. Yes, there is that weird ' ' reference which I don't know...what the hell has happened This is the XML code: <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <!-- This section defines project level properties. Configuration : Specifies a default value for debug. Platform : ...Show All
Windows Search Technologies Vista 64 Search preview pane only shows icon
In Vista 64 I only see an icon of the item in the preview pane. If it is an email I see an envelope or a Word Document you see a Word icon. Yes I had worked out that but the preview Pane is still showing the icon. The preview pane needs to show the details I would have expected. Maybe this is just another thing broken in Vista 64 bit. Maybe I should try the 32 bit version. I get the feeling 64bit is not getting as much of an effort as 32 bit, WDS only just released a version that works with Windows XP 64bit with the WDS 3 B2. Thanks for the tip though. ...Show All
.NET Development Calling object???
in the following: private int width = 10; public int Width { get { return this.width;} set{ this.width = value;} } How can I tell or get from within the get or set methods what object is calling them Thanks, Devin Sounds like you're looking for the equivalent of the C++ 'friend' keyword. C# doesn't have anything like it. The best you can do is 'protected' to only allow derived classes to access the property. Or 'internal' to only allow classes in the same assembly to see the property. Don't use the StackTrace, it's expensive and unreliable. Raymond Chang just had an article about it... ...Show All
Visual Studio Express Editions question
I am currently creating a fairly large vb.net program that is using sql as its database, and its a lot of reduntant and time consuming code. I was wondering if anyone knows of a program to buy or download that has the premade code and then i can just transfer it to my program(I know there isa name for that type of program, I'm thinking Toolkit, buy not sure) Any info would be helpful. Thank you I think you have to learn how to write code... There may be a software out there but not exactly what you need.. unless you hire a programmer to write code for you... So the besting you do is start learning how to program or hire a programmer... :-) Joseph ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Matrix decomposing
A method for Matrix decomposing into rotational, translational and scaling parts would be great. Think you can put it in before things go out of beta I needed such a thing as well so I did a fast (sloppy) port of this matrix decomposition code to C# which you can download here . It's in the MatrixDecompose class. ...Show All
SQL Server Broken BI Studio after Office 2k7 install
After an install of Office 2k7 last night, I'm getting some errors in my event log when i run BI Studio. The errors occur when i click a tab that tries to browse the metadata of the cube. IE: The calculations tab, or KPI's, etc.. These are the 2 errors: Event Type: Error Event Source: MSOLAP$LocalCube Event Category: (289) Event ID: 1 Date: 1/09/07 Time: 8:54:08 AM User: N/A Computer: WS124 Description: The description for Event ID ( 1 ) in Source ( MSOLAP$LocalCube ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The f ...Show All
Visual Studio Team System Find deleted Items / Search for checked out items by user
hi i have two questions about the version control 1) in vss i had a possibility, to see files in the repository, that where deleted. how can i find them in tfs source control 2) in vss i had an option to search for all files checked out by a specified user. how can i get this on tfs source control thanks a lot patrick In addition to the steps outline by Michael, you could also set an option in the Visual Studio IDE to allow you to see deleted files in the UI. The following are the steps to enable this: Select Tools | Options from the menu bar. This brings up the Options dialog. In the left tree-view, open up the Source Control node and select the Visual Studio Team Foundation ...Show All
SQL Server Many-to-Many MDX
I have a measure called MyMeasure. There is a dimension called Account There is a dimension called AccountGroup that groups many accounts so it references the cube through a Many-to-Many relationship. The account group has a field called Group Level. If for example, I want to know the number of accounts for a region I would do something like this: SELECT {[Account Group].[Account Group].[New South Wales] } ON ROWS , {[Measures].[MyMeasure]} ON COLUMNS FROM [MyCube] WHERE ([Account Group].[Group Level].[Region]) This will give me: -------------------------------------------------------------- | Account Group | &nbs ...Show All
Visual Basic Cannot update / insert to access table
All. I have an access database containing one table stored in my resource file. I can select from this table using the OLEDBCommand and an sql statament etc which works fine. However when I try and do an update or insert to the table no changes actually take place even though when debugging the code it says its been successfully. Can any one help Code Below Cheers Dim PPSConn As OleDb.OleDbConnection, PPSCmd As OleDb.OleDbCommand, strSQL As String, RowCount As Integer = 0 PPSConn = New OleDbConnection(csGlobal.PPSLocalConnString) strSQL = "update tblLocalApp set LocalVersion ='" & "9.9.9" & "' WHERE AppID=" & ApplicationID PPSConn.Open() PPSCmd = New OleDb.OleDbCommand( ...Show All
Visual C# need help with code
I am trying to write a program kinda like a receipt and I am having trouble with this. What I need it to do is look like this: Please enter the price of the item: Please enter the quantity of the item: Please enter the total of the item: It needs to continue until you want to end it with like(-1) or something. Any suggestions It would be greatly appreciated. Thanks Your first problem is this line: int Quanity = Convert.ToDecimal(Quantity); You call Convert.ToDecimal, and then store that decimal into an int. You want either decimal Quanity = Convert.ToDecimal(Quantity); or (more likely) int Quanity = Convert.ToInt32(Quantity); However, you have a bigger problem. You have "Quantity" on both side ...Show All
Smart Device Development How can RAPI detect SmartPhone vs PocketPC
Hi, How can the appl (residing on smart device) tells itself it is running on Smartphone, PocketPC, PPC Phone Edition And to be done from .NET CF 2 managed code Thanks. Few suggestions for your future posts: 1. Search. 2. Search again. 3. Search one more time. 4. Create new thread for new question if 1, 2 and 3 failed, do not append to another thread unless it's exactly the same issue. And here’s how you do that (you guessed it-answered before): http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=979393&SiteID=1 Note: To distinguish PPC from PPC Phone Edition simply use any phone functionality and if it fails it’s not a Phone Edition. ...Show All
.NET Development Sending Email using System.net.mail
hi everyone, I have trouble to send email using system.net.mail in ASP.NET 2.0 with VB here is my code.... any body tell me what is going wrong with the code. Code for SendEmail.vb Imports Microsoft.VisualBasic Imports System.Net.Mail Public Class SendEmail Public Sub SendEmailMessage( ByVal fromMail As String , ByVal toMail _ As String , ByVal subjectMail As String , ByVal messageMail As String ) 'This procedure takes four string parameters for sending the mail Try 'address create a mail message Dim MailMsg As New MailMessage( New MailAddress(fromMail.Trim()), New MailAddress(toMail)) MailMsg.BodyEncoding = Encoding.Default MailMsg.Subject = subjectMai ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Why SetData?
This is actually mostly just a question for a MSFT; I figured I'd post here first, rather than file a suggestion since I'm sure there's something I'm missing. I'm just having difficulty understanding the choice to use SetData in such a way that it requires the creation of a temporary array. Was there a particular reason why using a delegate to fill it in-place would not suffice Or failing that, what was wrong with locks If they were too complex for some, then why not provide both Doh! I hadn't noticed the migration guide before (I must be a little too feed dependant :), which answers part of my question. For any others who missed it: Migration Guide wrote: All graphics resources have under ...Show All
Visual Studio Team System TFS and VMWare
Hello, I have 3 .NET applications running on 3 separate VMWare servers. I want to manage them with TFS and am not sure what is the best way to do this....Has anybody done this before Is it possible to simply install TFS on a physical box and manage these applications by way of remote connections......Are there any limitations to this Thanks. Since at least 2 of the 3 apps will be remote, I don't think it will make much of a difference. I'd probably recommend TFS being its own separate physical machine (separate from the VMWare servers) for ease of management and potential perf gains, but VMWare guest OS's work over the network just fine, and remote calls (RDP/mstsc, WMI, web services, etc.) should a ...Show All
Microsoft ISV Community Center Forums send excel 2007 workbook using cdo?
i have upgraded my server from windows 200 to windows 2003 and upgraded office 2003 to office 2007. I used to be able to send excel workbooks using {cdo}, this is now not working, says ".send" is not supported., any ideas how to do this without using outlook or outlook express ...Show All
