Eric66's Q&A profile
Smart Device Development DomainUpDown
Hi all, do i have to override this Control if I need to make use of the up and down buttons Thanks Tryst wrote: do i have to override this Control if I need to make use of the up and down buttons Depends on what you mean by "make use of the up and down buttons". Handling the SelectedItemChanged event will make use of those buttons. If you want to do something specific to your control when the up or the down button is pressed, yes, you have to derive from this class and override the UpButton and DownButton methods. ...Show All
Visual Studio Express Editions Mixed Columns with DataViewGrid
I'm creating a table from unbound data, with 12 columns. Column 1 is int32, Column 2 is string, Column 3 is bool, Column 4 is string, Column 5 is bool, and the rest of the columns are string. I've got the table to create all the columns to accept text, but I'm having a problem changing columns 2 & 4 to CheckBoxes. (Column 1 can stay as string, the source is int32). Thanks, Bryan What I want is to have columns 2 & 4 contain checkboxes, not a true/false label. The plan is to change the state of the checkbox based upon external (serial) activity. Thanks ...Show All
Visual Studio 2008 (Pre-release) internal members on dlinq classes
I am getting a run-time error if I makr any members on the dlinq generated classes as internal (I don't mean the generated members, i mean custom members on the other side of the partial class). I've taken quite a long look through the dlinq source using reflector (love reflector :) and it appears that it is a bug in the dlinq framework itself - anyone else having the same problem That actual exception that is thrown (well the actual error is a TargetInvocationException - but thats no good to anyone :) is an ArgumentNullException, details as follows: Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: method Source Error: Line 24: public System.Data.DLinq.Table& ...Show All
Visual Studio Team System Add Related Work Item fields question
We are using the "Add Related Work Item" feature for creating a Bug from a Test. This is being done by right-clicking on the Test work item and selectiong the "Add Related Work Item" option. What we want to do is specify how field data gets copied from the Test WIT to the Bug WIT. It looks like a few of the built-in fields get copied automatically (maybe by reference name ). But I would like to customize this behavior. For example, we would like the Title of the Test WIT to flow to a custom field in the Bug WIT - instead of the Title field. And, we also want other custom fields from the Test WIT to flow to other fields in the Bug WIT. Is there any way to accomplish this I messed around with the WIT elements and attributes in ...Show All
Visual Basic progress bar
I am trying to put a progress bar on a media player can you help please Public Sub Readtrack() ProgressBar1.Minimum = track start() ProgressBar1.Maximum = track end () Dim i As Integer For i = 1 To 100 ProgressBar1.Increment( ) Next i End Sub dont know what I am doing wrong this is what I got now and it wont work for me Bar1.Minimum = 1 Bar1.Maximum = 100 Dim TrackLength As Integer Dim TrackPosition As Integer = 1 Dim TrackPositionPercentage As Integer = 1 Dim trackPercentageCompleted As Integer = 0 If TrackLength > 0 Then trackPercentageCompleted = TrackPosition \ TrackLength * 100 End ...Show All
SQL Server Tape not available as Backup Device
Hello, TSQL command works fine, C:\SQLCMD 1> BACKUP DATABASE TestDB TO TAPE = '\\.\Tape0' 2> GO but how to append more than one databases( SQL 2005) to the same tape. Having said this, what is the solution for " I've got a new HP ML370 G4 Server 2003 SP1 with a fresh install of SQL 2005 SP1. I'm trying to create a backup device for the internal HP DAT 40 and tape is greyed out as an option .........." Pls advice me. Even though this article is for SQL Server 2000, the information about backups at the level you're asking about is the same. I think it will answer all of your questions: http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackupre ...Show All
Smart Device Development I need >netframework:v2.0.50727 to down load
I need help with my computer... All microsoft problems. This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All
Visual Studio 2008 (Pre-release) How to resize the font based on the window size?
Hi, Can any one help me, how to resize the font based on the window size I tried with ViewBox but it is not serving the purpose as it is changing the size of the controls also. Regards, Sundaraguru this should give some Ideas http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=721668&SiteID=1 ...Show All
Visual Studio 2008 (Pre-release) Windows Media Photo image format support?
Hi, Does (or will) .NET 3.0 support the new Windows Media Photo image format Thanks! Yes it does. Look for the WmpBitmapDecoder and WmpBitmapEncoder classes in the System.Windows.Media.Imaging namespace. Also, you can use the BitmapFrame or BitmapImage classes to decode Windows Media Photo files. ...Show All
SQL Server How to modify xml schema collection?
How to modify xml schema collection in sql2005 Must drop it and create a new one ...Show All
.NET Development how to use ASP.net to open remote desktop
I am currently in the middle developing this application that will open remote desktop when click on the button. Does anyone know how can i do that through .net the user will then enter the IP address on their own, but i need to be able to open remote desktop automically. appreicated. Have you had a look at the application at http://www.vncscan.com It pretty much already seems to do this. ...Show All
Visual Studio Tools for Office Communication between VSTO .dll and Main application
I have a simple VSTO Word Project with an Action Pane. I cannot reference my VSTO project from my Windows Application project. How would communication between my normal code and my VSTO document work I would like to pass parameters from my Windows Application to the VSTO document. Hi Jean-Pierre There's no direct way to do so - they run in separate AppDomains. But you can use Remoting. See if this message thread helps http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=462998&SiteID=1 ...Show All
SQL Server Why the report parameter dose not take effect?
Hi, all experts here, Thank you very much for your kind attention. I am encountering a problem with reports built on my SQL Server 2005 Reporting Services Server. The reports parameters do not take effect at all I chose the value from the report parameter list, but the result returned the whole report data. Why is that And how can I solve this problem Really need help. Thanks a lot in advance for any guidance and help. With best regards, Yours sincerely, Hiya, Chinna, Thank you very much for your information. Yes, I do understand "label" and "value" behind "label". And exactly I have set the parameters under instructions of reporting services. But it just did not work that way which rea ...Show All
.NET Development GetChanges - Update - Merge result in redudant row
I would like some assistance in the following situation. A table has 0 rows Row is added to table (table.rows.add) Table has 1 row GetChanges is called Update is called Merge is called Table has 2 rows (!) I suppose that this has to do with the primary key of table being autoincrement (both in database and in typed table). What's the procedure to do this right papadi wrote: I think I found the solution! http://msdn2.microsoft.com/en-us/library/ks9f57t0.aspx Search for "Merging" in this article. I haven't tried it yet but it describes this exact situation! Now the problem is that after performing the update, it does not return the correct number of affected records! ...Show All
Visual C++ Linking an app in debug mode against libraries built with /MD
Here's the situation: I have some third party DLLs, built with Visual Studio 2005, and which were compiled with the /MD switch (multithreaded DLL CRT libraries). I want to build my application in debug mode, using the debug CRT (/MDd switch), linked against the libraries above. In VS 2003 .NET I could get this to work, but not with VS 2005. I continually see the message "MSVCR80.DLL not found" when I try to run the app. The third party DLLs were built using nmake and so have external .manifest files that are in the same directory as the DLLs. The directory containing these DLLs in on the PATH. My app is built using the VS 2005 IDE and so has an embedded manifest. If I use the "depends" tool that comes with ...Show All
