-
- Avoiding serialization for local WebService invokations
by Alanmack
- 1 Replies
- Last post
by John Saunders
- Hi,
I have a client website (say A) and a server webservice (say B) right. Both of which are currently running on the same machine (this may change in the future).
A sends a WebService reques to B
B processing the request and creates an object to return which is Xml Serializable.
B returns the object to A which requires serialization/deserialization right
The object A se
-
- Incorrect record Count from a Flat file
by Siddharth Kumar
- 4 Replies
- Last post
by Feng Chen - MSFT
- Hi Everyone
We have a 5 GB DataFile which has close to 15 million records. The records are in the format
Field1|Field2|Field3....|Fieldn\r\n
Field1|Field2|Field3....|Fieldn\r\n
Field1|Field2|Field3....|Fieldn\r\n
Field1|Field2|Field3....|Fieldn\r\n
.
.
.
.And so on
Basically a pipe delimited string followed by \r\n.
Before we process this data file we n
-
- Compliation error in web service - VS and VB 2005
by Steve Hempen
- 13 Replies
- Last post
by Steve Hempen
- I am not sure which forum this goes in so it will go in web services and VB forums.
I created a small web service that returns some records from a dataset. Here is the .asmx:
Code Snippet
<% @ WebService Language ="vb" CodeBehind ="~/App_Code/ACService.vb" Class ="ACService" %>
Imports System.Web
Imports System.W
-
- How to log in/outbound SOAP-messages?
by Lars553899
- 5 Replies
- Last post
by Lars
- Update:
Ok, I now noticed there were quite a few postings already on this subject.
I make an update to hopefully make my question more relevant:
Is there a way to monitor the messages without manually implementing code depending on code using the SoapExtension and SoapExtension Attribute Classes
I also think our server uses .Net 2.0 rather than 3.0..
-> Any implications
-
- How to transform set of Points and render a image?
by GP-BLR
- 4 Replies
- Last post
by GP-BLR
- Hi, I have a grid drawn on an image.
At run time I am randomly altering the intersection points in the grid.
I want to distort the image based on the new grid intersection points.
e.g. I have 20px x 20px grid. so I have the original list of points pt1(0,0) pt2(0,10) pt3(0,20) pt4(10,0) pt5(10,10) pt6(10,20) pt7(20,0) pt8(20,10) pt9(20,20)
Now I change the points of the grid as below pt
-
- List<T> collection not getting disposed even after closing the form.
by meera123
- 14 Replies
- Last post
by nobugz
- Hi, Please find below a sample application which demonstrates the above problem.If we run this code from memory profiler we can see that List object live count is 1 even we close Form1. //This is my Test form code namespace ListTest { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { List&
-
- External table is not in the expected format.
by TapasChoudhury
- 1 Replies
- Last post
by John Saunders
- Hi I am importing data from excel file to SqL. using C#2.0. I am able to import all the files. But in one file it is showing this error."External table is not in the expected format." The oledb provider unable to read this file. The file format and version is same as per the previous ones. If I am copying the contents of that file to another new excel file then it is uploading fine. Any
-
- Connection Speed in Kbps or Mbps?
by Alex2200
- 8 Replies
- Last post
by AlexBB
- Is there a way I could show the speed of the connection in Mbps or Kbps Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Label1.Text = ( Connection Speed ) End Sub
-
- GCHandle behavior
by andris11
- 6 Replies
- Last post
by andris11
- Hello,
there's something unclear to me with how the GCHandle behaves, hope you can give me some clues.
Consider the following:
Code Snippet void foo() { Object obj = new Object(); GCHandle handle = GCHandle.Alloc(obj); ... //forgot to free the handle for demonstration }
So far I know some internal handle to 'obj' is acquired and stored in some lists in th
-
- UPdating two databases with the same dataset using tableadapters
by jilan3109
- 3 Replies
- Last post
by cverdon
- I new to using the vb 2005 . I set up a sql database along with a application that stores the data via a dataset and table adapters. It was real simple to setup. Now the data that i created in my local database i copy that to another Database with the same structure.
So i figured i could do this via a tableadapter, just change the connection string. But it wont update the other datasource. The
-
- Ping IpAddress with Port number?
by Jessica Alba
- 8 Replies
- Last post
by Sniper167
- I am using System.Net. NetworkInformation with Ping method.
But it seems like it can only ping IPAddress. What should I need to do if I need to find out whether a port of the IPaddress is available
Let me know. I will reward you.
Thanks
-
- ArrayLists
by The_Postman
- 3 Replies
- Last post
by The_Postman
- Hi All,
I am using an array list because I need to collect a large amount of data from a data stream, and I dont know before hand how much data I am going to collect...therefore I can't use an array with a predefined size.
The arraylist works nicely for small amounts of data, but once the actual amount of data gets large (say 50Mb) the memory usage starts to get way out of hand. If I watch t
-
- XML DOM operations problem
by adi86
- 6 Replies
- Last post
by Dessus
- Hello,
I am using an XmlDocument object to create, load to a xml document.
The problem is that after I write something into the xml object and I save it into the xml file, it writes the file, but when I try to load it, the application reads the document as it was before the save.
-
- Security Update for Microsoft .NET Framework, Version 1.1 Service Pack 1 (KB928366)
by Shaydar07
- 12 Replies
- Last post
by J Miller8
- I have been trying to install
Security Update for Microsoft .NET Framework, Version 1.1 Service Pack 1 (KB928366)
since it was released but downloads ok but it will not install. Everytime installation of this update fails!
Help...
-
- Office PIA Question
by maghack
- 9 Replies
- Last post
by maghack
- I'm trying to do some office automation w/ office 2003. I downloaded the PIA and ran it, but this does not seem to create the DLLs I need, such as Microsoft.Office.Interop.Excel.dll. What am I missing
thanks.
-
- Passing parameters to a stored procedure in C#
by nickdel68
- 8 Replies
- Last post
by Dewang Ajmera
- Has anyone encountered this before
Procedure or Function 'stored procedure name' expects parameter '@parameter' , which was not supplied.
It seems that my code is not passing the parameter to the stored procedure.
When I click this hyperlink:
< asp : HyperLink
ID ="HyperLink1"
Runat ="server"
NavigateUrl =' <%# "../Division.aspx C
-
- Web Application Performance Tuning
by GSReddy
- 4 Replies
- Last post
by VMazur
- Hi
I have an application logging 40,000 records to database in a month. I built another application to display those records based on the date time selected by the user. But when user selects to view more than 2 months data, application loading records very slow. Right now I built app to read all the records at the same time. But I am going to change that functionality to custom paging, reading
-
- Enterprise, Machine and User Runtime Security Policies
by RickGaribay.NET
- 1 Replies
- Last post
by Brian Stern - MSFT
- I am trying to sort out my understanding of the way that Runtime Security Policies are applied.
If the Enterprise Runtime Security Policy applies Full Trust to the All_Code code group with the default membership condition of All Code, and at the Machine Runtime Security Policy, the Permission Set granted is Nothing, am I correct in understanding that the reason a local exe would run unrestricte
-
- Users validation database
by JoaquimC
- 5 Replies
- Last post
by JoaquimC
- Hello,
I have a Win32 application and a i am validating a user in the "aspnetdb" database.
I'm using Visual Studio 2005, and the database that the .NET framework uses is not the database i created: the framework is using a database under the 'bin\Release\App_Data' folder, and my users database is not there.
How do i tell .NET where is the DataBase i created Maybe so
-
- Embedded Windows Control events in Internet Explorer
by IllusiveMonkey
- 1 Replies
- Last post
by Martin Xie - MSFT
- I'm trying to program a Windows Control Library which is to be embedded into an Internet Explorer webpage. The only way that I've found to be able to call javascript functions from the C# code is to use DOM but this raises a security exception unless I use the .NET Framework Configuration Tool to give it the necessary permissions. Is there any way to allow an embedded control to call a javascript
-
- How can I ignore empty elements in my output xml file? (using xslt)
by Vaish
- 9 Replies
- Last post
by Vaish
- Hi I use XSLT to convert XML to XML . I need to delete the tag when there are no value in the output. for example, I have XSLT as following:
<NAME><xsl:value-of select="N1" /></NAME> I don't need <NAME /> or <NAME> </NAME>. How can I ignore empty elements in my output xml file
Adavance thanks
-
- XML Deserialization and default namespace problem
by Leonid B
- 7 Replies
- Last post
by Leonid B
- Hello,
I have xml coming to my end that I need to deserialize into an object, see the sample below. The serializer ignores Param element, I think because it¡¯s in a different namespace. I cannot change the client that sends me this XML (it¡¯s PHP¡¯s SOAP). So, if you look at the Param value after the deserialization, you¡¯ll see null instead of 10. How to make this deserialization work Firs
-
- shell extension in C#
by Gianluca Colucci
- 1 Replies
- Last post
by Mattias Sjogren
- Hello there,
Even if many people does not suggest that, I am trying to create a name shell extension in C#. I would like to create a new object visible in My Computer.
If I create by hand the entry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace , it works: it creates a new object, not defined, without an icon and unable to do anything, but at le
-
- How do I add ReferenceProperties?
by TobyQuan
- 6 Replies
- Last post
by TobyQuan
- I am trying to call a web service and pass in some custom XML in the ReferenceProperties section.
The first few lines of code here set the WS-Addressing Fault To and ReplyTo properties, and that works well.
Dim myURI As New Uri( "wmq://QJIP.CPAO.ALLMSG.REPLY" )
Dim myFaultTo As New Microsoft.Web.Services3.Addressing.FaultTo(myURI)
Dim myReplyTo As New
-
- Accessing a password protected file.
by DavidThi808
- 7 Replies
- Last post
by Peter Ritchie
- Hi;
Note: While our specific use is ASP.NET, this is a general "reading a file" question.
Our ASP.NET application allows a user to give it an XML filename and the app then opens that file as a datasource to generate a report. The issue we face is we do not want the file opened using the credentials of the user that our ASP.NET app is running under for two reasons:
The ASP.NET