Answer Questions
PatMc .Net Oracle process error
hi This is regarding a performance issue in my windows application... Maximum possible process in my oracle server is 150... Sometimes my users wont be able to log on to my application since it exceeds maximum processes.. so we have to restart my oracle server.... Can anyone suggest the best practise to avoid this...im using Visual studio 2003 and coding in VB.Net Thanks hi now im bit confused..whether to use Pooli ...Show All
sensores Control the order of calculation for fields with expressions
c#, VS2005 My DataTable is having several 'calculated/expression' fields. Is there a way to control the order of calculation so that i would be able to use a calculated field in another, but be sure that field x is calculated before being used in field y. Kind Regards Harry As I know there is no way to control it. I would expect that calculations suppose to start from the *bottom* of the calculation t ...Show All
Jeff_S Win32_StartupCommand lists only the First alphabetical entry of Startup Folders.
Preview Message Win32_StartupCommand lists only the First alphabetical entry of Startup Folders. Hi All I am trying to list all the Startup Commands of a computer using Win32_StartupCommand class. The code is: strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colSt ...Show All
Adam Friedman Accessing COM+ from a different machine
Hi Guys, I need to access a COM+ which is located on a different machine. What is the correct procedure to do it I tried exporting the COM+ as an MSI file, and installed it on my comp, and from dotnet when i try to add a reference to the COM object(which i installed on my comp), an error is shown saying 'Type Library was exported from a CLR assembly and cannot be re-imported as a CLR assembly'. How do i reference to that COM ...Show All
aownbey SQL SecurityException, but only when debugging remotely?
Hi All, I'm having trouble remotely debugging a console application. The application will run on my server, but I am developing it on my desktop machine. I am using Visual Studio 2005 and C#. On both machines (server and desktop) I am logged in with my domain account that has administrator rights on both machines. When I run the executable on the server it connects to the SQL Server 2000 instance without problem and starts acces ...Show All
Praveenk_RS Mixing XmlSerializer and XmlTextWriter/Reader
Like many people, I have an application with some data to save to a single file (and to read it back later). My data consists of ints, strings, objects, etc. I want to avoid/minimize the laborious and error prone work of converting all my objects into a series of strings to represent its properties. I want an easy way of reading back the data without having to have scores of switch statements. The examples I have se ...Show All
anchorpoint Problem inserting small date time in a sql server database
Hi, I have a cell in a sql server database that is off datatype smalldatetime. I am trying to pass in the value of todays date in a sql insert command but I keep getting the error "The conversion of char data type to smalldatetime data type in an out-of-range smalldatetime value" Below is my code(C#) DateTime TodayDate = DateTime .Today; int Num = 1; string text = "Test" ; //To test that the insert work ...Show All
Feng Yuan Automatically detect a CD and read CD contents
Hello all, I am trying to make a module which will do two jobs: 1. Automatically runs when a CD is inserted into the cd rom drive. 2.copies the contents on CD to any location on hard disk. I am usng C#.net 2003. Anyone please help me! Thanks The code given does exactly what it should do, detect if the CDROM was inserted in the drive. what errors (if any) do you get And what program do you want to automatically ...Show All
RBowden Text Escape in Regex
Hello, I am new to c# and i am having some problems with regex. Every time i try to "scape" . or ^ or +, etc i keep geting this error: Error 1 Unrecognized escape sequence . I have search the net among other things on how to scape those character and they say i need to use \. or \^ ,but that doesn't help. This is the regex i am using: if(!File.Exists(Regex.Replace(textBox2.Text,"\\.+\.html","").ToS ...Show All
TerryWang cannot create new project
hi.. i installed vs-2005 after installed i cannot create new project error is " exception type system exception was thrown " how can i solve this problem please.... one more --> how can i open crystal reports from client side please balaji.k ...Show All
smitprabhu WebService - Sessions & Timeouts
Hi there, I have a webservice for file uploads&downloads that implements sessions to transfer large files. I defined the webmethod with [WebMethod(EnableSession= true )] and web.config Session Timeout to 2 minutes. I don’t know why, but the global.asa Session_End event is not triggered and neither is Application_Error. Is there any thing I have to setup How can I configure the application to fire the global.asa events I need to have ...Show All
Billy Porter Disappearing updates in local SQL Server Express database
Hi, I created a SQL Server Express database and added it to my project by using "Project|Add New Item" and selecting "SQL Database". I then added a single table to the database and added a single text column to the table. I dragged the table to an empty form which prompted the UI to automatically add a datagridview, a binding source and a dataset, configured and ready to go. When I run the program, I can add data to the ...Show All
Lucky5 "exists" operator in xpath
Hi experts, is there a more efficient way to find out wether a specific element (get by attribute) exists in an other XML document, than: if 1st_xpath_navigator.Select( "element1[@attribute='" & 2nd_xpath_navigator.GetAttribute( "element2" , "" ) & "']" ).Count = 1 then this works, but seems a bit complicate to interpret. Thanks, Tom ...Show All
kudosdude Reading and Modifying a Text File
I'm attempting to create an application that will open a text file specified by the user, then search the file for key strings and increment a variable for each time the string is found in the code. I currently have no idea what to do. I planned on opening the file and reading each line, but the program will be looking for 162 different strings over 20k+ lines. I feel that coding this way wouldn't be very processor friendly. These is a high chan ...Show All
dont20319 Multiple Row Deletion in DataGridView
Hi, I would like to delete multiple rows from a bound datagridview Its currently deletes only one of the many rows I may have highlighted. What code can I use and where. Is it possible to do it in the Partial Class in the Dataset If not, where in my Windows Forms can I use it I can use any of the DataBindingNavigator buttons or create a new one. Any help Regards, &n ...Show All
