krsarge's Q&A profile
Windows Forms Copy/Paste puts control on wrong DesignSurface
Hi, I am using the DesignSurfaceManager to create multiple DesignSurfaces which are hosted in a Tab control. I am able to copy, cut and paste controls no problem when I have only one design surface. The problem is that when I have two design surfaces, copy (Using GlobalInvoke) a control on either surface and try to paste it onto surface #2 - the control gets added to surface #1 all the time. Other StandardCommands work on the correct surface (Align, Nudge etc.) - it just seems to be clipboard related commands that are the problem. I add my IMenuCommandService implementation to the designer manager rather than the design surfaces - not sure if this is important. Also, I make sure the active design surface managers surface is the one c ...Show All
Architecture Typed Dataset or Custom Classes
Hey friends, I am a VB developer, soon I am going to start a new project. It will be a client application, I will use a SQL server database. I am used to use custom classes, I create my onw variables properties, events and methods. I am aware of the Typed Data Set and thinking about using it on my new project. The problem is that I have never used it, I do not know the minuses and plusses of the Typed dataset. Now, my boss and me on the desicion phase, we want to implement the most efficient and easy maintainable one. If you ask me , I'm quite happy with custom classes :)) My opinion is that the custom class is better for performance purposses, because I create properties and meth ...Show All
Software Development for Windows Vista Installation of Windows SDK for .NET 3.0 fails
Hello! I need help. I tried to install the "Microsoft Windows SDK for .NET 3.0 framework". But the installation fails. I did not change anything (no options or path) while installing. Here is the end of the log file (I changed the domain and user name): 18:05:23 Dienstag, 5. Dezember 2006: [SDKSetup:Info] File succesfully downloaded - source:http://download.microsoft.com/download/a/7/7/a7767f09-0136-4a96-a1f8-276bf0ee31fa/WinSDK-WinSDK_BIN_VC8_Runtime_X86_CRT-common.0.cab target:file:///C:/Dokumente und Einstellungen/username.DOMAIN/Lokale Einstellungen/Temp/SDKSetup/WinSDK/WinSDK-WinSDK_BIN_VC8_Runtime_X86_CRT-common.0.cab size:555366 18:05:23 Dienstag, 5. Dezember 2006: [SDKSetup:Info] Beginning download of file http:/ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. BasicEffect, adding a texture and redering it.
I'm trying to add a texture to a cube using the built-in BasicEffect class. Can't seem to get the BasicEffect technique to render the texture. How does one set the BasicEffect technique to allow rendering the texture Here is the cube set-up: public static VertexPositionNormalTexture[] MakeCube() { VertexPositionNormalTexture[] nonIndexedCube = new VertexPositionNormalTexture[36]; Vector3 topLeftFront = new Vector3(-0.5f, 0.5f, 0.5f); Vector3 bottomLeftFront = new Vector3(-0.5f, -0.5f, 0.5f); Vector3 topRightFront = new Vector3(0.5f, 0.5f, 0.5f); Vector3 bottomRightFront = new Vector3(0.5f, -0.5f, 0.5f); Vector3 topLeftBack = new Vector3(-0.5f, 0.5f, -0.5f); Vector3 topRightBack = new Vect ...Show All
Visual Studio Team System How can I create Dynamic Query between two dimension parameters.
I have created a report which has two parameters: Build and Run. I want to create Dynamic Query between them. ex. If I select a value of @Build, then the @Run should be generated by @Build. That is to say the @Run should just display the values which have run on the selected Build. Any help highly appreciated. Thanks, You can set the Report Parameters Default value to come from a query. For an example see the Builds report. When you select a Flavor, for example, the list of values in the Build parameter change accordingly. The default value for a parameter can be set (in a Report Server Project) by selecting Report -> Report Parameters (having the Data or Layout view active -- not the Preview ...Show All
Smart Device Development random TypeLoadException
I am having real issues with a TypeLoadException that occurs generally randomly. I've been working on a .NETCF 2.0 app all day, debugging and generally being productive. All of a sudden, with no changes to the assemblies, I get a TypeLoadException on one of the types in one of my referenced assemblies. It's one of my own assemblies, and I checked the manifest and didn't notice anything untoward. // Metadata version: v2.0.50727 .assembly extern mscorlib { .publickeytoken = (96 9D B8 05 3D 33 22 AC ) // ....=3". .ver 2:0:0:0 } .assembly extern retargetable System.Data { .publickeytoken = (96 9D B8 05 3D 33 22 AC ) // ....=3". .ver 2:0:0:0 } .assembly extern retargetable System.Xml { .publickeytoken = (96 9D B8 05 3D 33 22 AC ) ...Show All
Visual Studio Team System Problems displaying newly created & renamed iterations
I am able to create & rename iterations when right-clicking the project & selecting Areas & Iterations, but the changes I make aren't apparent in the Classification frame when creating or modifying a bug/task etc. We are developing our TFS structure and it was working fine, but I needed to delete all projects and recreate them in a parent/child structure, then import all of the existing work items back into the new project. - Greg Try refreshing from the Team explorer after you make changes in the areas & iterations or do the following ..run the warehouse controller manually to get the update... Start ->Run ->inetmgr under website...select team foundation server ..select ...Show All
Visual Studio 2008 (Pre-release) Connect and WPF - MS Comment?
Hi there, just wondering when will the connect db for WPF be cleaned and updated not only is the v1 release missing from what you can fill bugs for, but all the old bugs and issues related to old CTPs are still present, and in some case not closed. Can we expect a new ladybug db or a clean-up of the current one Or at the very least adding v1 in the product list I can't imagine filling bugs that I or other reports but not reporting the correct version. Thanks for reporting. We've had a shuffling of responsibilities in this area and it should get cleaned up soon. Thanks, Rob Relyea Program Manager, WPF Team http://rrelyea.spaces.live.com ...Show All
Visual Studio 2008 (Pre-release) Unwrapped messages
Hi I've developed a WCF-WebService. Now I've the problem, that when I generate the client-code, it always unwraps my Request/Response-Messages. I tried it both with svcutil.exe and wsdl.exe, and both made it the same way - so I think something is wrong with my service-definitions. Sample: Server: [MessageContract] public class Request { [MessageBodyMember] public string Test; } [OperationContract] public void Test(Request req); For this I got the following result on the client: public void Test( string test); Any Idea Thanks Dani There is nothing wrong with your contracts, this is default WCF client proxy behavior. If you look at the definition of Test inside the proxy, you will ...Show All
Visual Basic I NEED HELP!!!! PLEASE
How do i go about skipping spaces in my Visual Basic 2005 Express Edition console application output lets say i type the number" 12345 " and want it to display " 1 2 3 4 5 " skipping 3X spaces in between each letter. I already am using Modulus to single out each integer, Yes it is useless. Except maybe as a learning exercise! Which I suspect is the purpose of this question. Here is my 2 cents on the best algorithm: Dim Input As String Dim MyBuffer As System.Text.StringBuilder Try Console.WriteLine( "Please input a number" ) Input = Console.ReadLine If IsNumeric(Input) Then MyBuffer = New System.Text.StringBuilder 'this puts no rea ...Show All
Microsoft ISV Community Center Forums Running a macro if new mail if from a specific address
Hello, I'm currently trying to write a macro that is run when new mail is received in Outlook 2002 (possibly XP not sure though) I would like the macro to check if the new email is from a specific address (in this case sales@falcontrunking.co.uk ), delete the email, and display a message saying "There is a new message in the Sales Inbox". I know how to run a macro when a new message is received and I know how to show a message box saying "There is a new message in the Sales Inbox" but I don't know how to check if the new message has been received from a specific address. Can anyone help me This should do what you're looking for. You may need to adapt it slightly to fit your ...Show All
Visual Studio Team System Windows Groups - TFS does not see new users until restart
If using Windows groups, it appears that there is a bug in VSTS. TFS seems to query the Windows Security system once for a list of users belonging to each group. When you add a new user to the Windows Group, TFS doesn’t get the update – i.e. it’s out of date. The result is that you won’t be authenticated if you added yourself tp a Windows group after TFS has queried the Windows security system. To reproduce : Using a TFS Admin account, perform the following: Create a local Windows Security Group named ProjectAdmins To this group, add a user account e.g. User01 In TFS, under Project Settings, Group Membership, add the Windows Group, ProjectAdmins to one of your Team Project Administrator security groups. ...Show All
SQL Server Configuring Reporting Services Integration with Sharepoint
The first two steps of integration went fine. However, when I try to set the reporting services server defaults I always get this message. Server was unable to process request. ---> The request failed with HTTP status 401: Unauthorized. Any ideas on how to get past this I am with two different SQL servers. The sharepoint installation is on a web server and the reporting services installation is on our report server. The sharepoint databases are on a server that is not on SP2 CTP, but the reporting databases are. ...Show All
SQL Server SSIS..Problem Parsing FlatFile Source
I'm trying to Move data from a FlatFile Source to an SQL destination row delimiter {LF} Column Delimiter is "comma" Number of columns in each row : say 7 Example Rows Example 1: 1,1,1,1,1,1,1{LF}2,2,2,2,2,2,2{LF}3,3,3,3,3,3,3{LF}4,4,4,4,4,4,4{LF} Example 2: 1,1,1,1{LF}2,2,2,2,2,2,2{LF}3,3,3,3{LF}4,4{LF} There is no problem parsing Example 1: With Example 2. The Old DTS used to parse fine..when it encounters a row delimiter it fills the rest of the columns with null... While the New SSIS flat File source is following column count in each row...and is considering " 1{LF}2" as column item rather than a row delimiter... Is there any way around it or is it a bug Thanks for any help in advance ...Show All
Smart Device Development Device emulator debugging using VS2005 with PB for CE 6.0
Hello All, I created a OS Design with "Device Emulator: ARMV4I". Could anyone please tell me Settings/Configurations to be done in VS2005 (using Target->Connectivity Options... OR using Device Emulator Manager)to debug using the emulator Thanks in advance -Srini You need to select Download to "Device Emulator" and Transport to "Device Emulator" and it should be working fine. Let me know if you face any issues. -Thanks, Mohit ...Show All
