Answer Questions
New to VB Web service that calls methods from imported dll doesn't work on IIS but it woks on development environment.
I have web service that imports "xx.dll" written in c++. This "xx.dll" make a connect to the MapPoint activex and return some data from MapPoint. Everything works fine in development environment, but when I deploy to IIS, then I'm getting "External component has thrown an exception". I did a trace in "xx.dll" and I find out that everything stops on call "MapPointApp->Connect()". I thin ...Show All
Jed Weird bug when installing .NET Framework 2.0 Beta 2 on Win 2003
This mainly concerns ASP.NET. The framework installs ok on a Win 2003 machine but i don't get a "Microsoft .NET Framework 2.0 Configuration" option in the Administrative Tools in the Control Panel and i don't get the ASP.NET tab inside IIS6 Web Site configuration either. Are there any manual ways to install this like a regsvr32 command or similar I remember trying to install Beta 1 of 2.0 on the same machine and then these options showed up. A ...Show All
Promit Serializing delegates: MethodInfo
When serializing a delegate, the delegate writes out a RuntimeMethodInfo for the Delegate.Method member. Unfortunately, even though RuntimeMethodInfo is serlialized, it cannot be deserialized because it is missing the deserialization constructor . Obviously, the runtime formatters are deserializing delegates somehow, am I missing how to deserialize a delgate in the documentation or is that functionality only available internally Thanks, Ray ...Show All
Claude Fox system.objectdisposedexception
Hi, I have a multithreaded application that crashes with the following msg in event log ... EventType clr20r3, P1 smartserver2005.exe, P2 1.0.0.0, P3 43f6cc52, P4 system, P5 2.0.0.0, P6 4333ae87, P7 3ad8, P8 a5, P9 system.objectdisposedexception, P10 NIL. I have provided try catch block in all routines in the code & still the appl crashes with the above msg. Note that crash is not consistent for a particular se ...Show All
Ole L MDX - are my woes still x64 related?
Your mission, should you choose to accept it, is to test this code, and get it working if it doesn't. Major karma to the person who cracks it, or can tell me what is wrong, or who can confirm that it will work as normal under the x86 platform. To follow up on my previous post, the problem is not solved but has been worked around by limiting my target platform to x86 (which in itself took some doing). This code causes an MDA exception about ...Show All
MikeElliott System.Web.UI.WebControls.TreeNode
On http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnaspp/html/aspnet-usingtreeviewiewebcontrol.asp I found the next example: // Create the first TreeNode TreeNode tvFirst = new TreeNode(); tvFirst.Text = "First Tree Node"; // Create the second TreeNode TreeNode tvSecond = new TreeNode(); tvSecond.Text = "Second Tree Node"; // Add the second TreeNode as a child of the first tvFirst.Nodes.Add(tvSecond); // Add ...Show All
ZhangQing Is it better to buy 64-Bit pc?
Hello, I want to buy a new pc, and I am wondering if it's better to buy 64-Bit pc Any help would be greatly appreciated. If you can wait, I would definitely put it on hold. I'm holding out for both 64-bit and Dual Core technology to mature and to reach a point where every day aplication usage actually see a significant benefit, and not the geeky gamers trying to push an extra 10 frames per second or get ...Show All
Remcodo HttpWebRequest with client certificate doesn't work
Hello, I've created an SSL server certificate using SelfSSL in the IIS Resource kit. I've also created a web browser client certificate with Microsoft Certificate Services. I have two webforms communicating with httpWebRequest as in the following code: HttpWebRequest httprq = ( HttpWebRequest ) HttpWebRequest .Create(uri); httprq.Method = "POST" ; httprq.ContentType = "text/xml; charset=utf-8" ; httprq. ...Show All
Thomas Logan - MSFT JIT Compilation optimizations
This is a bit of an overkill question I know but it was bugging me.... I just read that the JIT compiler runs a one-time-only optimization on installation based up various factors of the machine is on .. cpu type, memory, OS etc. If, for example, I install a program written in a .Net language and then add some more memory to the machine, would it be best practice to uninstall the program and re-install it so that the JIT compiler takes int ...Show All
gnich **Disconnec Wireless Networking**
Hi This is very important that i know this... I have created a vbscript that detects the NIC's IP Address and if the IP address is withing the conditions - it stops the following services: Smart Card Service Wireless Zone Configuration Service Under the group policy set - user's cannot start services - so they cannot connect into a wireless network. PROBLEM: When the user logs into the network with a network cable its fine, my script works. ...Show All
Jose M. Fos Enabling my disable menuItems
I have an Mdi parent form called home which has other child forms. My parent form on form_load disables all the menuItems on it except the file menuItem. The file menuItem has login as one of the items. When you click login submenuItem it shows a new login child form t. The login form has a button called login. The click of the login button should fire an event that will enable all the disabled menuItems on the paren ...Show All
MikeB. Reflect private field of System.Web.UI.Page
Hi. I use this code to get the value of private field "_focusedControlID" of System.Web.UI.Page. I place this code into the OnPreRender event: ------------------------------------ BindingFlags f = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.FlattenHierarchy | BindingFlags.IgnoreCase; object o = this.GetType().BaseType.BaseType.GetField("_focusedControlID", ...Show All
Vish Norton SystemWorks Basic One Touch Button Program Integrity Scan Microsoft.NET Framework v2.0
Dear Friends I recently installed Microsoft.NET Framework v2.0 on my computer so that I could check the viability of my computer for the new operating system "Vista" that Microsoft are launching next year. The download worked fine and allowed me to assess my computer appropriately. But the next time I used One Button Check Up in Norton SystemWorks Basic I found the following 10 errors appeared in the Program Integrity ...Show All
natchURL SerialPort SerialDataReceivedEventHandler
Hi, I can't figure out how to get the event handler to work when data is received on the com port. I've looked around the forums here and I downloaded a console sample program that I tested on my computer and it works. But when I try and apply the same Idea to my C# windows form program I can't get the event to fire. Am I doing something wrong Some other post on the forum were talking about using different threads for the SerialDataReceive ...Show All
Dandan He How to retrieve info (messages) from the SQL Execution
Hello. First, I hope I'm posting in the right forum. I'm developing av .NET application using ADO.NET. Everytime you execute SQL Queries the database returns information like "(1 row(s) affected)" etc, but I haven't found a way to get this info from the ADO.NET tools - eg. the SqlDataReader or OdbcDataReader. I need this information to get data returned by STATISTICS IO and STATISTICS TIME (ref http://www.vbcity.com/forums/topic.as ...Show All
