Ambient's Q&A profile
Visual C++ illegal reference to non-static member AND class definition
#pragma once namespace tes { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; using namespace System::Runtime::InteropServices; /// <summary> /// Summary for Form1 /// /// WARNING: If you change the name of this class, you will need to change the /// 'Resourc ...Show All
Visual C# MFC CWindow Handles in C#
Hello, I am trying to use an MFC/Direct Draw based DLL in my c# application. It is not a COM control but rather creates a CWindow based object to perform it's rendering on. It should essentially acted like a panel, or picture box that I would be able to put in a tabpage. The interface to this DLL is a few simple C style entry points including a "create_window" type function. This function takes a window handle as the parent windo ...Show All
Visual Studio 2008 (Pre-release) DLINQ Queries and observations
I have the following queries/Observations about DLINQ. 1. I could not find any direct way of handling many to many relations. Suppose if User and Role are related by a join table UserRole then I should be able to have a collection of Roles in User and vice versa. Which i think is not possible in DLINQ. (Please correct me if I am wrong) 2. State management is handle outside entities. In scenareos where a client grabs a entity from a WS , ...Show All
SQL Server Dynamic Excel Sources
Please help.... I have different files that are sent from our vendors. Some are TXT and some are XLS. Some will have the same structure. I plan on grouping these together as best as I can. My main problem is that I would like to go from one source that matches a group of files to a single SQL table. I'm still learning about SSIS and its capabilities. If I can get pointed in the right direction or have an example to work from, that would be ...Show All
SQL Server Empty Source So there is no data in the pipleline
Hi, I am trying to do a lookup for a value in a codes table and if that code is not there; add it to the table, my problem is if the lookup table is blank no records to begin with it will not add any data, that means the data source is empty so there no data going thru the data pipeline. So how do I get data in the table if we start with an empty table If I am not clear I can explain it more. Thank I ...Show All
.NET Development Web Service that returns a DataSet Class
Hi, I want to return an object of a class that is inherited from dataset from my web service I am sure this is possible because i have seen web services like this but never got chance to look in to the code . I know it is straight forward to return data set like: DataSet ds=callwebservice.GetDataSet(); but i want my web service to return an object like SomeClass SC=Callwebservice.GetDataSet(); please ...Show All
Visual Basic Referencing Controls created at runtime
Ok, this has really got me stumped, think im slightly out of my depth as far as this is going but determind to make it work. Have created a Windows application that, on a button press adds several new controls. to the form. Some of these are text box's that I need to reference in my code, and get there data in to an external file. Also to make it difficult my control names are autoincrementing so I dont have any problems referencing. I tri ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Distorted texture after lost/reset device
Hi, I'm drawing a textured mesh using DrawIndexedPrimitive, using an effect interface. After a windowed/full screen toggle the texture appears distorted. Interestingly when I draw another mesh in wireframe mode in the same render call the problem doesn't occur. Can somebody help Nico Depending on where you load the textures to, you need to release them and recreate them. Make sure that you are properly handlin ...Show All
Visual Studio Team System circular loop bug in compare tool??
We have been having an interesting problem while checking in a file in team systems. The file in question was modified by 2 different people, and they had been modifying similar code blocks. After the 2nd person tries to check his code in he is presented with the standard files need to be merged and then the 'keep your changes, use server's copy, etc' dialog, but after trying to merge his changes the screen freezes up and there seems to be a loc ...Show All
Visual Studio 2008 (Pre-release) Need Help finding Class Library documentation
I'm just getting started with WPF development. I've freshly installed VS 2005, and the February Windows SDK. Where is the documentation for the WPF classes For example, how do I find the description of the member functions in Window of the System.Windows namespace. I've searched the installed help and MSDN online to no avail. Check out the online SDK . HTH, Drew ...Show All
Visual Studio 2008 (Pre-release) Thread.CurrentPrincipal.IsInRole() returns false but Security.Roles.IsUserInRole() returns true
Not sure if this a WCF issue or not. I have a wcf service exposed with the "basicHttpBinding". I have set the security mode int he basicHttpBinding like so. <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows"/> </security> My goal here is to use windows authentication in the intranet to authenticate users. It works to the point where I ca ...Show All
Visual Studio Tools for Office Changes to App.Config not propagating to runtime in Excel VSTO 2005
When I change a connection string in my App.Config for Excel VSTO 2005 the change is not being reflected at run time or in the debugger. Where is the runtime App.Config being kept It's not in the bin or obj\debug... Make sure the config file is named correctly. It should be located at the same directory where your customization dll is and should be named <yourdll>.config. For example if your DLL is ThisDo ...Show All
Visual Studio Express Editions HAD Beta 2 But do not have uninstaller
I had beta 2 of VB.net Express and Web Developer. I don't have the uninstaller anymore, but I do have a lot of registry items to remove. Some of them are easy, of course look for v.8.0 and for Express 2005, but I want to make sure I get them all. Does anyone have a list of what I need to remove And to make sure I didn't forget any files, anyone have a list of the files to delete Or, even better, if anyone has the beta 2 to install so that I can ...Show All
Visual Studio HOw to Install Visual studio 6 in sp2 system.
I'm not running any applications while installing the visual studio... my friends have installed visual studio by switching off the windows firewall but i tried this method also, it didn't work..... The dll which is falling to register is "djljobs.dll" , (guess - i've forgotten) Some times this error Do you have a virus checker running The file might be locked by the virus checker as VS is trying to register it. If you do, unplug yo ...Show All
Visual Studio 2008 (Pre-release) Unhandled Exception: System.Exception: Infinite Descent?
I already sent this to Matt Warren personally but also posted here: ... I’m on the verge of insanity here. I can’t really explain how I got into this situation. I was well on the way to making a kick-*** application, then I needed to go back to the database and abstract out some image fields into another table so I could get lazy-load so I didn’t lock up the app UI over a VPN link to a database. The strange thing, is that it all worked ...Show All
