TheViewMaster's Q&A profile
Visual Studio Team System Team Fundation Server SDK
Hi all I have a simple question. How to Install Team Foundation Server SDK Where I can Get it And you can download it from here:- http://www.microsoft.com/downloads/details.aspx FamilyID=51a5c65b-c020-4e08-8ac0-3eb9c06996f4&displaylang=en Cheers, M. ...Show All
Visual Studio Tools for Office Open WINWORD.EXE process
Hi, I am performing Word 2003 automation using C#, VSTO 2005. I perform various operations like mailmerge, embedding document, inserting text from file, inserting tables.... on a base template file. Once the document is generated, i save it to some location, close it and re-open it. And before closing the same, i release all references wrdSelection = null; oWord = null; oWordDoc = null; objMailMerge = null; The problem is that when i re-open the document and in the task manager, two processes are open for WINWORD.EXE. I am puzzled as to from where the second WINWORD.EXE process gets loaded. Hi Amrish As you've been advised before, the correct place to post automation questions is the office.develope ...Show All
.NET Development .net, .mdb, and the framework
I am a consultant and I have commissioned work from a programmer I have hired, the software is written in .net for Windows and is not web based. The problem we are having is causing us to pull our hair out. The problem is this: On the developers WinXP machine with 03 visual studio the application he wrote works phenomenally well. On my machine Win2K no visual studio the application he wrote works phenomenally well. The unfortunate problem is that the CLIENT has installed the same application multiple times (XP SP1 and SP2) and is consistently getting the table display errors, either to do with the database access or something to do with the draw routine. He has installed .NET framework 1.1 from MSFT multiple times but its always a no go. I ...Show All
Smart Device Development coredll.dll
where is my coredll.dll I'm trying following api function [DllImport("coredll.dll", SetLastError = true)] private static extern bool KernelIoControl(Int32 dwIoControlCode, IntPtr lpInBuf, Int32 nInBufSize, byte[] lpOutBuf, Int32 nOutBufSize, ref Int32 lpBytesReturned); and following is the exception Unable to load DLL 'coredll.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) somebody please help me what device are you using coredll should be registered with the device PATH already, no need to specify a path to it, as far as I'm aware. I should ask ... you ARE using a WinCE/Windows Mobile smart device, right, this isn't for a desktop application ...Show All
Visual C# code
i want to convert a mathematical expression 0.14 * X / ((M power )-1) in to a C# program........ can anybody help me Hi I think this snippet will help :- private void Button_Aswer_Click( object sender, EventArgs e) { try { double X = Convert .ToSingle(textBox1_X_Value.Text); double M = Convert .ToSingle(textBox2_M_Value.Text); double answer = 0; answer = (0.14* X) / ( Math .Pow(M, -1)); textBox3_Answer.Text = answer.ToString(); } catch ( Exception ex) { MessageBox .Show(ex.ToString(), "Error" , MessageBoxButtons .OK, MessageBoxIcon .Error); } } Hope this helps. ...Show All
Windows Forms Scroll Wheel Problem
I have a form with a panel. The panel is filled with controls at run-time. The panel's scroll bars appear properly when the panel height exceeds form height. Scrolling the scroll wheel does not move the scroll bars - the scroll symbol appears appears at the cursor for up/down scroll. Opening another form and closing somehow makes the scroll wheel work properly. Any ideas on how to fix this Hi, May be the focus is not being set properly on this form. Or some other control is getting focus in the meantime. Did you try setting the focus back on to the form and tried it Thank you, Bhanu. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Community Website
With the announcement of the XNA Game Studio Express (Beta) we decided to create a community site where everyone can post Games, Articles, Tutorials, Pictures, and more. We hope XNASpot will be a place where anyone at any programming level can come to learn more about XNA game development. One tutorial is already in the works. But we need feedback on what everyone would like to see on the site. Is there any specific tutorial, article, code sample everyone would like to see If you have a site or blog you would like us to link to please feel free to shoot us an email. Please let us know what you think. http://www.XNASpot.com Here comes a german community: www.dev360.d ...Show All
Visual Studio 2008 (Pre-release) Orcas svcutil Suport?
Hey! I found out that I can download Microsoft Pre-release Visual Studio Code Name "Orcas" today from : http://www.microsoft.com/downloads/details.aspx FamilyID=69055927-458B-4129-9047-FCC4FACAE96C&displaylang=en#filelisthttp://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1129583&SiteID=1&mode=1 Will this suport paramters on the svcutil when adding a WCF service inside Visual Studio. I need two parameters that are not suported in Visual Studio 2005(with orcas suplement): /a = asynchronous methods /r = Shared types ex svcutil /o:proxy.cs /a /r:SharedTypes.dll http: //localhost:8000 Okay, I passed on your question to the VisualStudio2005 team contacts, and here is what I received from ...Show All
Software Development for Windows Vista Why does Windows Defender block my startup program? How to resolve this problem?
Hello everyone! I have a problem that other people may have as well. I added my program into Windows Startup, the registry entry is locate at CURRENT_USER/.../Run. Everytime Vista starts up, Windows Defender blocks my program. I found that my program hadn't got the signature certification. So as Google Talk, but it hasn't got signature certification too. So, how can I resolve this problem and let me program run at Windows Startup Please note that this forum is geared toward software developers creating their own products. That said, see the following knowledge base article for help on your issue: http://support.microsoft.com/default.aspx/kb/930367 ...Show All
Community Chat Date field validation using javascript.
This a UK style of date validation. This can be changed to cater US style as well. Add this script in the HEAD tag of HTML Page <SCRIPT type=text/javascript> //This function is used to validate date in the format dd/mm/yyyy (U.K. style) //dtControl is the client id of the control which contains the date function validateDate(dtControl) { var input = document.getElementById(dtControl) var validformat=/^\d{1,2}\/\d{1,2}\/\d{4}$/ //Basic check for format validity var returnval=false if (!validformat.test(input.value)) alert('Invalid Date Format. Please correct.') else{ //Detailed check for valid date ranges var dayfield=input.value.split("/")[0] var monthfield=input.value.split("/")[1] var y ...Show All
Visual Basic connection to FTP server
I am trying to connect to a FTP server using the FtpWebRequest class in visual basic 2005. Right now, I am merely trying to get a list of files on the server. I have the IP address, the username and password to the server. I also had to install a certificate in my browser. I get a "The specified network password is not correct" - error when trying to test the code. I get it after the Client certificates statement. Public Shared Function ListFilesOnServerSsl(ByVal serverUri As Uri) As String Dim username As String = "username" Dim password As String = "password" Dim retStr As String = "" ' The serverUri should start with the ftp:// scheme. If Not (serverUri.Scheme = Uri.UriSch ...Show All
Visual Studio Express Editions I need to open an existing txt file on a button click.
Hi, I have a txt file that needs to be opened so that i can view the data/information in the txt file on a button click. I tried Response.ContentType = "text/html" but it doesnt open the txt file. When i tried the same for an excel using "application/vnd.ms-excel" it opened. Can someone help me in opening the txt file. -Rajesh. Hi, first of all thanks for the reply. But i am not using a windows application. Am trying to do that in a web application. Also tried using the text/plain but i could not open up the notepad. -Rajesh ...Show All
Visual Studio Team System Locating Work Item Attributes In TFS Databases
We've written several custom reports against the TFS databases. I've been using the brute force approach to determine where the work item attributes are stored in TfsWarehouse and TfsWorkItemTracking (i.e. manually reviewing the databases). Is there an easy way that I can accomplish this ... either a mapping document or search capability within Server Management Studio Thanks in advance. I would strongly advise against writing reports directly against the databases themselves, since the schema of the DB is subject to change. It is not a publicly supported interface of the TFS system. You could also potentially introduce perf problems in your system. That said, if you do want to read values of Workit ...Show All
Visual Studio Express Editions DataGridView
i would like to show a list of records that has no user interaction (i.e. NO editing, deleting, adding, sorting, clicking). is this possible on the control or should i be using something else if so, what are the properties i should set thanks For i as integer = 0 to datagridview.column.count-1 datagridview.column(i).readonly = true Next Also the Help facility does a lot to explain the properties. ...Show All
.NET Development I am facing "Item has already been added"
I have an appliction created in .Net 2003 using SortedList. And it is working fine with .Net framework 1.1 Now we are analysing the impact of migrating the application to 2005. There we are facing this problem SortedList mySL = new SortedList (); mySL.Add( "First" , "Hello" ); mySL.Add( "Second". , "World" ); mySL.Add( "First" , "!" ); Error message: Item has already been added. Key in dictionary: 'First' Key being added: 'First' IS it only because of Duplicate entry Please any one kindly clarify this. Thanks Moi Hi, Yes, it is because "First" already exists as a key, the sortedlist object can not accept duplicate k ...Show All
