ug751's Q&A profile
Visual Studio Showing Interface Implementation
Lets say that I have created an interface in my project and I have 2 classes that implement this interface. Is there a way to display this in the Class Diagram similar to the way it shows classes that inherit from an abstract class I couldn't find it. I found that if I changed my interface to an abstract class the diagram would automagically draw the nice little line to all the classes that inherit it, but if I change it back to an interface all ...Show All
SQL Server ADOMD.NET AdomdDataReader + ASP.NET 2.0 gridview?
Anybody had any success with populating an ASP.NET 2.0 gridview using ADOMD.NET AdomdDataReader I am trying the following code: Dim oSb As New StringBuilder Dim sMDX As String Dim sCnnString As String = "DataSource=localhost" Dim oAdoMdCnn As AdomdConnection Dim oAdoMdCmd As AdomdCommand Dim oAdoMdRdr As AdomdDataReader '...build oSb sMDX = oSb.ToString sCnnString = " ...Show All
Visual C++ How to get mother board's and hard disc's Serial Number
Is there any API function that retrieves serial number of mother board or hard disc. This forum is for general IDE issues for VC programming. That said, I don't think there's a Win32 API for that kind of thing. This is an OEM- specific question. Try starting with the hardware manufacturer tech support (their diagnostic tools often make such queries, but it's usually in assembly language). Yon can also sea ...Show All
Visual C++ Win XP Program Execution Problem
I am building an application using VS 2005 or VC 8.0. I can not run this application when I build the application with the manifest embedded in it. That is the case with only Windows XP SP 2 machine; rest on 2k it runs properly! Is there any mechanism of deploying the manifest for deployment on user machine Or any special care needs to be taken for Win XP machines with manifest We are badly stuck on this! Win2k machines doesn't support f ...Show All
Visual C++ Help with setting up GDI+
Hello, I am looking for assistance in setting up VC++ 6.0 or Visual Studio 2005 to use with GDI+. I have both software but unsure which is best to develop GDI+ on. I have read through Christian's article on starting with GDI+ at the following URL: http://www.codeproject.com/vcpp/gdiplus/startinggdiplus.asp I also downloaded the appropriate GDI+ files from this article, rather than the full SDK: http://www.codeproject.com/vcpp/gdip ...Show All
Microsoft ISV Community Center Forums VBA source code
Hi all. I need to do my final year project in Excel using VBA. The project is in such a way that i can generate curves using Excel. I have been searching for the samples source code for cosine, sine and FFT source code, but to no avail. Could anyne please advise me on this I am a newbie to VBA, so i'm rather lost now.. Thanks in advance. Thanks Gnomie, It works.. :)) By the way, is it possible to draw the cosine ...Show All
Visual Studio Express Editions Modding the Pong starter kit - questions
I finally have some time to put to practice some elements of object oriented programming I learned from that Deitel & Deitel C++ book I partly read a few months ago. I'm trying out the C# starter kit that contains a working Pong game. http://msdn.microsoft.com/coding4fun/gamedevelopment/tenniscs/default.aspx I don't really have any ambitions of becoming this great game programming of the ages, but I've always learned progr ...Show All
Windows Forms Windows service
Hi, i tried a simple windows service and got the following error message when i run it "error 1053: the service did not respond to the start or control request in a timely fasion " anyone know why and how to solve the problem. Thank& ...Show All
Visual C# I could really do with a pointer in the right direction
System.NullReferenceException: Object reference not set to an instance of an object. at _Default.Page_Load(Object sender, EventArgs e) in Default.aspx.cs:line 30 it is in the following code: using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Net; using ...Show All
Smart Device Development Adding item to the all context menus
Hi! I need to add my own item in context menu for all textareas. How can I do it, using .NET CF Or I need to use something else are you wanting to do this for all text context menus in the entire system, or just within your managed application I'm not familiar with a way to do the former. For the latter, you would need to create a context menu and attach it to each text entry control in your app. ...Show All
SQL Server List of tables in use by a view
Hi, I wonder if I can list the tables (and views) used inside a view, I mean the list of tables in the FROM clause Thanks, Arty One way is to use SMO like: Database db = srv.Databases[ "test" ]; string a = "sp_depends " + objname; db.ExecuteWithResults(a); There are other ways of using SMO to get the dependency information, but I do not have the code available. Peter ...Show All
Visual Studio Team System False positive CA1051:DoNotDeclareVisibleInstanceFields on ComVisible(true) structures
I think DoNotDeclareVisibleInstanceFields should not be raised on ComVisible(true) structures. Alex Hi Alex, why do you want this rule not to fire on ComVisible structures Are you trying to satisfy a contract where there has to be a public field COM interfaces allow properties as well so when your class is exposed to COM you should be able to call through the properties. Regards, Jeffrey ...Show All
Windows Forms DataGrid row selection help !!!!
Hi All, I might have a stupid question but I really need to know how can I make a full row selection of the datagrid like TaskVision I'm stuck on .NET 1.1 for the time being, thanks for the example, but honestly, I can't figure out how to attach this to my DataGrid. Can you expand on t ...Show All
Visual C++ Does 2005 still support overloading memory allocation?
We implement our own memory allocation routines. This works fine under VC6, and is done as described in the MSDN documentation somewhere. However, under VC8 the linker complains. It is supposed to automatically discard the library memory allocation routines when it sees ours first, but it does not. I can force it to link, but the executable fails to initialize. libcmtd.lib(dbgheap.obj) : error LNK2005: _malloc already defined in libmain.obj ...Show All
Visual Basic vb6 upgrade wizard error - OLE_E_CANT_BINDTOSOURCE
When I run the VB6 upgrade wizard in Visual Studio 2005 I get an error. It is not related to the application I am upgrading, because I even get the error if I run it on a "blank" vb6 app. I've re-installed, and still no luck. The entire error reads: Unexpected exception occurred during upgrade engine operation: Not able to bind to the source (Exception from HRESULT: 0x8004000A (OLE_E_CANT_BINDTOSOURCE)) ...Show All
