Answer Questions
Kenshiro Binary file I/O - use FileStream Class or BinaryReader/Writer?
I am doing binary byte oriented File I/O. with non-sequential access. I started using BinaryReader and BinaryWriter Classes. I soon discovered that those classes don't apparently do Seek etc. so I switched to using the FileStream Class. I cannot see much advantage in using BinaryReader/BinaryWriter when I can do everything I need to do with FileStream. When would it be beneficial to use BinaryReader/BinaryWriter and not the FileStream clas ...Show All
malpropio WebControl TreeView works in IE but not in FireFox
I have a IE WebControls treeview that works great in IE, but it doesnt work in FireFox. It gives an extra space and a link to a __doPostBack function. Here is the source from each: from FireFox: < tr class = "FreeText" > < td id = "_tdManagersTree" align = "left" colspan = "4" > < div class = "SubHeadingBackground" id = "_tvManagers" class = "SubHeadingBackground" > &nbs ...Show All
Rizzi Davide Merge method - Fill typed dataset
Hi! the issue I have a typed dataset which I want to fill using a procedure that is executed remotely. It doesn't matter what remoting type I use (.net remoting, web service etc.). The point is that its not a good practice to pass the instance of the dataset to the remoting procedure, since the dataset might already have some data in it. the question What's an efficient way to do that I was thinking of getting a single data table using my r ...Show All
DCatherman Can I run a 16-bit app on Windows Vista?
Hello, The title says it! Thanks. To bring things back to 16 bit, on a 64 bit vista system will Virtual PC run the 16 bit OS's, or even the 32 bit OS's It does bring up another odd question. On a 64 bit system running 32 bit vista, will Virtual PC be able to run 64 vista in a virtual machine Kevin Hi, I would believe the answer for the 32-bit apps support to be yes. Tha ...Show All
David Beoulve FileSystemInfo missing functionality - GetSize() and GetSizeOnDisk()
It's a bummer that I can't get the file/dir size and size on disk e.g. FileSystemInfo.GetSize() and FileSystemInfo.GetSizeOnDisk(). It would be great to get this in the next version unless this functionality is already in the framework somewhere. Yeah I realize that properties are implemented by accessor methods under the covers. However, the .NET Guidelines state that properties should behave more ...Show All
APEXnow .NET XslTransform xslt transformation
I have an C#/ASP.NET application. All my pages are generated by xml and xslt via the System.Web.UI.WebControls.Xml. The problem is i get this Cannot convert the operand to 'Result tree fragment' . The xlst workes under IE, but not in .Net Here is a sample of the xslt stylesheet: < xsl:call-template name = " select " > < xsl:with-param name = " mainxpath " select = " //EVENTTYPES/EVENTTYPE " ...Show All
nekto ASPX, CS, SLN and Proj file should be in seperate folder - Please help
Hi All, This is what I want to do: let's say you have a web project web1.csproj within a solution file web.sln . If this project has an ASPX page page1.aspx with code behind page1.aspx.cs . We want to have web.sln , web1.csproj and page1.aspx.cs within one folder and page1.aspx within a seperate folder. That way when we deploy to production, we can just copy all the aspx files without copy code behind files, etc. You ...Show All
Tonpal FTP list result
Hi, I'm retrieving a detailed list of files into a string array via FTP. Each item in the array looks something like this "drwxr-x--- 3 vincent vincent 4096 Jul 12 12:16 public_ftp". What would be the easiest way to break this info down and put it into the relevent columns on a listview control(name, date, attibutes etc). I'm really stuck on where to start. appreciate any help Chris ...Show All
Vahid66 ,net Validator Controls are not functioning
Welcome All Hello . I m having problem with .net Validator control. These .net validator controls are functioning on http://localhost /................. but on www.website.com/ ........ it is not functioning. So reply me if you have any solution. My Mean is when I run my application from localhost, validators works. But when I run my application from hosted site it doesn't. Your reply will be highly appreciated. R ...Show All
olmich .Net not sending E-Mails until the application closes?
Bit of a strange one, i made an application using .net 1.1 and it worked fine, but now its in .net 2.0 (and after moving the send_mail from the .web to the .net name space) its not sending the E-Mails when i call the .send method... When i close the application however i see all the E-Mails that i tried to send go out.. this is very strange Below is the code i use to send out my E-Mails, which like i say, worked fine in 1.1 usign the .web names ...Show All
Yenan How do I read a 250 Meg XML file?
Ok. A vendor is giving me a 250 Meg XML file. I am having a very difficult time reading this, because of the size. I keep getting memory errors in my application. Here is the basic code I am using to read this. I am sure that the xmlDoc.Load is reading the entire document into memory. What I need, is to read it a I go, not all at once. I can't figure out an Xml way of doing it. The only way I can t ...Show All
Carl916 How to create MSP and TSP for USB handset device and for CTI (computer telephony) board device with multiple connection lines
How to create MSP and TSP for USB handset device and for CTI (computer telephony) board device with multiple connection lines Main questions are: What assembly do we have to implement – COM object, DLL with specific methods or something else What interfaces do we have to inherit What methods do we need to implement in MSP and TSP How to work with audio stream inside MSP How to work with control information insi ...Show All
Ben Movie Magic Unrecognized configuration section 'microsoft.web.services2'
Anyone has a clue about how to fix this error. I am using WSE 2.0 (Unrecognized configuration section 'microsoft.web.services2') Thank you. I got it. I had to add the below element to Web.config file. < configSections > < section name ="microsoft.web.services2" type ="Microsoft.Web.Services2.Configuration.WebServicesConfiguration, Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, Publ ...Show All
Dr Clocker Service and COM don't work with Windows XP Service Pack 2
I have a service application created with VB.NET that creates a COM object. The service works fine in Windows 2000, but in Windows XP with service pack 2 it doesn't because it receives the "Access denied" error. If I create a windows form application instead of a service, it works fine even in Windows XP with service pack 2. Can someone help me I created a separated test service to run under ...Show All
Marcelo - MSFT Debug initialization code
How does one debug the initialization code I have a program written in VS C# Express. It works fine on the development machine (Windows 2000 Pro), both inside the IDE and running standalone. I take the same source code and run it under Windows XP and it fails during initialization (I know this because I have a MessageBox to indicate when I return from Initialization). When I run the program in the IDE on the XP machine, it works fine. How do I f ...Show All
