Seán1970's Q&A profile
Visual Studio Team System Problem while creating a New team Project
Hi all , My siteurl is http:\\tfs-app.default.aspx. Inside this site I created a subsite called TestDemo. I have created New Team Project Named TestDemo. When I Right click the Project and show project site. Its shows my sharepointsite(i.e http:\\tfs-app\sites\TestDemo) Problem 1: I have created another Team Project Named TestDemo1 as specified in above step. When I right click project and show project site. It's giving the following error. Er ...Show All
Visual Studio Tools for Office Data Island+Server Document
Hi How To Set Cached Data on a Server . i.e on Word Docuemnt using ServerDocuemnt Class from web page without opening the Word Docuemnt . Nilesh Hi, Nilesh, We have a number of topics in our documentation as well as sample code showing how to work with ServerDocument Class and with Cached Data. Here is the link to this documentation on MSDN: http://msdn2.microsoft.com/library/427e3fw2(en-US,VS.80).aspx Thanks, Svetlana Loksh ...Show All
Windows Forms How can I check for Null dataset
I wanted to check for an empty dataset which is being returned from a datagrid. How can I do that Dim myDataSet As DataSet ' this code returns the dataset of datagrid dgmonth. myDataSet = CType(dgmonth.DataSource, DataSet) so I wanted to write if myDataSet = nothing then exit sub end if but this if..then loop gives an error. I will appreciate ...Show All
Visual C# Always visible on desktop but under all other windows, "widget"
I want to create a program that always is on top of the desktop but i don't want it to be on top of other programs. I have no idea where to start, i've tried the topmost-property of my form but it makes the program visible over all other programs. hi, i'm confused now , what do you mean by "always is on top of the desktop" do you mean not to be closed best regards ...Show All
Visual Basic Toolstrip radio buttons
I want to implement a set of radio buttons in a toolstrip (VB 2005 beta 2) I can set the checked state of the button which has been clicked because the event handler passes its id back; but how do I uncheck the other one when all I know about it is that it is, say, the third one along the toolstrip I want to write something like toolstrip1.button(3).checked = false but the toolstrip class does not appear to have a member called button or anything else useful! Nor do the buttons appear to be indexed in any way. yah..... I'll supply and example done with toolstrip buttons... Public Function AddNewToolStri ...Show All
Visual Studio 2008 (Pre-release) How much does Vista itself use WPF/Avalon (managed and unmanaged)?
Hi, Will there be any actual examples of WPF/Avalon being used in Vista (even an WPF/Avalon-ized Notepad would be something :) Is it correct that managed WPF/WCF will be "present" with the shipping Vista, but not actually used by any of it Apparently Vista does use some of the unmanaged DLLs underneath WPF/Avalon, rather than going through the managed interfaces presented by WPF If yes, how widespread is that usage Assuming there is no managed WPF usage in Vista (and presumably no managed WCF usage either), what if anything does this imply about the current "OS-grade" viability of managed WPF code How is this expec ...Show All
Visual Studio Exporting a report to pdf
Hi, I am getting the following error when I try to export a report to pdf. The process we are following is - 1. First we generate a report and store it in DB as a Document Blob. 2. When we want to view it, we write this DocumentBlob to the disk. 3. We then export this rpt to a pdf on disk. This process is working fine until we change the layout of the crystal report. I added a fake page header to the sub report, removed the already existing header from the sub report and am using the existing fields and not added any new fields. When the layout is changed and a new report is generated, export to pdf is working fine. ...Show All
Visual Studio enable GAT for existing projects
How can we enable GAT for existing projects which are not created through GAT -Sanjeev Hi Sanjeev - The Guidance Package Manager dialog (accessible from the tools menu) lets you enable and disable specific guidance packages for your current solution. Depending on which guidance packages you have installed, it may or may not make sense to enable them for existing solutions that weren't created from GAT project templates. thanks Tom ...Show All
Visual Studio Express Editions No sound using My.Computer.Audio.Play and Win98
My app plays sounds when it is running and works fine on my WinXP machines but when I use it on a Win98 machine it doesn't produce any sound. The sound files (.wavs) are distributed with my app and stored in a folder in the same directory as the .exe Are there any limitations with using My.Computer.Audio.Play with Win 98 There are no limitations on using these functions on any computer with the .NET framework 2.0 installed on them. Do other sounds work fine on the Windows 98 machine - its not something as simple as the sound drivers arent setup correctly or mute is on on this machine. ...Show All
System Center How to copy sites?
I configured a site to be used as a template for other branches, but I see no option for copying it. Any sugestion Regards, Alisson. Hi Alisson - We don't have the ability to directly copy sites in our first version. Can I ask how many branches you're trying to configure ...Show All
.NET Development VB 2005 Express - example database project
I'm looking for a simple example project where i can find all the statements are related to - connecting and closing the database - get (sql select) and set (sql insert, update) data - how to put and edit data in a DataViewGrid Can somebody help me tnx from the Netherlands Hi, I have some example. Do you need only code, or instruction, how t create all project ...Show All
Visual Basic it is possible to make my app work without .net Framework!
Hi Folk I have created a VB.NET Win Application and when I try to install it, it asks me to install the .net Framework first!! Is it possible to install a Win App on third party machines without the need to install the .net Framework !!!!!!!!! This is a big disaster, if I will need to install a 20 MB to make a 200 kb application Works! I need to run my application without the .net Framework! Any ideas please Thanks If you have concerns about .Net Adoption I would suggest checking out this post by our VP Soma... http://blogs.msdn.com/somasegar/archive/2004/06/03/148131.aspx ...Show All
Visual Basic Toolstrip radio buttons
I want to implement a set of radio buttons in a toolstrip (VB 2005 beta 2) I can set the checked state of the button which has been clicked because the event handler passes its id back; but how do I uncheck the other one when all I know about it is that it is, say, the third one along the toolstrip I want to write something like toolstrip1.button(3).checked = false but the toolstrip class does not appear to have a member called button or anything else useful! Nor do the buttons appear to be indexed in any way. yah..... I'll supply and example done with toolstrip buttons... Public Function AddNewToolStri ...Show All
.NET Development Picking a certain combination using dropdown boxes
Hi. I am very new to XML and .NET Framework programming, so pardon me if my post is not in the right spot. I am programming in C# - a pocket PC application using an XML file as my database. Let's say I have the following attributes in my XML file: ID, Name, Age, Gender I would like to be able to say, "I want anyone who is 14 years old who is female" listed. Can I do this Thanks in advance! SBT Yes, you can: XmlDataDocument xmldoc = new XmlDataDocument(); StringBuilder sbXML = new StringBuilder(); ...Show All
Visual Studio Express Editions why is vb.net printing so difficult?
Hi, I have loads of VB6 apps I am trying to migrate to VB.net and the biggest problem I have is that printer.print has no equivalent in vb.net Can anyone tell me a simple way to print in dot net Thanks Impossible is about right. I just can't see what to type to make something come out on paper, and I have written some neat VB stuff (IMHO) in th epast but this dot net thing has me stumped. Am I missing something or is nobody printing anymore Maybe we have finally reached the holy grail of the paperless office by MS removing the ability to print. Seriously though, can anyone point me at a p ...Show All
