Software Development Network Logo
  • .NET Development
  • Microsoft ISV
  • Visual FoxPro
  • VS Team System
  • Visual C++
  • Visual Studio
  • Windows Vista
  • Game Technologies
  • SQL Server
  • Visual Basic
  • Smart Devicet
  • SharePoint Products
  • Visual C#
  • IE Development
  • Windows Forms

Software Development Network >> Kim Carlsen's Q&A profile

Kim Carlsen

Member List

Renaud Martinon
Ernesto_RD
Steven Gilissen
RAMPRAKASH
ccaci
donkaiser
jiggs
adb123
Sushantp
Troy Jerkins
JayDiscount
starLisa
Keith Chapman
trevi
aashta
Liam404
davidgsteadman
ToddMo
Blakeyrat
Patrick Ma
Only Title

Kim Carlsen's Q&A profile

  • Visual Studio 2008 (Pre-release) Handling username/password validation errors

    Hi, I try to implement custom token provider as is shown in "Token Provider" sample from WCF samples collection. There, when user's credentials validation fails in my custom UserNamePasswordValidator is trown new SecurityTokenException . On the client side i receive MessageSecurityException from which i'm not able to get error message from the server, only general exception description: "An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail". But FaultException also doesn't contain my error message. Also, i tried to change trowing of SecurityTokenException with FaultException but has same results. Can someone provide some guida ...Show All

  • Software Development for Windows Vista XPSDrv in Windows XP not spooling

    Hi, We have a monolithic XPSDrv which works fine on Windows Vista 32bit. But when we try it on Windows XP 32bit the job does not get spooled. Following are our observations: 1. XPSDrv gets installed. 2. The XPSDrv is using the XPS PrintProcessor. 3. Print Job goes to spool queue but gets deleted after sometime. This happens in all cases of FILE port, port with a file name, TCP/IP 4. The PrintFilterPipelinesvc.exe gets loaded. But the filter does not get called at all. We have tried with the WdkPipelineFilter.dll (sample pass through filter with WDK 5744) Can anyone please help. Thanks and regards, Mridu Mridu, Please search the event log for events logged by the “print” ...Show All

  • Windows Forms Setup Project

    I created a setup project for my application that outputs an msi. When I install the application using the supplied msi, all is well. The application will successfully run. When I create an administrative installer using the same msi and use that installer to deploy my application via group policy, the application will not run. It will generate an error report. Can anyone tell me what is wrong ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Models

    Hello im trying to load the same model many times at differnt locations first i create an array of models then i load the the models content location info then i created each model to draw in the draw method. however doing this simply is transforming the same model instead of drawing 10 seperate models here is m code if anyone can figure it out public class Game1 : Microsoft.Xna.Framework.Game { GraphicsDeviceManager graphics; ContentManager content; Model[] models; public Game1() { graphics = new GraphicsDeviceManager(this); content = new ContentManager(Services); } protected override void Initialize() { models = new Model[10]; base.Initialize(); } protected override void Loa ...Show All

  • Visual Studio 2008 (Pre-release) How to generate a "services/service" element based on a WSDL using svcutil.exe

    Is it possible to generate service side configuration files based on a WSDL description, using svcutil.exe I have a WSDL that describes a service and I want to create my own implementation of that service. Using svcutil.exe I'm able to create .cs files with the contract (data contract + service contract), however I didn't found a way to create a services/service element with the binding and the address. Pedro, that is right. Neither svcutil.exe nor the internal ServiceModel classes svcutil uses can do this. It was a feature cut for v1 and you need to either hand tweak the config or provide your own code e.g. based on XmlReader/XmlWriter to change the config. Cheers, Christian ...Show All

  • Visual C++ Mutlitthreading of a C function in a C++ environment

    I have developed a GUI using Visual C++ and has linked up with the computation procedures that are in C style code. Everything is fine except that when the C functions are called, the GUI windows 'hang' as the function is computationally intensive. Therefore the windows info do not have 'time' to update. One of the method to circumvent this problem would be to use threading. I have read the MSDN website on threading and they focus only on C++ functions. This is the first time I am doing threading. How do I start a thread with a C function that requires a parameter The C style function is of the type- void compute(char *); As my function would end naturally, how would the main GUI program be aware of its completion Thanks. ...Show All

  • .NET Development view the soap message generated by a webservice

    Hi, is there any tool available that shows me the native SOAP messages for request and response when I invoke a webservice client (implemented in c#) from visual studio I want to find out why I dont get back the expected data from the server by checking the soap message that is sent to the server. Thank you for your help, Thomas There are number of tools exist to trace server <- -> client exchange. My favorite is WebServiceStudio, you can download it form gotdotnet site: http://www.gotdotnet.com/Community/UserSamples/Details.aspx SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c Thanks, Elena ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A problem with ContentProcessor

    If i create a ContentProcessor which .X files are required to use, Then another programmer uses my engine - Adds some .X files - doesnt select the correct ContentProcessor. My program will spew errors and there is nothing i can do about it (as far as i can see). Is there anyway to force a file to use a specific ContentProcessor Cheers You should be able to select it in the properties window (press f4 when you select the file). Which content Processor is is selecting I think its based on the file extensions so it shouldn't be getting it wrong. What errors are you seeing. ...Show All

  • Windows Forms Handling control non-client area in the designer

    I have created a control derived from UserControl, where I am drawing a border in the non-client area. The designer for this control is derived from ControlDesigner. I have two problems when dragging/moving this control around the design surface. 1) I don't receive any WM_NCPAINT message while the control is being dragged, so my border is not painted. 2) When the mouse down to start the drag is in the non-client area, it is ignored by the designer. Is there any way to get around these problems other than re-implementing dragging in the designer or moving my border into the client area Joey, My wndproc is pretty much the same as the code already posted here: http://forums.microsoft.com/MSD ...Show All

  • SQL Server Errors on install of SQL Svr 2005 Enterprise

    Greetings, I have attempted a full install of 2005 Ent on our W2k3 Enterprise server. When attempting to install all services (SQL Svr database, analysis, reporting, notification, integration, client services/components) I get the message: "The features specified are not valid for this edition of SQL Server". I got the same thing when attempting to install with various subsets of services. Then I tried just database services and client components and got the message: " There was an unexpected failure during the setup wizard. " Perusing the core.log, I see: Fatal Exception caught while installing package: "10" Error Code: 0x80070002 (2) Windows Error Text: The system cannot find the fil ...Show All

  • .NET Development Advice on "DAL" design (O/R mapping) sought

    Beeing quite new to the .NET world I'm looking for some advice on choosing the "right" way to implement data access or O/R mapping in .NET applications (both ASP.NET or Forms). In the Java world, I would choose Hibernate to access databases and probably Jaxb2 for XML serializations. This is an easy choice, because there, both of these are mainstream or standard and quite satisfactory. I know of NHibernate, but if I understand it right, the next major release of .Net will include language level O/R mapping (is this so ). This would make my code obsolete if I introduced Hibernate to my company, which in itself would not be easy ;-). On the other hand, what is available right now with current ADO.NET is not very satisfactor ...Show All

  • Windows Forms BindingSource.AddNew from a DataGridView

    I have a DataGridView bound to a BindingSource whose DataSource has been filled from a SQL table. A dgv popup menu offers an 'insert a copy' option, ie it allows the user to insert a new row initialised to values in the row under the mouseclick. I cannot insert rows at dgv level because direct dgv inserts are not permitted when a dgv is bound; evidently .NET 2 evidently wants me to use BindingSource.AddNew. Very well, I add a handler to be called by BindingSource.AddNew ... bindSrcMaster.AddingNew += new AddingNewEventHandler(bindSrcMaster_AddingNew); The popup menu item event handler for CopyRow can figure out which dgv row to copy ... private void CopyRow(object sender, EventArgs e) { ToolStripItem menuItem = sender as ToolStripItem ...Show All

  • SQL Server How to I run a DTS package from a stored procedure? thank

    I created a DTS package to transfer data from a remote database into my local database, I want to run this DTS in my stored procedure, can I do that Please help me, thanks a lot Another method would be to use the system OLE automation SPs and use the DTS object model to invoke the package. Please search the web for several examples. Btw, this question is more suited for the SQL Server Integration Services newsgroup so I will move the thread there so someone there can point you to appropriate resources/links. ...Show All

  • Visual Studio 2008 (Pre-release) mom, wmi etc

    I've recently done quite a lot of work in adding custom events and performance metrics to a set of distributed asmx web services we have that are monitored by MOM. I noticed that the wcf confguration editor has a wmi option, but i'm interested in the best place to start if i wanted to add my own custom events, performance counters and so on that they can naturally integrate into the WCF workflow (or as naturlly as possible!). Unfortunately typing "wcf" and "mom" into pulls back some weird results! steven http://stevenR2.com ...Show All

  • Software Development for Windows Vista Using IProcessInitializer

    Hi, We are currently trying to use IProcessInitializer in our COM+ components in order to perform some preparation/cleanup of resources when dllhost is loaded/unloaded. We can't find too much actual information about people using it so it's a bit hard to try and figure out how it works. We are running on Windows XP SP2 using Delphi 7 (not .NET, it's for a standard win32 COM+ dll component). I know it's not VS but... my problem is not related to the development platform as far as I know. When reading the type library of comsvcs.dll, in XP SP2, there is no such interface as IProcessInitializer. However it is present in the same file in Windows 2003... Technically, according to the MSDN articles, it should be here starting from Windows 2000. ...Show All

©2008 Software Development Network