Answer Questions
Paul Veitch establishing a TCP connection from an emulated device (Pocket PC)
Hi I am trying to create a server application that, once started, a Pocket PC application can connect to to retrive data. I cant even get a connection established with the Pocket PC device. I am constantly getting the socket exception saying the host activly refused the connection. I am using the loop back adapter and have bound the NE2000 card to it. Host only networking is also enabled. I have also removed the firewal ...Show All
Sasarivera Recurse and Enable WebControls
It seems like this ought to be such a simple task. We have several pages where the ASP WebControls have property Enable set to false. The idea being that not everybody can edit, and even if the user can edit, we want them to click the edit button first. My first go at the code behind (abbrieviated to show just one example) on the edit button looked like this: Protected Sub recurseControlEdit( ByVal oControls As ControlCollection) F ...Show All
nickelilltroll81 Appending from file to file
Hi, Im having a lil problem with 2 xml files. Im trying to append from file to file with C#. One xml file is on my pc, the other one is on the server. The xml file on the server gets input for appointments. They look like this: [code] < xml version="1.0" standalone="yes" > <Agenda> <Appointment> <Id> 1 </Id> <Date> 20060604 </Date> <Time> 120000 </Time> <Subject> whatever </Subje ...Show All
Maya__ Moving the file while it's still being created
Hi everyone, I have the following problem. I use FileSystemWatcher.Created event to call a procedure that needs to move that file. Well, Created event should be called Creating, because it raises when file creation begins, and while it is being created. So, my problem is that I can not move the file until process that is creating the file ends. This is my solution: Dim Success As Boolean While Success = False Try Succe ...Show All
Michelle A. IntegerValidator is silly...
Class, Test and very strange results below. Last time I checked, 2 was right there between 1 and 3. namespace Fido.SnmpPollerServer.Configuration { using System; using System.Collections.Generic; using System.Configuration; using System.Text; /// <summary> Represents a host element tag on the PollConfigSection </summary> public sealed class HostElement : ConfigurationElement { internal sta ...Show All
Lientjie Kat Error 27 Option Strict On disallows operands of type Object for operator '='. Use the 'Is' operator to test for object identity.
Hi Guys How would I best resolve this, VS 2K5 is complaing about the values in the case statements and not able to test for object Identity, I don't want to test for object identity I'm looking for values, I know I could add the ToString option after optCurrency.Value.ToString and then put both the "2" and "3" in quotes but that does't seem right either, any thoughts Select Case Me .optCurrency.Value Case 2 Me .optCurrency.Value = ...Show All
tirthankar System.IO.Ports problem? I/O Exception...
I've searched all over and seen a few instances of other people having similar issues but have yet to find a solution. I'm trying to connect to my GPS unit via COM3 I use the following: SerialPort thisPort = new SerialPort("COM3", 4800, Parity.None, 8, StopBits.One); thisPort.Open(); This always throws an exception: The I/O operation has been aborted because of either a thread exit or an application request I wrote a similar applicatio ...Show All
Rick G. Garibay How to design a secure online payment page that supports multiple merchant accounts
I have several merchant(vpos) accounts from several local vpos providers. How should I design an extensible application that includes online payment using this accounts. All api's have different futures. User selects which banks credit card to pay and then cost is charged from it. This payment page will be shared by multiple web applications. Kind Regards, Hi! Thanks for asking! I' ...Show All
Galen Parker Serialize read-only properties
First up, apologies for the long post, i just like to be as descriptive as possible in my opening post. I have written a small webservice that (attempts to) return a class. Basic Class Layout: <Serializable()> _ Public Class User Private _NTlogin As String Private _DisplayName As String Private _Department As String Private _EmailAddress As String Public ReadOnly Property NTlogin() As String Get Return _NTlogin End ...Show All
cirilo Problem with Reflection & Dynamic Linking
Hi guys I'm designing a program and decided to add plugin support so I readed an article about enabling plugins in .Net and did this 1- Class Library: Includes an Interface "EditorInterface.IEditor" 2- Class Library (The Plugin): Includes a Class "TextEditor.Editor" that implements that interface and of course I added a reference to the 1st class Library "EditorInterface" 3- Host Application which includes a referece to "EditorI ...Show All
KyrinComaBlack Randomly GNE "General Network Error" after upgrade MSDE 2000 to Sql2005 Express
I wish nice day, we have many, many bugs ( arround 10 errors messages from every user per week --- today 300 users using our application and up to end of May, 2006 we reinstal Sql 2000 MSDE -> 2005 Express next 750 users) from our application ( .NET 1.1, localDB on Sql2005 Express ) with exception bellow: ----------------------------------------------- General network error. Check your network documentation. -> ExecuteReader [.Net SqlCl ...Show All
PaulG Where is System.Speech.Dll????
I have looked near and far and cannot find System.Speech.Dll!!! I have installed all of the SDKs and still do not have ' \windows\Microsoft.NET\Windows\v6.0.4030\System. Speech . dll '. Does anyone know where I can find this ! What version of the Windows SDK do you have If it's the December CTP then it should be in Windows\Microsoft.NET\Windows\v6.0.5070 System.Spee ...Show All
nspangen3 Timeouts (one simple fix)
My application uses WebServices to transmit data to/from a Windows Form client. We are having a problem on several machines now, where communication with the web service just halts. After 10 - 15 minutes of usage, all web service call just start timing out. Using a trace, we see that no data is ever leaving the client machine and browsing the web still works fine. It seems that all the machines that exhibit this behavior have multiple NICs in ...Show All
No.1 Of Mew DllImports, APIs and TextBoxes! Oh No!
I have the handle of a text box on a form in another process (not .Net), and I want to either read its contents, or hook it so I can read new-content as its added to the the text box. So far, I have only been able to find material on setting the selection and disabling the context menu. If some one could point me at relevant a code samnple (Vb, VB.Net, C#) that would be awsome. Ok, I've gotten WM_GETTEXTLENGTH ...Show All
Mike Wentzel Can not add validation event handler for a Column.
Hi! I'm getting following error: Failed to add validation event handler because of the following error: Invalid Index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX)) When I double click on a column of datatable in dataset designer to add column validation handler. Can anybody tell me whether this is a bug or some error. How can I fix it Or is there anyother way to add event handler for a datacolumn regards. Hell ...Show All
