Henk Kin's Q&A profile
.NET Development .NET UI Application Crash
Hi, We have a vb.NET client UI application which calls a number of web services. The application is intermittantly crashing completely without any evidence of an exception etc. The application is single threaded for the most part, the only area that deviates is a class managing serial port comms via win32 calls. (we do not use p invoke..) I understand the most likely cause for an unexpected termination of this nature is threading - more specific ...Show All
Visual C# using "user controls" on webpages
Hello All, I recently made a user control using c#. I want to know if it posible to put it in a webpage. Actually the problem is this user control is not registered on the system. I do not know how can I register this user control. I do not want to use IIS also. To summaries my problem: I want to put a user control in a web page directly. Hi, You can host Windows Forms Control within IE. Here is a sample below and some links that ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Release: unresolved token IID_IDirectInput8A
I am trying to build a release version of my application but I can't seem to link it properly as explained in: http://msdn.microsoft.com/library/default.asp url=/archive/en-us/directx9_c_Oct_2004/directx/input/ref/functs/directinput8create.asp I'm trying to create a DirectX 8.x interface with the DirectX 9.0c software development kit (SDK) without using CoCreateInstance : Set "#define DIRECTINPUT_VERSION 0x0800" before the include stat ...Show All
Visual Basic typed datatable.getchildrows error
I've generated 2 typed datatables in a typed dataset. the tables are related through a parent-child relation. I call parenttableadapter.fill(dt) then dt.item(0).getchildrows(). this returns an invalid cast exception My parent table is named ReqHeader, my child table is named ReqDetail. System.InvalidCastException: Unable to cast object of type 'ReqHeaderRow[]' to type 'ReqDetailRow[]'. The method I'm calling is called: "GetReqDetailRows& ...Show All
.NET Development Declare event in CodeDOM
How to implement Public Class AClass Public Event StatusChanged(ByVal percent as Integer, ByVal message as String) ... Enc Class in CodeDOM I could not find references on adding parameters to CodeMemberEvent... CodeDom is constrained to supporting only a common subset of syntaxes between all languages. In this case VB is offering a syntax that C# does not offer - declaring an event w/o specifying ...Show All
Windows Forms Docking one form to another
New to VB.Net programming. I want to open Form2 from a button on Form1. Got this far. Form2 has no border, I want it to appear to be part of Form1, (like a frame in a web page, everything else on the page stays the same exc ...Show All
Visual Basic System.InvalidOperationException: Mutex could not be created.
I have develpper edition of VS 2005 . I get System.InvalidOperationException: Mutex could not be created. error when I am trying to access a webservice from windows app. Both app and webservice are on same machine. Dose anyone have any idea how to solve this problem Thanks I think we're going to need to see some code. A mutex is a mutually exclusive semaphore. Someone was trying to prot ...Show All
Windows Forms Adding an icon to the form taskbar when using a form with no border?
Hello, I am making a form in Vb.net using a skin so I do not have a border on my form, but I would like an icon to show up in the taskbar when the form is opened. Is this possible I haven't been able to find anything that says you could. Can someone please help, point me in the right direction, or confirm that this can't be done Thanks, Marc Hi, I'm not sure how this can be done, ...Show All
.NET Development Binary serialization different when called from VB 6 or .NET
Hi everyone, I have a .NET assembly that acts as an Interop layer between a legacy VB 6 client application and a .NET server application. One of the ways the client application connects to the server is using .NET Remoting with the binary formatter. All but one method call works. The problem is that the method call only fails when called from VB 6 and only when the binary .NET Remoting connection is selected (SOAP over TCP and SOAP over ...Show All
Windows Forms Sending data to a second dialog??
Hallo! I have a Main-Window. From there I call a new modal Dialog, to whom I want to pass some data, see below: private void btn_Prj_anlegen_Click(object sender, EventArgs e) { myProjekt.setDataFromLV(x81_LV); ProjektAnlegenForm prjForm = new ProjektAnlegenForm( myProjekt ); prjForm.ShowDialog(); } But I get the following error: Inconsistent accessibility: parameter type 'Projekt' is less accessible than method 'ProjektA ...Show All
.NET Development How to get a client certificate in code
Hello, I created an X509 client certificate using Microsoft Certificate Services and installed it in my browser (under Personal). Now I want to call a webservice in code using a raw HttpWebRequest. This works fine, but I want to add the certificate and I don't want to import it from a file but directly from the registry or wherever windows stores it. How can I acheeve this I found some code at http://support.microsoft.com/ kbid=89597 ...Show All
SQL Server JDBC: DatabaseMetaData.getURL() returns jdbc:sqljdbc://
Hi, I'm using: Microsoft SQL Server 9.00.1399 Microsoft SQL Server 2005 JDBC Driver 1.0.809.102 Executing the DatabaseMetaData.getURL() method when database is connected returns "jdbc:sqljdbc://". The documentation for getURL() specifies that this URL is returned only when accessing pre SQL Server 2005 versions while when connected to 2005 it should return the correct URL (ex: jdbc:sqlserver://192.168.1.105:1223;databaseName=test) My question is ...Show All
Visual C# SQL Server 2005 and Threads - Licensing
I am working on a project that will require the use of SQL Server 2005 Workgroup Edition. We were planning to use the version that comes with 5 CALs instead of the version licensed based on processors due to the enormous cost difference. Our customer who will be using this is a goverment agency and MS charges them ~$800 for the 5 user version, but the version licensed by proce ...Show All
Visual Studio Team System Project portal on separate tier
hello, is there a way to install only the project server on a separate machine, instead of the machine where the team foundation server is running I presume you meant to say "Windows SharePoint Services" and not "project server". If so, we currently don't support (and probably won't for v1) installing SharePoint on a separate physical computer from the Team Foundation application tier. ...Show All
Visual Studio 2008 (Pre-release) Menu items disabled when setting a command
When I change this: <MenuItem InputGestureText="Ctrl+N"> <MenuItem.Header> <AccessText>_New</AccessText> </MenuItem.Header> </MenuItem> int ...Show All
