Marcel Haans's Q&A profile
.NET Development Failed to access IIS metabase, VS2005 RC
I am developing a webservice in Visual Studio RC. I have just got a new pc and my problem is that I am not able to access this webservice. I have created a virtual directory in IIS, but if I try to browse there, I get a "Failed to acces IIS metabase" error message. Does anybody know how I can resolve this problem 1) Is IIS installed on the machine (From a command prompt NET START - Is IIS Admin service present in the list) 2) Is ASP.NET in ...Show All
Visual C# A newbie question on Interfaces - How to call the methods?
hi, I'm new to C# and OO in general. I can't seem to undestand the pertinence of interfaces. From my understanding, the interfaces define the signature of the methods while the class implements these methods. How is this better than simply doing away with interfaces and simply implementing the method in the class Apologies for the rather novice question, an example to illustrate the pertinence of interfaces would ...Show All
Windows Forms another haschanges question
I thought I had this all figure out and it is giving me fits again. If I load data into a form using tableAdapter.fill, and then change a value in a databound textbox on the form (which is using a bindingsource), it is always returning false. My prior problem (always returning true) was because on the form close event (where I check hasChanges) I was calling the endedit method, which of course was creating a "dirty" record. Now ...Show All
.NET Development Using the Beta 2 TreeView
The Beta 2 TreeView control is real nice. I've thrown several XML files at it with various file extensions and the XML data structure is mapped to the tree which is exactly what I need. As we have learned, a given schema may include child elements with the same name as other child elements neither of which are neccessarily derived from the same parent node. An <image> element comes to mind. I could use some help u ...Show All
Visual C# C# and Lotus Notes
Does anyone have any suggestions for using C# to do a lookup in Lotus Notes address book Any Help would be apppreciated Thank You It's actually very simple. Create a new project in VS.Net 2003/2005. Add a reference to to Domino to it (right click on the References in the Solution Explorer, switch to the 'COM' tab, locate "Lotus Domino Object" and click OK). Now in your code add a 'using Domino' statement ...Show All
Windows Forms how get icon of the button used in the windows form
hi every one I 've recently joined these forums and i love dot net programning. Am facing a problem and i hope you will help out here :) Problem: { I have some buttons on my windows form with icons and images set in th ...Show All
Visual FoxPro How to perform group by and order by AFTER union?
Hi, I have a SQL statement like this: SELECT * FROM ( SELECT * FROM A UNION SELECT * FROM B) GROUP BY 1, 2 ORDER BY 1, 2 Is there any way to translate it to FoxPro 2.5 compatible Thanks. I think you can use this : SELECT * from A ; UNION ; SELECT * from B ; group by 1, 2 ; order by 1, 2 ...Show All
Visual Studio Team System Install Done, what's next?!
Hi everyone, I installed Team Foundation Server on my windows 2003 standard server and everything went well .. but now what There is nothing in the Start Menu talking about it, no icon on the desktop, nothing! I mean, how can I add new project to it create portal for each project where can I read about all that Thanks Now you need to install the Team Foundation Client somewhere (not on the server!). It's on the same install disc as the Tea ...Show All
SQL Server Help me to create a order column
Hi all, In Visual Foxpro i create a Order column that: replace all myOrderColumn with recno() [myOrderColumn] 1 2 3   ...Show All
Visual Basic Problem with ActiveX control
Hello Everybody, my English is not very good, but I will try to explain my problem. I use Shickwave Flash Object in my project. Because this control don't have any mouse events like OnMove etc, so I create MyControl and use inherit. I want to change control's context menu on menu of my own. Public Class flash Inherits AxShockwaveFlashObjects.AxShockwaveFlash Public Const WM_RBUTTONDOWN = &H2 ...Show All
SQL Server XSLT transform dropping spaces, CR's
I have an XSLT transform that works perfectly using the msxsl.exe utility. When the same XSL file is run through an SSIS XML transform, the character spacing and carriage returns embedded in the XSL templates are mostly (but not completely) dropped. Any comments on why SSIS is behaving differently than msxsl.exe What to do Thanks in advance, Richard msxsl uses msxml4.dll, while SSIS uses .NET classes ...Show All
Visual C# How to use C# tableadapter wizard with vendor specific SQL keywords?
Hi. I really like the new tableadapter wizards in VS 2005 and how they can speed up development. However, I'm running into a problem I need help with. I am using the table adapter against DB2 and there are special keywords that the designer isn't allowing. i.e. Select field1, field2 from table for fetch only with ur ; When I enter this into the query wizard and then move off the SQL pane to another pane, the wizard ...Show All
Windows Forms Acitve Directory Taskpad
I have recently created a Taskpad for managers to use to unlock accounts when IT is not available. Can someone tell me how I can disable everything in the properties sheet except for unlocking accounts Also, this Taskpad requires Administrative Tools be installed on the computer running the Taskpad. Is there a way I can install the AdminPak and have it hidden so the user cannot access it If they had access to the Administrative Tools, it woul ...Show All
Visual Basic importing records
I have a program I wrote. On occassion, I have to change the database to add some fields to it. The database is written in Access 2003 and the program is in vb2005 express. I am looking for a way to export the data to csv form and then copy the new database and then import the records from the text file so the user will not lose the data and have to re-enter. Can someone help mne with this one, please ...Show All
Visual C++ Closing the handle of the heap
Hi I am working on the heaps and now i am having a question to put it on the groups. Do we heed to close the handle created by the HeapCreate() Api or DestroyHeap is enough to destroy the heap... Because the call to the CloseHandle api throws me a exception!!! Thanks Srivathsan A HeapDestroy will do. Do not call CloseHandle. srivathsan wrote: Hi I am working on the heaps and now i am ...Show All
