| Stuck with retrieving values from a listbox (2 replies, VIP) |
| microsoft.public.dotnet.general |
| Hello all. I'm new to .NET and I am stuck and I just cannot get this to work (even after much searching). I have a listbox populated by data from an Access Database. The manner in which I fill the listbox is as follows: \\\\\\\\ dsClosedPos.Clear() dbAdapter.SelectCommand New OleDbCommand dbAdapter.SelectCommand.Connection dbConnect dbAdapter.SelectCommand.CommandText "SELECT * FROM qryClosedOutPo... |
|
| Error message when binding a listbox (2 replies) |
| microsoft.public.dotnet.general |
| I am attempting to display two list boxes. In the first list box is a listing of all entities. When a entity is selected and it has a subentity the second list box displays with a list of the subentities. The code works but I get an error at the following two steps: (Code is VB.Net on a form) 'set the data source to the data set's table SubEntity lstSubEntity.DataSource dsData.Tables("SubEntity") ... |
|
| Why do C# Compiled Windows based apps consume so much memory. (2 replies) |
| microsoft.public.dotnet.general |
| 20,000K just to get a Form and a few controls on the screen. Confused *S |
|
| Only administrators can run my application (3 replies) |
| microsoft.public.dotnet.general |
| I am new to dotnet programming and I face a problem with a Windows Forms application i did when I try to run it on a Windows 2000 Terminal Server. The application can be run only by administrators of the server. All other users cannot, I can see the process starting and after a while the process ends with no error and no message displayed. I assume that the problem has something to do with securit... |
|
| Correct way to get an updated control or DLL? (2 replies) |
| microsoft.public.dotnet.general |
| Can someone tell me the right way to get an updated .NET DLL (written in C#) or control for an ASP.NET application? I have copied the executable to the project /bin on the web server. I then delete the reference (for the DLL) or reconnect the control, and rebuild the application. It builds ok, but when I run it, pages say that the assembly version does not match, and it shows the previous version ... |
|
| CryptoStream Problem (2 replies, VIP) |
| microsoft.public.dotnet.general |
| I've a problem in my code using NetworkStream. I've a server which listen to a port, and then Read() from it, and a client that send data. My NetworkStream is wrapped in a CryptoStream, and my problem is that I don't get all the data that I send. When I use NetworkStream, all is working properly, but when I use CryptoStream (initialize to use the NetworkStream), I only get partial data. Anyone kno... |
|
| WINWORD.EXE still showing in task manager after using word to spell check text boxes. (4 replies) |
| microsoft.public.dotnet.general |
| I have created a test VB.Net form that will use MS Word to check the spelling of text in an input box. The test application runs without a problem and I quit the word application at the end of the spell check. However, the application is leaving a trail of winword.exe processes running on the system. PC is running W2000 SP3 The code and details of the form are detailed below. If anybody has any id... |
|
| VB question (9 replies) |
| microsoft.public.dotnet.general |
| I am using MS VB .NET 2002 and am very new. When I start the vb. net, it goes to module 1? How can I go to form design? Then I would like to put the crystal report control over the form. Thanks. |
|
| RegEx - Translate (7 replies, VIP) |
| microsoft.public.dotnet.general |
| Hi, I want to categorize using one Regular Expression: input: "Earth" output: "Planet" input: "Moon" output: "Planet" input: "Cat" output: "Animal" input: "Dog" output: "Animal" input: "Tomato" output: "Vegetable" input: "Carrot" output: "Vegetable" And if no match is found an empty string input: "^%&%#" output: "" Something like this: "if (Earth|Moon) then Planet ElseIf(Cat|Dog) then Animal... El... |
|
| Micosoft Projects 2002 (3 replies) |
| microsoft.public.dotnet.general |
| Hi, Does anyone have any idea is there a way to access the microsoft projects 2002 from dot net. Any links or content would be of help. Thanx Prasad |
|
| Using COM Interface in .NET (2 replies) |
| microsoft.public.dotnet.general |
| Hello group, I've read as much as I can in the .NET docs without my brain turning to mush. I've tried looking at Interop and System::Runtime::Interop (are they the same thing?) and I've been able to import the library (HNetCfg.dll) into my assembly, but I have no idea how to use the interfaces. I'm trying to get access to the XP Internet Connection Firewall API, which has interfaces like IEnumNetS... |
|
| How to convert LSet in VB6 to VB.Net (4 replies, VIP) |
| microsoft.public.dotnet.general |
| We have a VB6 windows application. It had LSet to assign a User Defined Type, a string, into another User Defined Type, an Array of String. It looked like : Type tPTString PTString As String * 22 End Type Type tPTArray PTArray (11) As String *2 End Type Dim PTS as tPTString Dim PTA As tPTArray PTS.PTString "ABCDEFGHIJKLMNOPQRSTU" ' 22 characters LSet PTA PTS We got PTA.PTArray(0) "AB", PTA.PTArray... |
|
| Can't install .NET Framework Service Pack 2 (3 replies, VIP) |
| microsoft.public.dotnet.general |
| On a Windows XP Pro system: Using Windows Update I let it scan for updates the only one it finds is "Microsoft .NET Framework Service Pack 2, English Version". (I have already installed Service Pack 1, English Version.) So I do the install. Now whenever I check updates it still tells me that a 'critical update', the file in question "Microsoft .NET Framework Service Pack 2, English Version", still... |
|
| How to assign permissions on file? (2 replies) |
| microsoft.public.dotnet.general |
| There are 2 Users on PC User1 & User2. It is necessary to assign for User1 "Full control" on file c:\test.txt & to assign for User2 "Read only" on fhat file. How can I do it using .NET framework classes & C#? |
|
| Linux Buzz: cat /dev/DiBona/brain: Considering Mono (2 replies) |
| microsoft.public.dotnet.general |
| http://www.linuxjournal.com/article.php?sid 7554 The question for the Free Software community to ruminate is this: Is supporting Mono supporting our own desktop downfall? A statement attributed to Steve Ballmer at a party a few years ago would support this possibility. To paraphrase, when asked about Mono, he shrugged it off with a statement alluding to the fact if Mono got too popular, that's wha... |
|
| WinFX - The Successor to .NET (8 replies) |
| microsoft.public.dotnet.general |
| Looks like .NET is old news: http://www.examguru.net/247reference/default.aspx quote Never heard of Avalon? Wow, didn't know those people still existed :) Anyway, these are the WinFX newgroups (microsoft.public.winfx.*). WinFX is the next generation set of API's for Windows codename 'Longhorn'. Avalon is the codename for the new presentation system that will replace the old GDI( ). Some key concep... |
|
| System.Net.Sockets (4 replies) |
| microsoft.public.dotnet.general |
| How can I open more then one connection? Let's say open http://www.yahoo.com then extract all of the image URLs so we can download them. But don't rely on a single connection. I really need some help here... ) |
|
| .NET compliants for users (22 replies, VIP) |
| microsoft.public.dotnet.general |
| I am trying to develop .NET programs because the development cycle is multiple times faster. But our clients complain that in order to use that, they have to install ..NET first and to do that they need to have administrator rights, so here comes a lot of paperwork to get one of the IT's to come and install it for them. (Company policy) So I am beeing asked to drop .NET and start recreating the pr... |
|
| Network access from c# code (called from ASP.Net) (12 replies, VIP) |
| microsoft.public.dotnet.general |
| Hello, We have a web application written in ASP.Net that calls an external C# program (.exe). This C# program needs to access data from a different server and is not able to do so. We use impersonate in the web config for the ASP code to be able to access the network and it is working fine. But since the C# exe is being called from the ASP code, it is apparently not running with the privileges of ... |
|
| Has anyone figured this out yet? (19 replies) |
| microsoft.public.dotnet.general |
| Hi all I have read a couple of similar threads but there seems to be no answer... We are loading a DLL using Reflection [Name of DLL or class name not available at compile time only its physical location hence no reference]. The only known knowledge is that the class in the DLL implements an interface defined in another known DLL Using [Assembly], Type, MethodInfo, Invoke etc we can work with the ... |
|
| Errors when loading large solution in VS 2003. (11 replies, VIP) |
| microsoft.public.dotnet.general |
| Hi, When I open a large solution in VS2003. I get over 2000 errors in my task list. The text "Empty" afters in the Class and Member dropdowns. If I close I get the Microsoft Error dialog, and VS2003 reloads. Any thoughts Tim |
|
| Hi all (3 replies, VIP) |
| microsoft.public.dotnet.general |
| Hi all, I have a doubt in converting an windows application written in C#.NET to VB.NET. What I did is siply written an application in C# and removed the Main function. copy the whole code and paste into a class library project. After that as usual i add the dll in VisualBasic Project's windows application.Thus i am able to get the total form and its functionality of the application. But is this i... |
|
| ADOX? (5 replies, VIP) |
| microsoft.public.dotnet.general |
| Hi, Can anyone tell me What for ADOX is used? Can I change Column DataTypes in SQL Server 2000 Table(Data already present) using ADOX features in VB.NET? If so, how? Thanks in advance for your help, pk |
|
| When FALSE is TRUE (9 replies, VIP) |
| microsoft.public.dotnet.general |
| In a .Net application, given a C dll with methods called by a C# GUI: Assume (x&y) is FALSE the following code in the C dll, when called from the C# interface: bool theMethod(unsigned int x) { unsigned int y 0x2 ; if (x&y) // FALSE ! printf("True") ; if (x&y) return true ; else return false ; } 1. Does NOT print the text "True" 2. Does return TRUE While the following code: theMethod(unsigned int x... |
|
| Programming with ever-changing formulas (4 replies) |
| microsoft.public.dotnet.general |
| Has anyone had experience programming with functions or formulas that occasionally change? We're working on a pricing app and it would be straight forward enough to build it with a known formula (price a b c/d), but we have to account for business conditions that change the formula. Does anyone know how to do this without recompiling? Thanks. |
|