Chiranjeevi Undavalli's Q&A profile
Software Development for Windows Vista Error while viewing the Workflow Designer
I'm always getting the following error whenever I'm trying to open any new or existing workflow. I've downloaded all the CTP Runtime Components and Visual Studio extensions for Windows Workflow Foundation Beta 2 couple of days back. The Error: Method 'GetSelectedPropertyContext' in type 'Microsoft.Workflow.VSDesigner.ExtendedUIService' from assembly 'Microsoft.Workflow.VSDesigner, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation. Hide at Microsoft.Workflow.VSDesigner.XomlWindowPane..ctor(DesignSurface surface) at Microsoft.Workflow.VSDesigner.DeferrableWindowPaneProviderService.CreateWindowPane(DesignSurface surface) at Microsoft.VisualStud ...Show All
Visual Studio Team System CTP7: Database Pro requires local SQL 2005 instance
I checked the thread for CTP6 that discussed this requirement, but none of the suggestions I tried there worked. I have a SQLExpress 2005 instance running, but when I try to create a new SQL 2005 project, I'm still getting the error message about a local instance of SQL Server being required. I've tried leaving the option blank, filling it in with SQLExpress, and filling it in with <machinename>\SQLExpress, but I get the same error message regardless. It's pretty frustrating to go from being able to generate tons of different test data in CTP5 to not even being able to create a project in CTP7. Any help you could provide would be greatly appreciated. -Scott Hi Xzarian, as to IIS installe ...Show All
Visual Studio 2008 (Pre-release) Problem with UDP Transport Sample
I am still using RC1 rather than RTM because I am on a tight schedule and did not want to confuse myself unless I had to. I am having a strange problem with the UDP transport sample. It works intermittantly. No rhyme or reason. It has been very solid for several days as I added functions to my tool. Then it stopped receiving. I figured I screwed something up, so I went back to a known working backup. But that does not work either. On further investigation, it seems to work randomly, about half the time. I have an analyzer (Ethereal) hooked in, and I can see the packets arriving, they are definite addressed to the right place. I compared a packet that did not arrive with a packet that did arrive, and except for MessageID and app sequence ...Show All
Visual Basic Developing Chart Of Accounts - How to use trees & tree nodes
Hello i m making an accounting application, i m developing a form that loads the company's COA, i want to show the copp's COA in tree my question is how does i make a child node in the tree how do i keep track where is the root node, where is the 1st level 2d level node etc i have a sample in vb 6 which is a piece of cake but haven't got one single in vb.net i m using vb.net 2003, please help also tell how do we sort a data table in vb.net I would try searching for some examples. There should be plenty available. http://www.google.com/search sourceid=navclient&ie=UTF-8&rls=GGLG,GGLG:2006-07,GGLG:en&q=treeview+control+vb%2Enet http://search.msn.com/results.aspx FORM=TOOLBR&q=treeview+c ...Show All
Visual Basic Line separation
I would like to write a file's content to a textbox which is multilined. I loaded the file but I don't know how to write lineseparator. Try Dim sr As StreamReader = New StreamReader("D:\\a.txt") Dim line As String TextBox1.Text = "" Do line = sr.ReadLine() If (line IsNot Nothing) Then TextBox1.Text = TextBox1.Text & "\n" & line End If Loop Until line Is Nothing sr.Close() Catch Err As Exception Console.WriteLine("The file could not be read:") Console.WriteLine(Err.Message) End Try It wrote xyz\nxyz. It would be good if it write:xyz xyz Thank you in advance. Adam If your using VB Express/2005 Try TextBox1. ...Show All
Visual C# Attribute Problem
Hi all, I have the following problem with using attribute. I declared an attribute class (MyAttribute) with a list of properties. That attribute class is in its own dll. Now I have another class (MyClass) that referenced this attribute class. Everything works fine. But now, I want to add additional properties to the attribute class (MyAttribute). It seems that any new property I added to (MyAttribute) is not recognized by (MyClass). Another test I did was simply adding the new property to (MyAttribute) and use reflection in (MyClass) to simply list out all the attribute property, even that errors out. For some reason, it seems that once i declare an attribute class, I can't add or change it. If I add or change anything, the program t ...Show All
Windows Forms Form-to-form communication --- events or messages?
Hi, In my app, I want to send a message from a form I'm dragging to whichever other form in the application is "most covered" by the form I'm dragging. Since I'm new to C#, I'm just making sure I'm not sticking to old MFC habits, so... Is sending a message from one form to another still a recommended method of communication, or is it concidered "old hat" now, and I should learn new tricks Thanks, Jim Tomasko Hi, my name is Chris and I am working on an application using Visual C++ which is consist of at least 2 forms. Form1 consists of these controls : treeView, listView Form2 consists of these controls : TextBox, Button The flow is when I click ...Show All
Software Development for Windows Vista List of Glass copmatible APIs?
Hiya! In some of my projects I use several winAPI's using VS05RTM with C++, and C# both. The problem is that I don't know which API cousing Desktop Compositions to be temporaly switched off. And even If I may find one, I don't know what to use instead in order to be able to let Glass effect not turned off. For example one of my application uses SetParent() and MoveWindow(). The window is drawed fine useing glass after execution. However, When SetParent() called aero glass switche off, the when SetParent() returned it switches back. So I only have a few seconds without aero, but that can be really annoying for a User, it ruins User Experience. So where can I find a List of GLASS compatible API's Or are there any resource showing NO ...Show All
.NET Development I want to create a virtual network for testing a Network monitoring system
Hiii For testing a NMS (network management system) , we need to create virtual networks of different types having different devices such as WinXp machines, printers, scanners etc. There are softwares available to do this, but we want to develop our own. Any hints on what needs to be done i mean how can i create virtual systems by writing some code which dlls , which APIs etc If you know it , Please help !!! In God We Trust. Everything Else We Test. Hi, I've got no idea how to start something like this. Why don't you want to use a tool like Microsoft Virtual PC It is free. http://www.microsoft.com/windows/virtualpc/downloads/sp1.mspx Greetz, Geert Geert Verhoeven Consultant @ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX 10-Vista
I owe a computer with W. XP.I'm going to upgrade it to Vista.My question is if directX 10 needs only Vista to run.My system is fueled by ATI radeon x1600 pro.Do I have to change it or just have Vista You'll be missing out on "the whole of Direct3D 10." You won't be able to run any application that uses Direct3D 10 at realtime speeds without buying a new graphics card (new as in new /then/). In previous versions of Direct3D, Microsoft had support for 'card capabilities,' which described to the application which things the card could and could not do. This meant that even the lowliest card could 'support' Direct3D - it would just not be able to do very much according to the card capabilities. In Di ...Show All
Visual Studio Tools for Office Deploying Access Runtime -- what do I need?
I need to deploy the Access Runtime with a solution I have developed. I have Visual Studio 2005 Pro. I have the VSTO download. But I can't find the "package wizard" anywhere. What am I missing Thanks. Oh, I also have Access 2003. According to http://msdn2.microsoft.com/en-us/office/aa905402.aspx " Tool: Build with Access 2003 Developer Extensions The Access 2003 Developer Extensions (ADE) are a series of wizards that run inside Access 2003 to help developers quickly and easily create, test, and deploy sophisticated Access solutions. The ADE tools are part of the Visual Studio Tools for Office software package. You must have Access 2003 installed on your computer in order to use the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Adjusting the Gamma Ramp
Hi, I'm currently wondering how to set the gamma ramps with XNA. This is a function I wrote to do it: Protected Sub SetGamma( ByVal red As Single , ByVal green As Single , ByVal blue As Single ) ' Get graphics device. Dim graphicsDevice As GraphicsDevice = graphics.GraphicsDevice ' Get gamma ramp from device. Dim gammaRamp As GammaRamp = graphicsDevice.GetGammaRamp(0) ' Adjust values of RPG components. Dim redValues As Short () = gammaRamp.GetRed() Dim greenValues As Short () = gammaRamp.GetGreen() Dim blueValues As Short () = gammaRamp.GetBlue() For index As Integer = Byte .MinValue To Byte .MaxValue redValues(index) *= red greenValues(index) ...Show All
Windows Live Developer Forums Coordinate for Map
Is it possible to get the corner coordinates for the viewable area of the map Google's Map provides a simple function that gives you those coordinates, does Virtual Earth have one as well Any help would be great. Thanks, Eric I use: var curr_width = 800; var curr_height = 600; alert(map.PixelToLatLong(0,0)); alert(map.PixelToLatLong(curr_width ,curr_height)); To get the topleft and bottomright co-ords. I allow resizing so my width and height change, use ordnary js functions to get current height and width. John ...Show All
Visual Basic To deploy from Release folder or Debug folder?
Hello, In visual studio 2005, I have the option to set the configuration manager to output my files to a debug folder or a release folder. Right now by default, it is set to the debug folder. To deploy my vb.net application, would I use the files in my debug folder, or change my program to dump files in the release folder and then use tthe files that reside in the release folder I have used the click once deployment option but finding my application taking way to long to start up after a cold boot, where as if I use the files from my debug or release folder, it starts up fine. Any advice, or clarification on debug and release folders is greatly appreciated. Thanks. Then to deploy the applicati ...Show All
Visual C# Convert Decimal to String???
this .txtCommission.Text = ( decimal )_SalesPersonToEdit["Default Commission"]; How do i convert this string to a Decimal, I have tried using ToString() but that does not work and I also tried to use Convert.ToDecimal(string) = object....and that didnt work eithier any help on this situation! thanks! private void LoadSalesRowObjectToForm(System.Data.DataRow SalesPersonToEdit) { try { _SalesPersonToEdit = SalesPersonToEdit; int i; for (i=2; i<_SalesPersonToEdit.Table.Columns.Count; i++) { if ( i < _SalesPersonToEdit.Table.Columns.Count-1) { if (_SalesPersonToEdit.IsNull(i)) _SalesPersonToEdit = ""; } else { if (_SalesPersonToEdit.IsNull(i)) _SalesPersonToEdit = false ...Show All
