Tenly's Q&A profile
Visual Studio Team System viewstate error
Test Type: Coded webtest VS.Net version: Team Suite Release Candidate I get the “The given key was not present in the dictionary” exception even though I replaced the hard coded viewstate with the suggested code in " Web tests resulting in Internal Server error due to Invalid ViewState" thread. Not sure what did I do wrong. Any help is appreciated. The viewstate in our web application is constructed a little different. It is broken down into several pieces like this: __VIEWSTATE1:dDwxNjY4OTU2NDg1O3Q8cDxsPE9yZGVySUQ7S __VIEWSTATE2: Oz47bDx0PDtsPGk8MD47PjtsPHQ8O2w8aTwwPjt __VIEWSTATE3: bzxmPjs+PjtwPGw8b25DbGlja ...Show All
Software Development for Windows Vista Hide child activities in a custom SequenceActivity
Is it possible to hide child activities in a custom SequenceActivity, so that the activity appears as one I've tried using a ActivityDesigner, but without any success. Mikael That's right. Changing the base class to Activity will result in loss of children. The best solution is to assign a designer with the following attribute [ Designer ( typeof ( ActivityDesigner ), typeof ( IDesigner ))] ...Show All
Windows Forms Rowfilter with wildcard
Hi all, I'm coding a little window that will filter my database. In the textbox of that window, i can use the wildcards * and for a single character. The problem is when the user use the * it work number one, but when he use the wildcard, it always return nothing. It work in SQL but not in the rowfilter This is what&nb ...Show All
Visual Studio Team System Error 32000 during installation app-data tier
Hi! I have the following error: [error] "C:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\sdk\bin\tfsadaminst.exe" /install OP1 2420 TFGSS ESYSTEM\tfserver' returned non-zero value: 1. [/error] I install TS on one machine (single server deployment) with the single windows account. All services works correct (analisis, reporting, agent). When the error occur all databases have already been created. I've tried to exec above command manually and got [output] C:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\sdk\bin>tfsadaminst.exe /install op1 2420 TFGSS ESYSTEM\tfserver TFSADAMINST - TFS ADAM ...Show All
Visual Studio Bugs/Issues with Class Designer in VS05 Beta 2
Howdy. I've been attempting to create/use the Class Designer and I've come across an issue that seems to be different than the "Beta 1 leftovers" - at least as far as I can tell. I'm in a Windows App project. When I attempt to create a class diagram, I get a neverending series of dialog boxes that give the same error: Method not found: 'EnvDTE80.vsCMOverrideKind EnvDTE80.CodeEvent.get_OverrideKind()' When I endproc on VS05 and come back in, the class diagram will "load", but if I attempt to drag/drop an existing form or element to the diagram, and then add a property, I get the same error or just a generic "Could not add property" error. ...Show All
Visual C# Thread problem
Hi.. I created a thread to watch for closing a window... i make a loop for watching the process that have a Main window..and when a windows closes to do something Anyway my problem is that my CPU goes nuts.. from 3% goes to 90 100% and i gived to someone else and sad that is working fine.. And my CPU is a INTEL Pentium 4 3.2 Ghz and i Have 1Gb Ram.. the hardware shouldn`t be a problem Hmm... what's that thread doing in fact while (window not closed) { } do something In this case of course is using 100% CPU.... Why do you need a thread to watch for closing a window A window has a Closed event, use that. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. D3D Sprite Object
Hello everyone, I've been using the D3D Sprite object to create a simple sprite based game. Everything was going accordingly until it came to scroll the camera. After trying many implementations and reading conflicting resources I've come here asking for help. My objective: Center the camera on an object that moves around the world. The problems: Setting the device.Transform.View matrix does nothing. Setting the sprite.SetWorldViewLH(myWorld, myView) crashes the application. Setting the sprite.Begin(SpriteFlags.ObjectSpace) flag does something, but I cant see any of my objects. When I don't set any view matrix or use ...Show All
Windows Forms Help on FileSystemWatcher
I've got the program to where it recognizes when a file has been added. Now I want a way to get the File Version, Comments, etc... and put this in a database. Under the FileCreated method, I am trying to use FileVersionInfo class to get all of the metadata out into string variables. Compiling fine, but when I run the program, the ...Show All
Visual C# Blinking Controls on WinForm
Hi I'm using Winform, I put some controls on it textboxes, treeview etc. And when I'm resizeing form - controls are blinking. - For example Nodes in Treeview disappear for short time and appears again. How to prevent this Hi Lufa, This problem usually occurs when you have grouped controls in many panels. Make sure that you are not using too many panels. ...Show All
Visual Basic VB Express 05 Listbox questions
first, i am a newbie at this. so, please excuse my ignorance if any. I am writing an application to configure a game server and launch a dedicated server if desired. OK, here is what i have set up: when a user enters a '1' in the var_maplst textbox, the listbox, add & remove buttons, listbox label, and buttons to move items up & down appear Private Sub var_maplst_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles var_maplst.TextChanged If var_maplst.Text = 1 Then maplst_lbl.Visible = True maplst.Visible = True maplst_add.Visible = True maplst_remove.Visible = True mapl ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Don't draw a triangle with april 2006
Hi, I'm a beginner in the DX programming. I'm trying of draw a triangle in a full screen, but I don't where is the error, I only see a full screen display with out the triangle Can't U help me private void RenderFrame() { m_device.Clear( ClearFlags .Target, Color .Navy, 1.0f, 0); // Render frame here GraphicsBuffer < PositionColored > m_verts = new GraphicsBuffer < PositionColored >(3); m_verts.Write( new PositionColored (-2.0f, -2.0f, 5.0f, Color .Red)); m_verts.Write( new PositionColored (0.0f, 2.0f, 5.0f, Color .Green)); m_verts.Write( new PositionColored (2.0f, -2.0f, 5. ...Show All
SQL Server Error Calling SQLCLR UDF
Running SQL Dev Edition on Win2K3 Enterprise Edition. I get the following error. Msg 6522, Level 16, State 2, Line 2 A .NET Framework error occurred during execution of user defined routine or aggregate 'AddressCorrect': System.DllNotFoundException: Unable to load DLL 'D:\CorrectA.dll': Not enough storage is available to process this command. (Exception from HRESULT: 0x80070008) System.DllNotFoundException: at UserDefinedFunctions.CorrectA(String query, String sentlen, StringBuilder errcode, StringBuilder FirmName, StringBuilder urbanization, StringBuilder Dline1, StringBuilder Dline2, StringBuilder LastLine, StringBuilder ...Show All
Visual C++ graphics library
Is there a graphics library in Visual C++ 2005 Express Edition Beta 2 If so what is the header file. No: the Express version of Visual C++ does not come with its own graphics library. If you want to use DirectX then you can download it from here: http://msdn.microsoft.com/directx/directxdownloads/ ...Show All
Visual C++ conditional compilation; Intellisense doesnt seem to be working
Dear All. I am using VC 2005, writing a chunk of code like this... #ifdef USE_LICENSING #include<file1.h> code... code.. #endif the editor grays out the code between then ifdef and endif tags, I can use features like intellisense only if i comment out ifdef and endif tags.. anyone aware of this Satish Boston,MA. I agree that I.S. takes way too long to populate its database and I've found it to not be completely reliable in more complex scenarios. This is what I've tried: #if 0 void FOO(int x,int y) {} #define FOO(x) (x+1) #else #define FOO(y) (y+2) #endif int _tmain( int argc, _TCHAR* argv[]) { // After you wa ...Show All
Software Development for Windows Vista VS6 C++ Compile error using "GetAddrInfo"
Hi, Windows XP SP2. Platform SDK recently downloaded. VS6 C++ SP6. I am using the 'GetAddrInfo' function ( DLL Ws2_32.dll) Header ( Ws2tcpip.h) When compiling I get the error "c:\program files\microsoft platform sdk\include\wspiapi.h(45) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal " I believe there is some 'compatability' issue between IPv4 and IPv6 functions !! Not sure how to sort it though. IS it because the SDK stopped being compatible with VS6 sometime ago Can anyone offer some ideas for what is I believe a not unique issue ! Thanks, Jon. Can ...Show All
