sigurdr's Q&A profile
.NET Development Service and COM don't work with Windows XP Service Pack 2
I have a service application created with VB.NET that creates a COM object. The service works fine in Windows 2000, but in Windows XP with service pack 2 it doesn't because it receives the "Access denied" error. If I create a windows form application instead of a service, it works fine even in Windows XP with service pack 2. Can someone help me Run dcomcfg.msc and check the security settings (L ...Show All
Visual C# after an example of a dialog waiting box
I am building an application and it queries the database for some informaiton. while it is quering the data I want andialog box to be displayed with waiting and maybe a moving Gif so the users know something is happening. I have sort of done this with threading but I'm not happy with my results, does any one know of examples of this There is an old (but nice) example on codeproject that might give you some ...Show All
.NET Development Soap Serializer does not support serializing Generic Types.
I tried to serialize an object contains list (List<>) of objects and I got this exception: Soap Serializer does not support serializing Generic Types : System.Collections.Generic.List. It works fine with the BinaryFormatter. Yeah, Let me post more codes about the configuration. What I am doing here is, I have a remoting server start, also to have the capability for a client to event call back t ...Show All
Visual C# Replace char in c#
I had a string "2006/01/27 00:00:58.747", and I would like to replace "/", ":" and "." with "_". Can anyone let me know how to do it in C# Thanks Hi, Check out String.Replace method. You may need to call it 3 times: string myString = "2006/01/27 00:00:58.747"; myString = myString.Replace('/', '_').Replace(':', '_').Replace('.', '_'); Hope it helps, T ...Show All
Visual Studio Express Editions ListView subitem icons
Hello! Is it possible to add icons in subitems Example: http://vbnet.mvps.org/images/gfx/comctl/lvsubimages.gif This is created in VB6 and i want to do in VB.NET 2005. ...Show All
.NET Development cs0006 error.
Hello I have a single website. And I got this strange error. CS0006. Afer that I delete some temporary files on this folder. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files I restart the vs2005 and it works. but its driving me crazy is that a bug I have no references on my website or strange things. It only has some pages with webparts. Hi! Thanks for asking! I'm a member of the ASP.NET team, and was ju ...Show All
Visual Studio 2008 (Pre-release) Warning msg box annoyance
Hi guys, Please, limit the --------------------------- This is an unsupported version of Microsoft Visual C# 3.0. As such many features may not work as expected. --------------------------- appearance to one time per install. It is very annoying Yes, however with a beta/ctp, then PSS can always tell what's going on by checking the VS version number in the "about" box. However, if you change the C# language service, then VS's ve ...Show All
Microsoft Robotics Studio Programming for Atmel AVR Microcontrollers
Hi. I'm the programmer for a group who is building a robot. The robot uses an Atmel AVR microcontroller. Does anybody know if I can program the microcontroller using C#(VS 2005 IDE) How I am not overly familiar with ATmel AVR Microcontrollers, however if they provide a COM (Component Object Library) compatible librarry that can be used in VB6 or other languages then yes. Depending upon how you communicate and how documented the protocol is ...Show All
SQL Server Error doing "Process Update" on some dimensions
When processing some of the dimensions in my database using "Process Update" I get an internal error from the OLAP Engine (no specification)... Any known bugs on this, or am I just missing something Can you post here bit more information about your situation: The error description. What stage it is happening: Beginning, end. Information about your dimension structure. Sizes. Can you try and monitor Analysis Server using SQL Profiler ...Show All
Visual Studio 2008 (Pre-release) Passing parameters to services
Hello All, Hoping for a quick idea of the "best" way to pass simple parameters to services. For instance, I am developing a service that hooks into a SQL database for it's data persistance... anyone know the best way for the service's constructor to pull a connection string out the creating host Thanks, Rick You could store your data in an IExtension < ServiceHostBase > object (or at a dif ...Show All
SQL Server Default Mobile Database Application
Dear All, I am trying to build a simple mobile application. I am very new to this. Thus I am trying to access the build in database in the folder C:\Program Files\Microsoft SQL Server 2005 Mobile Edition\Device\Mobile\v3.0\Northwind.sdf. I am following the steps in the wizard to help me. When I press test connection is say Test Connection Succeeded. But when I press the ok button I get this error as "Unable to find the requested .N ...Show All
.NET Development OPENXML: Error inserting xml into SQL Server 2000
I am having trouble inserting xml data into SQl server using the OPENXML. This is the SP I have. When I pass small XML content the Insert works but not when i have a bigger XML file. ALTER PROC uspW3TeamList @doc text AS BEGIN DECLARE @idoc int EXEC sp_xml_preparedocument @idoc OUTPUT, @doc INSERT INTO SportsSchedule (TeamName1,TeamName2,GameDate,GameStartTime,InsertedOn) &nbs ...Show All
Visual Studio Team System Ref Name Fields
Hi all, I want to know about Ref name fields in VSTS.What purpose does a ref field serve How many types of ref fields do we have Can I create my own ref fields Is there write-up available for ref field Thanks, Vin Hi Vin, You can create your own refnames. You can't reuse an existing name. Thjese names serve as column display names in the queries (check it ...Show All
Visual Studio i have the some problem on win 2000 platform
At first time my computer opened, i can open web forms in design mode. But when i attempt to close and open another web project (by closing VS developer environment editor), i get this message : "Package 'Visual Studio Common IDE Package' has failed to load properly ( GUID = {6e87cfad-6c05-4adf-9cd7-3b7943875b7c})." i tried to: uninstall and reinstall vs.net 2005 remove Visual Studio Common IDE Package and reinstall it only al ...Show All
Visual Studio Printing without the ReportViewer
In a Win Forms app, is it possible to print a report without using the ReportViewer control I want to provide a print button on a Form (like Outlook does) and then use an embedded Report to print the data so I don't really need the ReportViewer. I would want to display the PrinterDialog though and use the settings from here to control the printed Report. Is this possible too Regards Graham Well, I'm so clo ...Show All
