| Logon Failed-Crystal Reports -Desperate for HELP! (2 replies) |
| microsoft.public.dotnet.languages.csharp |
| If I don't include a change to the formula in my code below, i.e, instead of this oRpt.RecordSelectionFormula oRpt.RecordSelectionFormula "' and {RECORDS.CONSTITUENT ID} '" & "'" & sConstitID & "'" 'existing formula if I do this : oRpt.RecordSelectionFormula oRpt.RecordSelectionFormula the code works, but if I include the change to the formula I get the logon failed error. I have two different rep... |
|
| radix limitation ? Convert.ToInt32(ch.ToString(), 36); (2 replies) |
| microsoft.public.dotnet.languages.csharp |
| Hello C#Team, I need radix 36, I can't beleive! this is not yet implemented or ?? Regards Prabhu |
|
| Parsing a large dbf and modifying a column (4 replies) |
| microsoft.public.dotnet.languages.csharp |
| I need to parse a rather large dbf, decrypt one coulmn and update it in a Windows application. I have the odbc components but I'm having trouble getting them to work, especially with large tables. I need to know the most efficient way to do this. I don't need to see the records in a grid, I just need to walk the table modifying each record as I go. Thanks in advance. Bill |
|
| Sending the message to 255.255.255.255 (2 replies) |
| microsoft.public.dotnet.languages.csharp |
| Now I am developing DHCP server using C#. I try to send the packets using broadcast IP address 255.255.255.255 to the port 68, It is not accepted by the client (ipconfig /renew command ). When I tried to see the process using network monitor ( Kerio Network Monitor ) I came to know that the packets were tossed to 202.56.230.5 and to the port 53. I could not understand it, because the IP given in m... |
|
| Iexplorer instance is 0 byte. (3 replies) |
| microsoft.public.dotnet.languages.csharp |
| I'm trying to use SHDocVw in asp.net application. The attached source code doesn't do what i want it to do. Pleas help me. Best regards Andla Source code: //Added COM reference to the ShDocVw.dll in the system32 directory. using SHDocVw; public void OpenBrowser(string url) { object o null; ie new SHDocVw.InternetExplorerClass(); Response.Write(ie.ToString()); IWebBrowserApp wb (IWebBrowserApp) ie;... |
|
| struct vs. class when to use what? (5 replies) |
| microsoft.public.dotnet.languages.csharp |
| For entities (aka value objects, data objects) that carry only data and don't have any public or priviate methods, what's a better way to implement them? struct or class? Say if I have a business object called "User", its only purpose is the carry data such as user name, access etc and the only operations would be to get data in and out of it. Seems to me a struct is better choice. What do you thi... |
|
| Trying to set BG color on specific Rows in DataGrid (2 replies) |
| microsoft.public.dotnet.languages.csharp |
| Given the DataSet ds and the DataGrid dg, I want to find those rows that contain specific text and change their background color to something other than the default. Does anyone have any idea how to do this? I've gotten this far... but can't figure out the rest... for (Int32 i 0; i ds.Tables[0].Rows.Count; i ) { System.Data.DataRow dr ds.Tables[0].Rows[i]; object[] oArray dr.ItemArray; if (oArray[... |
|
| Reflection Emit (4 replies) |
| microsoft.public.dotnet.languages.csharp |
| I currently have some functions stored in XML files. I dynamically retrieve them as text and compile them using CodeDom. How can I do this using Reflection.Emit. Code sample would be very much appreciated since I am pressed for time and cannot tinker around too much. Assume this is my validation function in XML. private void validate() { int test; if (test 0) MessageBox.Show("error"); } Thanks in ... |
|
| Cursors (2 replies) |
| microsoft.public.dotnet.languages.csharp |
| i'm trying to change cursors in a windows form (i want the WaitCursor).. it seems straight forward, but when I change Current.Cursor Cursors.WaitCursor it's not changing |
|
| Localization of Help bug in VS.NET (3 replies) |
| microsoft.public.dotnet.languages.csharp |
| This has been brought up, apparently as early as Nov. of 2001, and the bug still exists, so I'm curious if anyone knows if MS has any intention of fixing this, or if those of us doing localizable apps are simply screwed? Basically, if you add a help provider to a localized form, the code it inserts is faulty and won't compile. Essentially, calls to SetHelpKeyword and one other method, fail because... |
|
| HTML Help issues (2 replies) |
| microsoft.public.dotnet.languages.csharp |
| I'm having some issues with the HTMLHelp stuff. First of all, because I'm using localization, I can't use HTMLHelp the way it's built in because of the bug mentioned in my previous post. I created a class called HelpSystem that choses the help file based on the current language. This part works beautifully. I then have a SetTopic method that I then use. The code for the class is below. More commen... |
|
| Reading a web response and getting past a "Transitional" web page (2 replies) |
| microsoft.public.dotnet.languages.csharp |
| I need to read the results of a HttpWebRequest for a specific URI. Before the results of the request are returned, however, a "Transitional" web page is displayed and I end up just getting the results from that "Transitional" web page. You can see this phenomenon with just about any flight search site you search for a flight and a "...in progress..." page appears before you see your actual results... |
|
| Testing if a process is running (3 replies) |
| microsoft.public.dotnet.languages.csharp |
| How do you test how many instances of a given type of process is running (say a database daemon) thank you. |
|
| Arrays and Dimensions (3 replies) |
| microsoft.public.dotnet.languages.csharp |
| Is it possible to have something like this or similar ? public enum DIMENSION { Dim1, Dim2 }; public bool[DIMENSION.Size] arr; arr[Dim1] true; arr[Dim2] false; Thanks in advance Outgoing mail is certified Virus Free. Checked by AVG anti virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 Release Date: 3/10/2003 |
|
| DataGrid collumns width (2 replies) |
| microsoft.public.dotnet.languages.csharp |
| Hello Group! In my apps I fill dataGrid2: SqlDataAdapter sqlDADoor new SqlDataAdapter("SELECT uiName, Description FROM Door", sqlConnection1); sqlDADoor.Fill(dataSet1,"Drzwi") dataView2.Table dataSet1.Tables["Drzwi"]; dataGrid2.DataSource dataView2; My question: How in DataGrid2 change column width / column "uiName" width 100; Description width 300 thx PawelR |
|
| Threads (2 replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi all, I have an app which creates a thread to do some labourous work (fetching images from a database). Thing is, this thread requires 'starting' every time the user chooses which could potentially be in quick succession. How can I restart the thread to do the same operation a second time? Even if the thread finishes properly and ThreadState Stopped, I can find a way to restart it. I can't repea... |
|
| Values from AssembyInfo (2 replies) |
| microsoft.public.dotnet.languages.csharp |
| How can I obtain in my program datas from internal AssemblyInfo.cs? Example: [assembly: AssemblyTitle("bla bla")] And that text "bla bla" I need obtain to my program. |
|
| AppDomain.CurrentDomain.BaseDirectory ?! (2 replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi All , : ) I have to find the directory path in which my windows application / windows service runs. Does AppDomain.CurrentDomain.BaseDirectory always return the correct value? I have found out a strange problem, sometimes this returns "C:\" instead of the correct path.... Any ideas? TIA Sunil |
|
| C# and COM Interop: Object doesn't support this property or method (2 replies) |
| microsoft.public.dotnet.languages.csharp |
| All, I've got a C# class exposed as a COM object for interop purposes and am receiving the above error. I've scoured the search engines to no avail. The calling client is JScript/VBScript. The calling code can create the object but cannot access any public properties/methods. Any help is appreciated. Thanks, Michael |
|
| Serialization and Strong Names... (3 replies) |
| microsoft.public.dotnet.languages.csharp |
| I just strong named my assemblies, and now none of my old serialized data files will not load. Is there a permission to set to ignore strong naming when deserializing these files? Thanks, Michael |
|
| SqlConnection or OleDbConnection (4 replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi, I have a general question. I haven't had an opportunity to benchmark the SqlConnection and OleDbConnection classes. I've used both in a limited role and find they are extremely similar. If my database is MS SQL Server, is there a performance benefit to using the SqlConnection class over the OleDbConnection class? Or should we just get in the habit of using OleDbConnection because it supports m... |
|
| Creating new appdomain (3 replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi, My program, test.exe, is depending on business.dll (ver 1.0). I want to dynamically create an instance, using createInstance(), of the class myTask in the file myTask.dll. The problem is that I want myTask.dll to run in a sub directory, since it is depending on Business.dll (ver 2.0). Both myTask.dll and business.dll (ver 2.0) is in the sub directory, taskSubDirectory. I tried using a new AppD... |
|
| How to determine Fonts folder in windows? (3 replies) |
| microsoft.public.dotnet.languages.csharp |
| Hello all, Is there an easy method to find out the Fonts folder in Windows ? Thanks SeeSharp |
|
| Checking for a running application (3 replies) |
| microsoft.public.dotnet.languages.csharp |
| Does anyone know how I can easily check programatically if a particular application is running. Namely SQL 2000 Enterprise Manager but maybe others in the future. Thanx! |
|
| Hide columns (2 replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi, In my apps: SqlDataAdapter sproc new SqlDataAdapter("EXEC dt GAE" procParam ,sqlConnection1); sqlConnection1.Close(); sproc.Fill(dataSet1,"Proc"); dv3.Table dataSet1.Tables["Proc"]; dataGrid3.DataSource dv3; Procedure dt GAE return table:/ FirstName. LastName, MidName, Adress, Tel, ObjectID, CityID My question: How in dataGrid3 hide columns MidName, ObjectID, CityID? thx PawelR |
|