ptoinson's Q&A profile
Windows Forms Error as "Falied to import the ActiveX control. Please ensure it is properly registered." inside Windows Form Designer
Hello All, I always get the error as as "Falied to import the ActiveX control. Please ensure it is properly registered." when I try to embed the Microsoft Office SpreadSheet 11.0 ActiveX control from the Toolbox to Windows From with VS 2005 Bate2. I have added the Excell Reference to the library. But each time when I want to add a spreadsheet to the userform I get this error message. In the reference list I see a yellow warning b ...Show All
Visual C# overheads involved with events
I've tried to search for answers to this question but there are just too many results being returned on google etc that are totally unrelated. I want to know what overheads are involved when an event is fired, I'm currently working on a dynamic TreeGridView (thanks to Mark Rideout for the code on his site, it's helped me get started with this). Each row is related to a service in a service structure in a database, number of services ranges from ...Show All
Visual Basic Remote computer
I am now doing cybercafe for my final project. i type this command at the admin pc at command prompt shutdown /s /m \\mymachine_name Why when i type this command it tell me that is access denied May i know that how can i let the admin pc to access to the client's pc Calvinkwoo, this isn't a programming issue, and as such, is not appropriate for this forum. You have a security issue that you need to resolve. ...Show All
SQL Server SQL Server 2005 RTM
Hi, What if I want to remove(clean) all default instances and install SQL Server 2005 RTM as the default instance. I am getting the error "An instance with the same name is already installed on this computer. To proceed with SQL Server Setup, provide a unique instance name. " while trying to install RTM. I unistalled Sept CTP. How do I remove all the existing instances and start fresh. Thanks, -Suri I for ...Show All
.NET Development Can not add validation event handler for a Column.
Hi! I'm getting following error: Failed to add validation event handler because of the following error: Invalid Index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX)) When I double click on a column of datatable in dataset designer to add column validation handler. Can anybody tell me whether this is a bug or some error. How can I fix it Or is there anyother way to add event handler for a datacolumn regards. I'm us ...Show All
SQL Server Can This Be Accomplished in My Time Dimension in my AS2005 Cube?
In my AS2005 cube, I have a time dimension with the following attributes: year, quarter and month. Also, there is currently no hierarchy by design. Is there a way to make a custom attribute/time period that reflects the last 12 months (R12M) and work in the same manner such as year, quarter and month The time dimension would then have: years, quarter, month and R12M. As a result, a user can drop a measure such as Sales Amt and then add ...Show All
.NET Development LoaderLock
Hi, this is a bit of a wierd one. It was working before without any problems, but after leaving the project for a few days to about 2 weeks, I loaded it up again and for the first time ever when i run this application, it gives me a loaderlock error! LoaderLock was detected Message: DLL 'C:\WINDOWS\assembly\GAC\Microsoft.DirectX.DirectSound\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.DirectSound.dll' is attempting managed executi ...Show All
SQL Server how to access a cube and its dimensions in a cube
Imports Microsoft.AnalysisServices.AdomdClient Imports System.Data Imports Microsoft.AnalysisServices.AdomdClient.Dimension Imports Microsoft.AnalysisServices.AdomdClient.CubeDef Imports System.Object Imports System.Diagnostics.Debug Imports System.Data.OleDb Partial Class _Default Inherits System.Web.UI.Page Public Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Bu ...Show All
Windows Forms Listview Alignment
Hi All, In VB.NET how do I allow my user to freely move items in my listview, What property should I set. I have tried setting the Alignment property to Default , View to LargeIcon and AutoArrange to False but still luck. Am I missing something because in VB6 by default items can be move freely. Thanks in advance & Hope to hear from you soon. I'm having this exact problem. Have tried to Google it but doesn't seem to find the answ ...Show All
Visual Studio Team System Web view not styled (most of the time)
Most (approx. 80%) of the time when we click on a link to a TFS Artifact in a mail send by the alerter service, the web view is not styled. So we see just the text from the xml which is unreadable. Any idea what is wrong If you are referring to build web report, yes this is a known issue with B3 refresh bits and fixed in final bits. Unfortunately, there is no viable workaround other than trying to refresh multiple times. Thanks. ...Show All
.NET Development Single Instance of App only works when debugging (Mutex Problem) C++
Hi, The following code works fine when debugging, only one instance of the application is started. However, when I build a release version of the code multiple instance of the app are allowed to run. ie MutexCreated is always returned as true. I have tried all combinations of InitalOwner and Testing both MutexCreated and trying to lock the mutex following its creation. All work exactly as I would expect on a debug build but when swit ...Show All
Visual Studio Express Editions Selecting from SQLExpress using datetime field
Can anyone tell me what is wrng with this code: select * from membership where joined like 13/01/2006 'Joined' is a datetime field. There records in the table in this format. When I run this code it returns zero rows. Changikng 'like' to '=' makes n difference. Adding 00:00;00 creates an error, as does putting the value in quotes. If I use '>' rows are returned but not just for the required data. The joined field is not indexed an ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX7 SDK Lost Forever?
I am very distressed at the moment. I simply cannot find the last release of the DX7 SDK anywhere ! I may just be ignorant as to where to find it on MSDN Downloads but I just can't find it anywhere. Anyone who knows where I could find a download of that priceless treasure please let me know. We only support the last 3 releases of the DirectX SDK (currently the June, August, and October 2005 releases). DirectX 7 became an unsupported ...Show All
Smart Device Development send files to ppc ? And Change Date for PPC ?
hellow .. i only have tow questions , if you can answer them , please help if possible first : how can i send files from PC to pocket pc programatically with VB.NET Second : how can i change the date of windows mobile programatically with VB.NET ,Too yours .. 1. If device is connected via AS, you could use RAPI (OpenNetcf.org has managed wrapper) to transfer files from desktop. If it's not connected via AS, you ...Show All
Visual Studio Express Editions Outlook-Automation in VC# Express
I tried to getting a contact item in the contacts folder of outlook as follows (coded same as MSDN-Library). Outlook.Application app = new Outlook.Application (); Outlook. NameSpace ns = app.GetNamespace("MAPI" ); ns.Logon( "", "", false, false); Outlook. MAPIFolder oContacts = ns.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts); Outlook. Items oItems = (Outlook.Items)oContacts.Items; Ou ...Show All
