| Thread | Last Post | Replies |
|
| Manually creating a form | 23 Jun 2006 21:10 GMT | 10 |
I'd like to re-create a form given only its resource file. I was going to simply read the resource file and re-create the "Form" object and all its controls as found in this file (applying all properties in the file and relying on the default properties for those not found). ...
|
| get user id | 23 Jun 2006 20:58 GMT | 5 |
Is there a way to get the logged in user and if the user id does not match mine to log them out? I'm going on vacation for 2 weeks, and my co-workers are pranksters, so if they log into my pc to do whatever, I want to kick them out right away.
|
| System.Type.Type() | 23 Jun 2006 20:16 GMT | 2 |
What happens if I pass the assembly-qualified name of some type to "System.Type.GetType()" where the name I pass originates from another machine. For instance, for a standard button control, what if I invoke: Type.GetType("System.Windows.Forms.Button, System.Windows.Forms,
|
| MethodInfo.Invoke and reading ref parameters | 23 Jun 2006 19:48 GMT | 1 |
I can't find a solution to this, so I've brought it to the experts. Using reflection I can get a MethodInfo object pointing at an assembly's method. Where I have a MethodInfo object pointing at a function, say func(int
|
| Memory increase over time | 23 Jun 2006 19:27 GMT | 5 |
I am having a memory problem with my application. Plain and simple all the program does is runs through a bunch of images and prints them to a PCL Printer. The first part of the application that I am noticing the memory increase is when its scanning the specified directory I get an
|
| Program problem, seems simple... | 23 Jun 2006 19:01 GMT | 10 |
Okay, I'm a noob at C# and microsoft's IDE, but have a fairly long history of programming (with, cough, Delphi). I'm writing a mobile app in C# with Visual Studio 2005. I think there must be something fundamental that I'm missing and could use a pointer in the right direction.
|
| Updating Application Icon | 23 Jun 2006 18:53 GMT | 4 |
I have a Windows application that previously had the company logo "MyCompany.ico" added to the upper left-most corner. The company has since issued a new version of "MyCompany.ico" that looks completely different. I overwrote the old ico file with the new ico file and re-ran the ...
|
| Fairly simple I think | 23 Jun 2006 17:53 GMT | 3 |
If I have a string representation of a property such as "MyObject.SomeProperty", how would I then create a "MyObject" object and invoke "SomeProperty". Any assistance would be appreciated. Thanks.
|
| SQL Updates | 23 Jun 2006 17:16 GMT | 4 |
I have sql updates that I need to apply to the new version of my application. This is a text file with bunch of updates like new tables, stored procedures, etc. I can run this file on sql query analyzer to apply all the updates at
|
| Closing socket during async Receive | 23 Jun 2006 17:08 GMT | 8 |
I am trying to write a Tcp "Server" that opens a class that wraps a tcp socket when a new connection is made (Listener.AcceptSocket()). Everything is going swimmingly except when I try to close the socket during a read and I get the following error:
|
| "lock" keyword and exceptions | 23 Jun 2006 17:02 GMT | 1 |
Hi. Quick question: - I have a class with fields. There is one method that modifies them. in this method I have something like lock (this.lockObject)
|
| Calling javascript from a C# condition? | 23 Jun 2006 17:00 GMT | 2 |
How can I call my javascript from within my C# "IF" statement? I have a function called dirError() that only displays an alert: function dirError() {
|
| Sorting A DataTable | 23 Jun 2006 16:57 GMT | 6 |
I've been looking around for ways to sort the rows in a DataTable, and everything seems to point to just changing the Sort property on that DataTable's DefaultView property. That's all well and good for viewing it sorted, but I need it to actually _be_ sorted, and testing seems ...
|
| Does 2.0 still require ODP.NET to connect to Oracle? | 23 Jun 2006 16:50 GMT | 7 |
I need to connect to an Oracle database. I've never done it before. I see that with framework 1.1 you had to download ODP.NET from Oracle's site in order for the framework classes to even work. I tried that quickly, but the file is 400 MB, and the the installation asks for ...
|
| IDataErrorInfo Interface | 23 Jun 2006 15:59 GMT | 4 |
I really want to use the IDataErrorInfo interface. I'm using it now in combination with an ErrorProvider and this seems really good. But the downside: IDataErrorInfo wants to use a string indexer on my class. No big deal, but now I have a class where I want to use my own
|