pkv's Q&A profile
Visual Studio 2008 (Pre-release) animate listbox items to scroll
how to animate listbox items to scroll and fade out i have a small project i'm working on thats Similar to the RSS Feeder in the Vista SideBar...So the Question is where can i get a good example for Scrolling the RSS Feeds Upon the ListBox being Populated As of right now my project just uses a Veritcal ScrollBar,i want it to Auto Scroll on its own as the Feeds are Feed into the project,and have a Fading appearance,as the Feeds reach the top of the ListBox Right now i use the following which scrolls the entire list box. I need to scroll only the items inside the listbox and to fade it out on reaching the top of the listbox. <DataTemplate x:Key="dt1"> <TextBlock Height="30&quo ...Show All
Visual Studio Team System Unable to download Visual Studio Team Suite, 180-day trial version
Hi all, I am trying to download the 180-day trial version of Visual Studio Team Suite. What I got was a 1KB file: En_vs_2005_vsts_180_trial.img! Could anyone help me with this Thank you very much David Phung I have tried several times to download it. At first, I got the little 678 byte file, which was worthless. Then I rebooted, tried again, got the same thing. Then I downloaded the suggested download manager. At first I got proxy name and password needed. I put in my username and password, and my username and password on the firewall server (or whatever its called). I got an unknown connection error. I tried many times, various permutations, no luck. Rebooted, no luck. What I am trying to do is investigate the CM ...Show All
.NET Development .NET Client Accessing COM+ written in .NET Problem: Method not found.
Hi, all. I have problem with COM+. I created COM+ with C#.NET. I have to call this COM+ from window application(in C#.net) remotely using late or early binding. I called COM+ with late binding, it throws 'Method not found' exception. And I don't know how to do early binding. I didn't have problem to calling COM+ written in VB. I add reference from COM tab. It works ok. However, when I try to add reference of COM+ written in C# from COM tab, it throws error message, "A reference to 'COMPlusServer2003' could not be added. Converting the type library to a .NET assembly failed. Type library COMPlusServer2003 was exported from a CLR assembly and can not be re-imported as a CLR assembly." I tried to add reference from just .NET t ...Show All
Visual Studio 2008 (Pre-release) Returnvalue from server is null
I have a problem when making a call from a client to the server. The call is supposed to return a custom object for the client to do some work on, but the object doesnt seem to reach the client. Here's my setup: Service Contract: [ ServiceContract ] public interface IClientControllerServiceContract { [ OperationContract ] TestStructureElement ClientReady(); .... } Contract Implementation: [ ServiceBehavior (InstanceContextMode= InstanceContextMode .PerSession,ConcurrencyMode= ConcurrencyMode .Multiple)] public class ClientControllerService : IClientControllerServiceContract ..................... public TestStructureElement ClientReady() { List <System. Ty ...Show All
Windows Forms Visual Studio 2005 Service Pack 1
What I want to know is when can we expect the desperatly needed service pack 1 for Visual Studio 2005 I've had so many errors so far when working with the Windows Forms designer, it is not only VERY frustrating and wasting my valuable time, but, it is also embarrsing when my projects and clients are being delayed because of a low quality tool. I expected higher quality standards from Microsoft! Don't get me wrong, I love .Net and especially version 2. It's just getting so frustrating to experience these errors in Viusal Studio and then red about them on the web to find out that I'm not the only one experiencing them and nothing is being done so far to come out with fixes or a Service Pack! WHERE is Servic Pack 1 When can we expect ...Show All
Visual Studio "Version not found" using SS GET!
Hello there and thank you in advance for any help. I've read some other threads about similar problems but my issue seems to be unique. We had a VSS 6.0d database and we migrated to VSS 2005 (server and client). The database import went fine and all has been working quite well overall. I create a sidestream of several projects by sharing them over but when we use our automated build script which calls "ss get" on those projects, it appears that files that havn't been changed since before the migration are coming back with "Version not found". Using SS Explorer works fine but the command line utility fails. Any help would be much appreciated! Regards, Phil Can you please explain how to manually change the creation ...Show All
Visual Studio Express Editions Pan an image
Ok I would like to take a large image and be able to pan it. Can this be done I tried a few things already but just got errors so I figured I would ask and see if anyone else has any suggestions. Also, ideally I would like to be able to pan the image by coordinates. ----Just an FYI I am taking coordinates from one thing (3D) - I have that working now - and I want to give the user the option to view this in 2D (Large Image). I know that images use some kind of coordinate system so any help with that would be awesome too. I know it will be different from the coordiantes from the 3D object but I know that if I find out that mathmatical difference VB will be able to convert it over and give the correct location ;) Thanks! ...Show All
Visual Studio Team System Merge Limitations Caused by Branching Hierarchy
I'm in the process of planning a migration from VSS to TFS and have come across a stumbling block when trying to merge from a Branches/Trunk-v1-BugFix subfolder to the Trunk folder. (The issue stems from the fact that the Branches/Trunk-v1-BugFix folder was originally branched from Releases/Trunk-v1). My repository layout is as follows: - Project1 - Branches - Releases - Trunk Let's say I reach version 1 in Trunk development. At this point I branch the latest Trunk version to Releases: - Project1 - Branches - Releases - Trunk-v1 - Trunk Ongoing development occurs in Trunk. Meanwhile, to fix a bug in version 1, I branch the release version 1 of Trunk (in the Releases folder), to the Branches folder where it can b ...Show All
Visual Studio Express Editions how to use standard method for keyboaed input
can u suggest me a standard method to input a character from keyboard with echo and without echo....like _getch() and _getche() functions. what i mean is these functions are supported by vc++ 2005 express edition but are non standard and hence the code and exe wont be portable. i know that in standard c++ there is no method for above problem .but i want to create functions which are standard and which i can include every time when i require keyboard input i.e i wanna make 2 functions equivalent of _getch() and _getche(). kindly help nobugz wrote: _getch() and _getche() are ISO C++ conformant. The old POSIX functions getch() and getche() are not. I have seen that remark in the documentation for getch() and _getch() ...Show All
Visual C++ about timestamp
Hello everyone, I need to record a set of data items. For each data item, users may modify to some new content. So, I plan to use a timestamp field for each data item to record the time when user modifies data item last time. I am not sure whether I should use a simple integer value (like version information, which increase 1 each time when user modifies data item) Which approach is better What are the advantages and disadvantages of each approach thanks in advance, George Thank you Alex, Alex Farber wrote: Timestamp is better if you want to sort items by modification time. Do you mean using timestamp is always better Actually, I do not have such requirements. regar ...Show All
Visual Studio 2008 (Pre-release) Binding to frame's Content property
Is there a preferred way to bind to a Frame object's Content property. I know binding to the Source property works correctly (because it is a DP), but since Content is not it will not update when the binding changes. Basically I am trying to have a Frame show the body of a message (which is a FlowDocument). Ex. (BodyObject is of FlowDocument type) < Frame Margin = " 0,3,0,0 " Content = " {Binding Mode=OneWay, Source={StaticResource InboxData2}, Path=BodyObject} " ... It shows the first item's body correctly, but does not switch when the current item in the associated listbox switches. All of my other controls update except the Frame. I have considered making a new DP which would basically update the Co ...Show All
.NET Development How to convert array of byte to stream?
How can we convert a byte array to stream or stream to array of byte So How can we change the size of stream Can we change the lenght (or size) of stream bigger I thank you very much for your answers. just to add Peter's post, you can write to a memory stream for example, you can read data from mem into byte[] array or from byte[] to memory stream. Example: byte[] myByte = new byte[10]; MemoryStream theMemStream = new MemoryStream(); theMemStream.Write(myByte, 0, myByte.Length); this will write the contents of the byte[] array into the memorystream, of course there is nothing stored in the byte[] in this small example I believe the memorystream will increase its size when you keep writing data to it. a ...Show All
Visual Basic how to add a scroll in a treeview
Hi! I'm new on it, actually i'm working in a web applicaation, made in VB, thar uses masterpage; over de left side is ubicate a treeview. I have a problem when the treeview get a big size, the window’s scrollbar afect the entery page on the browser, but I’m looking to it scroll afect only the left side where my treeview is. On my masterpage have 2 ContentPlaceHolder, one has the TreeView and the other the content. I have problems to add the ScrollableControl object becuase it doesn’t add or not appear on the tools. The question: It is the control that a need to add , How , or which control I need to use , is necesary to writte all in code If someone can help me, please... I’m new on it Thanks ...Show All
Software Development for Windows Vista Screen Captures?
Last I checked with the earlier Bits screen capturing when the ID selector is open was prohibited I'm on XP Pro with the latest Bits and have no problem getting screen captures of the ID selector!! Is this as designed -fs http://www.FrancisShanahan.com Sorry for the late reply. Yes, this is as designed. As a matter of fact, I can't recall when it wasn't working. I've always just used the printscreen ability to get my captures of the screen. g Garrett Serack | Program Manager |Federated Identity Team | Microsoft Corporation blog: http://blogs.msdn ...Show All
.NET Development How do you open an ADODB.recordset using a ADODB.Command on stored procedure in ASP.NET???
I'm updating my 'classic' asp to aspx (what fun ) Perfectly good code doesn't work now e.g. Dim cmd cmd = Server.CreateObject( "ADODB.Command" ) Dim RS RS = Server.CreateObject( "ADODB.Recordset" ) With cmd .ActiveConnection = Con .CommandText = "sp_CategoryTreeClimb" .CommandType = 4 .Parameters.Append.CreateParameter( "@ID" , adInteger, adParamInput, , ID) RS = .Execute End With If Not RS.EOF And Not RS.BOF Then etc.... I get the cryptic 'System.Reflection.TargetParameterCountException: Number of parameters specified does not match the expected number' error They bloody did! They Bloody do! What new wrinkle do I need to m ...Show All
