Ric Messier's Q&A profile
Visual Studio Team System How to Unlock a lock in another workspace
Say a dev has a bunch of files of locked (checkout or checkin locks) and leaves to go on vacation for a month (yeah - bad dev). As a project administrator I see in the security dialog box that I have the right to "unlock other user's changes" but I can't figure out how to do it from the VS UI or the command line. How do you do this Keith, your lock command did actually work. The command doesn't ...Show All
Smart Device Development C1190 error when compiling...
Hi, all, I am using Visual studio 2005 to make a Visual c++ project. I was trying to make a simple UDP socket and threading program. The device manager i am using is wm 5.0 for Smartphone, and wm 5.0 Smartphone emulator. Here is what I have in the header file: #using <mscorlib.dll> using namespace System; using namespace System::Threading; using namespace System::Data; using namespace System::Net; using ...Show All
SQL Server full-text indexing failed
I have been trying to set up full-text indexing. All the CONTAINS searches, however, always returns 0 row. It seems the index is always empty. Could you please help figure it out Here is how I created the full-text catalog and index: CREATE FULLTEXT CATALOG ft_catalog AS DEFAULT; CREATE FULLTEXT INDEX kb(title, body) KEY INDEX PK_kb WITH CHANGE_TRACKING AUTO; Then from the full-text crawl log, I found 2006-05-06 10:59:15.14 spid15s ...Show All
Visual Studio 2008 (Pre-release) Specifying Window icon via string isn't working
Using Feb. CTP: I have a WinFX control library which contains various Window objects. The project layout looks like this: - DefaultUI.csproj - LoginScreen - LoginScreen.xaml (Window) - Images - icon.ico (Resource) Unfortunatly, I can't figure out how to specify the Window's Icon property in XAML. In other control libraries I was able to use Icon="/Images/icon.ico" and it would work; however, in this particular project that f ...Show All
.NET Development problem in Byte Array
hi, i'm learning networking and i have a problem in my simple server program (echo server) ,i have byte array [1024] when i recieve data the recieve method just recieve for example 6 bytes but my array keep its 1024 bound, it instantiate every element in the array to 0, as result for that it send array composed from [1024] elments (most of them are empty it just contains [ 6 ] letters), so the client  ...Show All
SQL Server Write to Log from Script Task
I know this topic has been touched on a little in the past but I believe I may have a different spin. I would like to place a script task in an event handler that writes to the log providers. I have used both Dts.Log(...) and Dts.Logging.Log(...), but neither result in an entry being written to any log provider. I believe the problem has to do with enabling the ScriptTaskLogEntry in the Configure SSIS Logs dialog. This option is not avail ...Show All
Smart Device Development how to play mp3/wma in my program?
With the API, PlaySound and sndPlaySound, it only play waveform file. I try to use DirectShow with WM 5.0 but still can't play mp3 or wma file. My code is maybe wrong, anyone has good sample with DirectShow to play mp3/wma I think the another way to play mp3/wma is using Media Player control. But I can't find the way to make this work. Could anyone guide me to the right way Thanks... There's no API to directly play a mp3 or wma ...Show All
Visual Studio 2008 (Pre-release) Crevier's Virtualization Panel and VisualTreeHelper
Got an interesting one for you guys... I'm using Crevier's Virtualization Panel and filling it with Image objects. When a user selects one of the images I am attempting to use VisualTreeHelper to calculate it's location so I can make a visual brush and do some animation. I have this working in an example not using the Virtualization Panel. One thought I have is that the V-Panel makes use has a dock panel which contains an items control, and the ...Show All
Windows Forms Problem refreshing DataTable
Hello all, Problem: 1. Form1 opens and DataTables dt1 and dt2 are filled through DataAtapters da1 and da2 and SQL Server stored procedures. 2. A new record is added to dt1 through da1.InsertCommand. This is a stored procedure that creates the record in d ...Show All
Visual C++ C2061 Compiler error
Hi. I got error message when I try to build my project "d:\Documents and Settings\Phoenix\ \My_app\autonapominalka\main.cpp(164): error C2061: syntax error : identifier 'form1'" Code sample: //-------------------------- Form * form1 = new error; //some code form1->Controls->Add(listbox);// error shows on this string form1->Show(); //----------------------------- So, I have declaration but Visual C++ thinks that form1 is undecl ...Show All
Visual Basic How do I solve TargetInvocationException problem with WebClient in Visual Basic 2005?
Hello, I've created a small programme which downloads file over web using the WebClient interface. I've added 2 handlers to the to the webclient, one for the download progress and the other for the download completed. Sample code: Private Sub DownloadAsync( ByVal URL As String ) Dim wc As New WebClient() Dim dpc As DownloadProgressChangedEventHandler AddHandler wc.DownloadProgressChanged, dpc Dim ac As ...Show All
Visual J# unsafe dll in J# browser control
In a multi-dll J# browser control, the DLL containing the main J# Browser Control class uses another dll which is written in C# and contains unsafe code. I got java.lang.securityException. Anyone can help me to deal with such situation regards Hi, Could you please send the exception text and the little description of the call which throws this exception. Thanks. ...Show All
Software Development for Windows Vista Feature Request: Display activity description in designer
Not sure if you're taking feature (luxury item) requests, but I'd find the following to be a useful WF feature. Annotation/comment activities were requested in the following post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=162632&SiteID=1 I think it would be extremely useful to be able to use the activity's description property for comments, and to be able to see those comments on the activity itself (not just in the mouse over p ...Show All
Visual Studio 2008 (Pre-release) "late binding" communication and more questions
I have several more basic questions concerning indigo: 1. Does the WCF provide a way to communicate to a slick way to communicate to a web service which is discovered during runtime. As an example: somebody provides a WSDL and an operation he wants to call from this service as well as a XML message he sends to the service and a XSL that he wants to apply to the response message. Currently I do something like that with a manual HttpWebRequest. ...Show All
Windows Forms How to find my spot in a TreeNodeCollection?
I have a TreeView bound to a TreeNodeCollection. I am using multipass on the data so the initial load is shorter. I go retrieve the new data when I click on the node in the TreeView. The problem is that I cannot seem to figure out how to find the right node in the TreeNodeCollection to add the new data to. Any idea thanks, lee You can iterate through the TreeNode.Nodes collection. Each Node is of type TreeNode. ...Show All
