Answer Questions
shibin Visual Studio hangs when I try to "Check Out" a file from TFS Source Control
Help! Starting 2 days ago I found that if I tried to right click on a file in TFS source control, VS would just hang. I could only close it by ending the task in task manager. I tried the repair option for Team Explorer and also tried the SP1 upgrade. It's still hanging anytime I try to manually check out a file via the source control explorer. NOTE: It seems as though I'm still able to check out files if I'm in a solution. But not directly from the Source Control explorer. And this issue is only affecting me. The rest of the team is fine. This is becoming more than annoying. Thanks for any help. Sincerely, Hi: Is this still occurring thanks, mario As first suggest I would activate client tracing to ...Show All
Scott_P slideshow
how can I alter this code so it displays a different image every minute.....like slideshow thanks PictureBox1.Image = Image.FromFile _ (System.Environment.GetFolderPath _ (System.Environment.SpecialFolder.Personal) _ & "\Shell2.jpg" ) Cheyenne be sure to use the normal timer_tick signature for the event rather than this modified one Private Sub Timer1_Tick() Dim path As String = "f:\friends" Dim DI As New System.IO.DirectoryInfo(path) Dim fi() As System.IO.FileInfo = DI.GetFiles() &n ...Show All
TaDa Replication vs Proxy Server?
My company is currently in the process of bringing other branches of our company on to Team Foundation Server (TFS). Our primary offices are in the United States but we have other branches in Europe. Originally we were planning on having a central TFS server in the USA that all branches would connect to. Due to latency and somewhat frequent WAN outages between the branches we are now looking for other options. The first thought we had was to install a second TFS server in our European branch and setup SQL 2005 replication between the two databases. The hope is to have the European branch connect to the TFS server in Europe and the USA branches connect to the TFS server in the USA. With the hopes that we would have identic ...Show All
espenhjo end process
How do you end a specific process running. Its easy to start one (process.start()) but i cant find out how to end the process. like in othere programming launguages its (process.kill()) but that would be to easy. how can i end a process thanks Average Joe averge joe wrote: like in othere programming launguages its (process.kill()) but that would be to easy. how can i end a process Process.kill still does work...and you can "get" your process by name by id or even the current process... Dim p As Process = Process . GetCurrentProcess p . Kill () ' Close process by sending a close message to its main window. myProcess.CloseMainWindow() ...Show All
Arunkjose slide panel
ok guys and goddesses I have a panel on each side of the screen....which look like a pair of curtains.... when I click a button....I want them to slide in to meet in the middle....... also another button to make them slide back again........ I have done this with a top panel.......but I just cant get it to work with this..... please help cheyenne thanks dave this closes the curtains but it is instant the timer dosnt seem to come into play I have increased the delay to 1000....still instant dave you are a genius......works a treat..... just one thing.......I have this on a button click and it only works once......when I click again....nothin but I may be able to fix this unless you ...Show All
alpefusk Working with Access databases in vb.Net
Hi there, am a beginner in visual basic.Net and am developing a small application in vb.net. i have succeded in creating a connection string and i can display information from the database on my forms. could someone help me with a code for adding new record, updating and deleting a record from the database i Shall be grateful. I think the video series are very useful. You definitely want to watch it. "This lesson looks at how you can connect your applications to databases. You will learn how to enable your application to view and edit data stored" Download video Take a look at the Data Access samples: http://msdn2.microsoft.com/en-us/vbasic/ms789075.aspx#d ...Show All
tomacco C# Book
Can anyone recommend a good C# book for a beginner I don't know any C or C++ but want to learn C# and eventually XNA :) Thanks I just bought "Sam's Teach Yourself Microsoft Visual C# 2005 in 24 Hours, Complete Starter Kit", and I think it's really good. Comes with the original Microsoft CD with Visual C# 2005 btw. And the first book on programming for beginners I've seen that doesn't start with the worn-out "Hello World" program. Instead you jump right into designing a real application (a picture viewer), in the first chapter. Cool! I was a bit annoyed though that there wasn't any electronic version included, I think it's much easier to work with an ebook. However, I discovered that they have electronic c ...Show All
DrBrain define host application to debug a dll
Hello, I'm using visual studio c# express edition and I want to debug a dll using a host application. I didn't find that options in the project properties Is there an option thanks, I'm not sure if this is available in Express: Project + properties, Debug tab, Start action = Start external program. no there isn't such option there are only: command line arguments, working directory and a flag called "Enable the visual studio hosting process" Rats. If you have multiple projects in your solution, do make sure that you selected the DLL project as your startup project... thread moved to the appropriate forum nope, no multiple projects.. I tried to set the dll as startup and it do ...Show All
Dallastower Creating Code Review Tasks Automatically from Tasks
When a task goes into Resolved state, is there a way to automatically create a "Code Review" task based on the Code Reviewer name submitted in the work item check in rule This would be really helpful to keep track of comments related to code reviews and make sure that each code review is successfully done. For instance: Developer A completes work item and checks in code. (it would be nice to be able to change the status of the work item in the Check In box as well) When checking in the code, there is a Check In Policy for "Code Reviewer" (this should be a drop down of list of active users as well...fill in the blank does not work very well from a compliance check) Based on the successful changing of the work item from Act ...Show All
bes7252 accessing file on disk
I want to access file on disk without getting it onto ram. i guess i'll hv to get it on virual memory and do it. Am i right if yes how do i do that language preffered: c# or c++ What exactly has reading directly from a volume or disk drive has to do with reading the contents of an xml file ! Wht you have given is extreemly helpful. thanx a ton!! but.. Can the buffer size for memory mapped file be dynamic There is no such thing as "without getting it into ram". Even if you use "virtual memory" (probably you are thinking of memory mapped files) parts of the file will still be loaded in ram. To use memory mapped files see the following Windows API functions: Cr ...Show All
Snarf99 find process file location
hey im looking for a code to find the location of the .exe file of a process with an anti bug in case theres two process with the same name i already know System.Diagnostics.Process.GetProcessesByName("proccess name") hum sorries for taking long time to respond i had a lot of stuff to do im going to try your solutions once i have time for Programming ill post back to tell u if it worked thanks for the replies :) Sorry ahmedilyas, did not mean to step on your post...I overlooked that second line However you did answer the question!!! that is exactly what I had said Dman. The poster will get back if the solution helps untested but you may wish to try something like: Process[] theList = Process ...Show All
Will George Ordered List in a Textbox
Below is the code to place 50 items in a Textbox/Listbox in the Listbox the items show 1 - 50 but in the Textbox they show 50 - 1 I know why it's doing this but how do I reverse it to show 1 - 50 same as the Listbox For i = 1 To 50 TextBox1.Text = (i.ToString & ") " & (arrNumber(i))) & vbCrLf & TextBox1.Text ListBox1.Items.Add(i.ToString & ") " & (arrNumber(i))) Next It's the AppendText that does the trick. Nice when it works, Nice when you understand why. For i = 1 To 50 TextBox1.Text = (i.ToString & ") " & (arrNumber(i))) & vbCrLf & TextBox1.Text ListBox1.Items.in ...Show All
SoniaJulka Getting the WebBrowser LocationURL to show.
I am having a lot of trouble getting the webbrowser location to show up in the textbox that I use as my address bar. I am trying to make it so that the address bar always stays up to date with what URL the webbrowser is at. Can someone give me an example code of how this is done Sorry for all the questions. I'm very new to VB Double click on the web browser control, in the form designer. With some luck, it'll automatically give you a Document_Completed Private Sub. Once there, enter this code: <youraddressbar>.Text = <yourwebbrowsercontrol>.Url.ToString Replace <youraddressbar> and <yourwebbrowsercontrol> with the appropriate control names. ;-) Martin ...Show All
Oleg Ignatov MSB3021 errors when building solution that includes website
I have a solution with 7 projects in it (1 website, 4 libraries, 2 c# executables, and 1 j# executables). I first had problems figuring out which build platform to use but I think I got past it. Now I am getting errors when it is trying to copy 4 files from the website bin directory to the drop location. It should be copying the files to: \\server\projects\deployment\filename.xml Instead it is trying to copy them to \websitename\\filename.xml Any ideas Can you post the contents of the build log (BuildLog.txt) Thanks, Aaron Here is the content of the BuildLog.txt file Build started 7/12/2006 8:35:10 AM. __________________________________________________ Project "c:\projects\odin\build\o ...Show All
bevis61 doubt on right click menu
Can anyone help me getting the handle to the menu which appears when the user right click in the slide show window That is , How to get the handle to the context menu which appears when the user right clicks in the slideshow window Thank you for your help. Thank u very much. But i need the menu handle. How to get that handle or In otherwords how to know which item was selected by the user from the context menu Badhris, 1. According to your question, I suggest you to know Menu.Handle Property that gets a value representing the window handle for the menu. 2. Then you can read this article: PPT97: Sample VB Code to Obtain Window Handle http://support.m ...Show All
