Sacha Vieux-Roy's Q&A profile
Visual Studio Team System Trouble scheduling a build if buildtype has spaces in it
I can't seem to get my build to work if my build type has spaces in it following either the scheduled task option or creating using a batch file as documented here: http://blogs.msdn.com/abhinaba/archive/2005/11/21/495179.aspx http://blogs.msdn.com/abhinaba/archive/2005/11/21/495179.aspx I can do it from the command line using quotes, but the automated options keep misinterpreting the space. What's the trick Deleting and recreating the build type without the space is a hassle but can be done I suppose. You don't have to delete and recreate the Team Build type, just rename the type in Source Control Explorer (under the TeamBuildTypes folder) and then check in the pen ...Show All
Windows Forms DataGridView - Invisible Cell Error Update
I just wanted to ask if there is an update now for the error when your first coulumn is hidden, then there is no record,when you typed a value and canceled it, it returns current cell cannot be set to invisible i think i got it. in the dvg_cellbeginEdit If DGV.CurrentCell.RowIndex = 0 And DGV.CurrentCell.ColumnIndex = 1 And IsDBNull(DGV.CurrentCell.Value) = True Then DGV.CurrentCell.Value = " " End If It will assign a value so when the user presses esc,it will not return cannot set current cell to invisible ...Show All
Visual Studio Express Editions help a noob out!
Okay, here's my problem: When i start a project, then set it aside and work on a new project, I can't go back and edit the ui! anybody know why please help me! I spent 12 hours straight on my web browser to have it uneditable! You may have accidentally locked the controls. Right click the form in the designer and turn off "Lock Controls". ...Show All
Visual FoxPro how to open a url from a command button on a form???
A real basic question for everyone... Can anybody please tell me how to open a url from a command button on a form. Just insert the code in click method of a command button: DECLARE INTEGER ShellExecute IN shell32.dll; INTEGER hnd, STRING Action, STRING FileName,STRING Parameters, STRING Dir, INTEGER Show Action="Open" FileName=" www.microsoft.com " ShellExecute(0,Action,FileName,"","",1) ...Show All
Visual C++ Assertion Failed in daocore.cpp in VC++
Hi, I am getting error like Assertion failed in daocore.cpp. Here i am using CDAODatabase and i am opening and closing Database properly still i am geting error while opening the database and its says void CDaoDatabase::Open(LPCTSTR lpszName, BOOL bExclusive, BOOL bReadOnly, LPCTSTR lpszConnect) { ASSERT_VALID(this); // Re-Opening is invalid. if (IsOpen()) { ASSERT(FALSE); return; } where line ASSERT(FALSE) if the IsOpen() returns TRUE. It means: my DB was ALREADY opened.but i am closing the DB properly This error is not consistence sometime it gives error in SetSQL() function which is called from open() function. If anypne having idea about this pl suggest me some solution. i am ...Show All
Visual Studio 2008 (Pre-release) Dependency Property's
this is a follow up post about my problems with custom controls. essentially i am creating a graph custom control, however the graph must display any number of lines, consequently i cannot say (in generic.xaml) <Canvas> <Polyline.............../> <Polyline.............../> <Polyline.............../> ................... </Canvas> because i never know how many lines to create. this means that i need to change my CS code to allow for any number of lines. this will mean i have a situation whereby either the company who uses this software can say <lineChart......................> <linePoints................/> <linePoints................/> <linePoints................/> ....... ...Show All
Visual Studio Express Editions Question about a ContextSwitchDeadlock error message
I am writing a program which creates a list of all of the folders and files on a number of drives on the computer for helpdesk documentation purposes. In testing the program, I am getting the following error: ContextSwitchDeadlock was detected Message: The CLR has been unable to transition from COM context 0x1b5630 to COM context 0x1b57a0 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all sing ...Show All
Visual C++ Template Selection Visual C++ 2005
Keyword C++ Template Matching Selection I thought in many circumstances the more specialized template is chosen. So the actual template selection by the great compiler seems contrary to my expectation. This concerns overloading the operator = via templates in a C++ class. Desired: To have member template methods (operator =) called in certain object types thus producing other or same objects. Expression Templates. I want to manually write these templates for the educational value. (template frenzy).( I dont want use boost::lamda ... just yet). Other metrics being equal .. I would like to use a lesser number of member functions. Actual: I get template matching that is contrary to my intention. (I dont understand the actual template ...Show All
Visual Studio 2008 (Pre-release) Get notification of CD or USB stick insert in WPF application
Hi everybody, is there a way to get a notification in a WPF application when a new CD / DVD was inserted or a USB-stick was attached In WinForms I would intercept the WM_DEVICECHANGE event but I would like to know if there is a more elegant way without switching to windows forms in WPF. Thanks, Tobias Thanks for the code. using the tool you linked in your first reply I came out with a solution that handles the Win32_DiskChangeEvent and the Win32_VolumeChangeEvent. This seems to work pretty well and instead of checking for a change e.g. every second this will really fire up only in case of an event (should require less ressources). I doubt that using the Win32_...Events will not catch all C ...Show All
Visual Studio 2008 (Pre-release) Help getting Console Server program to update ListBox (WPF)
I have a Console program for a Chat Server using Asynchronous Sockets , trying to get it to Read a .INI, which contains a list of names. Than have those names broadcasted to a ListBox on the ClientSide.. I know this has to do with the System.IO functionality for reading the File, but not sure how to send what the StreamReader has read to the ListBox on the ClientSide. Here is a Section of code out of a larger block i'm currently working with dont think this is correct thou:: else if (messageReceived.StartsWith( "[RL]" )) { StreamReader sr = File .OpenText( @"C:\roomlist.ini" ); while (sr.Peek() != -1) { string allRooms = "[RL][" ; allRooms += "]" ; B ...Show All
Visual Studio Team System TF53010 - WAREHOUSE update error - Urgent
The following error below has appeared recently within the event loag of our team server. Our graph reports also show no data since the error occured. Error can be replicated by issuing the 'Run' command from the following asmx. http://localhost:8080/Warehouse/v1.0/warehousecontroller.asmx Any ideas please Thanks in advance. TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 22/02/2007 16:18:07 Machine: TEAM01 Application Domain: /LM/W3SVC/3/Root/Warehouse-19-128166346769658534 Assembly: Microsoft.TeamFoun ...Show All
.NET Development PNG transparency being clipped
I have an application that allows a user to position a graphic on a surface. Once the graphic is positioned, it is saved as a PNG that is set to a certain size. The image is always saved as the same size, so that the image will have different amounts of transparency, depending on how large the sub-image is. Later on the image will be reloaded and positioned at a known point, and the transparency will provide padding to make sure that the sub-image is in the right place. Make sense My problem is that when I load an image from a database, like this: primaryImage = Drawing.Image.FromStream( New IO.MemoryStream( DirectCast (primaryImageData( "ImageData" ), Byte ()))) It somehow comes out with all of the transparency cli ...Show All
Audio and Video Development XP MCE - Vista upgrade stops Media Center
I upgraded my development machine from XP MCE to Vista Ultimate but it has caused Media Center to crash on startup. Several other people have told me that they saw the same behavior and needed to install Vista from fresh to get Media Center to work. I cannot believe this is true. I've attached my ehshell.crash file below. It looks like some sort of problem accessing the database. is there anything I can do to fix the database Andrew Unhandled Exception - 11/27/2006 23:48:39 Message: Error creating session: [80004005]. Exception: System.InvalidOperationException: Error creating session: [80004005]. at MediaCenter.Store.SqlLite.ObjectStore.Open(String fileName) at MediaCenter.Store.SqlLite.ObjectStoreOpener.Open(String fileName ...Show All
.NET Development Inserting an HTML document into a database (SQL problem)
Hello, I have the following code: strCmd = "UPDATE [TBl] SET [text] = " + htmldoc + " where id = 11"; OleDbCommand cmd2 = new OleDbCommand(strCmd, conn); cmd2.ExecuteNonQuery(); Where "htmldoc" is a variable that contains the content of a big html file with lot of quotes extra... so when I execute the code I'm getting an error. How can I fix that Thanks in advance. Try enclosing with apostrophees.... SET [text] = ' " + htmldoc + " ' where ...Show All
Windows Live Developer Forums Msn won't send messages at all everyone on my friends lsit is having this problem
Msn won't send messages at all everyone on my friends lsit is having this problem. How do I fix this and ive restart my comp 3 times already. No luch I get a error message message could not be sent to recipent Check this out: http://msn-errors.blogspot.com/2006/11/following-message-could-not-be.html You're not the only one who is having exact problem ...Show All
