-
- Problem When Looping, Removing Node from NodeList, Count changes each time.
by Matt Fomich
- 14 Replies
- Last post
by Martin Honnen
- This seems like a simple problem to solve, but it is late, and I am tired.
I have an xml file that I would like to load, get data from, delete old data, and save changes to the xml document object. I am using a Nodelist, and then looping thru it, receiving current info, and deleting old info. Each piece of info is a custom notify alarm for an appointment-type scheduler, that another application
-
- Acropolis Support?
by nskumar
- 2 Replies
- Last post
by Ricky Tan - MSFT
- Please clarify whether Acropolis supports only Windows applications or it supports web applications too
-
- Messages Across A LAN?
by Fase
- 4 Replies
- Last post
by RizwanSharp
- I want to be able to send messages from my application on one computer across a LAN to another computer running this application (sort of like a LAN Messenger if you will, without NetSend). How would I do this System.Messaging Namespace TcpClient.Connect Method Are those what I'm looking for
-
- StreamLine Code - Transaction Control
by NET PR
- 2 Replies
- Last post
by cverdon
- Hi,
The language I am using is visual c# .net
I have a program that contains the following: functionA will call functionB and functionC and functionD. functionB will open the database and insert a record. functionC will open the database and query the database. function D will open the database and update the database.
I want to simplify that because: 1.I want to provide transaction contr
-
- How do I delete item while iterating through a Dictionary (or Hashtable)
by Ricky Wang
- 9 Replies
- Last post
by boban.s
- Hi, I use the following code ( red part) to delete items while iterating through the Dictionary foreach
foreach (KeyValuePair<string, AssemblyWrapper> currentPair in AssemblyDictionary) { AssemblyWrapper abWrapper = currentPair.Value;
abWrapper.Points -= AssemblyLoaderConfig.DecrementPoint;
if (abWrapper.Points <= AssemblyLoaderC
-
- Intermittent Web Exception
by AD 3289
- 3 Replies
- Last post
by Mariya Atanasova - MSFT
- I have been searching the internet now for about 2 days trying to find a solution to my problem. I am hoping and praying someone can help me out. I have an application in which I am using HttpWebRequest to post information to a web server that I wrote. I have several clients across the country using the client software to post information to the server but only one of them is experiencing the prob
-
- MySQL database connection
by asdf87
- 2 Replies
- Last post
by Kyle12
- I don't think the same database user (on the server side) can login more than once in to the same database at the same time is possible, but how can I access a database and login Each client connects to the same database, and each client would use the same user/pass for gaining access to the database.
-
- Problem reading URL
by tombraider
- 1 Replies
- Last post
by bola shokry
- Hey!
I've got a strange problem. I'll try to explain: There is a webpage (url1) where there is a linkbutton to another url (url2). If in internet explorer i navigate first to url1 and then to url2 there is no problem but if I open new explorer and want to go staight to url2 then i get some message from the site that data missing. I guess there is some session variables that the site holds and w
-
- Remoting
by Sunder Vel
- 4 Replies
- Last post
by SathikKhan
- Dear All ,
We have Developed a Application with .net Remoting, that works fine but my problem is when any exception occurs in my business login(Remote Object ) My application gets terminated and my Clients accessing the remote object gets affected , is there any method to handle this situation .
-
- WF and acropolis navigation?
by Alex M.
- 5 Replies
- Last post
by acropolis
- Hi all,
As Kathy said in some conversation Windows workflow is considered to be used for navigation in Acropolis.
I'm interested in some examples if any,or links or just some hints how is this to be done
Thanks,
-
- Posting Files with HttpWebRequest..
by Diguu
- 1 Replies
- Last post
by Durgaprasad Gorti
- Hello guysss...
Let me explain my problem: I have two pages, the page A.asp and the page B.asp . The page A.asp just have interface things, and it posts data to the B.asp , then it makes all the processing and data savings. Well, now, i have this program that do a post data directly in the B.asp's processing page . Well, it's just fine till now.
Here goes the problem: beyound do all the data
-
- Only one usage of each socket address (protocol/network address/port) URGENT HELP PLEASE!
by InoSS
- 2 Replies
- Last post
by InoSS
- I get this error at the line where is says listen start and i dont know why Im using VB.net 2005 help please :( Only one usage of each socket address (protocol/network address/port) is normally permitted Listener = New TcpListener([Global].Settings.Port) Listener.Start() Do ' (Error handling code). ' Block until connection received. Dim Client As TcpClient = Listener.AcceptTcpClie
-
- xml reading
by Julio Henriquez
- 3 Replies
- Last post
by Julio Henriquez
- hi guys,
here i come again with some stupid question,
rigth now im learning c sharp, but that is not
the main problem, the problem is that my boss
moved me to the c sharp developing group.
i need to mess with an xml file, i dont have any idea of
how to work with it.
could somebody help me with a breaf and clear
explanation of the thing.
i'll make it clear
-
- FtpWebRequest GetResponse throw The server committed a protocol violation :(
by Sveer
- 14 Replies
- Last post
by MDouglas
- Hello.
I have some trouble with FtpWebRequest class.
I use it for connection to two ftp servers
The first server is working perfectly, but when i use the same programm to connect to another one the "The underlying connection was closed: The server committed a protocol violation." exception is thrown when I call GetResponse method.
I found only one difference between servers.
The fir
-
- Unmanaged dll hell and AppDomains
by Matt Magee
- 6 Replies
- Last post
by PhilWilson
- Hi all,
I've been struggling with an assembly loading problem for some time now, and I figured it was finally about time to ask someone about it.
I'm building an application that integrates data between two different versions of an accounting application. Both versions of the accounting application are managed/unmanaged hybrids with the high-level interfaces implemented in .Net, the deep in
-
- Need help with Access Database
by Palak Naik
- 9 Replies
- Last post
by Paul P Clement IV
- Hi All,
I am new to Access database and I need help on how to write VB scripts/queries in Access (Are they similar to stored procedures ).
Also how can I access these queries inside access from a C# application
Please help me I think I am getting lost badly while looking at the online tutorials....
Thanks
Palak
-
- Ending a background thread that is sleeping
by Jason Callas
- 2 Replies
- Last post
by Jason Callas
- I am thinking that the following is a common design pattern but damned if I can find a "proper" solution to it.
You have a background thread that periodically performs some job. So it does its work and then needs to wait an amount of time before doing the work again. At some point you want to shut down the thread so you set some variable and upon looping the background thread will
-
- how should i handle clients disconnect?
by arro239
- 1 Replies
- Last post
by Jesus Ruiz
- I have a remote object with an event in it, and multiple clients connected. Everything works fine. Than the 1st client process terminates - and channel becames invalid. Next time i try to broadcast an event to all my clients i get a SocketException while trying to communicate with this diconnected client, and the rest of the connected clients are not notified. How should i handle client disconnect
-
- Accessing body text in Undeliverable Email Messages
by Jarrod
- 3 Replies
- Last post
by alberich
- Hello all,
I'm trying to read any returned undeliverables and parse the body text for the intended recipient email address. I'm attempting this through the MAPI reference and I can read normal email text just fine, but the text of NDR's returns blank.
Any ideas or anything else that will provide me with the addresses
Thanks,
Jarrod
-
- Client-activation: calls to server hang
by Phil J Pearson
- 1 Replies
- Last post
by Jesus Ruiz
- I have an app set up as a remoting server. It's all tested and working as long as I use Singleton server-activation. I've changed the code to use client-activation. I've tried Activator.CreateInstance(...) and RegisterActivatedClientType(...) / new and both show the same problem: The initial connection succeeds and I get a transparent proxy but the first call to the server hangs and never returns.
-
- Access to the path 'Global\.net clr networking' is denied
by Kulvinder
- 5 Replies
- Last post
by OmegaMan
- Hi,
I am using an set of dlls which can be run by 2 applications (a) App1 (b) App2 and i wanted both of them to communicate with each other through IPCChannel.
When one of my application communicates with a Webservice i have written, an error is thrown :
Access to the path 'Global\.net clr networking' is denied
What does this error means
Can anybody help me
-
- using the Disposition-Notification-To header with MailMessage and SMTP Client in .NET 2.0
by Jsilver
- 6 Replies
- Last post
by Regis Hay
- Hi,
Is there a way to add additional hearder information to an Instance of a MailMessage class For instance I want to request a read receipt, so I need to add the header "Disposition-Notification-To" and corresponding values. The DeliveryNotificationOptions works for a delivery notification, but not read receipts if I understand the docs properly. Thanks!
-Joe
-
- TypeInitializationException
by Kestutis
- 2 Replies
- Last post
by Saqib Ullah
- Hello,
I have created a simple C# program. Everything was working fine while creating this project. But after I deployed my project (using ClickOnce) and tried to install and to run it, I get TypeInitializationException.
Here is the information of the thrown exception:
System.TypeInitializationException was unhandled Message="The type initializer for 'Visata.Program' thr
-
- Using DetailsView and dropdownlist to insert data to a Sqlserver2000 table.
by Knallform
- 7 Replies
- Last post
by Knallform
- Can anyone help me
I want to insert data to a Sqlserver2000 datatable. This works fine using detailsview. I want to add a Firmname into this row, but do not want to write the Firmname. I want to select the firmname from a firmtable. I am able to select the firm from a dropdown list fra the firmtable, but how to write the selection in the dropdownlist into the right column in the datatable
-
- ADO in aWindows Service
by gkostel
- 5 Replies
- Last post
by Matt Neerincx
- I have a problem integrating an ADO connection into a Service in C#. The peculiar thing is that the same thing works well in an application but throws a problem in the Service i.e. the Service doesnt want to start...
The problem is at establishing the connection - but the same thing works just fine in an Windows application.
string MySqlConnString = "SERVER=N16\\SQLEXPRESS; TRusted_con