pkr2000's Q&A profile
Visual Studio Team System Search and delete
In Source Safe I made a wildcard search for files that I want do delete. I can't find any "search" function in the Source Control Explorer...does it exists Hello, Have a look at Search feature in History Sidekick . Basically, it is wrapper over command line Richard suggested with additional features thrown in. Yours truly, ...Show All
Visual Studio Express Editions Ho do I play mpeg files in my VBE app, and what is the code for the Login.vb form.
How do I play video files (not on WMA) sucj as mpg files, oh yes and mp3 What is the code for the Login form (the one with the password and username). I use this code(password only !): 'Please Dont mind the expressions this is only a sample 'the voice.Speak(statement is used in the whoule prjoect, please dont 'use it if u dont know how !!! Dim password As String Dim yourMSG As String password = "me" If password.Equals(TextBox1.Text) = True Then yourMSG = MsgBox( "Access Granted!" , MsgBoxStyle.OkOnly, "Access Granted!" ) voice.Speak( "Wellcome" ) If password.Equals(TextBox1.Text) = False Then yourMSG = MsgBox("Access Denied!", MsgBoxStyle.OkO ...Show All
Visual Basic Simple thing needed PLEASE!!!!
I want to either: Have a textbox a button and a picture box - User types somthing into the text box, If its one of the words in my i've put in the IF bit of my script then the picture changes to a different one, else it leaves it the same. Or Have some radio buttons / tick boxes. User clicks in a radio button / tick box and the picture in the picture box changes accordingly. BUT If there isn't a way to get the picture box to change pictures like that some text that changes would be OK as a second choice. Thanks in advance! to load an image into the picturebox: Me.thePictureBox.Image = Image.FromFile( "path\filename.ext") you can load it at any time you like, any picture y ...Show All
Visual Studio connect to dte2?
I'm in my own application. I want the user to be able to push a button in my application and connect to a visual studio if one is open, otherwise notify that none is open. I'm wanting to control code from my own app. If I can just obtain the DTE2 object interface from my applicatoin that would be a big help. I've searched docs and all point to onconnect event that I don't have access to. Thanks, Devin Hi Devin, Each instance of Visual Studio, add's it's DTE object to COM's Running Document Table (aka the RDT). I don't have a sample handy, but a quick query on the internet found a sample at http://www.codeproject.com/csharp/automatingvisualstudio.asp , that might be helpful. Sincerel ...Show All
SQL Server Reporting Services Configuration (Database Connection)
Hi, I want to configure my Reporting Service. And if I want to configure the Database Connection I the action "Create a Grants Rights Script" fails. I tried all credential types by it doesn't work. Does anybody have an idea Thanks for your help! Jo-Jo Are there steps to replicate this issue What is the error message Does the SQL Reporting Services service account have access to the database this may help. http://support.microsoft.com/kb/264697 cheers, Andrew ...Show All
Windows Live Developer Forums WMS in 2D
I would like to add some WMS (mercator projection) tiles to the 2D map. I noticed one thread mentioning the 3D API supports this .. is there example code for getting WMS via the 2D API Thanks, -Josh It should be possible to do this in 2D using the GetTilePath override. You are given the tile X and Y posistions and the zoom level. From this, you can calculate the lat/long bounds of the tile. These can then be used to form a URI for a WMS server. If the WMS server supports returning images of the exact bounds specified (not all do), then you'll get an overlay tile. ...Show All
Visual Studio Created Items not accessible even after target exits (MSBuild Tasks Properties attribute)
The Project File < Project xmlns = " http://schemas.microsoft.com/developer/msbuild/2003 " DefaultTargets = " foo;bar " > < ItemGroup > < X Include = " 1;2;3;4 " /> </ ItemGroup > < Target Name = " foo " > < MSBuild Targets = " little_foo " Properties = " P=%(X.Identity); " Projects = " $(MSBuildProjectFile) " > < Output TaskParameter = " TargetOutputs " ItemName = " Z " /> </ MSBuild > < Message Text = " [foo] @(Z) " /> </ Target > < Target Name = " little_foo " Outputs = " @(local) " > < CreateItem Include = " $(P) " > ...Show All
Software Development for Windows Vista Going from WDK5308 to WDK5320, now getting U4004 warnings
I'm trying to build my project from the command line under WDK 5320 and now I'm getting warning U4004 ("too many rules for target") for a target in my makefiles when previously under WDK 5308 everything built without any warnings. The makefiles have not been changed between updating the WDKs and the build process has remained the same. Why are my makefiles suddenly broken under this new WDK To be a little more specific, I have a target in many different leaf directories in my source called LastStep, which basically copies objects and executables to another location and does some clean-up. This same target is in many different makefiles in different directories and always worked without any kind of warning in WDK 5308. ...Show All
.NET Development OleDBDataAdapter appears to be caching data
I have a windows service application (VB.NET - VS2005) that does a OLEDBDataAdapter.fill action as part of the process. It appears to be caching the query data somewhere and pulling from the cache, though I don't have any caching in the application. When I run the query it pulls old information even though I've already updated the info in the field and validated it by testing the OleDbCommand.commandtext in the DB tool (DB2 in this case) I see the new info when I run the query on the DB using the db tool but when my app runs the query, I get the old data. Any ideas Thanks Thanks for the reply. It turned out to be an ID10T error. I had my DB2 client software pointed to a development instance that had a fa ...Show All
Architecture Finding bottle necks in Windows Server enviroment
Hello, I am looking for information about finding bottle necks in our server enviroment. We have the basic system, where in DMZ level we have web-servers and inside controlled network we have application servers and database servers. System was designed to endure much less users than we currently have. And now we are trying to find the spots that make our system run slower. Any good pointers how to begin this task. I'd but my money on the database servers. Also the communication between servers could use fiber optics. So if you have your own experience or you know good material to read please inform me. Hi, You can also start by first identifying the servers where threshold usage is getting crossed. It may be possible that ...Show All
SQL Server Column encryption questions
With SQL Server 2005 encryption: 1. Is it possible to encrypt a column "in place" - or do we always need to create a new varbinary column to hold the encrypted column Some products (NetLib Encryptionizer) seem to be able to encrypt an existing column in place. 2.If you encrypt an existing column to a new varbinary column, it it customary to then ALTER the table and delete the existing plain-text column Thanks... HI John, i think these articles will clear your doubts http://www.tometasoftware.com/MySQL-5-vs-Microsoft-SQL-Server-2005.asp http://www.netlib.com/sql-column-encryption-api.shtml http://www.mssqltips.com/tip.asp tip=928 Hemantgiri S. Goswami ...Show All
Visual Studio Access of C#-Colorizer/C#-Completion-Set
Hello! I have to implement a LanguageService (colorization, code completion,...) for a specialized programming language. A program written in my language can include code blocks with C#-Code. I have written a Scanner and a Parser for my language (except for the blocks with C#-Code) and colorization and code completions works quite perfect so far. My question now is, can I get colorization information and completion information for the blocks of C#-Code from the C#-LanguageService What interfaces do I have to use Thanks! Andrew, I'll look into getting you a sample of the correct use of the buffer coordinator, but it might take a while to dig one up or produce one if one doesn't exist current ...Show All
SQL Server SQL Server Configuration Manager to change run as account
Hi, For the past few days i have been stumped on this problem. Our environment is the following: Windows 2003 R2 64 bit SQL 2005 SP1 64 bit active/active cluster with several instances. Right now all instances use the same domain account to log on. For security reasons i wanted to assign a domain account for each instance to use. Now the problems start when i am using SQL Server Configuration Manager. I am usually successful in changing an instances SQL server account but once i try and do it for the SQL Server Agent i start to get errors and i am unable to get both running at the same time. Sometimes i will get wmi errors and sometimes the mmc just stops responding. The WMI error i get often is: The server ...Show All
Visual Studio Team System Start Date and Finish Date on Tasks
There does not appear to be a way to enter values for these two fields. How doe the start date and finish date get populated into a task You could always go into the work item type, and modify the type to allow you to edit those fields. Currently, those fields aren't editable (as you have seen). Otherwise, you are correct, the only way to modify them is to open your work items in Project, make changes there, and then synch back up. ...Show All
Visual C++ MFC, how to set data to an EditBox by its ID?
Hey all, I have a Edit box which needs to be linked to a u_short variable. From Dialog design I added my variable to the Edit box and when i wanted to set and retrieve data betwin the control and my variable I used UpdateData true/false, and it does nothing :/ So I wanted to ask, how do I assign a value to/from the Edit box using its ID Thanks :) BTW forgot to tell you. Suppose if your member varibles which is attached with edit is m_uEditVal. UpdateData(); m_uEditVal = 10; //Some values UpdateData(FALSE); The above code should work fine. Please make sure that the added variable has attached with the control in the DoDataExchange function ...Show All
