Answer Questions
Mohid Javaid Mirza Can't connect to SQL Server 2000
When I try to connect to a SQL Server 2000 database running locally, I get the error message: "Unable to connect to database. It is only possible to connect to SQL Server Desktop Edition databases with this version of Visual Studio." What in the world does this mean I have a Developer Version of SQL 2000 running and a Developer Version of VB.NET. Tom, What are you using to connect Query A ...Show All
Davedub Strong Naming and Obfuscation Problem - Need Help!
I am trying to sign my application, after using the obfuscator. First I must delayed the signing: < Assembly : AssemblyKeyFileAttribute("myKey.snk")> <Assembly: AssemblyDelaySignAttribute(True)> The problem is we must tell outside the IDE in the command console to stop checking the assembly. the syntax is: sn -Vr myAssembly.dll <-- very nice I do not see any DLL when i build my application. Is ...Show All
brent.weber Client information available to server
Hi, I have an remoted object served by IIS. I'm looking to find out what information I can get about the client that has connected or is making a particular method call. I saw an MSDN article saying that I could use System.Web.HttpContext.* to get some information about the client, but I'm unable to use .HttpContext for some reason. All I get available to me under the System.Web namespace is ASPNetHostingPermission, ASPNetHostingP ...Show All
sandPR Invoke without dedicated Delegate
Hi, I'm using Control.Invoke(new MyDelegate(...), params, ...) but don't want to define a dedicates Delegate only for usw with Invoke() (in this case "MyDelegate"). I tried it with anonymous methods, but it doesn't work. Can anybody give me a snippet of code, where this is explained Or isn't it possible without a dedicated Delegate Thanks in advance! You can use the EventHandler or MethodInvoker del ...Show All
sbloom Developing with VS 2005 for .NET FW 1.1 and 2.0
Hello! I am maintaining a C# project. After VS 2005 final is out, I will upgrade this project to a VS 2005 project (so it can't be used in VS 2003 anymore). I will have to develop this application for both FW 1.1 and 2.0 for a while. I don't want to keep 99% of the code redundant and make changes twice. Since there will be only like 1% or less that will be different for FW 1.1 and 2.0. Does VS 2005 support/solve this "problem" in any ...Show All
Deepsheep Using TcpClient to do a telnet session
Background: I want to automate a telnet dialog on a non-standard port (i.e. not port 24). I tried to establish a simple dialog to a remote computer with TcpClient in C#, VS2005. The documentation provides a nice, compact example ( http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx ) which runs, but the output I get is Sent: login Received: ↑ # ' Actually, no matter what string I send, the Received line is t ...Show All
MRogers How to wait till threads have finished before ending method?
Hi I have a long calculation I want to do inside a method. I have tried three methods. 1. Without thread doing (long calculation) Result: Works but GUI freezes. 2. The code below without the Join() method. Result: Code does a part of the Calculation then throws Error - An unhandled exception of type 'System.NullReferenceException' occurred in mscorlib.dll Additional information: Object reference not set to an instance of an object. The ...Show All
Brandon Bohling How to find framework version no?
Hi I have .NET 2002 and .NET 2003. I'd like to know whether my framework version is older than .NET v1.0.3705 for .NET 2002, becaue some identifiers didn't recognized by compiler. Thanks, reneesol If you have .NET 2002 and and .NET 2003, this means you have framework 1.0.3705 and 1.1.4322 But when I hear "some identifiers didn't recognized by compiler" it sound like you try to compile some code written fo ...Show All
MCastellanos SqlParameter caching in ASP.NET
Hello Sarah, Hope ur doing fine. Me too. Well I have left our oracle stored procedures and their parameter issue. As I too dont have enough knowledge about it, I left it. This time I am having certain doubts regarding sql parameter caching technique which I was using in my code. Let me explain to you: In my last question I have mentioned that I wrote one application which reads sql server database metadata a ...Show All
Todd Pfleiger WinForms Vs WebForms
Where can I get the list of pros & cons Winform not require hosting on server while Webform required hosting on server. Winform is faster performance than Webform . Wait till Xaml comes along and we can have the best of both world's. From my experience when I am working with data heavy applications I like web forms. Why do i like web forms for data because it is alot easier to display dat ...Show All
ender080 web service access issues
first I'd like to apologise if I'm starting a duplicate thread here, but after searching for a half hour I was unable to solve this issue. I am new to developing in a microsoft enviroment, more used to unix so please bear with me. I have written a web service using visual studio 2005. Just a sample to try get things working. I then consume it in a windows app (also in VS2005). Both using C#. at first I was using the ASP.NET development web serve ...Show All
Ashley Lessard .NET COM and Remoting
Hi. I handle a serious problem with remote connection from my Agent( writen on c#) module that is actually registerd as COM object and loaded by Executable that writen on C++, .NET Agent and Executable reside in different folders. I receive following Exception from my remote server: "Return argument has an Invalid type". Module Detailed explanation: 1) HostClient.exe - Executable for My .NET COM Agent(MyAgent.dll) . Simple c ...Show All
Michael Li The format of the file 'system.enterpriseservices.thunk.dll' is invalid
I get this message when I try to connect to my SQL databese in the code: system.enterpriseservices.thunk.dll is invalid Here is the code I use for my connection: SqlConnection1.ConnectionString = "workstation id=TUTUS;packet size=4096;integrated security=SSPI;data source=TUTUS;persist Security info=False;initial catalog=matrix" SqlConnection1.Open() FYI: I had every thing working fine, but after I reinstalled windows xp ...Show All
Peter Nowak (Germany) TCPIP Messages Bunching Up! Any help appreciated.
Hi guys, I have a client/server application in development (VB.NET 2005). Part of the appication's features require the server to send one or more messages to all the clients when the system time reaches a certain value. All of the above is working (i.e clients are receiving messages at certain times from the server which has a timer monitoring the system time and sending messages when it reaches a certain value). However, some strange ...Show All
Alex Aidar debug xslt command not available
I'm trying to debug a xslt fle with Visual Studio 2005 beta 2. I loaded an xslt file and selected an xml file for input. But the "Show XSLT Output" button and the "Debug XSLT" button are disabled. I failed to do a required action, but I have no idea what I did wrong. Anyone has any idea Perhaps you do not have the Professional edition. The XSL debugger is only available in Professional and above. It ...Show All
