Answer Questions
boblotz2001 Filtering Dataset
After filling a dataset I would like to further filter the results without repopulating the dataset. Any help would be greatly appreciated. One way of doing this. First I would bind the listbox by doing the following (which I assume you are doing): listBox1.DataSource = myView; listBox1.DisplayMember = "ColumnToDisplay"; listBox1.ValueMember = "PIDColumn"; When it comes time to get the selected valu ...Show All
Henry N GetLogicalDrives differences between 1.1 and 2.0
I have a computer on a network which has many mapped network drives. When I call Environment.GetLogicalDrives() or Directory.GetLogicalDrives() or [DllImport...]GetLogicalDrives by pInvoke I get different behavior whether I call it from .NET 1.1 or .NET 2.0: In .NET 1.1: I get all my drives, both local and network drives In .NET 2.0: I only get local drives. I'm really puzzled how making a pInvoke call could be affected by .NET security so I sus ...Show All
Leon Katsnelson InternetDial VB 2005 ???
I have a bunch of code VB 6 currently using the Wininet.dll API for connecting via modem or connecting vpn connections - uses already configured dial up networking. I currently do not see any classes in visual studio 2005 that will do this. Has this been left out I don't want to send commands to a modem, I see you can do that. Just want to use the already configured dial up networking to call back t ...Show All
Adrian Nicolaescu SQL UPDATE - "No value given for one or more required parameters"
I've used this structure in several other C# database programs with success, until this app. Now I'm receiving this: "No value given for one or more required parameters." The key is SAMS_ID. The data is text, no numeric fields. The code I used is below. I've tried removing the single quotes from around the date field and also from around any fields that contain numbers but still receive the same error. Anyone know w ...Show All
James Talon Plz Help... I think my Runtime Library is corrupted or something like that.
Sometimes I use this web page: www.banescoonline.com It's from a bank here in Venezuela and it was working perfectly. One week ago, when I tried to visit that page, an error message appeared showing: Microsoft Visual C ++ Runtime Library X Runtime error Program: ...Program Files/Common files/SymantecShared/ccProcy.exe &nb ...Show All
George Ionita xml parser for 1.1
i've read that xml parsers under system.xml is still slow in 1.1. what should we then use I'd recommend you go with System.Xml parsers itself. Take a look at the following blog post: http://blogs.msdn.com/mfussell/archive/2004/02/23/78929.aspx Regards, Vikram ...Show All
ThomasSob excel to access conversino
hi guys, i need to let the administrator of my site upload an excel file with specific format,and export its content and append it to an access table. can it be done using asp.net and c#.(Its an emergency) thank you in advance If your admin has Access installed there is a wizard that will allow him to import the excel file....as far as downloading the file all you need to give him is the URL to the file. HTH Thank you ...Show All
DannyArcher Deploying a Web Service an a local PC
This should be an easy one! What are the steps that I should take in order to get a WebService working on a local machine (not a server) and be able to access it from another machine in the same network Thanks. sorry _ you must inst. IIS then it is all done ...Show All
Koei How to use CredentialCache & DownloadFileAsync for Local Network
I tried to do a method to download a file from LAN or WEB. If LAN or WEB location don't have username and password the below method work. If WEB location have an username and a password the method work. If LAN location have a username and a password the method didn't work. The file was shared on WinXP Pro and the folder can be mapped with Windows Explorer (if username and password is correct of course). Private Sub TransferFile( ByVa ...Show All
Brian Sutherland Interview question in CLR
Hi, Can any one give me some interview question in CLR. Regards, Srinivasa D Parupalli. .Net Interview questions and answers Some links that cover various interview topics: http://blog.daveranck.com/archive/2005/01/20/355.aspx http://www.techinterviews.com/index.php cat=9 Interview Questions: C# http://blogs.crsw.com/mark/articles/252.aspx Interview Questions: ASP.NET http://blogs.crsw.com/mark ...Show All
colin c Rounding numbers
Hi, I want a function to pass in a number and have it returned as a string formatted for accounting purposes so 1 should return £1.00 1.1 should return £1.10 1.25 should return £1.25 so 2 decimal places EVEN IF the source number is whole i.e 1000 should be £1000.00 I have this but it doesn't seem to work when the source number is whole, 1000 returns £1000 Public Shared Function Cn(ByVal amt As Decimal) As String Dim a As Decimal = System.Math.Ro ...Show All
TonyDixon Marshal.PtrToStructure (System.AccessViolationException was unhandled)
hi all i have problem of using Marshal functions, i have the following struct and i have byte array and want to move the byte array ti the struct. public struct TagFolderStruct { public int NoOfSubFolders; public int NoOfDocs; public int FolderID; public int ParentID; public int Owner; public int DataDefIndex; public int FinalizedBy; public int SiteIndex; public int ...Show All
Anonymous654465465 Increase in number of handles
Hi, I have a VB .NET 2003 Windows appl. Application is multithreaded handling 8 ports. The number of handles keep growing when monitored thro' the task manager & we reach to a point that the server should be restarted. Even an application restart doesn't help. Any known issues on this subject For the objects that I've created, I've implemented Dispose mthd & called the same at appropriate places. Lot of work cleaning up is e ...Show All
hellosmithy PInvoke, SendMessage API, etc.
Are there any reference sources for Windows API function declares (Pinvoke statements) in .NET, or VB.NET With the SendMessage API I need to specify lparam as an object, but apparantly I'm not allowed because I get an 'unbalanced stack' error. Can I turn these off Do they really matter Advice or pointing me to some help material would be appreciated. ForgottenCoder wrote: Are&nb ...Show All
Tom Regan **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
