Answer Questions
Mr Pro Tools Creating a WebBrowser
Working to create a webbrowser, and using some of the msdn webbrowser code. Was wondering how i would set up the URL textbox so that when the page changes (using back/forward button) it also changes the text in the box to the appropraite URL. Thx. There are two windows above the editor - a right and a left. In the left window, select the webbrowser control In the right window, select documentcompleted That will automatically write a documentcompleted event for you. above the editor Uh..... Make a DocumentCompleted Event Then in the event put this line: Textbox1.text = webBrowser1.URL That should do it. In The prop ...Show All
xRuntime installing Team Suite and Db Pro from MSDN
MSDN now has the following downloads: 3629.6 MB en_vs_2005_vsts_dvd.iso 3827.0 MB en_vs2005te_for_db_pro_dvd_X13-15163.iso I'm a Visual Studio pig. I want everything, all features, power toys, service pack. Do I need to: 1. install en_vs_2005_vsts_dvd.iso followed by en_vs2005te_for_db_pro_dvd_X13-15163.iso 2. install only en_vs2005te_for_db_pro_dvd_X13-15163.iso 3. install power toys 4. install service pack Looks to me like the en_vs2005te_for_db_pro_dvd_X13-15163.iso is the one you want as its size difference leads me to believe it has the DBPro packaged with it. then the service packs and the the power toys The download finally finished and the answer is in the readme file ...Show All
HBOne How can i kill a process?
o.k i i am trying to kill the iexplore.exe process what am i doing wrong here the code: Public Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ps As Process ps = Process.GetProcessByname( "IEXPLORE.exe" ) ps.Kill() End Sub i get this error: Error 1 'GetProcessByname' is not a member of 'System.Diagnostics.Process'. the funny thing is that the exact same code works with "getprocessbyid" tnx One of the best ways to figure out why things do not happen is to put a break-point in the function you are interested in and step through it. When I stepped through the code like I saw GetProces ...Show All
simsen Performance Tools Troubles
I've just started working with this version of Visual studio. We are interested in profiling our application, so I thought that the People Trax example would be a good place to start learning this, but I'm having a problem running Performance Tools on it. I downloaded and opened up the People Trax solution but when I select Performance Tools > Performance Wizard, I get the error box "That assembly does not allow partially trusted callers." Do I have some setting wrong The help on "partially trusted callers" seems to have nothing to do with what I am currently doing. If it matters at all, I am running over a remote desktop connection. Thanks in advance for any advice you can provide. Ian: Tha ...Show All
R.Tutus Is it possible to build library used only for the unit testing?
Hi, I am a newbie to the team system. Currently, we are building a test system based on team test for our existing application. Since the application is quite large, we would start from a small portion of it. My question here is whether it is possible to build library used only for the unit testing For example, one of the methods is newticket(Ticket ticket). The existing application reads the xml-based queue message from the msqueue and generates the ticket object, then pass it to newticket method. But right now, I would like only generate test case for newticket. So I need a method to generate the ticket object from an xml file. I also can reuse this method to generate ticket object for cancelticket and changeticket methods. Since i ...Show All
enric vives Windows Installer 3.1 can't be installed
Anyone know why it gives me this error, and how i can solve it what are you trying to install when this happens which OS are you running is your computer up to date with Windows Update Try to download the installer separately ( http://www.microsoft.com/downloads/details.aspx FamilyID=889482FC-5F56-4A38-B838-DE776FD4138C&displaylang=en ) and then retry the install. Im trying to install visual basic express edition, but come to think of it whenever i try to install anyting using the windows installer it dosen't work Im running Windows XP proffesional (service pack 2 if you need that) And im not really sure if its up to date. Im pretty sure it is though ...Show All
nabendu More Continuous Integration problems
I need to have my team builds which run on CI to build higher level applications if a lower level framework component is changed. For example, I have a framework Component and I have an application which has a binary reference to this framework component. If the framework component is changed, I would like this to be built. I would also like the application which has a binary reference (and any others which do) to be built. Is there a way which I can do this You didn't specify how your CI build was being kicked off, whether through some custom web service notified by the TFS app tier or through some other mechanism like CruiseControl.Net. In my case, each dev team has a CI process running. The team ...Show All
papermater media time calculation
Hi need the maths calculation for this: Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If OpenFileDialog1.ShowDialog Then mplayer1.URL = OpenFileDialog1.FileName Timer1.Enabled = True Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Label1.Text = mplayer1.currentMedia.duration But It displays the length as 345.232 for example. how would I format this as 3:00 for example not sure, could be the string formatting - try MM but would have thought "MM" would be month. The other thing is, you maybe better of checki ...Show All
SoulSolutions Painting into an image box
Hi I know you can draw lines and things into a picture box with picturebox.CreateGraphics.DrawLine(Pens.Green, 5, 5, 6, 6) etc But why will it not work with variables in place of the 5, 5, 6, 6 Is there a way of painting a custom colour instead of a pen colour Is there a better thing to use that allows me to just change pixel coordinate colours as it is easier to imagine and write code for, this is confusing to me. In th line pb.CreateGraphics.DrawLine(Pens.Blue, i2, i3, i2, i3) you are drawing a line from i2,i3 to i2,i3. i.e. a line of zero length - that is why you do not see anything. For a custom coloured pen try Dim P As ...Show All
shivavrata TFS utilizing existing Sharepoint portal
Hi all We are looking at implementing a TFS install fairly soon for our production source control. I've been looking at the eval version for the last week or so and have encountered a problem with one of the requirements I've been given. We have an existing Sharepoint portal (2003) server that we have our company intranet on. We are trying to determine if it is possible to configure TFS to create project sites on the sharepoint server as opposed to the app tier. If anyone has any feedback on this it would be much appreciated. P. Hello, Thanks a lot for your patience. Here is the link to the whitepaper: http://msdn.microsoft.com/vstudio/teamsystem/reference/technotes/tfs/conf_for_remote_ss.aspx Hope this helps! ...Show All
Shivapriya Branching across projects
I'm looking for current thoughts regarding branching across team projects and support where you have common components that live in separate team projects. To keep this "simple" let's assume the following: Common Library projects - each contain a number of projects that are intendeded to be used by multiple "Products" CommonProjectA CommonProjectB "Products" - These are the end products, and each use either A/B or A&B - Each can release together or at different times ProductA ProductB ProductC - "C" agregates and depends on Product A & B of a consistent release Each Product A , B and C each have their own solution file that includes the relavent projects from CommonProject ...Show All
Joao Pinto Lot of traps for cmdlet development, any plan for FxCop rules?
The development of PowerShell CmdLets is full of traps ( do not use the Console is one example among others). Is there any plan to include rules dedicated to PowerShell development Thanks in advance, Joannes http://www.peoplewords.com Joannes, We don't have any current plans around building rules for PowerShell. Although, that's not to say that this may not change in the future. However, as we don't have the domain experience to write these rules, the best team to initiate this is the PowerShell themselves - perhaps ask them over on the PowerShell blog. Regards David ...Show All
Mike Marusin Timer
I have a Problem, I have a timer that runs and a event has to be run within this timer. The event is triggered by a button. My question is how do i get the brogram to "ask" if the specific timer is still running The event can be run before or after the timer is ended but it will be maked as early or late. Any help would be cool Thanks Thelostcircuit Ok, I tried this DateTime Ftime = new DateTime.Now(); if (Ftime > Flol ) { label14.Text = "late"; } else (Ftime < Flol ); { label14.Text = "ontime"; } Flol is a time using the addminutes Error 1 The name 'Flol' does not exist in the current context Flol is crea ...Show All
clueless in chicago Right click...
Hi... I have 2 doubts, 1. How to get the menu handle which appears when the user right clicks in slideshow window 2. Is there a way to write our own code for the selection of the menu item from the menu which appears when the user right clicks in the slideshow window... Plzzzzzzzzzzzzzzzzzzzz someone help me in this... Hi, Exactly i mean the context menu which appears in the view show. Plzzzzz help me in this.... How to get the menu handle and also how to know which item was selected by the user. Are we still talking about Powerpoint I'm guessing that you do mean an external application: regardless, you are not going to be able to do it easi ...Show All
Keith Henkel Team Build Sources Directory
Is there any way to make a build type (team build) use a common directory for it's references rather than it get the latest source code on every referenced solution when building one solution Did you mean that references should be resolved using dlls that you check into a common dir in source control instead of building the dlls Swaha Thanks Steve. That was the issue, I was simply unaware of how that workspaces worked with TeamBuild. This was certainly my issue however, after reading the blog you suggested, I realized that I can simply create a workspace for each project and use the appropriate workspace for each of the build types I ...Show All
