sungrebe's Q&A profile
Visual Studio 2008 (Pre-release) Design question (data binding) -- suggestions?
Hi all -- if anyone has any ideas on how to solve this, I'd greatly appreciate it. I'm somewhat stumped. Let's say I have a class Home, which has several properties, one of which is a collection of Rooms. Each Room in turn has several properties. The main window UI has Bindings to the Home, and possibly to some of the Rooms. Thus, as the Home's properties change, or as a Room's properties change, the UI is updated. Good stuff! NOW ... let's say that I have a modal dialog that allows you to edit a Room. This is a "standard Windows" dialog in the sense that it has OK and Cancel buttons. From the user's perspective, at least, changes made to the Room occur if and only if he or she presses the OK button. So it would seem ...Show All
SQL Server the attributes of Fact Table could not be displayed when drill through?
I have a question about cube drill through. In BIDS (Business Intelligence Development Studio), I set drill through in the tab "Actions" And I add a new drill through action. "Drillthrough columns" is setting the displayed columns when I use drill through. I found that only attributes in the dimension could be displayed. How do the columns in the Fact table could be displayed In AS2005 it is 'only' possibly to drill-through to the lowest level of data that exists in the UDM (cube). Therefore, if you need to display the description, you must create a (fact) dimension on this field. ...Show All
Visual C++ Bug in Visual Studio 2005 Professional edition ?
I've created a simple Win32 console application. When I try to run it by Ctrl + F5 it, I get the message: "This application has failed to start because MSVCP80D .dll was not found. Re-installing the application may fix the problem.". Kindly note that i am not trying to run and install my application on different machine.Also note that i've already installed SP1 of 2005 pro edition but still the problem persists. Many a times the problem is solved by the usual methods like: 1) Goto Project Properties -> Linker -> Debugging -> Generate Debug Info (change it to No) 2) Link statically to the C++ runtime library using the /MT switch. Well there is also an alternative about Goto Project properties- ...Show All
Windows Forms master-detail form. CHILD records in DATAGRIDVIEW doesn't clear on adding new PARENT record
Hi all, I have implemented a master-detail form in VB 2005 with: detailsview(to dsplay parent records) datagridview (to display child records) Everything works fine.......INSERT/DELETE/UPDATE, except one prb. When i ADD a new PARENT record, the DATAGRIDVIEW doesn't clear and the old CHILD records still remain in the DATGIRDVIEW . I want to clear the DATAGRID everytime a new parent record is created. How do i do this Alex Hi hrubesh, On my form, the master-detail relationships are working (INSERTING/DELETING/UPDATING) correctly. I have absolutely no prb with them. The only issue is when adding new records. When i click the ADD button from toolbar of PARENTBIND ...Show All
Visual Studio Express Editions tab and highlight
Please, does anybody know, when you want to tab to a text field to change a value that has already been entered(lets say from a database), how do you get the whole field highlighted when you tab to it, so that when you type something new in, it types over the old data and not right before or after the old data in the text box (does that make sense ) Thanks handle the Enter event of the textbox, then set the textbox.SelectionStart property to 0, and the SelectionLength property to the length of the text currently in the textbox (textbox.Text.Length) ...Show All
Visual Studio Team System Does Team Foundation Explorer work with Vista RC1 & Office 2007 B2TR?
Does team founcation explorer (TFC) work with Vista RC1 & Office 2007 Beta 2 technical refresh I noted that the TFC install wants to deploy VSTO 2.0 & the Office 2003 PIAs which would seem outdated for at least the Office 2007 portion of the environment. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. .. Tridex for C# guys here is the code to Render OBJ file, but only rendering poinst ...
I am having problems rendering the obj file with Trianglelist, mabe some one can help here!!! The code loads the obj file with no problems, but when rendering tringle list I get mushed up mesh, can some one hep as I can only render points at the moment!!!! namespace WindowsApplication1 { using Microsoft.VisualBasic.CompilerServices; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; using WindowsApplication1.TridexConsultants.Engine.SceneObjects; public class ObjMeshFileObject : SceneObject { public ObjMeshFileObject(GraphicsDevice UseDevice) { this.VertexSizeI ...Show All
SQL Server Migration exceptions
Hi, How should one deal with exceptions generated by the DTS to SSIS conversion wizard in sql server 2005 Thanks ...Show All
SQL Server How to invoke nested stored procedures in SQL Server projects in VS.NET 2005?
Hi, I would like to use a stroed procedure within another stored procedure ( nested sp ) in a SQL project in VS.NET 2005. Since I have to use "context connection = true" as connection string, I wont be able to use this connection for another sqlconnection object. Because its already open. and If i try to use a regular connection string ("server=localhost;...") it will raise a security permission error. Having this problem, Im not able to use nested stored procedures. Would anyone please give me a hint how to resolve this issue Hi, you didn’t post the securiy set you are running on for this procedure, but as of the error message, I guess you are running safe, which is normally ok for the type o ...Show All
Visual C# VSTO documentation
Hi, I'm about to write an Outlook Add-In, with the Visual Studio Tools for Office. Problem is I just cannot find documentation about the classes, members and so on (like for example a member page for Outlook.MAPIFolder). Where is it How am I supposed to work with it if I don't know which method does what Please help! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX development on Vista
Hello, I've installed Vista (final release version) and I'm in the process of setting up my development environment. I don't intend to move to Vista now, but I'm trying to find out if there will be any problems in doing so. I've installed Visual Studio 2005 (with SP1 and Vista update), and the DirectX SDK (I'm using the Oct 2004 SDK). I've created and built a C++ test program and everything seems fine there. However, I'm not clear on how to switch between the retail and debug versions of the runtime. When I installed the SDK, I didn't get a DirectX icon in the control panel, but I'm wondering if maybe this wasn't installed because of Vista security settings, because d3d9d.dll and d3dx9d.dll weren't placed in the Windows\System32 dire ...Show All
.NET Development Functionality of MSCOREE.dll
Hi Guys, any one knows the full functionality of MSCOREE.dll in .net framework Please help me to know about it. If you compile your managed code as an .exe assembly, the runtime is started automatically by mscoree.dll when the .exe is run. There is only one instance of mscoree (%windir%\system32) irrespective of the versions of CLR's installed. The MSCOREE decides what version of the CLR to load based on the assemblies manifest. In .NET Framework 2.0 unmanaged applications can host the common language runtime with control over many features of the runtime. You can replace some features, such as memory allocation, threading and assembly loading, with custom implementations. You can control the behavior of other features, receive not ...Show All
SQL Server Transform SQL table data to XML
I have a Teams table in MS SQL that contains a hierarchical structure (tree) as defined follows: Table Team: (TeamID , ParentID, TeamName). Each row has a pointer to its parent row. I need to come up with an XML in the following format: <DTreeNodeOfOBSTeam xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema "> <val> <TeamName>Team0</TeamName> </val> <Nodes> <node> <val> <TeamName>Team10</TeamName> </val> <Nodes> <node> <val> <TeamName>Team1001</TeamName> </val> <Nodes /> </node> <nod ...Show All
.NET Development WaitHandle.WaiteOne(int, bool) -- what does the 2nd arg. mean?
the 1st arg. is the threshold of the time the handle will wait, but what does the 2nd arg. mean i read the MSDN, still dont quite understand plz some one tell me, thx! ...Show All
SQL Server Error message: Setup failed to configure the server
Re: SQL Server 2000 Developer Edition Error message: Setup failed to configure the server I'm attempting to install SQL Server 2000 Developer Edition on a 2nd workstation in our area for development and practice with having this 2nd workstation as a "local" (test) SQL Server box. The install fails with the above mentioned message. (We have a database running in production on SQL Server 2000 and we need a place to simply copy the database and run tests on it) The target PC is running WInXP Pro-SP3 and has IIS installed, along with Visual Studio 2005 & .Net framework, etc. I downloaded it (via MSDN license) and accepted the defaults on the install. Any feedback is appreciated. Thanks, RLN ...Show All
