all groups > dotnet framework > february 2006 > threads for friday february 17
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<Service(GetType(IGPSService))> _
Posted by Good at 2/17/2006 10:46:43 PM
Hi All
I am just studying the Pattern and Practice and find the following syntax in
some application block.
<Service(GetType(IGPSService))> _
What is this mean actually because I don't know how to search the help of
it.
Thanks
Good
... more >>
TypeBuilder.CreateType() error
Posted by Douglas Harber at 2/17/2006 7:47:30 PM
I'm attempting to create a type with Reflection.Emit that is a subtype of an
already defined type. If I just declare the class as derived from the base
type and execute CreateType() it works fine. But if I add a method,
CreateType() throws a TypeLoadException with the message "The signature is... more >>
Dispose... GC
Posted by vj at 2/17/2006 6:24:19 PM
I have the below method
private DataSet ReadNCFFile(string NCFFileName)
{
DataSet dsNCFFile = new DataSet();
try
{
dsNCFFile.ReadXml(NCFFileName);
return dsNCFFile.Copy();
}
finally
{
}
}
private void... more >>
The best way to transfer large data to server?
Posted by Asaf at 2/17/2006 2:01:27 PM
Hi,
I am developing a windows forms client application using C# that will need
to transfer a large dataset with data to the server.
What is the best method to do that?
I have read an article that recommended transferring using chunks and WSE3
at http://www.codeproject.com/soap/MTOMWebServ... more >>
Sending ASCII character string / stream to an IP address
Posted by Paul Aspinall at 2/17/2006 1:42:58 PM
Hi
I want to send an ASCII character string / stream to an IP address.
I basically have 6 barcode printers, and a web interface.
Depending on what is entered on the web page, will determine which printer
the label is printed on (ie. which IP address the ASCII string / stream is
sent to).
... more >>
Running from the IDE, or not?
Posted by mikeb at 2/17/2006 1:07:38 PM
I've tried about every search I can think of, but not finding the answer. I
found it before... somehow.
How, in code (VB particularly), can you test whether your app is running
from the IDE or via a stand alone exe?
... more >>
Creating Global Resources (resx, .NET 2.0)
Posted by spencermiles NO[at]SPAM gmail.com at 2/17/2006 12:22:43 PM
Hello,
I'm working on a large solution, comprised on numerous Projects, and I
would like to have one central projects that contains a set of global
RESX Resources. It doesn't make sense to have various resources
(strings, images, etc...) scattered through the application; having
them all in on... more >>
Retrieving info on files with a long name using .NET
Posted by Ade at 2/17/2006 7:58:37 AM
I had previously written a program to set the attributes of all files in a
folder. The program uses the Windows API functions FindFirstFile and
FindFindNextFile to process the files in a specified folder and its
sub-folders. By specify the prefix “\\?\UNC\†or “\\?\†files or folders... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
True or False
Posted by Michael.Suarez NO[at]SPAM gmail.com at 2/17/2006 6:30:22 AM
In order for a .Net assembly to be shared amongst several applications,
1 of the following MUST be true:
a) The assembly has to be registered in the GAC.
b) The assembly has to be in the system32 folder AND in the registry.
OR c) All of the executable files accessing this assembly must be in
th... more >>
Reduce TIME_WAIT of Socket
Posted by Zeeshan Gulzar at 2/17/2006 5:43:36 AM
Please tell me how i can reduce TIME_WAIT from 240 sec (default) to 10 sec or
less. I am using Windows 2000/XP with C#.Net 1.1.
Is Linger option helps me ?
If this setting is in registry, please send me the full path. becasue i find
my registry and did'nt find it.
Thank you... more >>
Getting more info from WebException when Status is Unknown Error
Posted by Greg at 2/17/2006 2:16:38 AM
My app makes a call to a remote server (about which I know relatively
little) using Webclient.DownloadData. This is done once every 51/2 mins
and is called by code within a worker thread. 95% of the time this
works ok and I get a sane response from the server. However, every
night within the sam... more >>
Printing to a file
Posted by Lloyd Dupont at 2/17/2006 1:13:44 AM
When you create a PrintDocument you could set the
PrinterSettings.PrintToFile to true so that it print to a file.
What kind of format is it printed to?
I have created such a file but I don't know what to do with it.....
... more >>
100-continue status and HttpSoapClientProtocol (Webservice consumer)
Posted by spapelier NO[at]SPAM wanadoo.fr at 2/17/2006 1:07:47 AM
Hi,
I'm writting a Webservice consumer in asp.net 2.0 and facing the
following problem :
1. each time a request to a webservice method is made, a Expect:
100-continue header is sent (I'm ok with that)
2. My weblogic server (which host the webservices) handles that
correctly and send back a... more >>
Newby question.
Posted by Stan Blazejewski at 2/17/2006 12:00:00 AM
Can someone explain (in plain english) what .NET framework is/does and why I
should install it even though this computer is working fine without it.
I have had a read of MS's 'what is .NET framework' which seemed to be vague &
unspecific and left me none the wiser.
Thanks in advance.
--
... more >>
Application Block
Posted by Good at 2/17/2006 12:00:00 AM
Hi All
I have downloaded the application block from microsoft web site? Is it that
we copy and paste into our coding to make my program to match the pattern
provided by Microsoft? Or it has some standard way to use these blocking?
Cheers
Good
... more >>
|