Answer Questions
Andreas Holthaus Converting between Ver 1.1 and ver 2.0 .net
Howdy, I have just written a small program in VB 2005 in .net framework 2.0, i wondering if there is a way that the executable could still run in ver 1.1 as i have been getting errors (ie not compatible!) The program is very simple, and i dont think i use any new "fancy" parts of 2.0 (I am very new to VB and .net....like today) thanks... Dwayne Ok, I tried a small experiment and Yes, you are correc ...Show All
Junnark Why do I have to XmlInclude derived classes in order to serialize?
I have a shallow, but wide class heirarchy. I have one base class with several derived classes. During serialization, I pass a reference to the XmlSerializer. The reference never points to the base class; it points to one of the derived classes. So when I attempt to serialize public class Base public class Derived1 : Base public class Derived2 : Base public class DerivedN : Base XmlSerializer ser = new XmlSerializer(typeof(Base)); StreamWriter ...Show All
Davaren New to xml and how to read an xml doc advise needed
Hi, Strange enough i have never played with xml very much.I have some questions and hopefully you guys will be able to answer them. 1)Need to read/Loop through an XML file whilst looping there might be both elements and attributes .Is there a generic way of looping through both the elements and attributes.I looked in the MSDN and I could not find an example. 2)Reading/Writing xml can be done in many ways. when shall i use the textReade ...Show All
DeKale javascript enabled?
How can I find out if the client browser has javascript enabled or not in my asp.net application I want him to be taken to an error page if it is turned off since my application uses a lot of javascript. Thanks Well but I still can't prevent the user from not accessing the website. Maybe this might help http://www.15seconds.com/issue/030303.htm well that's a clever answer but am sorry my brain isnt working. How do I ...Show All
mrdenny Formatting Numbers
I want to convert some decimal and floating point numbers to strings. I have been looking for examples of how to do this and came across the following posted example. It seems to be what I want, i.e., String^ out = i.ToString... However, when I run this example I get '02' on the screen, where I would like to see '05'. What am I missing // example from another question // using namespace System; int main() { &nbs ...Show All
Bassel Banbouk System.Collections.Generic.List datatype converting to Object Array
I have a property defined in a Webservices using System.Collections.Generic.List datatype. When that web service is referenced in my windows application, I see in the reference.cs file that the datatype is changed to an object Array. But I want the same datatype defined in the Web Services as i want to use the Add functionality of the List Datatype. Any solution for the issue. Thanx in Advance. Thanx for the r ...Show All
Benny Tops PrincipalPermission bug?
Hello, I reported the following scenario as a bug on Microsoft Product Feedback, but thought maybe someone here has also noticed this and has an explanation for it. I don't believe the PrincipalPermission attribute is working correctly when it is applied to a class and one of its methods. Here is the scenario: 1) Create a class library project (I used VB) 2) Add the following class to the project Imports System.Security.Permissions <Principa ...Show All
JLSavage differences between XML and HTML
I am always using HTML to make my website, http://www.drivehq.com/web/cindy0412/ but now I'a like to use XML, I wonder what's the main differences between them Whether I can change HTML to XML directly Thank you! thank you for all your useful help! I have free recources to share with you here , may you like it,also may it helpful! Hi, You can make a start on XML here: http://www.w3schools.com/xml/default.asp Regards, Vikram ...Show All
OZ83 Error Using WMI to Get List of Shared Folders on the Server
Here's some details: Server and workstation both in the same workgroup Logged into server as local Administrator Logged into workstation as a local user that is only in the Users group The local user on the workstation is also defined with same name and password on the server (and only in the Users group on the server) Server is Windows Server 2003 running IIS 6.0 Workstation is Windows XP Professional ASP.NET 2.0 (C#) web site Web.config ...Show All
raibeart Use of ClientScript.RegisterClientScriptBlock
This function was Page.RegisterClientScriptBlock in .NET 1.1 but that has now been obsoleted. The new function requires an extra parameter called TYPE but there are no examples of how to assign something to this parameter and everything I have tried fails. I need to convert a Page.RegisterClientScriptBlock function to ClientScript.RegisterClientScriptBlock - what do I need to put in for the TYPE parameter ...Show All
mcmathys04 Which DB to use?
Hi, i am writing a program that uses a db. My db will have 3 tables and maximum of 5,000 records. I want that the customers will download my application... The proplem is that i don't know whether they hav a db engine or not. I heard about MDAC for mdb files... 1) How can i check in my installation wizard whether the client has MDAC installed on his local mashine 2) Can u suggest me somthing better But i XML i ...Show All
superstar Trouble betweeen xp32 and xp64 within the same vs 2003 app
Hi there, We have an app here we are developing, using vs 2003 visual basic and asp.net. For the past months, we only used vs 2003 pro under xp32 machines. Recently, 2 new atlhon 64 machines, running xp64 joined the developing team, using too vs 2003 pro. For some kind of strange reason, i dont know if its possible, but it seen that the code that was handled on Xp 64 machines and returned to xp32 machines stopped to work correctly. F ...Show All
Travis Baseflug Timeout Problem when Calling GetResponse()
Hello, I am trying to use the HttpWebResponse and HttpWebRequest to connect to a web address. I am expecting back XML from the address. I can access the web address and successfully get back XML when I connect to it using my web browser but when I try and access the address using the GetResponse method I get a timeout. Is there a setting I am missing that would cause a timeout Here is my code: HttpWebRequest restRequest = (HttpWebRequest ...Show All
A Chapman Displaying Labels Created at Runtime
I want to create an array of label controls at runtime in a Windows app ... nine rows by nine columns. My problem is that when I do this the labels are not displayed in the application window. Is there some property I have to set to cause this to happen Here is the sub I go to to do this: (this routine is executed when I click a Go button) Private Sub btnGo_Click( ByVal sender As System.Object, ByVal e As ...Show All
rnby .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
