Answer Questions
Aneel Another warehouse not updating :(
Hi folks, i've noticed our warehouse reports are updating/working. eg. Remining Work Report Generated: 6/06/2006 4:16:54 PM by Domain\User; Last Warehouse Update: 21/05/2006 5:41:04 AM. I can use http://localhost:8080/Warehouse/v1.0/warehousecontroller.asmx in IE and it works (well, it says TRUE and pretty soon after that it (refresh IE) says FALSE). There's no errors in the EVENT LOG anymore. The TFSServiceScheduler was off, so i had to double check the logon user (Domain\TFSService \ password) apply, and run (works). Suddenty i recieved a lot of alerts from our discussion board :P Code analysis works (i hit run - 2 entries are logged. blah blah Start. Blah blah stop). That account logs on as Domain\TFSSetup \ pa ...Show All
愛青蛙 compiling a .cpp file
I have no problem with compiling my own projects, butsometimes I download a .cpp file from the internet and want to compile it and I can't seem to find a way to use visual c++ to compile the .cpp file. Does anyone know how to make the compiler compile a .cpp file. thanks for any help Hi, Try to use wx Widgets upgrade for VC++ 2005 express, becouse it don't have MFC grrr. You will need Windows Platform SDK 2003 to install and manual instal some files or buy Visual studio... G.P. Create a "compatible" project type for your cpp, like Win32, Win32 console or CLR. So if you have a cpp which is not Windows specific and which is started from a command console use Win32 console project. ...Show All
curiousss open new form
i need the open new form code. it looks something like this: "Dim clone new form1" ok, thats different! you need to make your own dialog for this really. so if you are doing a save as dialog, you need to show a SaveFileDialog and save the contents to a file using the StreamWriter class or the My.Computer.FileSystem.WriteAllText method. Example: Dim theSFD as new SaveFileDialog() if theSFD.ShowDialog() = Windows.Forms.DialogResult.OK then 'user pressed ok to save the file My.Computer.FileSystem.WriteAllText(theSFD.FileName, Me.TextBox1.Text, false) end if this will show you the save dialog and when they press ok, will write all the text from textbox1 into the fil ...Show All
Mindy Riddick Single Quotes (') in SQL inserts
How does VB.NET deal with single quotes in SQL Like with name O'Conner. how does VB.net fix this Thank you. I believe the following will answer you question http://wiki.ittoolbox.com/index.php/FAQ:How_do_I_escape_single_quotes_in_SQL_queries%3F it should be ok as it would be in a string quote meaning that it won't comment out the code you are writing as its in an open quote mark waiting for it to be closed: Dim theString as String = "My name is 'bob'" is this what you mean ...Show All
MickDotNet Bug Tracker in attaching file in XML format.
Iam automating an ERP product using Test Complete. I have also wrapped the Scripts form Test Complete to be run on Team Systems and its working fine. But from the Test Result window when I add the bug for the result generated in the bug tracker an “.trx” (ex log.trx) file is attached. But that’s an XML format and I want that the log file should be attached as excel, word or any other format which is understandable to other person whom Iam locking the bug. Please suggest me some way to attach the log file in an better user understandable format. Thanks Srivathsan.B You will have to parse the xml to extract the relevant parts out. Unfortunately the xml is not in a friendly format and VS does not provide any APIs to ...Show All
Secsi DESIGN MODE!!!
Im fuguring this out this out for SO LONG, IM TIRED, could SOMEONE tell me how to switch into Design mode GOD i spent 5 hours writing and cant get it into Design mode! double click the form...or right click the form and go to view designer ...Show All
MartinParé Null Reference Exception
For some reason i keep getting this "Null reference exception was unhandled - object reference not set to an instance of an object" Does anyone what this or what is could be causing it. I'm using arrays to store stuff which then makes an instance of a panel. I have 4 of these, they are all identical and use the same panel, but one of them refuses to work and I get this message, I've checked it over and can't seem to see anything different between that 1 and the other 3. I don't care dave. I am both social and poltical. Anyone got any solutions, I've gone through it probably 30 times now and can't see anything that would be causing it. The error ...Show All
Jeremy Jarrell calender link to database
I'm trying to create a database of projects. when a project is entered i want the entered to link the database info for that project to the calender date so that when a user clicks on a calender day the projects for that day are shown in a message box. Any ideas Thanks I tried the previous code. I ended up getting the following error. System.ArgumentException was unhandled Message="Format of the initialization string does not conform to specification starting at index 0." any ideas Thanks vb underlines " dateChosen.Value( My .Forms.Form1.MonthCalendar1.SelectionStart)" and says"property access must assign to the property or use ...Show All
kedar_vj Readd of a project which was bind to source control fails
Hi, I have a project which was bind to team foundation source control. Our server crashes and we only have the version in the workspace. How can I readd this project to source control There was this error message (sorry, in German): Das Projekt "D:\TFS\TestProject\5.00\Entwicklung\Entwicklung.sln" kann der Quellcodeverwaltung nicht hinzugefugt werden. Das Projekt uberschneidet ein Projekt im Ordner "D:\TFS\TestProject\5.00\Entwicklung", das bereits in einem unteren Stamm an die Quellcodeverwaltung gebunden ist. Um das Problem zu vermeiden, fugen Sie das Projekt aus einem Ordner unter dem Bindungsstamm der anderen Projekte in der Projektmappe hinzu. I have remove all files added by source control and edit *.sln to remove ...Show All
Tanmaya Help with a save dialog?
hey guys I have a save button on my menu bar and i run the program and click the save button it brings up the normal save dialog like always but will not save it for some reason can someone help me All I've done is created the savedialog and scripted the showdialog inside the menustrip. Please help Think logically. If there there is mentioning of Save and Write, it is likely that respectively Open and Read are also possible. So to help you along, start with Brendan Grant's example: instead of using a SaveFileDialog, use an OpenFileDialog. And instead of a StreamWriter, use the StreamReader class. No, I don't mean like opening like that I mean like opening the file fro ...Show All
sumit kr Work Item custom field's value update
Hi I'm customizing the process template to add some fields to work item type definitaion. So, in the Bug Work Item Type xml file i edited to add a field Release#. Now, this release number should be a dropdown with the values getting of the release # drop down getting updated quite frequently. I couldn't find an easy way how to add the release# values. All i could understand is that everytime i need to add a value to this dropdown, I need to download the Process Template, then edit the Bug.xml file to add the 'AllowedValues' tag and then upload the process template. Is there an easy way to this situation Here is an article on how to do it: http://blogs.msdn.com/team_foundation/archive/2005/05/06/415268.a ...Show All
Gedoo Inserting "Null" Values on a SQL DB with a Table Adapter
Hi all!!! I have this quite simple SQL 2005 Express DB. The structure of the DB is the following: id - Int (Primary Key) date - datetime text - nvarchar(50) I'm trying with a TableAdapter to insert a "null" value to the field's date and text but no good. Me .TableAdapter.Insert(1, what do i put here !, what do i put here !) Thank's dp I don't believe that this answers the original question, which was how to make a TABLEADAPTER deal with nulls properly. As I understand it there is a problem in VS2005, such that the automatically generated dataset used by the TableAdapter has a "NullValues" setting of (throw exception), In my ophinion this basically rend ...Show All
Fourge "It's for the children..." drawtext erase remove
Howdy, New program for the kiddies... This time, I'm creating a small graphics program where the alphabet letters appear, move, resize, recolor, sort, etc. I'm just getting started...I've got the first letter to move around the screen, and using the font size, color etc, I can get the "A" to move along in a path. I'm using: TextRenderer.DrawText(GraphicsFun, "A" , Me .Font, New Point(point1x, point1y), SystemColors.ControlText How is it that I can erase/remove the letter just before or after the new one appears I don't want to clear the screen/form/etc...just the last appearing letter. Thanks in advance...this site has answered what would appear to me to be hundreds of my questions for the two programs t ...Show All
KevinBurton web textboxes
Hi peeps, Does anyone know how to insert data from a vb form into a textbox on a website what I would like to achieve is automaticly log into yahoo mail with the selected username and password and return the current new messages in the inbox folder. hope somone can help, thanks. im not sure to be honest and dont quite think so, you could do the not so great method of doing send keys! But I would rather you use the correct procedure - using the webbrowser control, and gives you alot of flexibility too should you require to do anything else thank you for the quick reply as always. very usefull information, but is there a way to code it without using the webbrowser control so you ca ...Show All
NickiC VSTS Configuration Manager
Two caveats before asking my question: 1) My solution is notoriously mangled. It works 99% of the time, but occasionally crazy things happen that I can't explain. This may be one of those instances. 2) I'm running VSTS 2005 without the foundation server up. (Don't ask, we don't want to go there. Oh that's right, something about not running on domain controllers. Not nice for one man shops. Both my enterprise servers are DC's so they can back each other up. I guess I'll have to get VM server running one of these days.) That said, I try following the directions in the help (i even connected to the online stuff - ugh! - to make sure I got the latest and greatest). I cannot find Configuration Manager on the "Build Menu" w ...Show All
