Marc DESJARDINS's Q&A profile
Windows Forms After installing SP 2 computer locks up when attempting restart - num lock illuminates also
I have installed SP 2 and IE 7 through Windows update site. All seems to work until I try to re-start the computer. The screen clears and commences to unload programs when it gets to a point where the num lock illuminates the screen goes blank and the computer locks up but will not re-boot. Manual restart is required. Windopws XP Home OS, AMD Athlon 64 processor. Any suggestions Hi Don Gino, thank you for replying to my message. I have had to completely restore my HD several times in order to rid my computer of this problem. I am a little more lucky than you in that everything else is working save for the auto re-boot. I have been working with a very patient grade 1 technician on the phone from Mic ...Show All
Visual Studio Team System Sharepoint - Link child schedules (MS Project files) to a Master schedule (MS Project)
Does sharepoint have the ability to link one file to another. eg: MS project schedules. Uploading a schedule that has links to other schedules does not seem to be work even if the child schedules are in Share point. Can anyone advise how this can be done As I am sure there must be a way. It would be no different to an excell file linking to other files. This forum is dedicated to the administration of the Team Foundation Server product. While we do use Sharepoint to help present information about team projects, I think the folks over on the Sharepoint newsgroups may have a better handle on the linking capabilities of Sharepoint. Cheers, Adam ...Show All
Visual Studio 2008 (Pre-release) Getting Viewbox and WrapPanel to play nicely together
Hello, Can anyone tell me how to get a WrapPanel and Viewbox to play nicely together... Given the following Xaml, how can I get the WrapPanel to utilise more than a single row Is there anyway I can give the WrapPanel hints about how many rows to use < Viewbox > < WrapPanel > < Button Content = " Value 1 " /> < Button Content = " Value 2 " /> < Button Content = " Value 3 " /> < Button Content = " Value 4 " /> < Button Content = " Value 5 " /> < Button Content = " Value 6 " /> < Button Content = " Value 7 " /> </ WrapPanel > </ Viewbox > The viewbox works perfectly ...Show All
SQL Server Maintenance Task Cleanup Bug
I added the extra \ and the end of the unc path from the browse selection and it seems to works. We are running SP1 still testing this though on additional servers. By default your selection is wrong when browsing example D:\Sql Server backups just add \ D:\Sql Server backups\ This worked for me. ...Show All
Visual C++ Access to Members of Top Level Class
If an object is declared as top level (^) how can you access its members For example: public ref struct DictionaryPath { public: DictionaryPath() {} ~DictionaryPath(){} String^ dictName; String^ dictPath; }; DictionaryPath myPath; // members can be accessed. DictionaryPath^ myPath; // now it is an "undefined object" whoose contents cannot be seen. Scrap that, I worked it out. I still have a couple of questions though: Is there an equivalent of an address of "&" for top level classes Also, when declaring an array of classes or structs, what is the best way to fill them array<DictionaryPath^,1>^ dictionaryPath = gcnew arr ...Show All
Visual C# multithreading: locking a variable to return
elementary question (I'm using VS2003 for this particular issue, but it pertains to VS2005 too) Is it possible for Foo() to be preempted between FetchFoo(), assignment of foo_, and pushing foo_ on the return stack public DataSet Foo() //thread1 { lock( fooSetLock_ ) { return ( foo_ == null ) foo_ = FetchFoo() : foo_ ; } } public void ResetFoo() //thread2 { foo_ = null; ...other code } If so, does this solve the issue public void ResetFoo() { lock( fooSetLock_ ) { foo_ = null; } ...other code } " Is it possible for Foo() to be preempted between FetchFoo(), assignment of foo_, and pushing foo_ ...Show All
Visual Basic Getting a pinvoke stackimbalance error
I'm trying to write a program that plays a wav file. when I run it I get a pinvoke stackimbalance error. The actual error is PInvokeStackImbalance was detected Message: A call to PInvoke function 'sound!sound.soundplayer::mciSendString' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature. the code is Imports System Imports DxVBLib Public Class soundplayer ' Basic Wave and MIDI Player Class for VB.net 1.1 ' Requires COM-Object : DirectX7 Private Declare Function mciSendString Lib "Winmm.dll" Alias & ...Show All
Visual Basic System Colors for Windows XP and the SetSysColors API
I am currently developing a .NET 2.0 application for a barge company. This is a Windows application that will run on thier tow boats. The application is based on an older application done in VB 6.0. One of the features they have is to switch to a night mode, where all the system colors are changed to enable the screen to appear mostly black with green font. This works well with the older versions of Windows or Windows XP with the theme set to Classic Windows. My question is there a way to achieve the same look using the Windows XP theme I've run through all the system color values 0 thru 30 (25 ommitted) and I still don't get the same effect. The main problem is the forms main title bar. It remains blue. I've searched high and low ...Show All
Windows Search Technologies Terms and frequencies?
Hi, After running a query and getting the results back, is it possible to get the terms and frequencies for each document Thanks, Eric See the post at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=516694&SiteID=1 It describes all of the columns that are defined in WDS 2.6.5. Note that there is a column called "contents", but it is not retrievable. I see no definition for any column that contains the list of indexed terms for the document. What I am asking is: "Is there a way to retrieve a list of indexed terms for the documents that are returned as a part of a query " I don't want to have to go open each file and essentially duplicate the work that the indexing engine has ...Show All
Internet Explorer Development Strange issue with some versions of IE6
I am creating a small web site for a local society - nothing special, XHTML & CSS. It works fine in a variety of browsers, but not IE6. I've not tested it with earlier versions of IE, but in the one copy of IE7 I have access to it's fine. The page has a header, footer and 3 columns. With the central column only there is a problem. The problem is that the central column sometimes appears blank. If you open another window in front of it, then close that window, however much of the central column was obscured by the window appears correctly. The CSS and the HTML validate correctly. I have tested it on two of my employer's laptops: that used by myself and a colleague who we assume have identical business builds. On mine it exhibits the fau ...Show All
SQL Server should be simple - FLAT FILE - HEADER / DETAIL LINES
I can't believe it's been a few days and I can't figure this out. We have a flat file (purchaseOrder.txt) that has header and detail lines. It gets dropped in a folder. I need to pick it up and insert it into normalized tables and/or transform it into another file structure or .NET class. 10001,2005/01/01,some more data SOME PRODUCT 1, 10 SOME PRODUCT 2, 5 Can somebody place give me some guidance on how to do this in SSIS The problem I see is that SSIS does not handle flat files with an uneven number of columns very well. Flat File and uneven number of columns: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1134754&SiteID=1 Perhaps you can use a flat file source with on ...Show All
Visual Studio 2008 (Pre-release) Update Service Reference fails when operation returns Bitmap
(.NET RT 3.0 RC1) When I use "Update Service Reference" (.i.e, svcutil) for a service with an operation that returns a System.Drawing.Bitmap, it fails and doesn't finish generating the client proxy file - only one stub class appears. The output window does not show errors, just "Generating files..." and the proxy file name. If I remove the Bitmap operation from the server's interface file, Update Service Reference is successful and I get a proxy file containing all of the other operations in the service contract. I am not using an explicit data contract for the operation because, according to Pallman's "Programming Indigo", any [Serializable] or ISerializable type has an implicit data contract, and Bi ...Show All
Visual Studio Tools for Office customizing an existing ribbon
i'm trying to customize an existing ribbon (add a command to one of them) using this: < customUI xmlns = " http://schemas.microsoft.com/office/2006/01/customui " onLoad = " OnLoad " > < ribbon > < tabs > < tab idMso = " TabInsert " > < group idMso = " GroupInsertIllustrations " > < button id = " myButton " size = " large " label = " Web Image " screentip = " Insert an image from the web. " onAction = " OnWebInsert " getImage = " GetImage " insertBeforeMso = " PictureInsertFromFile " /> </ group > </ tab > </ tabs ...Show All
SQL Server Issues With SQL 2005 Encryption
Has anyone had any expierences with encryption and log shipping/database mirroring. I think you should always create a symetric key with a passphrase so it can be recovered, but that does really help here. If you use a password to open the key versus a certificate I think database mirroring wouldn't have an effect. However, I think certificates are nicer since you don't have to worry about having a password being passed around. If using a certificate it seems like you would have do some work once the mirroed database was brought online. Twiggy, you also posted this question on my blog. I answered it there. Here's a link to the post: http://blogs.msdn.com/lcris/archive/2005/10/14/481434.a ...Show All
.NET Development Sending a Video Feed using a loopback connection "ExternalException Was Unhandled"
Hi, I'm trying to send a video feed, which I am receiving from my webcam, to another application. The former application is a server and the second is a client. The feed has to be displayed on the server side window aswell. Now when i fireup the server (which keeps waiting for the client to connect), and then the client side application, the server gets stuck and the client side application throws an "ExternalException was unhandled" , A Generic Erros Occured in the GDI, Error. When I close the client Application, the server application starts working and showing the webcam feed, (This feed isnt running from the part of the code in the server application where i'd like it to run from; it runs from outside the sending+displaying p ...Show All
