| Thread | Last Post | Replies |
|
| CSV connection string | 23 Aug 2007 21:54 GMT | 4 |
I am trying to import a CSV file into an Dataset in my ASP.NET app. I get the full path from an HTML input (file) control, and then take the filename string from that also. My problem seems to be in the connection string. The error I get when
|
| Addressing Virtual Method in a Base Class | 23 Aug 2007 21:45 GMT | 1 |
In the following code, calling CallTestMethod() from an instance of the derived class (the base is abstract and we can never instantiate it), referencing 'base.TestMethod()' actually calls 'TestMethod()' in the base class, but referencing 'this.CallTestMethod()' (defined in the ...
|
| Can't get colorpalette from some images | 23 Aug 2007 21:09 GMT | 2 |
I am trying to get color palette of image and change it: Image tmpImg = pictureBox1.Image; // Here tmpImg.Palette sometimes has 0 entries and sometimes has some entries
|
| NullValue Problem in typed dataset | 23 Aug 2007 20:21 GMT | 2 |
i am trying to pass null value for datetime field to typed dataset it is not accepting it is showing error as below 'Billing.FreightBillCollection.GetByDriverID(long, int,
|
| Shutdown, hibernate, sleep, logout, automatic logout. | 23 Aug 2007 19:49 GMT | 1 |
How do I detect those? Shutdown seem to be fine, it fires Form events and app shuts down properly. I need to detect when system locks up or other events happen. This is TCP/IP app and I need to notify oser users of this happening.
|
| Design Decision - Static vs. Non Static Classes | 23 Aug 2007 19:07 GMT | 9 |
In consideration of a "Utilities" class that contains methods intended to be used amongst multiple projects... Is there any general consensus on whether such a class should be static? I have traditionally and somewhat thoughtlessly created these sorts of classes
|
| IList .. No Sort ? | 23 Aug 2007 18:49 GMT | 1 |
List<string> sss = new List<string>(); sss.Add("z"); sss.Add ("b"); sss.Add ("m");
|
| C# Interaction.AppActivate Procedure | 23 Aug 2007 18:18 GMT | 2 |
I want to activate an application (Excel) in code. If I reference microsoft.visualbasic, I could use: Interaction.AppActivate("Microsoft Excel"); But I wold rather use a native C# approach. I know that Interaction.MsgBox
|
| C++ v C# | 23 Aug 2007 18:04 GMT | 17 |
I have a class library in C++ and it has hundreds of methods each having scores of static variables. Evidently, I cannot reference this library in a C# project so I must convert (right?). In converting the class library to c# I'll need to eliminate the static
|
| Using Object | 23 Aug 2007 18:03 GMT | 4 |
I'm using a library that returns an Object. The result can be either an array of strings or an XML document. First step, how can I cast the result (Object) to get access to the array elements?
|
| assign object reference to another object | 23 Aug 2007 17:12 GMT | 1 |
i have 2 Forms - ListView and DetailView. By clicking any element of the ListView the clicked order-object is passed to the DetailView, where it can be modified. If the order is modified and than a "Cancel"-button clicked, you navigate
|
| VBA macro not executing when called from a separate thread | 23 Aug 2007 16:56 GMT | 11 |
I am making the following call from a C# app to a VBA macro in Word: _wordApp.GetType().InvokeMember("Run", System.Reflection.BindingFlags.Default | System.Reflection.BindingFlags.InvokeMethod, null, _wordApp,
|
| MS installation, why I need both setup.exe and the msi files? | 23 Aug 2007 16:56 GMT | 6 |
It seems that the installation runs if I just run the .msi file but from the internet instructions it says I need to have both files at the target machine and run the setup.exe file. Would it be a problem if I just run the .msi file?
|
| how to know some fields were modified by user? | 23 Aug 2007 16:42 GMT | 3 |
how to know some fields were modified by user? list bellow my project: components: DataGridView,DataSet when user change the DataGridView colmons field value,we can use
|
| how to convert a bit pattern stored in 2 ushorts to a float | 23 Aug 2007 16:28 GMT | 2 |
I am reading values from a device through a TCP/IP socket that represent an ANSI float value. However, the values come across as 2 elements in a ushort array. I need to map the 2 values bit patterns into a floating point number to get the actual float values being returned.
|