Answer Questions
Chris Anderson A Question about assemblies in GAC
I don't know if this is a stupid question, i'm just a newbie... if i have an application referencing to an assembly v 1.0 in GAC and for sometime i have a new release: assembly v 1.1 and place it also in the GAC, and if i want the assembly v 1.0 to be removed from GAC and the application to reference to v 1.1, will i release another version of the application referencing to 1.1 thanks.... You ...Show All
Chuck McD .net process on remote machine
i'm trying to develop .NET Monitoring tool.In this i have some doubts as follow: 1. Is it possible to find the .NET processes running on remote machine If yes,How 2. Can we invoke CLR remotely & query it to get running .NET processes We are trying to use Debugging interfaces to get .NET running processes.In case of VS 2005 remote debugging has been provided.But in this remote debugging,debugging happens locally,only results ...Show All
trulyviral Help : "error: 40 - Could not open a connection to SQL Server"
I'm using VS2005 and SQL2000. I created a database name "myDatabase" in SQL Server 2000 and built a website that connet to this database. When I'm running this website in VS2005 IDE (press F5 or Ctrl-F5), everything is OK. I publiced this site. When I connect to database on my computer, everything is OK also, but when I connect to database on another computer, an error occurred like this : "An error has occurred while establishing a connection ...Show All
lifangm ThreadPool interface improvements?
For reasons related to the NGrid project (see http://ngrid.sourceforge.net), I am currently re-implementing a ThreadPool class. IMO the design of ThreadPool.QueueUserWorkItem is somewhat bizarre. The current signature is public static bool QueueUserWorkItem(WaitCallback, object); I would rather have chosen: public static void Queue(MultiCastDelegate, params object[]) First the name, I know that method names have to be precise, but frankly t ...Show All
MikeHiland select distinct vb.net - visual studio 2005
SELECT DISTINCT MakeID, DeviceID FROM tbl_Model WHERE (DeviceID = *Variable*) I am looking for an = to this select statement to use while accessing an access database. I cannot figure out how to use the distinct function from the "dataset.datatable.select(string)" I want to do this from the code b/c I need the deviceId to be a variable that will be set else where. any ...Show All
StjSm How to get workgroup of the computer?
hello i want to get workgroup of the computer without using unmanaged code i try this System.Environment.UserDomainName but its giving me the COMPUTER NAME not the workgroup ... is there any way to find out using System.NET or WMI thanx any way .. Try this, or something like it: My .Computer.Registry.LocalMachine.OpenSubKey( "System\CurrentControlSet\Services\Tcpip\Para ...Show All
IgorB SqlDataSource Exception Handling
When you create a sqlDataSource in code and bind it to a gridview you have the luxury of trapping errors as you bind the source. How does one do the same when you drag and drop a datasource and a gridview. If i were, for instance, to add a querystring parameter to my datasource that expects a integer. When you pass it a character it comes up with ye old yellow and black screen. How would one handle this error gracefully The same goes for a conne ...Show All
VipinDuck Nested schemas
I have a schema that references a child schema via a "xs:import" node. In that child schema it references several other grand children schemas. Is there an object in the VS 2K5 suite which will allow me to consolidate all the nested schemas into one giant schema I've tried using the XmlSchemaSet object, but I cannot find a way to serialize the compile schema. I'd appreciate any help or advice. If you know befor ...Show All
jonsofield is it possible to post files in an ip adress through windows application? how?
is it possible to post files in an i.p. address through windows application how my apllication is window form in .net, how implement "post method" to upload files thank's Yes, using the WebRequest object in the System.Net namespace. ...Show All
bpfh Problem with XHTML entities
I want to load an XHTML document into an XmlDocument named doc. The data comes from a stream named stream. doc.Load(stream) throws an XmlException: Reference to undeclared entity 'nbsp'. I figured out why. The document uses common html named entities but it has no DTD header. The problem is described here too: http://blogs.pingpoet.com/overflow/archive/2005/07/20/6607.aspx . At the time of writing this URl doesn't work, in short the guy's sol ...Show All
Plow movie play list
Hi All I am using Windows Media Player embed on my site. Can you show me how to make a play list ore menu that will play in the same Windows Media Player. Thank you leecsone. This not a web service question. This question would be more appropiate for a Windows Media Player forum. ...Show All
Pete Bennett OutOfMemoryException and Garbage Collection doesn't work how I thought it would
I designed this code snippet to test garbage collection. It doesn't do what I thought it would do though. The idea was to allocate a chunk of memory, but to discard the reference to that chunk by letting the variable that holds the reference fall out of scope. When it runs out of memory on the heap, I expected the garbage collector to run automatically and that the allocation would succeed. But there are a couple of w ...Show All
Tatworth '\0' in xml string
hi i am reading an xml document from a string which i receive bytewise from the network. the string is assembled out of char like that s\0e\0n\0d\0 for "send" for example. i really don't know how the '\0' came in there, but so far they didn't bother me. but no with an xmldocument they do. if i try to load the string with either document.LoadXml(string) or document.innerXml = string then i get an exception saying "name cannot begin ...Show All
Bhags Serialization of array of objects, containing array of another objects....
Hi all, This is my first post here , hope you know answer to this. I have a situation where webservice is returning array of object A which contains array of object B which internally contains array of object C. class A { [XmlElement] // this was added on later on and works fine B [ ] B_array } class B { //[XmlElement] // here does not work as in Class A above C[ ] C_array } class C { int i, string s } All classes and variables ...Show All
ntintel Using ActiveDirectoryMembershipProvider to authenticate against ADAM
Hi there, I've searched all over the internet and found more developers with the same problem, but no solutions at all. I'm using the June CTP of VS.NET 2005 on WinXP SP2 and want to use the ActiveDirectoryMembershipProvider to validate my users against ADAM. My web.config contains the following parts (where CDomain\MyUsername is a local administrator that is also member of the administrators-group in the ADAM-instance): < connectionStr ...Show All
