Marasma's Q&A profile
Visual Studio Team System Team Project Creation Failed
I am having problem in creating team project, getting the following error. To resolve the error I looked into some of the posts and tried resolving this, but could not find a result. steps followed 1. I have installed SQL server 2005 2. Windows Share point portal "Web Farm" 3. TFS Single Server installation recently tried 4 . NTML Authentication 5. Full Control permission to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET but still the problem is not solved. My sharepoint and reporting services are running perfectly alright kindly help me in resolving this error. regards Suganthi Error Insufficient permissions on the Windows SharePoint Services at mango to ...Show All
Windows Forms SaveFileDialog how to use?
I have a richtextbox1 on a child form inwhich I write a small bit of text in. I then want to save the text from this richtextbox into a .txt file. I have got the saveDialog menu at the bottom of my screen But I am unsure how to correctly make this all work. I know there should be some dialog.filter and index for txt files code somewhere but I dont know where. The code i have done so far is :- private void saveToolStripMenuItem_Click( object sender, EventArgs e) { DialogResult dr = saveFileDialog1.ShowDialog(); if (dr != DialogResult .OK) return ; else { StreamWriter sw = new StreamWriter ( "filename" ); sw.Write( ); //What should I put in the Write function } } Also is ope ...Show All
.NET Development what are the operationg system supported to run the vb.net 2005 built application?
Hello, what are the operating systems supported to run the vb.net 2005 built windows application . i.e... Is it possible to run an application in other OS (windows 2000, Windows XP Tablet PC and Windows vista) which is developed in VB2005, .NET2.0 What I am assuming is, if I install the .net framework 2.0 on the above Operating systems, then we can run the application without any issues... if my assumption is correct, are there any problem to install the .net framework 2.0 on windows 2000, Windows XP Tablet PC and Windows vista I have searched msdn blogs, forums and Supports. But there is no solution for my questions…. Please help! Thanks in Advance. Kesavan http://www.microsoft.com/download ...Show All
SQL Server Connecting VS2005 to SQL Server 2005
When I try to attach an ".mdf" to a project by right clicking on the project name the software looks for an instance of SQL Server 2005 Express. How do I alter this behavior to have it look to my full copy of SQL Server 2005 which appears to be working correctly ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Decompilable?
How easily can the games compiled with XNA be decompiled I know .NET and C# can be easily decompiled, so I'm just wondering. You could also take your sourcecode and obfuscate it right there. I bet there are some nasty tools out there ^^ Anyways, in this early stage of XNA its not like you going to code your little game and then tell every player "download XNA Game Studio Express and compile my game". Only developers are going to do that. ...Show All
.NET Development Instance of DataSet
hi guys, how to make a DataSet instance because the red comment is a Exception that I don`t know to solve. This Exception appear when I hit F5 to execute, in compilation time appear"build suceed" this solution is a WinApp in Visual Studio 2005. thanks!!!! using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data; using System.Data.OleDb; namespace waTr325 { public partial class frm325:Form { public frm325() { InitializeComponent(); } private DataSet dset; private OleDbDataAdapter oledb_da; ...Show All
Windows Forms Can't disable a button
I am programming in c#. I have a button on my form that when clicked, it plays a wav file using the PlaySound method from winmm.dll. The wav is about 3 seconds long. The problem is that if I keep clicking the button during the 3 seconds the sound is playing, it queues all of the clicks, and plays the wav over and over. My Button is named btn. So I tried: this.btn.Enabled = false; PlaySound(...); this.btn.Enabled = true; Doing this successfully greyed out the button while the sound is playing, but it still accepts clicks, so it didn't fix my original problem. Is there some way to clear the event queue Or is there something else I'm doing wrong. I just want the button to not work while the sound is playing. I have also tried ...Show All
Windows Forms Clearing a form
Using VS2005 Can anyone help in making this code more generic private void fnClear( Control _parent) { //for all the controls on the tabcontrol foreach ( Control _ctl in _parent.Controls) { if (_ctl.HasChildren) { foreach ( Control _child1 in _ctl.Controls) { if (_child1.HasChildren) { foreach ( Control _child2 in _child1.Controls) { //do the tab control if (_child2.GetType() == typeof ( TextBox )) (( TextBox )_child2).Clear(); if (_child2.GetType() == typeof ( ComboBox )) (( ComboBox )_child2).SelectedIndex = -1; if (_child2.GetType() == typeof ( MaskedTextBox )) (( MaskedTextBox )_child2).Clear(); if (_child2.GetType() == typeof ( D ...Show All
Smart Device Development Mobile connectivity with Web Service Problem
I am developing a mobile application that connects to a web service. This web service is located on the network. I am having problems in connecting with the web service via mobile. Now the best part is that i created a windows application that has the web reference to the same web service, is working just fine. The windows application is able to call all the methods. And when i call the same method from my windows mobile application during debugging it give me error: ------------------------ An unhandled exception of type 'System.Net.WebException' occurred in System.Web.Services.dll Additional information: Could not establish connection to network. ---------------- I am using Pocket PC 2003 Second Edition Mobile Emulator to ...Show All
Visual Basic Emails
Is there a way to send emails through outlook all the email addresses are on a server. Yep, there are certainly multiple options, and I would normally think that using system.net.mail is the best way to go. However, it does not always meet the requirement (outlook/exchange sent items) and I suppose I should also have advised the direct route - and not assumed there was a specific need to use outlook for history or other reaons. ...Show All
Software Development for Windows Vista Determining Process Integrity Levels -- windows platform sdk
Hi, I'm a novice to window programming There are functions in vista-related docs that I'd like to use. eg) Understanding and Working in Protected Mode Internet Explorer shows how to determine integrity level of a process. void ShowProcessIntegrityLevel() { HANDLE hToken; HANDLE hProcess; DWORD dwLengthNeeded; DWORD dwError = ERROR_SUCCESS; PTOKEN_MANDATORY_LABEL pTIL = NULL; However, the red-colored line produces an error. I found out that you need vista version of windows platform sdk when function information in msdn says that minimum operation systems should be windows vista. eg) ChangeWindowMessageFilter Function Function Information Minimum DLL Version user32.dll ...Show All
Visual Basic [OTP]VBS - problem with GetOwner()
Hi All, I am having a problem with getting the user name for a process. I was getting it when i was checking my machine (ReturnName = objProcess.GetOwner(strNameOfUser). However when i placed the script on my Terminal server its not showing the usernames, it actually shows up blank. This script should actually log all the users using a specific application and if it reached a certain CPU % it should terminate the process (This all works) Any help would be appreciated in getting the domain usernames logged instead of just appearing blank.. Regards Michael Dim strComputer, sTask, procID, cpupc, strLogFile, strLine, bool, ReturnName, strNameOfUser sTask = "Notepad.exe" strComputer = "." strLogFile= "C:\ ...Show All
Visual Studio Team System Cannot use the Performance tools
Hi, I'm trying to use the Performance Tools built into VS2005 but can't. Nothing happens when I try to create a new performance session, use the performance wizard or even view the performance explorer. (i.e. I click the menu item and nothing happens.) I think, I may have accidently removed it. Can anyone please tell me how to get it back. Thanks. Hi, I have Microsoft Visual Studio 2005 Team Edition for Software Developers installed. I'm able to see the menu items (from related articles) but when I click on them nothing happens. I'm trying to get performance data from dlls. I should mention that I was able to use the performance tools previously. I created a session and added the assemblie ...Show All
Windows Forms listbox if statment
Ok, So i would like to make it so that when no one selects something from the listbox, that i can pop up something and tell them like a messagebox. Thanks in advance Hi Is this what you want: if (listbox.SelectedItem == -1) { MessageBox.Show("Select some item."); } Yours Markku ...Show All
Visual Studio Team System can we conduct an Code analysis on a webapplication from CLI
Hi, Can we perform an code analysis on a web application/project from command line interface using the FXcop. Please suggest me if I can do it or not, are there any other ways I can do other than using the GUI. regards Kishore What do you mean by Web Application/Project If you mean the web site project that ships out of the box with Visual Studio 2005, then you need to first compile the web site using the aspnet_compiler.exe to generate a assembly. You can then pass this assembly to FxCopCmd simply by doing the following (replacing [assembly] with the assembly name): fxcopcmd /f: [assembly] / out :Report.xml Regards David ...Show All
