Answer Questions
AndyHopcraft unknown exception - HELP!
I've been sitting at the computer for the past 9 hours straight (of course with breaks in between) I CANNOT get this error resolved!!!!! It's developing on .NET CF but I thnk it maybe more appropriate posting it here. sometimes it produces this error, sometimes not. The way my app works is that it connects to a server on your PC. You can disconnect from the client application (works fine no problem... i'll check again) or you hit a "stop" button ...Show All
hamdi4u Using HttpBrowserCapabilities without ASP?
I am trying to create a .NET stored procedure to run through a table of user-agents (collected with for statistics). I want to use the HttpBrowserCapabilities class to parse these user-agents so that i can keep better stats. I am currently doing this by parsing the user-agents myself. This is however a pain to maintain. Everything i have found on the subject of the System.Web.HttpBrowserCapabilities class refers to using request.Browser i.e. Htt ...Show All
tonn Help : "error: 40 - Could not open a connection to SQL Server"
I'm using VS2005 and SQL2000. I created a database name "myDatabase" in SQL Server 2000 and built a website that connet to this database. When I'm running this website in VS2005 IDE (press F5 or Ctrl-F5), everything is OK. I publiced this site. When I connect to database on my computer, everything is OK also, but when I connect to database on another computer, an error occurred like this : "An error has occurred while establishing a connection ...Show All
CConchelos SingleCall or Singleton?
Hi, SingleCall would make the server completely stateless which means that each call is different. Singleton is the correct approach for your requirement. I did not understand what u mean when u say it seems like all the servers share the same TasKM. Are these servers different remoting hosts or separate machines Regards, Vikram How are u concluding that all the clients are getting the same TaskM instance Are you testing it based ...Show All
PAANIS how i can cancel a regex.ismatch() when it's working
Regex re = new Regex(text, RegexOptions.IgnoreCase); if (re.IsMatch(text)) //it will be working for long time if the regex is not very right ..... i can't have a timeout property for the regex member,so how i can solve this I am not sure and maybe it is a silly answer but try to do it in thread. So you can suspend it You can use Timer object. And if Tick events you initiat your Regex object. If ...Show All
Rustum DataViewGrid Checkbox Bound problem to Oracle Database varchar2(1) Using VS C++.NET 2005 Beta
Hi there I get a Error Running my program with the Checkbox Binding. DataViewGrid Checkbox Bound problem to Oracle Database varchar2(1) Using VS C++.NET 2005 Beta 2. I have used the OracleDataAdapter and Dataset. I get the following Error: DataDridView Default Error Dialog The following exception occured in the DataGridView: System.FormatException: Formatted va ...Show All
Piyush Jain How can I gen connection string in config file from server?
Please help me ! How can I get connection string in web.config file from server when Remote Object has been registed on IIS The code details: Remote Object: Imports System.Runtime.Remoting Imports System.Runtime.Remoting.Channels.Http Public Class CustomerObject Inherits System.MarshalByRefObject Private m_strConnectionString As String Sub New () m_strConnectionString = System.Configuration.Config ...Show All
Chris.Utter Custom Installer Class
I thought I would stick some code in here to help enlighten what I am trying to do. below is the the custom install sub contained in the installer class. I am trying to get the source folder where the msi file is located. I am get the results indicated in the comments. Can some one please help me with how I get the source directory of the msi file which was double clicked on to initiate the insallation. Public Overrides Sub Install( By ...Show All
Samy Khalil Abushanab Sockets or Remoting for internet communication?
I need your advice on which thechnology to use. I'm building a chess game as a windows forms app, where users will conect to the internet and play with each other. I'm between using Sockets ans especially nSoftware's IpWorks v6 for .Net ore remoting. The client will exchange data very frequently with the server and a bidirectional channel is a must (i think). A connection between the client and server must be open during the game. Wh ...Show All
MarkleSparkle Update???
cString = "Update tblWatchInstance SET 'EstimateApprovedBy' = txtApprovedBy.Text WHERE tblWatchInstance.WatchID LIKE '%" + txtWatchID.Text + "%'" conn = New SqlConnection(ConnectionString) conn.Open() CMconn = New SqlCommand(cString, conn) CMconn.ExecuteNonQuery() I am trying to update my table...but there seems to be some sort of system error exception that i get can anyone look at my code sampl ...Show All
EBX Looking for something other than Ping class...
Other than the Ping class in the System.Net.NetworkInformation namespace, is there a way to tell if a computer exists on the network Thanks... Scott System.Net.Dns.GetHostByAddress smc750 I appreciate the response, but that method is obsolete in .NET 2.0. However, for your information, the new method is called GetHostEntry. Scott ...Show All
dcrewes Exception by sending email in ASP.NET 2.0
Hi All, I have an exception by sending email in Asp.Net 2.0: {"Client does not have permission to submit mail to this server. The server response was: 5.7.3 Client was not authenticated."} Here ist source: MailMessage message = new MailMessage (); message.From = new MailAddress ( "from@mail.com" ); message.To.Add( "test1@mail.com,test2@mail.com" ); message.Subject = "Email test ...Show All
ViKing.Net Transaction locking locks whole table!
moved here from http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=32&SiteID=1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hi, I'm having a problem with transaction locking. I need to BeginTransaction, read each line from a file and insert it to a table, then either Rollback or Commit the txn if all the inserts work. This is how I'm declaring the BeginTransaction... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xConn = New SqlConnection("server ...Show All
BeerBong Inserting string from XML file to System.Drawing.Image
What am I doing wrong I simply want to add the "im" field at the end of the path, so that the correct jpg is shown. I've created filestreams and everything works fine for the the text fields. The images are located in the "Program Files\SmartDeviceApplication1" directory, as is the XML file. If I type in the actual name of an image, it works, but of course the image is shown for every entry. (So I know the directory ...Show All
jh55557777 ActiveX not showing up with framework 2.0
Hello, I am using an activex control on my website. It was running fine with framework 1.1, when I try to run it on framework 2.0 it's not showing up. It's not showing any error message, just a "image not found icon" in webpage's body and "DONE" on IE's status bar. When switch it to framwork 1.1 it runs fine. What I think for the activeX not showing issue is that this might be some security issue because I had the same problem earlier with frame ...Show All
