Answer Questions
hpkrekt TFS Proxy server restarting automatically
Hi We are using TFS proxy server and if we get the latest version by using Get specific version and with the checkbox "Force get of file versions already in work space " checked, the response is slow and it tooks hours to get the latest version. If we check the event log of the proxy server, I am often seeing the message "The VSTF server stopped" and after some time it is saying "The VSTF server started". I checked the statistics and it is saying cache hit percent is 95 and the other statistics are quite satisfactory. Looking forward for your reply Regards R.Balamurugan Hello Balamurugan, The TFS Proxy server uses ASP.net which will recycle every so often - it's a key asp ...Show All
ihatems2 simulate keyboard, mouse events
I am needing to come up with a way to program simulate ctrl v, and a mouse click. msdn states the best way is using hooks. other places say use sendinput, still others different ways. I have tried doing them all and as yet have no success. I am toying with having data on the clipboard. then with any of an assorted textboxs open , a mouse click will target whatever box its over. then i can paste using the ctrl v code. I can find no sample code at all. most microsoft links are dead even dealing with it. any ideas on best way to simulate ctrl v and a mouse click I think your questions need more specificity. Textboxes have those abilities built in for example. Wh ...Show All
BigAl_NZ Convert 4 byte String to hex to number
Hello everyone, I am fresh to VB programming but I find it enjoyable and easy to learn. I have been fighting a small issue with some code that I hope someone can help me out with. I have a 4 byte string variable containing a representation of a 16-bit word value. Each byte contains an ascii character 0000-FFFF I need to convert this psuedo-hex value to corresponding decimal (0-65535). Is their a way to parse this 4 byte string into a Ushort variable and then convert it to a number I would greatly appreciate any tips or advice, Thanks in advance!! Ouch, Thanks for the help, but I was looking for a little more direct way of converting the number. I can convert a string representation of a hex number in la ...Show All
cnceric Major new discovery: the Platform SDK's MFC source code can be built and used with VC++ Express
As you all may know, MFC is not included with Visual C++ Express 2005. You'd have to purchase VC++ Standard edition to get MFC. But the MFC source code (no binaries) happens to be included with the Platform SDK, in the folders: <installed Platform SDK folder>\SRC\MFC and <installed Platform SDK folder>\INCLUDE\MFC There are some make files in there (mfcdll.mak etc), but the main MAKEFILE and export DEF files are missing. If you have a copy of Visual C++ 6.0 you can get these missing files. I have sucessfully built this version of MFC (both debug and release) and run a test app using this rebuilt version (I named it MFC42E.DLL) with very minor changes to the source cod ...Show All
NetPochi small problem with Messagebox
Hello. I have just a small problem. i have a MessageBox on my form. On the menubar, when ya click File, then click New, if text has changed in RichTextBox1 the MessageBox opens asking if ya want to save it. When ya click Yes on the MessageBox the SaveFileDialog1 opens, which is want i want it to do....the problem is, if ya click No on the MessageBox the SaveFileDialog1 opens. How can I stop this from happening and get the th MessageBox close when ya click No heres my code: Private Sub NewToolStripMenuItem1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewToolStripMenuItem1.Click If RichTextBox1.Modified = False Then End If If RichTextB ...Show All
r prasanna vignesh Cannot install Web Developer Express. Help???
I've been trying for days to install Visual Web Devloper Express edition for a class I am taking. After the Down and Install box comes up it keeps trying to re-establish a connection but never does. I have a dial up connection so it would take days for me to download the file for manual installation. Can someone PLEASE held One thing you really need to know, is that the downloaded image will be the same as the web download.... I would suggest going to a bookstore and purchasing one of the books that has the media inside. Or find a friend that has a fast connection to download the image, once the image is downloaded you are able to install it on as many machines as you like as you do not have to regis ...Show All
gafferuk QueryLabels error
Hello guys, We have been using QueryLabels in order to retrieve the list of labels for specific item. It has been reported that in some case the following error occurs: A database error occurred (SQL error 2627) ---> Violation of PRIMARY KEY constraint 'PK__#labelItems_______4D84EF49'. Cannot insert duplicate key in object 'dbo.#labelItems' We see that the error occurs in some temporary tables on TFS database. The strange thing that it occurs and may be reproed only in one installation (RTM w/out SP), and what's more will occur only for some items. Additionally, the items that cause error are seemingly the same as the items that do not. May that be connected to scope parameter - but then, again the full item server path is s ...Show All
nhaas c-mon guys..help me out
I asked for help in my other thread.. button help needed... big problem.... I had a couple of replies...but I am still stuck....can you help please thaks for the replies guys.... but saving the urls is fine for me...as I can save the urls that I want......ie...google.com... but if someone else was to use my browser....I want them to be able to assign the buttons to their preferences... actually I messed up....because I have 10 menu items named site1 to site10......... the idea was to save your favorite sites to the menu items......but my favotite sites are not your favorite sites.... see the problem I need a way to save the menu items to the documents folder....so that the user can change them....... I ...Show All
DRD32206 error when start with debugging
Hi, I need some help on why each time when I click start debugging (VCE2005) i will get the same errors on all apps before I had no problems. I have already re-installed VCE 2005, same problem. The program will not get any errors if I choose start without debugging. Any help will be greatful. Thanks! heres the codes: #include <iostream> using std::cout; using std::cin; using std::endl; int main() { int num; cout << "Enter a number from 1-5\n" ; cin >> num; switch ( num ){ case 1: cout << "You entered the number one.\n" << endl; break ; case 2: cout << "You entered the number two.\n" << endl; ...Show All
kgkidd ClickOnce Deploy
Hi all, I am doing a clickonce deploy using the following Task in the AfterCompile target: <MSBuild Condition=" '@(SolutionToBuild)'!='' " Projects= "%(SolutionToBuild.RelativeDir)folderpath\projname.csproj" Properties= "Configuration=%(ConfigurationToBuild.FlavorToBuild); Platform=%(ConfigurationToBuild.PlatformToBuild); SkipInvalidConfigurations=true;VCBuildOverride=$(MSBuildProjectDirectory)\TFSBuild.vsprops; FxCopDir=$(FxCopDir);OutDir=$(OutDir);ReferencePath=$(ReferencePath); TeamBuildConstants=$(TeamBuildConstants);$(CodeAnalysisOption); PublishDir=$(DropLocation)\$(BuildNumber)\; ApplicationVersion=$(BuildNumber); PublisherName=Name that shows in App menu; PublishUrl=http://urlpath/virtualhost/; http://urlpath/vi ...Show All
vr3h datagrid
how can I clear a DataGrid without clearing Columns this does not work: this.theDataGrid.Rows.Clear(); Dear breceivemail, By the info you have provided, have you placed a datagrid item onto your form and have populated it with data from one dataset or table and you now wish to use the same datagrid for another dataset or table. Am I right or just barking up the wrong tree. Scott I see you have now changed your question slightly: how can I clear a DataGrid without clearing Columns you would simply clear the rows really. what happens when you clear the rows I know you stated that it does not work ...Show All
AndrewSeven get latest on checkout macro
We just started using team system, and were switching over from vss. We're used to the vss get latest on check out way of working. I know there's a million reasons given as to why this is taken out in team system...but our team wants it to work the regular way (it's to the point where superiors will can the product if a workaround isn't found). It's currently our only draw back to fully using team systems for all internal projects. I posted the macro mentioned on other posts to accomplish this functionality below. My question is how do you set this up to work Does it work automatically when you check a file out Do you have to bind it to a button that you hit when you check it out Any help or solutions will be greatly appreciated. ...Show All
BeckyB Changing VS edition on a production build server
Hello, We're interested in expanding our use of VSTS from our current Dev + TFS workgroup setup, to incorporate the Test edition as well. Since we only have MSDN subscriptions for the Dev edition, we're using the Team Suite 180-day trial to play around and see if it meets our needs. Everything's working great on the developer machine side; we've built some tests and are happy with what we've got, but unfortunately, because our TFS build machine doesn't have the Test edition of VS installed, the necessary DLLs aren't installed, so we end up with a bunch of lines like this in our build logs: C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets : warning : TestTypes\{37e36796-fb51-461 ...Show All
Pockey Database path question
Maybe I am missing something here. I have an attached MS Access database. I have tried both statements below. dbConn = New OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\GPS.mdb" ) dbConn = New OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\GPS.mdb" ) The second command works great. However, I don't want to update another database, I want to update the database attached to my project. I would think the first command would work, I don't get an error saying it can't find it, however, the record is not added and I don't get an error. Can anyone give me any assistance with this If the database is attached to your ...Show All
KitWest Move pogam
I wat to take my program to a different computer so i put it on a USB key and took it to the computer then when i go to run it, something happened and errors come up and the program doesn't work. How to i pack it up so i can take it to a different computer and edit the code You must install .NET framework and install references, so, you must use the deployment projects to do that : File => New Project... => Other Project Types => Setup And Deployment => Setup Project. To edit and home and run at school, the school computer needs the .Net Framework 2.0 and possibly other things depending on what your program does. If the school computer doesn't have at least the Framework, you will nee ...Show All
