Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score Converting the time from one timezone to another
Nathan Sokalski - 18 Feb 2006 7:19 AM - 11 messages
I asked a question about a week ago about how to get my local time, since my application is running on a server halfway around the world. I have determined that my code would look something like this: Dim servertime As Date = Date.Now ...
Score TypeBuilder.CreateType() error
Douglas Harber - 18 Feb 2006 3:47 AM - 2 messages
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, ...
Score Dispose... GC
vj - 18 Feb 2006 12:24 AM - 5 messages
I have the below method   private DataSet ReadNCFFile(string NCFFileName)   {        DataSet dsNCFFile = new DataSet();        try        {             dsNCFFile.ReadXml(NCFFileName); ...
Score The best way to transfer large data to server?
Asaf - 17 Feb 2006 10:01 PM - 7 messages
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 ...
Score Running from the IDE, or not?
mikeb - 17 Feb 2006 9:07 PM - 4 messages
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? ...
Score Creating Global Resources (resx, .NET 2.0)
spencermiles - 17 Feb 2006 8:22 PM - 2 messages
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 ...
Score WMI computer in use
Rio - 17 Feb 2006 7:35 PM - 1 message
Hello, I have been trying to create an ASP page that would display if a computer within the network is in use. all I could come up with is to use WMI to check if there is any users logged in to any machine ...
Score Usage of TraceSwitch.Description
Laser Lu - 17 Feb 2006 4:30 PM - 1 message
Hi, can anyone tell me what's the usage of Description of TraceSwitch? [C#] public TraceSwitch(    string displayName,    string description ); Do we essentially need to specify the description string in the constructor of class System.Diagnostics.TraceSwitch, since the description will not be printed on the Output window and also not be captured by TraceListeners? ...
Score Retrieving info on files with a long name using .NET
Ade - 17 Feb 2006 3:58 PM - 5 messages
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 ...
Score <Service(GetType(IGPSService))> _
Good - 17 Feb 2006 2:46 PM - 2 messages
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 ...
Score True or False
Michael.Suarez - 17 Feb 2006 2:30 PM - 3 messages
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. ...
Score Printing problem
Sukh - 17 Feb 2006 2:07 PM - 1 message
Hi, I am trying to print a invoice form with data from dataset using vb.net and printer is dot matrix. Invoice is a continues paper with pre-printed headers like First Name, Last Name, SSN# etc. and after each header their are some blank block like for SSN# 9 small box. I hv ...
Score Reduce TIME_WAIT of Socket
Zeeshan Gulzar - 17 Feb 2006 1:43 PM - 4 messages
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 ...
Score Sending ASCII character string / stream to an IP address
Paul Aspinall - 17 Feb 2006 1:42 PM - 6 messages
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 ...
Score TEMP and TMP folder under the assembly (GAC)
Thomas Johansen - 17 Feb 2006 12:58 PM - 1 message
Hi If I view the C.\Winnt\Assembly folder, there is folders called Temp and Tmp. They are empty, but what is the use of them ?? Are they only used when som assembly is imported to the GAC or can I excpect ...
Score aspnet_setreg with other data
chandy - 17 Feb 2006 11:53 AM - 1 message
I can use aspnet_setreg to securely store the credentials to be used by the ASPNET identity, but can the same technique be used to store data for other custom config keys? i.e., does ASP.Net understand what to do ...
Score Binding a StatusBar Panel Text property - Solution?!
Matt - 17 Feb 2006 11:03 AM - 2 messages
I've found that the StatusBar Panel object does not have a DataBindings property which doesn't help if you want to do such a thing. Searching the web and these news groups didn't present me with an answer so I thought I'd post what I came up with to help others. ...
Score Newby question.
Stan Blazejewski - 17 Feb 2006 10:19 AM - 6 messages
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 & ...
Score Getting more info from WebException when Status is Unknown Error
Greg - 17 Feb 2006 10:16 AM - 3 messages
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 ...
Score 100-continue status and HttpSoapClientProtocol (Webservice consumer)
spapelier - 17 Feb 2006 9:07 AM - 4 messages
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) ...
Score GetOleDbSchemaTable
Hideen - 17 Feb 2006 7:35 AM - 1 message
I writing program in Visual Studio C++ Exprees 2005. ... conn->Open(); DataTable^ GetTables(OleDbConnection^ conn) { array<Object ^> restrictions[] = {"0", "0", "0", "TABLE"}; DataTable^ schemaTable = conn->GetOleDbSchemaTable(OleDbSchemaGuid::Tables, restrictions); conn->Close(); return schemaTable; }; When I run my program receive error: ...
Score MABLE - J2EE Business Rule/Logic Engine for JBoss is under free software license ! Download and use
Al Fatykhov - 17 Feb 2006 2:19 AM - 1 message
AL&FA BDI would like to announce that MABLE - J2EE Business Rule/Logic Engine for JBoss is under free software license ! Create sophisticated business rules, use SOA and enjoy free software ! Free MABLE for JBoss, download URL: [link] ...
Score Application Block
Good - 17 Feb 2006 2:18 AM - 2 messages
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? ...
Score XmlValidatingReader and missing element
jhgonzales - 16 Feb 2006 10:46 PM - 1 message
Is there a way to tell the reader to automatically add a missing element with it's default value if it does not exist in the xml being validated. The default value is used but only if the element exist and it is nil. ...
Score Windows Service calling executables
Kevin Jut - 16 Feb 2006 9:55 PM - 2 messages
I would like to build a Windows Service using .NET which when started, will execute another executable such as Wordpad.exe. How can this be done? Any help would be appreciated. Regards Kevin ...
Score Regular Expression Question II
Axel Dahmen - 16 Feb 2006 7:26 PM - 7 messages
Hi, If I write     roles=Regex.Matches(myRoles,@"prefix([^,])+,"); then     retValue=roles[0].Groups[0].Captures[0].ToString(); returns e.g. "prefix_some_value,". How can I retrieve just what's within the parentheses, e.g. "_some_value"? ...
Score Custom Controls in 2.0?
Arne - 16 Feb 2006 6:55 PM - 4 messages
In asp.net 1.1 we had Custom Controls and User Controls. In ASP.net 2.0 I can only find Web User Controls. How do I add on old fashion Customer control in VS Studio 2005? ...
Score Extending the DataRepeater
marnel - 16 Feb 2006 6:53 PM - 1 message
Does any body know why when extending the DataRepeater and overriding the CreateControlHierarchy() method to output the header and footer templates and loop thru and add the item templates manually, i'd get results like the following. There are 5 items in my datasource. ...
Score Use of old-style resource files
Ken Allen - 16 Feb 2006 5:38 PM - 1 message
Can managed code, especially that written in C#, access the contents of an old style compiled resource file? I am specifically concerned with the 'message file' that is compiled and placed in an RC file which is compiled into a resource DLL so that the Event Log Viewer can use it to ...
Score Domain/User to LDAP NameTranslate ability in the 2.0 framework???
Dave Kolb - 16 Feb 2006 5:28 PM - 2 messages
Is there any new 2.0 class that offers the functionality of the ActiveDS NameTranslate function as below? I would like to not have to use COM interop to do this. Thanks, Dave Kolb // convert the Netbios style "domain\user" name to an LDAP DN format ...
Score MAPI logon fails through SQL Job
Sachin Vaishnav - 16 Feb 2006 4:28 PM - 2 messages
Hi! I have got a VB.NET exe which is using MAPI object to read the emails. Now, the exe works excellent if I execute it independently. However, my requirement is, I have to call this exe through SQL Jobs (SQL Agent). Now, ...
Score 2.0 NTFS Security Help Needed
xenophon - 16 Feb 2006 4:12 PM - 2 messages
I am trying to find sample code showing how the currently logged on user can read a particular directory. I have looked in the MSDN docs for how to use the FileSecurity class, but no clear example of how to ...
Score Why the aspx file doesn't work when I have uploaded it to the web
Fat Bug - 16 Feb 2006 3:33 PM - 2 messages
I create simple files in Visual web developer 2005 express edition: Default.aspx, Default.aspx.cs. they work normally in my local host. After I uploaded them to the web site (virtual host, Windows 2003 server, support ASP.net 2.0), they doesnot work in the web site, if I input the ...
Score Printing to a file
Lloyd Dupont - 16 Feb 2006 3:13 PM - 8 messages
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..... ...
Score CLR process relation
Raj - 16 Feb 2006 2:48 PM - 2 messages
Will CLR be per-process or per application. I mean if I start two or more instances of same application(.exe) will the CLR be two or more instances? thanks, Raj ...
Score HTTPWebRequest with non-English Characters...
Paul W - 16 Feb 2006 2:48 PM - 6 messages
I'm using VB.NET 2K5 and SQL Server 2K5... I'm trying to use a HTTPWebRequest to pull HTML from a given web page and a HTTPWebResponse to move it into a streamreader and then screen scrape it into my database.  No problem, it works great, except.... ...
Score what's the secure way to post the jobs on the extranet?
asdf - 16 Feb 2006 2:38 PM - 4 messages
Hi, I have the scenario where I have one database and need to post jobs on the intranet and then the same jobs on the extranet. I wonder what is the most feasible and secure way of doing it without buying ...
Score Windows Service not firing PrintDocument.PrintPage event
Tony - 16 Feb 2006 2:21 PM - 2 messages
There is no microsoft.public.dotnet.framework.windowsservice group, so I am posting this question here. Can an object of class PrintDocument work properly in a windows service? The VS.NET2003 designer allowed me to drop a PrintDocument control onto the ...
Score Drive Defined - The Dotnet Way?
Donald - 16 Feb 2006 1:29 PM - 4 messages
In both VB6 and VB.NET I can search through the available drives and look for a specific drive type (ie fixed, CD, remote).  This is done with the File System Object and other scripting objects along with a for loop: ...
Score How to replace LoadWithPartialName in .NET 2.0?
Bernd S - 16 Feb 2006 12:37 PM - 1 message
Hi, how do you replace the obsolete method Assembly.LoadWithPartialName in .NET 2.0? Thanks, Bernd ...
Score Using a .net 1.1 signed assembly in .net 2.0
Faisal Imam - 16 Feb 2006 12:10 PM - 1 message
I'm using an assembly 'X' build in VS.net 2003 [singed with an .snk file]. I use the same assembly 'X' in another assembly 'Y' [assembly 'Y' is also build in VS.net 2003] with no problems at all. ...
Score ClickOnce publishing security
Varangian - 16 Feb 2006 11:13 AM - 1 message
Hi I'm publishing a win32 application over the internet using the new Visual Studio 2005 Publish ClickOnce. I want that application be restricted to certain users and this I'm using "Basic Authentication" ticked from the IIS version 5.1. ...
Score .NET Newbie and Garbage Collection
Larry - 16 Feb 2006 10:41 AM - 12 messages
Hi, I'm about to delve into the wonderful world of .NET and C# and I have a couple of questions regarding Garbage Collection. I'm an ex-Delphi programmer and I'm used to DIY GC. 1. Assume there are two .NET apps running and they are both consuming a ...
Score Impersonation in seperate threads.
David - 16 Feb 2006 10:22 AM - 1 message
Hi, I have the following situation. I connect to a remote MSCS cluster using the msclus.dll - api in vb.net winform application. (ClusterClass.open method) When my credentials are not sufficient enough, I use impersonation to make a connection. ...
Score Edanmo Shell Extension: How to Install it?
Pieter - 16 Feb 2006 8:07 AM - 7 messages
Hi, I'm trying to use the Edanmo Shell Extension Library ([link]) to make a Context Menu in the Windows Explorer with VB.NET 2005. It seems realy easy ...
Score Printer Properties
Lloyd Dupont - 16 Feb 2006 7:34 AM - 4 messages
I'm creating a PrintDialog panel. I plan to have a  combo box to let the user choose the printer and an advanced property button, as much as the standart print panel. How do I show the advanced (printer specific) properties? ...
Score Should i install .NET Framework 1.1 or 2.0?
Deric - 16 Feb 2006 5:59 AM - 3 messages
My notebook was originally equipped with MS Windows XP Professional with SP2 and .NET Framework 1.0 without SP3. Every time when I try to update my system thru Microsoft Update website, it shows that I have .NET 1.0 and recommended ...
Score How to get OS name?
Lloyd Dupont - 16 Feb 2006 5:08 AM - 5 messages
I tried something like: Environment.OSVersion.ToString() but that returns me something like: Microsoft Windows NT 5.1.2600 Service Pack 2 where as I was hoping for something like Windows XP Service Pack 2 How to get Windows XP ? ...
Score ADO.NET Failed to load msxmlsql.dll
Daniel - 16 Feb 2006 2:02 AM - 1 message
ADO.NET Failed to load msxmlsql.dll How to fix this error?    System.Data.SqlClient.SqlException: Failed to load msxmlsql.dll.    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)    at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() ...
Score Delegate Naming Standard
xtopher.brandt - 16 Feb 2006 12:45 AM - 2 messages
Does anybody have a good standard for naming delegates? That would be, other than your run of the mill EventHandler. My problem is that the name of the delegate, it's return type and instances of it usually end up looking very similar. It gets very difficult to tell which is the ...
Score ClickOne applications with command line
Sunny - 16 Feb 2006 12:25 AM - 1 message
I want to run my no-touch deployment applications with command line arguments.I published my application by visual studio.net 2005,and my application url is http://localhost/myapplication/myapplication.application?myname=sunny.     I have read the article about no-touch deployment applications : ...
Score Redirecting Assembly Binding
Mark Olbert - 15 Feb 2006 10:42 PM - 7 messages
I've been following what I >>thought<< was good practice and strong-naming my assemblies, even the ones that aren't targeted for installation into the global assembly cache. I'm beginning to think, though, that this is a mistake. ...
Score Installing a VS2003 App under Framework 2.0
carl - 15 Feb 2006 9:35 PM - 5 messages
Hi, I currently have an application which is written in (VB).Net 2003 (and hence uses Framework 1.1).  I wish to install it on a user workstation which has Framework 2.0 but not 1.1 installed.  When I run the .msi, it says I must ...
Score Com+ and asp.net?
Dav - 15 Feb 2006 7:43 PM - 6 messages
these com+ objects to .NET (VB.NET) do I still need MTS or does the ..NET framework handle the object pooling and other features of MTS? So, instead of a bunch of COM+ objects on MTS that my asp.net can ...
Score Data Cache
John Thompson - 15 Feb 2006 7:42 PM - 1 message
In this blog: [link] This guy states that he can add stuff to the data cache to a non VSTO enabled document by putting true in the second parameter to the ...
Score Logging in vs 2005 and .Net 2
Sam B - 15 Feb 2006 7:26 PM - 3 messages
What are you using for logging in .Net 2.0? I can't find a lot of documentation on this. Log4net, maybe, or Enterprise Library - (but it seems overkill to use the EL when all I want from it is the logging). ...
Score Remoting Server Object not passing properties
Denny - 15 Feb 2006 6:24 PM - 4 messages
I have noticed this weird behavior and wondered if anyone else has seen this or knows a solution. I have this class that inherits from NameObjectCollectionBase that has one public property (name): Private _name As String Public Property Name() As String ...
Score RegularExpressions.Regex
pfeifest - 15 Feb 2006 5:47 PM - 5 messages
Hello- I have a number that always starts with the three characters "450" and then has 7 random numeric digits after it. Example:  4507432176 What Regular expression will validate that scenario?  I've tried various combinations of: 450\d{7} ...
Score InvokeMember
Angel - 15 Feb 2006 5:37 PM - 1 message
I am having a problem invoking a member in a class. When i perform the following code the member is listed in the MethodInfo of the instantiation of the class type(oImaging): Dim oImaging As Type = Type.GetType(Request.QueryString("TYPE"), True, True) ...
Score Strange error while debugging program
Tim Prince - 15 Feb 2006 5:29 PM - 1 message
I'm working on developing a telemetry console for the local solar car team here at Iowa State. It has two components, a server and the actual console. The server just reads in the data from the serial port and sends it over UDP ...
Score InvokeMember problem
Angel - 15 Feb 2006 5:26 PM - 1 message
...
Score Incrementing the Assembly Version clears the user settings
Sam B - 15 Feb 2006 5:15 PM - 2 messages
Any idea why? In Visual Studio 2005 when I rebuild my solution and run it, the user-scoped settings are saved and reloaded every time. However when I increment the build part of the Assembly version in the application properties, rebuild and then start up, all the user-scroped ...
Score Windows Service - Suggestions for Installing Multiple Instances
John - 15 Feb 2006 4:58 PM - 7 messages
I currently have a Windows Service that runs Transactions that are very Processor/Memory Intensive.  I have a requirement to deploy multiple instances of the Web service on the Same server. Each Instance needs to run in its own process. ...
Score Error on aspx page
M - 15 Feb 2006 4:56 PM - 1 message
Hi All, I have an aspx page (logon page) up and running smooth but occasionally I get this error in the event viewer but no user has complained on the same. Can somebody provide the reason and resolution for this. I ...
Score Security exception when creating ReadOnlyNameValueCollection
Roland Dick - 15 Feb 2006 4:21 PM - 1 message
Hi all, this problem has been hunting me for a few days now, maybe someone can end my sleepless nights ;) For configuration of my application, I would like to not only have an app.config file, but also the possibility to read key/value pairs from a ...
Score link problems
Lee Roth - 15 Feb 2006 4:01 PM - 2 messages
Using C# in VS2005 I have been unable to create links that: go to outside sites, link to a specific location regardless of start page, use "mailto:". Outside links: When I try to link to "[link]" I use "<a href = ...
Score WebService and HTTP 404 Object Not Found
Nick - 15 Feb 2006 4:00 PM - 2 messages
I realized a simple web server that supplies the VS demo HelloWorld webmethod. On the same PC I realized its consumer. IIS version is 5.1. The web server project use .NET 1.0. When the consumer invoke the webmethod, the Invoke() function failes with ...
Score Making my DateTime object think its American :-)
Simon Harvey - 15 Feb 2006 3:52 PM - 11 messages
Hi all, I'm having a bit of a problem working with dates. My computer is british, but I'm developing an american application so I therefore need to use american dates. But I can't get my DateTime object to "act" american. ...
Score XML Deserializer losing control characters
Rick Bonnett - 15 Feb 2006 3:09 PM - 1 message
I've run into a strange problem serializing/deserializng in the 1.1 framework. I have a class with a String property, being set from a multi-line Textbox control. When there multiple lines entered in the Textbox, the resulting Text ...
Score .NET Framework Version Conflict
Markus Strobl - 15 Feb 2006 3:04 PM - 5 messages
Hi! I always supposed when i compile .NET assemblies using VS.NET 2003 they will definitely use .NET Framework 1.1 and .NET assemblies compiled with VS.NET 2005 will use .NET Framework 2.0. (I except tricking around using .config-files). ...
Score Source Code Sale - Complete program
James Jenkins - 15 Feb 2006 12:40 PM - 1 message
Hi, I have been working on a Bandwidth Monitoring program for 3 months now but am forced to sell. Please take a look if you are interested please goto my auction, website or email me. This is a complete program and ...
Score What is the secure way to share data between Intranet and Extranet?
asdf - 15 Feb 2006 12:28 PM - 2 messages
Hi, I have the scenario where I have one database and need to allow to see the information accessible from Intranet and (future)Extranet. I wonder what is the most feasible and secure way of doing it without buying second license ...
Score VB.Net calling VC++ library for performance
alanwo - 15 Feb 2006 11:17 AM - 1 message
Hi experts, I am developing a file-reading intensive application which read files and compare bytes / byte array. We have migrated VB6 application to VB.net but found the time doubled. My idea to improve the performance is to write mainly with VB.net while calling functions/class library ...
Score VB.Net calling VC++ library for performance
alanwo - 15 Feb 2006 11:17 AM - 4 messages
Hi experts, I am developing a file-reading intensive application which read files and compare bytes / byte array. We have migrated VB6 application to VB.net but found the time doubled. My idea to improve the performance is to write mainly with VB.net while calling functions/class library ...
Score Bat file installation of .net framework
nenzax - 15 Feb 2006 11:01 AM - 2 messages
Hi all, i have requirment of installing .net framework on 100 client machines, i have stored the setup on a share and i am using a bat file with the silent option.. How do i check if the  framework is already present from a bat file, if ...
Score Socket Bind(virtual IP) LocalEndpoint
Jonathan Woods - 15 Feb 2006 10:47 AM - 2 messages
Please find file for illustrating infrastructure --> [link] Gateway receives packets from Trucks for processing Route/GPS position. When Truck and Gateway communicate in leased line, Gateway identifies different IP sent by ...
Score Interacting with an external process.
mrmikal - 15 Feb 2006 5:27 AM - 3 messages
I'm hoping someone can help me with this. I want to build a service that constantly receives data from an external server and does minor processing and databasing on the received data. This part is simple and is already built. ...
Score Microsoft Configuration Block and Enterprise Library Tool
Mark - 14 Feb 2006 9:36 PM - 1 message
Hi, I am new to the Microsoft Configuration Block and all I am trying to do is create a new configuration area where I can store settings much like I would do in the app.config or web.config. e.g. ...
Score MimeMap: using WMI/ADSI in C#
Abhi - 14 Feb 2006 9:06 PM - 2 messages
Hi- I have a need to programmatically (C#) retrieve the value of the attribute "MimeMap" (ID = 6015) from the LM/MimeMap from my machine's metabase. Using the Select * from IIsMimeMap just gives me the name "MimeMap" but I need to get a handle to the attribute beneath it to retrieve the ...
Score One record is missing to display in aspx page. But works in SQL qu
velu - 14 Feb 2006 8:41 PM - 3 messages
One record is missing to display in aspx page. But works in SQL query… When i run a query in MSSQL I get 3 records. but when i run try to display it in aspx page it displayes only 2 records.. ...
Score Having trouble deploying Custom User Control to a container ...
MEHRAN SEDAGHATPOUR - 14 Feb 2006 7:58 PM - 1 message
If I develop a user control that is made from intrinsic windows controls such as text box, etc, I can successfully deploy it to the the browser and see it instantiated. but if I add a third party control to the custom control, then I have ...
Score HttpWebRequest
Steve B. - 14 Feb 2006 7:43 PM - 4 messages
Hi, I use a HttpWebRequest object to download a file. It works well if I use http://myserver/file.ext But if I use [link] it throw an exception "Error: protocol violation". ...
Score Q) Printing: Intercept / Override Controls' Print Behavior
Jonathan Nix - 14 Feb 2006 7:21 PM - 1 message
Suppose you have a control that prints a series of pages... How would you intercept the printing in order to augment it with page numbers, the page count, etc.. Or to take that output and generate a PDF from it, or to create ...
Score .net instance from hwnd
choresmith - 14 Feb 2006 7:10 PM - 1 message
i've seen in a testing app the ability to access full public members from a windows forms window from a separate process with nothing special compiled into the .net application. how is this done? ...
Score Can't set ConnectionStringSettings.ConnectionString property
Brad Wood - 14 Feb 2006 6:57 PM - 15 messages
The ConnectionString property of the ConnectionStringSettings object is get/set, but when I try to set it to some other value I get an error, "The configuration is read only". I get the object by calling WebConfigurationManager.ConnectionStrings["production"] From this Web.Config snippet: ...
Score quick question
sowhatman0 - 14 Feb 2006 6:45 PM - 2 messages
why was my thread deleted? it was about identifying textboxes in a website with API if both textboxes had the same title and class. thats messed up, how come they had to delete it? ...
Score quick question
sowhatman0 - 14 Feb 2006 6:40 PM - 1 message
why was my thread deleted? it was about identifying textboxes in a website with API if both textboxes had the same title and class. thats messed up, how come they had to delete it? ...
Score ClickOnce and Setting MSI ExitCode from a custom action Installer class
Clive B - 14 Feb 2006 5:38 PM - 1 message
Hello I've created an MSI and wrapped it as a prerequisite package for ClickOnce deployment, so that my ClickOnce setup.exe checks whether it needs to install this MSI before it can install itself. The MSI references a .Net Installer class through a Custom Action. ...
Score Exception text translation
Dan - 14 Feb 2006 4:48 PM - 3 messages
In order to completely globalize a .Net application it must be possible to translate the messages of system exceptions to other languages. Of course it's possible to catch the system exceptions and rethrow them with translated messages, but in a large system you want to translate them ...
Score Designer and [DllImport]
Steamboat - 14 Feb 2006 4:38 PM - 1 message
I have an image button that I have written code for and up until I added the following code, it worked well with the Designer. [DllImport("coredll.dll")] //imports the coredll.dll used for sound private static extern bool PlaySound( ...) ...
Score Designer and [DllImport]
Steamboat - 14 Feb 2006 4:36 PM - 1 message
I have an image button that I have written code for and up until I added the following code, it worked well with the Designer. [DllImport("coredll.dll")] //imports the coredll.dll used for sound private static extern bool PlaySound( ...) ...
Score Network-wide Global Assembly Cache? NAC? Is this possible?
Michael.Suarez - 14 Feb 2006 4:23 PM - 2 messages
Would it be possible to copy the windows/assembly folder to a folder on a network drive? Then reference the dll's in this folder in a .NET app? Then treat this folder as a place you can drop any dll that you want to ...
Score Comparing dates
Simon Harvey - 14 Feb 2006 4:16 PM - 4 messages
Hi everyone, I need to be able to compare to dates to ensure that one is at least 1 day greater than the other. Im trying to do if(toDate !> fromDate){    // handle } This works but the problem is its comparing the datetime down to the minute ...
Score FTPWebRequest Fails on Some FTP Sites
Frank Walker - 14 Feb 2006 2:34 PM - 1 message
While using FTPWebRequest, I have found at least one FTP site where this function fails. The URI I am using is ftp://nssdca.gsfc.nasa.gov/md_doc/app_a.doc This NASA ftp site is available through anonymous log in, and other FTP ...
Score Error creating new source for EventLog
jsh02_nova@hotmail.com - 14 Feb 2006 1:11 PM - 1 message
I'm try to create a new source for my systems application event log so I can write an event. I use the following code to check if the source exists: if (!EventLog.SourceExists(source))                 EventLog.CreateEventSource(source, "Application"); ...
Score e.Item.Cells(3).Text help
rbutch@coair.com - 14 Feb 2006 1:08 PM - 2 messages
GUYS i need some datagrid help here. i can make  a button column with an image - no problem - when its clicked it would go and get the info, for instance from> e.Item.Cells(3).Text - the button is hit and it grabs the info from that cell. ...
Score Out parameters not returned from EndInvoke when exception occurs
Oldman - 14 Feb 2006 1:04 PM - 1 message
I am seeing that the out parameters are not being set when calling EndInvoke and an exception has been thrown even though the out parameters have been set in the other thread.  Is this the expected behavior?  I have some code that ...
Score Using MABLE logic engine with existing .NET applications.
Al Fatykhov - 14 Feb 2006 1:02 PM - 1 message
Using MABLE logic engine with existing .NET applications. MABLE web services provide an interface to MABLE business objects and logic. Let us review some technical details of the MABLE web services. ·  MABLE utilizes SOAP 1.2 protocol. ·  MABLE uses AXIS 1.4 as a web service transport. ...
Score FTPWebRequest
Arne - 14 Feb 2006 12:41 PM - 2 messages
I have a problem with an FTP. The FTPWebRequest class is sending 'Type I' . What does that mean? ...
Score Passing an Integer parameter from .NetCF to embedded VC4 Dll.
Prateek - 14 Feb 2006 11:09 AM - 1 message
Hi, I am trying to pass an integer value from .NET CF to evc4 ATL Com dll function through <dllImport> attribute. As soon as i Pass this value this value is converted to 0 in evc4. For eg: if i am pass an interger ...
Next »