Answer Questions
TimLarson XML Web Service Weird Issue
Hi All, I have a web service for our client was running fine on our localmachine. Web service receive/send data to our pocket pc devices. Then we have a success trial on exploring web service to allow outside people to consume it. However, when we deploy this web service to our client. It doesn't seem work. - really doesn't work at all. I tried xcopy, msi web setup method. At the end, I end up copy whole virtual directory to my client's compu ...Show All
meshk How OS Invokes CLR
i have 2 exe's one is managed and other is unmanaged. while executing how os identifies this is a managed code and we need to invoke the clr Hi, Managed executables will have something called CLR header which tells the OS that the exe is not the ordinary Win32 PE file and it needs CLR for execution. Thanks, Suresh. i got the answer. thanks ...Show All
nidionys Using Predicate with parameter
Heya, how do I go about sending a parameter to the Find method of List<T> Consider: class Person { string name; int age; } List<Person> list = new List<Person>(); list.Add( new Person("Chris", "30")); list.Add( new Person("Jimmy", "25")); Person chris = list.Find("Chris"); Now, I know I can't use Find("Chris"), but I have to use a Predicate. How do I send the string "Chris" to my Predicate Any help ...Show All
Canderson VS2005 bugs
Hi Expects, I'm using the Microsoft Visual Web Developer Express 2005. Attempting to add "New Item"=>"Web form" populates the below error Error: this template attempted to load an ustrusted component 'Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxx'. For more information on this problem and hoy to enable this template, please see documentation on Customizing Project Templ ...Show All
Toddap_MS Marshaling an array as a return value?
How do you marshal an array as a return value What marshalling attributes must be specified Specifically, using COM Interop, I want to use an interface member that returns an array. The implementation of this interface is written using an unmanaged object and a COM style interface. In C#, the interface declaration would look like this: public interface IMyInterface { & ...Show All
JasonDeegan Why do I get Parameter ? has no default value
Why do I get Parameter has no default value Here is part of the form_load event Why isn't Dim ID As Integer = 207 the default value My intention is to set ID's value to the selected value of a comboboxes' selected item. I'm trying to get this right first. dennist Dim ID As Integer = 207 Dim cn As New OleDbConnection("Provider=Microsoft.Jet.OLE ...Show All
Tal Kedem SQL UPDATE - "No value given for one or more required parameters"
I've used this structure in several other C# database programs with success, until this app. Now I'm receiving this: "No value given for one or more required parameters." The key is SAMS_ID. The data is text, no numeric fields. The code I used is below. I've tried removing the single quotes from around the date field and also from around any fields that contain numbers but still receive the same error. Anyone know w ...Show All
ladydee FtpWebRequest
.NET Framework 2.0 c# I need to access a FTP Server. I'm using FTPWebRequest as described in visual studio 2005 documentation. Everything works fine except the following: 1) I dont know how to change de current working directory on the server to the parent directory 2) Why cant I do this, or why doesn't work In Internet explorer works! 3) how can I send some FTP low levels commands to the server using .net 2.0 ftp api. < ...Show All
ubergeek2 threading and debugging?
Hi there. Sorry for posting a daft Q, my apologies. I was wondering if it is at all possible in VS.NET 2005/.NET 2.0 to still step through the debugger when a thread has been started I would like to see what is actually happening in that thread. Or is it best to not implement threading until I have made sure that a method is meant to do what it should do, then implement a threading on that thread Another Q I have is this: when you do a "thread. ...Show All
ralphg Having problems running a web service in Visual Studio 2005
I created a web service following the steps laid out in http://msdn2.microsoft.com/en-us/library/87h5xz7x.aspx I have encountered several problems. 1. When I open the project I get the following. "The site http://localhost /BriConvert1 has not been configured for use with ASP.NET 2.0. Microsoft Visual Studio has been designed for use with ASP.NET 2.0. If not configured some features may make incorrect assumptions, and pages desi ...Show All
Jas001 insert into table from combobox (User selected)
Hi All, Can Anybody help, I have a sql_2000 db which has two tables, I am using vs.net2005 (VB.net) as a front end. I have a form with a combobox1 on it, populated from table1.centre when the user makes a selection from the drop down list I would like the value selected to go into table2.centre field along with the other details submitted on the form. I can get the list of values to display but it doesnt seem to populate the table2.centre. I hav ...Show All
Anand S N How to locate an loaded assembly?
I simply want to know how to resolve if an certain assembly (some *.dll file) is loaded (used) by other .Net application. AppDomain.CurrentDomain.GetAssemblies() gives you the list of all assemblies loaded in the current app domain. Michael Taylor - 2/7/06 Yes, i know but if i need to determine if an assembly is loaded by any another application... ...Show All
mklee Ndoc dead link
Hi all I did create xml doc with vbcommentor and create a helpfile with Ndoc. When i run the chm file from my computer everything is fine. But when i run it from an other computer i get the treevieuw on the left side but when i click on a node i got a dead link (page not found yada yada) I must be missing something Remco If you've downloaded the CHM file to an XP SP2 machine, you'll have to right click on it, ...Show All
BrantCarter How can I know the reference count of an object?
To diagnose memory leak problem, it's convenient to know the "reference count" of an object. Is there any API that could let me I know that e.g.: object obj = ... ... int count = GetReferenceCount(obj); if (count > 0) { Debug.WriteLine(...); } I found this will most occur after the program allocated a large mount of memory. In my program (it's a multi-document program, diffent document has different s ...Show All
ColdCold C2440 Error with SSPI
I have project dependent on "SSPI.h". However, during the conversion to the .NET 2.0 Framework, when I try to complie "SSPI.h", I get the following error. error C2440: '=' : cannot convert from '__const_Char_ptr' to 'wchar_t __pin *' Following is the piece of code which gives error: wchar_t __pin * pwszServerPrincipalName = NULL; if ((credential->SecurityPackage == Credential::Package::Kerberos) || (credential->Securit ...Show All
