x.point's Q&A profile
Visual Studio Tools for Office C# Application object
I'm using c# and VSTO 2005. I've used VS2005 to create a new Word document based project. All of the documentation I have found indicates that a Application object should have been generated as part of the project. I cannot find the Application object anywhere. What am I doing wrong I think that the author of this whitepaper means that Word's Application object is instantiated for you - when you create a VSTO project, you do not have to instantiate Word yourself. You can use the Application property of the ThisDocument class in a VSTO Word project to access the instantiated Application object. It looks like most of the code ...Show All
Visual Studio 2008 (Pre-release) System.Windows.Markup.XamlParseException when running winfx june ctp application on winxp sp2 machines
I have been receiving a "System.Windows.Markup.XamlParseException" on several different computers when running a wpf application we have been building as well as when trying to run the code from www.valil.com/winfx site. We have installed the WINFX beta 2 release on 4 computers running winxp, and they get this issue. However, two others with vista beta 2 and three computers running winfx with all the developement tools do not seem to have this problem. We really need some advice on how to solve this issue, and any advice would be appreciated. Steve I thought of that possibility, but I am u ...Show All
SQL Server DateTime with TimeZone ?
Are there any plans to enhance the DateTime datatype to be able to store a timezone, and provide timezone aware arithmetic functions The lack of timezone support seems a glaring omission - especially given that Microsoft's biggest DB competitor (Oracle) has a timestamp with timezone datatype. At present, you have to code all this yourself in SQL 2005. Is this not something that should be built into the DBMS Thanks, Andy Mackie ...Show All
.NET Development Network access for a web app
Hi all, I have a web app that I am developing that retrieves a list of the computers on the network and then displays their date of last reboot. It works fine while on my computer in the dev environment, however if I try to use it from another computer I only get my computer's info. After some work I have found that when I call If (PerformanceCounterCategory.Exists("System", Machine)) I get an unauthorized access issue. I’ve added [assembly: PermissionSetAttribute(SecurityAction.RequestOptional, Name = "LocalIntranet")] But I only get a login box now which is just horrible. I currently have the web app set to Imperson ...Show All
SQL Server sql server 2005 Developer Edition
hi everyone, i'm new with this software. i have installed it and i think i was able to install it successfully. but i'm wondering it seems to me this 2005 version was not installed since i don't see any difference between this and the 2000 version. when i opened the "Books online" it says there Ms Sql Server 2000. that does mean the 2005 developer edition wasn't installed Thanks! Hi, If it has been installed correctly then you should see a "Start Menu->Program Files->Microsoft SQL Server 2005" link. Also, instead of the Enterprise Manager, the SQL Server 2005 has a SQL Management Studio. If you ...Show All
Windows Live Developer Forums Test game: MessengerQuest
Hurrah! Finally I got Messenger-Quest done... Four days of terrible hard work has resulted in a really cool game :) Unfortunately the <s>lazy bastar...</s> people checking the apps have holiday too, and they can't check it till after newyears :( So, Because I don't want those 4 days of work to go to waste, I've put the Msgrp2p file needed online :) http://www.stuffplug.com/MessengerQuest/msgrp2p.xml I'm sure you know how it works ;) If you have feedback, give it quickly, as I will be leaving for a nice skiing holiday tomorrow :) Oh, one final note, I *know* the source is completely unprotected, that doesn't mean that I give you p ...Show All
SQL Server How to see the actual data in a write enabled cube
I have a write enabled cube I have modified a cell value from 50 to 100 When i am browsing the cube i am seeing 100.Thats fine I came to know that writing back will not touch the cube at all. Then i like to see the actual data ie 50 from the cube. what shall i do for this Kindly advise Hi Arobind, If you have not commited your changes in the session, you should be able to see the old values from another session. Yan Li ...Show All
Visual Basic GUI or Command Line app?
I have a project and since I'm relatively new to the VS.NET environment, I have a very general question. I need advice from experienced developers on whether to create an app as a VB.NET GUI or as just a command line app. Here's basically the high level view: the app will be executed several times a day using Windows Scheduler. The application will query an internal database, then go thru our proxy/firewall and consume an external web service. Once it does the processing in the web service, it will need to terminate. There's no user interaction on this. The credentials, where necessary will be in a config file. Is there any value in creat ...Show All
SQL Server Problems running SQL Agent Jobs & SSIS Packages
I'm having some difficulties with the SQL Agent and running my SSIS packages. At present, I have several packages that import data from Oracle, a few that use a JODBC connection and several more that transfer data from other SQL servers (2000) I originally had the SQL Agent log in as a System Account, and although the pacages run fine if I manually right click and execute them, if I add them to a Job they fail with a login error. I then changed the login details to my domain account and the Jobs that run accross the SQL servers run fine. However the others that use Oracle and JODBC still fail with login errors. I've tried creating Credenti ...Show All
SQL Server SOS..Pagination issues.. help needed
Hi My report consists of multiple sub reports . The report seems to be breaking up ( creating a page break) in the middle of nowhere on the master. I have checked the sub reports for page break settings, played around with the page layout properties but couldnt make it stop breaking. In the xml, I noticed a tag called <InteractiveHeight> set to 11in by default. Changing this seems to resolve the issue but I dont know whether it will break anything. Does any one know what this tag is for Thanks in advance Shai InteractiveHeight is only supported on RS 2005. Opening a report in BI Development Studio of ...Show All
Windows Forms cannot fill a datagridview
Hi, Cannot seem to fill a datagridview. For example sake I will try to keep it simple so that I can understand 3 columns (Names textbox -Titles ComboBox -JobTitle ComboBox.) Open a project and cut and past the following which doesnt work! Can you point out with code what to do to fill it Thanks a lot public partial class Form1 : Form { public Form1() { InitializeComponent(); SetupGridView(); LoadGridView(); } private void SetupGridView() { dgv.ColumnCount = 3; } private void LoadGridView() { dgv.DataSource = GetNames(); dgv. ...Show All
Visual C# 101 Samples for Visual Studio 2005
Hi, I wonder if anybody can maybe help me. I recently downloaded the "101 Samples for Visual Studio 2005", from the following link http://lab.msdn.microsoft.com/vs2005/downloads/101samples/default.aspx I wanted to test and see how Datasets work in the new SQL Express. The application that I was testing is called "Reading and Writing Images from a Database", and is located in the Data Access folder. When I run the application, I can select a new picture and assign it to a group. When I click the INSERT button, the dataset is updated and the code that attempts to save the details. It uses the command <dataset>.AcceptChanges(). I have st ...Show All
Visual Studio How to hide a SubReport programmatically?
Hello, We have 4 subreports on one rdlc file. The user can select any number of reports to display. How can we hide or display the selected subreports Since we have all 4 subreports in one rdlc file, the un-selected subreports display "Error: Subreport could not be shown" Please help. Thanks. What you can do is to associate the "Visibility" property of the subreport to a parameter you can set in the report. By assigning true or false for each parameter corresponding to each subreport, you can show or hide each subreport. ...Show All
Visual Studio Team System Error writing to file: Microsoft.VisualStudio.Coverage.Analysis.dll.
Hi, 1. I'm installing Team Foundation Server in a Dual Deployment. I install the application tier and I get this error: Product: Microsoft Visual Studio 2005 Team Foundation Server (services) - ENU -- Error 1304.Error writing to file: Microsoft.VisualStudio.Coverage.Analysis.dll. Verify that you have access to that directory. The install fails. How can I remedy the problem thanks It may be an issue with your dvd drive. http://support.microsoft.com/ kbid=321339 You might try copying everything to your hard disk and re-running the install. Buck ...Show All
Visual Studio Another victim
I'm having a bear of a time getting reports with subreports to function correctly. I have followed all of the directions for logonInfo updates. The original report running under v9 only has to have the first four parameters filled, from there 9 other linked parameters are supposed to be filled. I started with code that we have in production (v9). This code ran fine when running against the server that the report was designed against. But when compiled in CR .net 2005 the linked parameter values kept prompting. Then I tried to hack my way through that problem and set all of the parameters (13) instead of just the 4 we normally send. Stil ...Show All
