-
- Help making asynchronous web service call
by nss
- 3 Replies
- Last post
by Christopher Scrosati - MSFT
- I'm following examples from both codeproject and the msdn website, and they say to make the asynchronous web service calls in this way (using .net 2.0 and vs2005).
Code Block
traxService.CurrentReportsCompleted += new TraxSimpleClient.Trax. CurrentReportsCompletedEventHandler (traxService_CurrentReportsCompleted);
traxService.CurrentReportsAsync();
-
- Exceptions thrown to the system
by Damian L
- 5 Replies
- Last post
by Damian L
- Hello,
I've noticed time ago that if my callback method for a socket BeginReceive operation throws an exception the application ends (or the unhandled exception handler is called). I thought this was the common behavior for exceptions thrown to "nowhere". However today I found using MSMQ that if my handler for the BeginReceive throws an exception nothing happends (the application
-
- [Socket][C#] UdpClient, Broadcast, repeated message receive
by codetale
- 6 Replies
- Last post
by codetale
- here my code: UdpClient udpClient = new UdpClient(5000, AddressFamily.InterNetwork); udpClient.BeginReceive(new AsyncCallback(ReceiveCallback), udpClient); :: Receive :: public static void ReceiveCallback(IAsyncResult ar) { UdpClient u = (UdpClient)ar.AsyncState; IPEndPoint e = new IPEndPoint(IPAddress.Broadcast, 0); Byte[] receiveBytes = u.EndReceive(u, ref e); string rece
-
- write queries on the records returned by a table adapter query
by tom22
- 2 Replies
- Last post
by Matt Neerincx
- I have a Sales tables on the sql server. I need to pull out records based on country and product.
SELECT SALE_CORP_CD, SALE_SKU, SALE_STAT_CD, SALE_UNIT_SERI_NO FROM dbo.QAT00001_REG_SALE_DATA WHERE (SALE_CORP_CD LIKE @country_code) AND (SALE_SKU LIKE @product_code) I add the above query in the table adapter of the sales datatable. Now i need to further write queries on the records return
-
- Enterprise Library for .NET 2.0 ...
by hobie_3
- 1 Replies
- Last post
by cverdon
- Having difficulty using EL, would appreciate any help as I have spent too long on this matter.
When trying to reference Common, Data and Object builder for data access on a asp.net application using a remote server I keep getting an error complaining about
Error 1 Could not load file or assembly 'Microsoft.Practices.ObjectBuilder, Version=1.0.51205.0, Culture=neutral, PublicKeyToken=null' or
-
- Get the name of the latest modified file of a particular type on the root of a ftp root and download it
by Kamii47
- 7 Replies
- Last post
by RizwanSharp
- I haven't used ftpclient class in .net 2.0 previously I have to get Get the name of the latest modified file of a particular type on the root of a ftp root and download it. Let say on my ftp rott there are number of files and folder. What i have to do is to download the last modified .zip file or say latest .zip file saved on the ftp root and download it.What can I do. Previously for .net 1.1 were
-
- Delphi Language Tool for Visual Studio 2005
by addey
- 2 Replies
- Last post
by addey
- Hi...
I am wondering whether there is something like a Delphi Language Tool for VS 2005.
I am working on a Delphi ASP.Net application, but BDS 2006 is giving me so much trouble, there is nothing I would like to do more than develop this project using the VS 2005 Editor, using the Delphi language.
Thanks.
-
- SupportAutoEvents': no suitable method found to override error
by snepsir
- 2 Replies
- Last post
by yelhsawm
- I have brought a VS 2003 project to vs 2005 and made some changes, I keep running into a error on my usercontrols
Error 18 'ASP.admin_usercontrols_navigation_ascx.SupportAutoEvents': no suitable method found to override c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\tcatoday\b6bf9972\5211f187\App_Web_r5woc1lm.4.cs 150
What have I done to these
-
- Better way to change the Soap Proxy HTTP version?
by OmegaMan
- 2 Replies
- Last post
by Alan J. McFarlane
- I consumed NOAAs web service WSDL in .Net 2/3 : http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl and proceeded to get an exception that the server committed a protocol violation. (I blog about it here Consuming NOAA and Avoiding Protocol Violation in .Net where I show the whole error message and the below fix). Upon researching the problem it appears that to consume the NOAA web serv
-
- How to debug remoted apps?
by BlueBSH
- 4 Replies
- Last post
by Alberto Arias - MSFT
- I am having problems debugging with my remoting client and server... I am working with a SAO singleton factory which produces objects for the client to use the objects are all marsheled by reference... now when stepping through code on the server side it works great! but when stepping through code on the client side I get cant retrieve stack frame errors, LONG pauses, delays all kinds of stuff...
-
- HELP PLEASE: IPCChannel Timeouts
by Sparky74
- 5 Replies
- Last post
by mahjayar
- Hi. I have two appications - a GUI and a main engine. The GUI talks to the engine using IPCChannels.
If I shutdown the engine, the GUI can still call a method on the interface provided by IPCChanel but it sits there forever. How can I detect if the engine (server) has shutdown
I did try using BeginInvoke() on a delegate so that I could make my call asynchronously and then timeout aft
-
- Retry Insert statement if connection times out
by jfkrueger119584
- 4 Replies
- Last post
by jfkrueger
- Hello,
I am just looking for advice on how I would implement the following:
I have an insert statement in code
If the insert statement times out (connection) I want to wait 10 seconds and try again
I want to loop this so that the program waits until this insert occurs until the program continues
I would think I would just need to setup something like this:
-
- Grouping Number of Elements....
by AProgrammer
- 7 Replies
- Last post
by Martin Honnen
- Hello,
I have the following situation in XML.
Source.xml
<root>
<item id = "1">
</item>
<qty>
100
</qty>
<amount>
60
</amount>
<item id = "2">
</item>
<qty>
40
</qty>
<amount>
2
</amount>
<price>
2.0
</price>
-
- Generic type conversion issues
by cosborne
- 6 Replies
- Last post
by nobugz
- I'm having issues in C# with converting instances of generic types into other generic types which would seem to be compatible.
As an example, if I have a class C which implements an interface I, and a generic type G<T>, then it would seem reasonable to be able to convert an instance of G<C> to G<I>, but the C# compiler gives an error indicating that it cannot perform the c
-
- need suggestion
by hammad&#64;isf.com.pk
- 8 Replies
- Last post
by hammad@isf.com.pk
- Hiz to all
Can we use XML document as database what are the constraints of using XML document as database
From where can i get tutorials and samples for native XML database
regards
Hammad
-
- Soap with Attachments and .Net
by MichaelGurevich
- 6 Replies
- Last post
by MichaelGurevich
- Hi everyone,
We are working on connecting a Java based system to a .Net system and are hoping that this community can help figure out how this can happen. If you can share your ideas, it is much appreciated.
Here are the details:
The Java based system expects to use the Soap With Attachments protocol: http://www.w3.org/TR/soap12-af/
I'm new to web services and have been
-
- Is WebProxy class only support HTTP proxy type?
by RonakPPatel
- 5 Replies
- Last post
by timvw
- Is there a way to use Socks4, Socks4a or Socks5 proxy types with WebProxy class. I have downloaded a Proxy Server "ccproxy" from Here where i can use my code to download and upload files but it works only with Port 808 reserved for HTTP proxy in ccproxy server.
-
- DOM/SAX/Xml Serialization
by Solar9
- 4 Replies
- Last post
by Solar9
- What is the difference between:
1. DOM
2. SAX
3. Xml Serialization
Thanks.
-
- Does .Net have namespace which can perform shell operation(Such as SHFileOperation function in WIN32 API)?
by luchuncheng
- 3 Replies
- Last post
by nobugz
- Does .Net have namespace which can perform shell operation(Such as SHFileOperation function in WIN32 API)
-
- XSD and Microsoft Types.
by KevinBurton
- 1 Replies
- Last post
by Darren Thurman
- We have developed a good bit of code by defining the data to be serialized in an XSD and then creating and using objects base on the classes generated from the XSD. Now it seems that we need to some how define a DataSet and a Guid. Objects with these types are serializable but I am not sure how to define them using an XSD. If I indicate in the XSD that a member of a complex type is a Guid or a Dat
-
- Help with Regular Expression Regex.replace
by rmitch
- 1 Replies
- Last post
by Adamus Turner
- I'm new to regular expressions and this is probably childĄ¯s play for most of you but IĄ¯m having trouble figuring it out. I am using VB.NET to parse through a source text file and writing lines to target text files. I am then using these target text files as source for integration service packages (DTS) into tables in SQL. My problem is that the original source file is space delimited and uses quot
-
- Inserting a record using a DatSet and Table adapter
by Coleby
- 4 Replies
- Last post
by Bappi
- I'm trying to find a way to insert a record to the applicable table using the table adapter I'm currently using to view the data on other forms. I've created a query for the table adapter to insert values and called it "InsertNew"
Here is how i've coded this:
private void UpdateDatabase() {
TKDataTableAdapters. TkSiteIDTableAdapter adapterSiteID = new TKDataTableAdapte
-
- video conferencing app development in c#
by varun86
- 2 Replies
- Last post
by gs2006
- video conferencing app development in c#
i m thinking abt rtc api in platform sdk for the audio/video streaming after capturing them using directshow
is that fine or something better can be done
plz help
-
- advapi32.dll reference in C# project
by YogeshC
- 1 Replies
- Last post
by Karthikeya Pavan Kumar .B
- Hi,
I have to use advapi32.dll in my existing C# project but when i am trying to add reference of this project in my project i am not able to do that.
Is there any way to add reference of this way or use this dll as a module in my project
Thanks
Yogesh
-
- Need Reminder alert in web application
by Sandeep Kumar Gupta
- 0 Replies
- Last post
by Sandeep Kumar Gupta
- As per my Client requirement, i need task reminder facility in my web application same as outlook express.
By this facility user can set a reminder time for a particular task and on that particular time, a reminder should be display on user screen.User can snooze or dismiss this task.
Most important thing, i have to do this thing in a web application.We can not develop window application for