| How to find if a value is null (2 replies) |
| microsoft.public.dotnet.general |
| Hi, I have run a stored proc against a database to retrieve a list of date values. What i wanted to do is to add the values returned to an arraylist if the value is not null. here is a small portion of my code that i am using.... Try MyConn.Open() Dim rdr As SqlDataReader rdr SPretDate.ExecuteReader() rdr.Read() Dim FlightDate As String (rdr.GetSqlDateTime(0).ToString) 'if flightDate is not Null t... |
|
| { ot } You know what's depressing ? (2 replies) |
| microsoft.public.dotnet.general |
| You know what's depressing. Ok, so now that I just bought this super high powered desktop machine and up Suse and w2k on it, I'm scoping around for some media and games to put it to the test. For the past 2 years or so, I have either not had a PC or else had a relatively low powered machine just enough for text based computing, some web browsing and maybe a very low bandwidth audio stream. A while... |
|
| List of activated fonts does not include shortcut activations (2 replies, VIP) |
| microsoft.public.dotnet.general |
| Our font management tool, Suitcase, activates fonts dynamically by creating shortcuts in the Windows font folder. Using System.Drawing.Text.InstalledFontCollection to get the list of font families from the system yields only the fonts whose files are physically in the system font folder not the shortcuts. None of our applications have any problems using the fonts activated by shortcuts. Can anyone... |
|
| Documentation for web browser control. (2 replies) |
| microsoft.public.dotnet.general |
| Hello, I'm looking for the documentation of web browser control that explains what each function means, I've looked and looked everywhere but for the light of me I coulnd't find it anywhere. anyone know? Thanks, Hadi |
|
| CDOEXM in C# (5 replies, VIP) |
| microsoft.public.dotnet.general |
| I'm fairly new to C# and I need to be able to enumerate the storage groups and mailstores on our Exchange 2k server. So far, i've figured out that I need to ue CDOEXM which I've added as a COM reference. I can instatiate a server object and iDataSource2: CDOEXM.ExchangeServer ExchSrvr new CDOEXM.ExchangeServerClass(); CDOEXM.IDataSource2 ds2; But how do I attach the IDataSource2 with the server ob... |
|
| Intelisense bug in Visual Studio .NET 2003 (2 replies) |
| microsoft.public.dotnet.general |
| Hi, I'm migrating from VC6 to VC7.1 (.NET 2003) and I'm having the following problem with the IDE: Several times when I do Ctrl Space to invoke intelisense to fill me a known var name or identifier, the IDE reaches almost 100% CPU and it hangs ( it seems that it enters a infinite loop mode, or something else). I'll be happy to hear how to diagnose, or send it as a bug to Microsoft support or somet... |
|
| Need list of standard ngen'd assemblies (3 replies) |
| microsoft.public.dotnet.general |
| So I had an 1D10T moment today: ran ngen /delete * and then compounded my error by closing the window. Of course now my window code starts far slower, but I don't want to blindly precompile assemblies because from what I know that might just as well slow things down as speed them up. Could someone out there run ngen /show for me and post a list of the standard precompiled assemblies so I know whic... |
|
| Developing a shared application/service (3 replies, VIP) |
| microsoft.public.dotnet.general |
| Hello group, I have several ASP.NET websites using (so far) a console application (from a collection of parameters, this application builds a PDF file through several professional tools in DOS mode). The websites launch the application when appropriate, and we know where the PDF file will be when the console application is finished (that one also create a log file to state if every step went fine,... |
|
| Object if not already created (6 replies, VIP) |
| microsoft.public.dotnet.general |
| Can someone help me out? I am trying to create, it already does not exist a new object. I have tried the following without success, and I get an "out of stack" error as well as not valid. If myObject False Then Set rfl CreateObject("ReflectionIBM.Session") I also tried: If rfl Nothing Then Set rfl CreateObject("ReflectionIBM.Session") Thanks. |
|
| datatype conversion (4 replies, VIP) |
| microsoft.public.dotnet.general |
| Hi, I have wrote code to pull a date from a database using a datareader. I keep getting a message that states that... Cast from string "Null" to type 'Date' is not valid. Does anyone know how i can get rid of this message appearing? What i am trying to do is to retrieve 2 dates from my database. this is ok. I then want to make sure that both dates are not null (i.e a value exists for both dates). ... |
|
| Saving and Opening Files (2 replies) |
| microsoft.public.dotnet.general |
| hi, I am writing an application in which i want to open and save files in text boxes using dialog boxes in the software. I have a text box, in which content is typed and then I want to use Streamreaders and writers to save them to txt files. could anyone please help |
|
| "Warning Page has expired" message (2 replies) |
| microsoft.public.dotnet.general |
| I have an intranet .NET web application running on my server. Everything works fine until 2 weeks ago. One of my user start to get message "Warning Page has expired" on almost every pages when she is using the BACK button, but other user in the same building are not getting this message. Is there any setting or something that I can look into to solve this problem? Thanks, John |
|
| How to avoid automatic scrolling on focus? (4 replies) |
| microsoft.public.dotnet.general |
| I have a panel which is located in a AutoScroll enabled panel. The problem is when I click in the panel, the contining panel automatically scrolls to position (0,0). How can I get around this annoying behaviour? cody [Freeware, Games and Humor] www.deutronium.de.vu || www.deutronium.tk |
|
| Convert VB code to C# code (7 replies) |
| microsoft.public.dotnet.general |
| I need help converting the VB code: Private Sub Button1 Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cntrlTester As Control Dim chkTester As CheckBox Dim sb As New System.Text.StringBuilder For Each cntrlTester In Page.Controls(1).Controls If TypeOf cntrlTester Is System.Web.UI.WebControls.CheckBox Then chkTester cntrlTester sb.Append(chkTester.ID & ... |
|
| ORA-1866 The datetime class is invalid error...the saga continues! (4 replies, VIP) |
| microsoft.public.dotnet.general |
| Hi all, I am still in need of help with this Oracle issue. Please read below as I have copied my original request for help along with the 2 replies I got. If any one can help me out at all I would be eternally grateful! I have also included my response to both replies received in hopes that including all this back ground info may be helpful to someone looking to help me out. As always, thank you a... |
|
| ArrayLists (4 replies) |
| microsoft.public.dotnet.general |
| Hi can anyone help me answer a few questions regarding arralists? 1) If i add numerous intergers to an arraylist (i.e 4, 1 ,7, 23, 4, 2) how would i retrieve the INDEX of the value that is the smallest? 2) When i set the datasource property of a datagrid to an arraylist containing the list of integers no values are shown in my datagrid. The correct number of rows seem to appear everytime but i jus... |
|
| Something similar to mod_rewrite? (2 replies) |
| microsoft.public.dotnet.general |
| In Apache there's a pretty powerful module called mod rewrite. Is there anything like that in dot net? |
|
| Assembly Reference Problems (2 replies) |
| microsoft.public.dotnet.general |
| I'm having a major problem with assembly references that I keep running into, and I'm really hoping that someone can help me out. The problem occurs when I have three projects in my solution, two of which I have developed in VB.NET and one in C#. When I use Project A (VB) inside Project B (C#), and then from Project C (VB) reference methods of Project B that uses classes from Project A, I get an e... |
|
| C-Sharp NG (5 replies, VIP) |
| microsoft.public.dotnet.general |
| Hi, Are there any newsgroups for C Sharp? Thanks. |
|
| Setup Project: How to add a Word Document to Start Menu (3 replies, VIP) |
| microsoft.public.dotnet.general |
| Hi, I have a setup project that has a .chm file and a .doc file as part of installation. They show up on the start menu of the user with the default icon shown in the project. Not the help icon and the word icon. How do I change these icons in the setup project? Thanks. James |
|
| CSV File to database. (5 replies, VIP) |
| microsoft.public.dotnet.general |
| Hi, I have the following text file: 1120,011522169050,01, 0000001,031221,0005.95,2003,8331308,20031222 9924,014305689050,01, 0000001,031221,0005.95,2003,8331308,20031222 1883,012152869050,01, 0000001,031222,0005.95,2003,8331308,20031223 1896,017202869050,01, 0000001,031221,0005.95,2003,8331308,20031222 1896,072211119050,01, 0000001,031222,0005.95,2003,8331308,20031223 1908,028502869050,01, 0000001... |
|
| Session Variables created in ASP Classic: Can they be read by ASP.NET code? (3 replies) |
| microsoft.public.dotnet.general |
| I've been smacking into one brick wall after the next in converting some of my code from ASP Classic to ASP.NET. This one is a real bugger. I use Session Variables to help with User Security. If they drop a key Session Variable then they are signed out of the application. I create this session variable at Signon in Classic ASP code, but as I am finding out the hard way later ASPX code modules are ... |
|
| Problem with ASP.Net server app and VB6 client (3 replies) |
| microsoft.public.dotnet.general |
| I have written a web server application using ASP.Net that handles requests from an HTTP client. I wrote a small test client in VB6 using the MSINet ActiveX control, to load test the server. The client makes repeated requests of the server and keeps track of the number per second it is able to get processed. When I run both the client and server on one machine, I get about 150 per second. When I m... |
|
| Disabling objects on a web page (4 replies) |
| microsoft.public.dotnet.general |
| Hi, I've got a .NET web application and once a user presses a certain button the the page I'd like to disable other buttons straight away so that the user can't press anything else while calculations are performed. I realise that if I put code to disable other buttons at the start of my button press procedure then it doesn't actually happen until the page refreshes, which is after the calculations... |
|
| Deployment Trouble (5 replies) |
| microsoft.public.dotnet.general |
| Hi, I have currently migrated my asp.net application to a new server. Problem is, the buttons dont seem to be working when i access the application from any computer other than the server. If i open IE in the server the application works fine, but if i open it from another computer, the buttons dont do anything when clicked. What can the problem be? |
|