Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score C# for non-programmers
Michael A. Covington - 30 Sep 2006 11:44 PM - 7 messages
Can anyone recommend a book for teaching C# to people who have never programmed and who are interested mainly in text processing? ...
Score Inheriting from array of System.Diagnostics.Process[]
Gamma - 30 Sep 2006 10:44 PM - 8 messages
I'm trying to create a ListBox that holds list of currently running processes. So I inherited from Process a classes named _Process, which it's objects are to be held in the ListBox (I just overrode the "ToString"). Using the "GetProcesses" method, I get Process[], that I ...
Score Concatenate numerous large binary or text files into one
ffimbel - 30 Sep 2006 8:40 PM - 3 messages
Hi, I would like to find out the fastest way to concatenate large (200 or 300MB) and numerous (500 - 700) files (Postscript files) into a single one (which can ends up being several GigaB) using csharp within a windows form application. ...
Score c# and sql
Nathan Downes - 30 Sep 2006 7:06 PM - 8 messages
Hi, I am just wondering if anyone has any decent guides on working with sql server 2005 with c#? Thanks in advance. ...
Score Password Remembering Plugin
prayag.narula - 30 Sep 2006 2:55 PM - 11 messages
Hi there, Hey guys I am trying to develop an Intenet Explorer plugin that would save passwords and allow me to sign up for a service automatically. Now I have figured out most of the things. I am using  Pavel Zolnikov's ...
Score CSharp problem
hkhellhkhell - 30 Sep 2006 1:59 PM - 4 messages
i have an application that will take user input from a text box and write it to an access database. i need to make sure that if they ever enter a single line of text that it has at least 1 space for every 40 characters. ...
Score Error opening database
Steve Barnett - 30 Sep 2006 1:12 PM - 5 messages
I've developed a test application on my PC that uses the JET Engine. The connection string is very basic and is constructed as follows:     connectionString = String.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source='{0}'", modelName); ...
Score Help! I can't find this info anywhere!
smerf - 30 Sep 2006 8:26 AM - 13 messages
I have searched high and low (and even in some places I'd like to forget I ever saw) for the information that will tell me exactly how the Nat2Nat server for UltraVNC works (not just a vague diagram, but the code needed - ...
Score formatting problem
gopal - 30 Sep 2006 5:47 AM - 9 messages
Hi I am trying to write to log file but the formatting of string is not properly aligned in log file result The results looks some thing like this OK    move.xml Successful OK    AppUser_ifrUsers.asp    Successful ...
Score Windows Service and multithreading
Adynan - 30 Sep 2006 4:42 AM - 3 messages
Hello Friiends I am looking for ways to create a multithreaded Windows service in c# which is actually a IM Bot application. Since multiple user can access at same time, I want to create seprate thread when user open a chat ...
Score Delete files to recycle bin
rob - 30 Sep 2006 3:19 AM - 5 messages
Does C# 2005 have an easy way to delete files to the recycle bin? ...
Score VS2003 net: Can it be upgraded to .net 2.0 ?
Rodo - 30 Sep 2006 1:11 AM - 4 messages
Hi all, We have the architect version of VS 2003 .net at work. I was looking at the info on .net 2.0 and it looks like they included a class for the serial port. Useful stuff for me. Can the 2003 version be upgraded to 2.0 ? ...
Score how to zoom
Yoshitha - 30 Sep 2006 12:57 AM - 5 messages
I'm developing windows application using c#.net (vs 2003),  i've placed several images (picture boxes) in panel control  and i want to zoom the panel control so that the images and text which contained in the panel ...
Score Compare unicode string
Le Minh - 30 Sep 2006 12:31 AM - 4 messages
Hi, i write a application to search in a tree. each treenode is a unicode text. How to compare two unicode string to find extract node i want ? Regards Minh ...
Score Source Control - what files should/shouldn't be stored in source control
MarkusR - 29 Sep 2006 11:10 PM - 23 messages
I am currently using StarTeam for my source control. (Will eventual switch to whatever the latest Visual Source Safe is going to be called). With debug, installers, deploy and everything the project directory structure is a mess of files and directories ...
Score Singleton using static constructor
David Veeneman - 29 Sep 2006 10:43 PM - 4 messages
Why do these questions always come up on Friday afternoon? I'm starting to use GoF singleton classes in my projects. Right off the bat, I've run into a surprise. I thought that a Singleton could be implemented using a static constructor, using code like this, based on version #4 at ...
Score wake from screen power save
Oscar - 29 Sep 2006 9:55 PM - 2 messages
Hi, Is there a way to to "wake" a win xp machine from screen power save using c#? I got a computer that turns off the screen after a while and i'm programming an app that reads smart cards and I want the screen to "power on" as soon as ...
Score Is it possible to use .net framework 2.0 in VS2003
Tony Johansson - 29 Sep 2006 9:29 PM - 2 messages
Hello! I have VS2003 which use .NET framework1.1. VS2005 use .NET framework 2.0 I just wonder if it's possible to download .NET 2.0 from somewhere to use in VS2003 or is the only solution to get VS 2005 if I want to use .NET ...
Score Async Ado.Net Operations (Begin/End OpenConnection)
Chris Mullins - 29 Sep 2006 8:29 PM - 2 messages
We're building high performance database applications, and are trying to use all the new Async ADO.Net 2.0 features. The problem we're having is that we can't find a SqlConnection.BeginOpen/EndOpen method. We can execute everything using the ...
Score data options for application
gordon - 29 Sep 2006 8:10 PM - 4 messages
Hi I have an application that currently uses ado.net to read some files and populate a datagrid.  The app allows users to search and return values based on a 'like' parameter in a select statement. The data files have always been provided to me in MSAccess format and users ...
Score Find non-quoted string using RegEx
Joe - 29 Sep 2006 7:58 PM - 5 messages
I need to do a find/replace on a column name in DataColumn.Expression. Is there a way to do the following using RegEx? MyColumn > 10 and Desc = "This is MyColumn desc" I need to replace the MyColumn which is not in a quoted string. ...
Score C# name
Marco Dorantes - 29 Sep 2006 7:06 PM - 7 messages
I recently saw the name of this programming language depicted like: HTML: C<sup>#</sup> Is this -somehow- official? ...
Score Visual Studio 2005 and .Net 1.1
rlrcstr - 29 Sep 2006 6:50 PM - 4 messages
Can you use VS 2005 to create a .Net 1.1 application? ...
Score How to dynamically display entries made into a growing log file
Suman - 29 Sep 2006 6:32 PM - 10 messages
Happy Friday everyone!!! I am working on a windows service and a C# application and needed some help with certain functionality. Please read through my issue below. Thanks! I have a windows service which writes into a log file periodically ...
Score Circular dependency
nyhetsgrupper - 29 Sep 2006 6:11 PM - 7 messages
I'm trying to build a .NET application (C#) which I want to seperate into the classic UI, Business Logic and Data Access layers. I expected to seperate each layer into different projects and reference each as required, when I try to do this I run into circular referencing ...
Score stored procedure arguments
benscribe - 29 Sep 2006 5:43 PM - 5 messages
I've looked high and low for this information and haven't found it anywhere. Is there a way to pass arguments to a stored procedure being used by a selectcommand. I've seen mention of SelectCommand.Perameter.Add() but that ...
Score Regex - escaping the dot
Lubomir - 29 Sep 2006 5:20 PM - 7 messages
Hi, I am using the following pattern: "\\b" + MySttring + "\\b" If MyString is "one", this should pick up whole words like "one". The problem is, it will pick up also the word: "one.two" How should I modify the patter to pickup only "one"? ...
Score Accesing property name at design times
sracherla - 29 Sep 2006 3:51 PM - 5 messages
Hello Guys, Please look at the code sample below. Class Customer {     private string _ID;     private string _Name;     public string ID     {         get { return _ID; } ...
Score Can't step into source code
Jason - 29 Sep 2006 3:49 PM - 3 messages
I have a 3 layer (data access, business logic and UI which is a web project) and up to now I have had full ability to step all the way down to the data access layer. For some reason now I can only step into the business logic ...
Score How to create files and validate them using javascript
ramesh.jetsoft@gmail.com - 29 Sep 2006 2:16 PM - 2 messages
How to create files and validate them using javascript ...
Score How do I Bind Data to a Datagrid in a C# Windows Application?
Steve B - 29 Sep 2006 2:06 PM - 3 messages
The below code works in a Web application, but does not work in a Windows application. The DataBind() command only exists for Web forms. How do I write this code for a Windows app?  Can you give me the code on how to do that? ...
Score Configuration Model in .Net 2.0
Hardy Wang - 29 Sep 2006 2:05 PM - 6 messages
Hi all,     I understand, in .Net 2.0 we have little bit different model to read config file from .Net 1.1. Basically I need to use WebConfigurationManager.AppSettings to read from web.config, and ConfigurationManager.AppSettings to read from Windows Application config. ...
Score DrawString with different font sizes at a line
Daniel Junges - 29 Sep 2006 1:21 PM - 2 messages
Dear developers, I want to use DrawString with different font size in the same line. My  = problem is that i not know how to draw with bottom alignment!         float px =3D 0; ...
Score Ensure the form is disposed
osmarjunior - 29 Sep 2006 12:31 PM - 2 messages
How to ensure that a form is disposed? When I work with modal forms I do the following: using (Form1 frm = new Form1()) {   frm.ShowDialog(); } As far as I read, when it ends the using scope, the form is disposed. ...
Score Need to generate a text file.
Jens Jensen - 29 Sep 2006 11:29 AM - 4 messages
Hello, I need to generate a flat text file where aeach is made up os fields and space. To automate the process, i want to define an xml file that describe the file form mate in term of <Lines> ...
Score C++ and C#
mshetty - 29 Sep 2006 11:24 AM - 7 messages
Hi, We have some common functionality that has to run with both C++ and C#. What would be the best way to design this. One of the approaches we could think of is to 1. create an exe for the common code ...
Score Selecting Files and Folders
Christof Nordiek - 29 Sep 2006 11:21 AM - 3 messages
Hi, is there a way to combine the functionallity of OpenFileDialig and BrowseFolderDialog, so that user can select as well Files as Folders? ...
Score Generic Properties/Methods
Andrew Ducker - 29 Sep 2006 10:05 AM - 5 messages
I have a collection of classes descending from a single root class (let's call it RootClass).  They all currently have a property of Logical, of type Logical.  However they actually return a subclass of Logical (LogicalA, LogicalB).  I'm currently casting them to the right ...
Score Open Source HTML Parsers in C#
Le Minh - 29 Sep 2006 9:15 AM - 3 messages
Open Source HTML Parsers in C# Hi, Im looking for HTML parser developed in C# which i can extend according to my needs are there any?? Thanks ...
Score Export to excel.
elangovan.cse@gmail.com - 29 Sep 2006 8:54 AM - 7 messages
Hi all, I'm exporting a datagrid to an excel file. I'm using the following source code to export. DataTable dt = new DataTable(); DataAccess.StoredProcedure sproc = new DataAccess.StoredProcedure("sproc_getdata"); sproc.Run(dt); DataGrid1.DataSource = dt; DataGrid1.DataBind(); DataGrid1.EnableViewState = false; ...
Score Encoding issue..
elangovan.cse - 29 Sep 2006 8:48 AM - 2 messages
Hi all, I'm exporting a datagrid to an excel file. I'm using the following source code to export DataTable dt = new DataTable();             DataAccess.StoredProcedure sproc = new DataAccess.StoredProcedure("sproc_getdata"); ...
Score Collection Class contains
Jon - 29 Sep 2006 8:39 AM - 3 messages
Hello all. I have a collection class that holds a number of clauses. One particular type of clause has a member variable called type - this is an enum. How do I check this collection class to see if it has a clause of a ...
Score HTML DOM Tree
Le Minh - 29 Sep 2006 8:32 AM - 5 messages
I want to construct a DOM tree from the HTML source code. How can i get it ? Do you show me some source code for this. Thanks. ...
Score Hashtable question
Macca - 29 Sep 2006 7:49 AM - 7 messages
Hi, I am using a hashtable as a cache. I am only allowed for the cache to take up a certain amount of memory. I think I can state how large I want the hashtable to be on creation. What I need is someway to monitor the size of the hashtable so that as it ...
Score how to get value of XML tag attribute in C#?
Saurabh - 29 Sep 2006 7:08 AM - 4 messages
Hi, my xml is: <ROOT>     <FILE NAME="filename">CDATA</FILE> </ROOT> this xml is argument to a function in C#. i want to get the filename in a string variable. ...
Score about the naming conventions
tony - 29 Sep 2006 6:27 AM - 2 messages
Hello! I just want to know the correct naming conventions. Is it correct to say that a DLL is a executable or is it only an exe file that is allowed to be named executable. //Tony ...
Score Beside string, what can I used to store line greater than 2046 bytes
AboutJAV - 29 Sep 2006 6:17 AM - 3 messages
Hi, In my code, I accept very long string, which may be greater than 2046 bytes. String can not exceed this limit. What else can I use to store these very long string? Thanks, ...
Score adding a reference automatically
battery007.2005 - 29 Sep 2006 6:08 AM - 3 messages
hi all,       i would like to know how to add a reference automatically on starting a project. i.e like we have system,system.xml automatically getting added when u start a project, similary i have a dll which needs ...
Score Very large arrays and .NET classes
Peter Duniho - 29 Sep 2006 5:49 AM - 11 messages
This is kind of a question about C# and kind of one about the framework. Hopefully, there's an answer in there somewhere.  :) I'm curious about the status of 32-bit vs 64-bit in C# and the framework ...
Score Threading causing results to be different, Please Help
CEBreedlove - 29 Sep 2006 5:41 AM - 2 messages
I'm trying to trow in another thread into my program. What it's for is to ping a list of IPs. When it runs the Ping portion of the code, it assigns a value of 1 or 2 (pingable / not pingable) to a global int. It ...
Score WebBrowser & events
benjamin.berube - 29 Sep 2006 2:56 AM - 3 messages
Hi, i've been trying in the last day to use the WebBrowser in ASP.Net 2.0 so that I could get some MOUSEMOVE event.  Actually, the problem is that the control doesn't implement the MouseEnter and MouseLeave ...
Score PDF
Badis - 29 Sep 2006 2:25 AM - 2 messages
Hi guys, I actually want to generate a pdf file in my c# web project so I went to this web site “[link] and downloaded an open source file called SharpPDF but I don't know how to use it ...
Score rotate string
iwdu15 - 29 Sep 2006 1:18 AM - 2 messages
hi, i need to rotate a string (ex, make it upside down and if it was on the top, make it on the bottom of my control). the string is drawn on using GDI, so i looked at the Transform property, the Rotate and RotateAt methods but ...
Score Accidentally deleted assemblyinfo.cs!
soowei.tan@gmail.com - 28 Sep 2006 11:39 PM - 4 messages
I wasn't looking carefully and accidentally deleted the wrong assemblyinfo.cs! Is there a way to generate the file again, or can I just hand code the entire file? ...
Score Convert UNC to local path on remote machine
Ian Williamson - 28 Sep 2006 11:34 PM - 3 messages
It seems like a simple question, but I am unable to find any succinct answer to this problem. If I am provided a UNC, how can I convert it to it's absolute path on the remote machine. For example, machine MyServerA has a share created on a folder ...
Score Socket recive problem
Rene Sørensen - 28 Sep 2006 11:16 PM - 3 messages
I'm using .NET 2.0 VS 2005 I'm creating a function that dos something similar to the. SmoApplication.EnumAvailableSqlServers() function. But for som resone I get an error or do i?. The problem is that the program just return ...
Score No reference!!!
Arjen - 28 Sep 2006 10:53 PM - 7 messages
Hi, I have an arraylist. I copy the objects in this arraylist to a second arraylist. When I edit the objects in the second arraylist then the objects in the first arraylist are changed too. I don't want this!!! ...
Score newbie - How to test for null
Laurel - 28 Sep 2006 9:16 PM - 10 messages
How can I test to see if a string parameter is null? This worked... or at least didn't give a compile error, but the debugger seemed to show it skipping the assignment statement, and for sure, returnXML was never set.  (Any help on that bit too?) ERPHostId is a string parameter ...
Score Custom caption on form title bar
eljainc - 28 Sep 2006 9:06 PM - 3 messages
Hello, I would like my program to display the caption on the form (top of form on title bar) in a different font.  I would ideally like to have one part of the form caption in one font, and another part in a standard ...
Score Checking if the button was pressed?
adamsalata - 28 Sep 2006 9:03 PM - 2 messages
Hi I'm wrting a simple calculator in C# using Windows Forms and I'm learning it now. I have one question. Is there any way to chceck if specified button was pressed? I know that I have event handlers, but I ...
Score Memory Management Problem
RobbGMelenyk@gmail.com - 28 Sep 2006 8:30 PM - 6 messages
I've got a Windows Service written in C# that is having some unfortunate memory issues.  I've been working with .NET MemProfiler and AllocationProfiler.  But you don't have to use those programs to notice the memory leak.  The memory usage in the TaskManager for the process ...
Score Memory Management Problem
RobbGMelenyk - 28 Sep 2006 7:06 PM - 3 messages
I've got a Windows Service written in C# that is having some unfortunate memory issues.  I've been working with .NET MemProfiler and AllocationProfiler.  But you don't have to use those programs to notice the memory leak.  The memory usage in the TaskManager for the process ...
Score Why do I get "Type of 'xxxxxxMethod' is not CLS-compliant" error
TS - 28 Sep 2006 6:38 PM - 7 messages
This method has a return type of a CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocument. I have gotten this error before with a crystal object but i would think that it would come complient from Crystal. Does anyone know why i get this error? ...
Score Why SOMETIMES when i try to assign an object to null in immediate window i can't?
TS - 28 Sep 2006 6:33 PM - 8 messages
I get this message in the window "cannot assign 'null' into 'xxxxx'". this is an object and hence a reference type. Sometimes this isn't permitted...why? thanks ...
Score Any difference between VB.net and C#.net
Jon Slaughter - 28 Sep 2006 6:28 PM - 14 messages
Is there any difference between these "languages" any more or are they just syntactically different but represent the same thing? A long time ago VB was more for "noobs" while something like C++ was for experts. While you could also do one thing in the other it wasn't always easy. Seems now that .Net ...
Score Events And Multiple Threads
rlrcstr - 28 Sep 2006 6:07 PM - 5 messages
I'm looking to understand the way events work across multiple threads.  I have an object that needs to process data as it comes in.  When a certain threshold is hit, it needs to tell the host application via an event.  If the app is running on Thread A and the process inside the data processing object is running on Thread B, which thread runs the event handler?  What's blocked and in what order?  Thanks. ...
Score Encode Textbox
kvicky - 28 Sep 2006 6:03 PM - 2 messages
How to encode a textbox to avoid cross site scripting? Thanks K ...
Score Can a partial class inherit from a partial class?
bradw2k - 28 Sep 2006 5:57 PM - 4 messages
In 2.0, can a partial class inherit from a partial class to override a virtual method?  I do not have VS2005 installed to test, I'm just trying to plan with respect to upgrading to 2.0 later. ...
Score Cerrar a la barra de tareas
Felix González - 28 Sep 2006 5:03 PM - 2 messages
Hola Tengo una aplicación en c# con ,VS 2005, me gustaria que al cerrar la aplicación no se cerrase si no que se quedase en la barra de tareas, al estilo messenger. Gracias ...
Score Identity in sqlbulkcopy
Shawn Ferguson - 28 Sep 2006 5:00 PM - 4 messages
How do you handle identity fields when using SqlBulkCopy ? textfile - no identity to sql server identity field - only additional field in sql server. ...
Score Listbox DataSource
WhiteWizard - 28 Sep 2006 5:00 PM - 2 messages
First my apologies, this may be longer than the normal question. I have a windows app (.NET 2.0, VS2005), and I've written a user control that will allow the user to "drag and drop" a directory from one computer ...
Score DirectoryInfo and FileAttributes
mgonzales3 - 28 Sep 2006 4:11 PM - 2 messages
I'm trying to compare DirectoryInfo.Attributes to FileAttributes like so: // result returning // Directory | Archive DirectoryInfo info = new DirectoryInfo(this.folderFullName); if (info.Attributes != FileAttributes.Directory) {       throw new FoundFileException(this.folderFullName); } for some reason it returns true. why? ...
Score Problem in ASP.Net.
Abhijit - 28 Sep 2006 4:07 PM - 2 messages
Hi,    I am devloping a web site in ASP.Net using visual studio 2005.My web page contains many hyperlinks.Now the problem is when I click on some of the  hyperlinks it asks me for windows username and ...
Score Unit Testing - Mock Objects
Terry - 28 Sep 2006 3:49 PM - 3 messages
I'm looking at NMock2 as a framework to create mock objects during my unit testing.  One part that I'm trying to understand is that it will mock interfaces, not concrete classes.  I normally don't create interfaces for ...
Score Why does MSDN help suck so much?
Jon Slaughter - 28 Sep 2006 3:39 PM - 7 messages
When I used to program in windows(back in the days of win95/98) the help system was very good. You could find out all th details of just about anything with usually decent explinations of what does what. Now I can't see ...
Score Resource File in console application
gopal - 28 Sep 2006 3:38 PM - 3 messages
Hi I am a newbie and i am trying to create a resource file (resx) for a console C# application Can i go to current C# project and add a new resource file and then start adding values? Can anyone please show a sample console application having a resource ...
Score [VISUAL STUDIO 2005] Unexpected problem when adding object datasource to project
newsgroup.poster - 28 Sep 2006 3:34 PM - 3 messages
Hello, I'm encounterring the following problem when I try to add object datasource to my C# project: - the wizzard form open - I choose object, then click on next - the next screen display but a modal error message appear: " Wizard ...
Score string.Format encoding?
Scewbedew - 28 Sep 2006 3:21 PM - 7 messages
Suppose I have the following code: string myFormat = "Line1/nLine 2"; string formattedString = string.Format(myFormat); ....that would produce a 2-line output as expected. But if I load that very same format string from an xml file: ....load xmlNode WorkNode... ...
Score Convert to hex and write to file
AMP - 28 Sep 2006 2:45 PM - 2 messages
Hello, I have an Array of bytes that I want to fromat as Hex and print to a file. EX: bytenumbers[] = {1,3,5,34,65,78,234} I want to format them as their hex values and tr.Write them as F0 12 ...
Score Resource File
gopal - 28 Sep 2006 2:32 PM - 3 messages
Hi I am a newbie and i am trying to create a resource file (resx) for a console C# application Can i go to current C# project and add a new resource file and then start adding values? Can anyone please show a sample console application having a resource ...
Score How to Access HTML Controls from code behind ?
vivekian - 28 Sep 2006 1:22 PM - 4 messages
Hi , I have a table which needs to be populated at runtime. Is there a way to do this without using a server side control like repeater or datagrid ? How can an HTML control be accessed in code behind ? Thanks in advance .. ...
Score Daft question but how do I remove a filter from a datasource??
AAJ - 28 Sep 2006 1:14 PM - 3 messages
I know this sounds nuts, but how do I remove the following filter from a Object Datasource that looks at my business layer... ODSDefaultUserProfiles.FilterExpression = "AllowedWebPage = '" + m_SelectedPageName + "'"; I tried the obvious ones such as ODSDefaultUserProfiles.FilterExpression = ""; forcing a select(), databind(); all to no avail ...
Score How to Access HTML Controls from code behind ?
vivekian - 28 Sep 2006 1:03 PM - 2 messages
Hi , I have a table which needs to be populated at runtime. Is there a way to do this without using a server side control like repeater or datagrid ? How can an HTML control be accessed in code behind ? Thanks in advance .. ...
Score Bug: incorrect warning message, Unreachable expression code detected
Don Burden - 28 Sep 2006 12:34 PM - 4 messages
We've started converting some applications to the .NET 2.0 framework.  When compiling in VS 2005, I'm getting a warning on this line: return (unitWidth != null ) ? unitWidth : new Unit("0px"); Looks valid to me, but this gives a warning with "new" underlined saying ...
Score Using XSD.exe to create schema from classes - not generating all fields.
martin.zarate - 28 Sep 2006 12:19 PM - 2 messages
Hey, I'm just trying out the XSD.exe tool and have run into a problem - it doesn't generate classes for all the members.  For example, here's my call: D:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin>XSD ...
Score News feeds.
UJ - 28 Sep 2006 12:11 PM - 2 messages
Folks, I realize this probably the wrong place to be asking this but has anybody does anything with news services where they download news information off the web? Part of our product is news headlines that are updated through the ...
Score Printing a dataGrid control with data
ZICO via DotNetMonster.com - 28 Sep 2006 12:04 PM - 2 messages
I would be delighted if one will help me in a code that prints out the data in a DataGrid Control. Thanks ...
Score socket listner to recieve file...
Aerodyne - 28 Sep 2006 11:58 AM - 2 messages
Hi all, I have a client that send a text file to a server... the client end seems to work ok.  I would like some help on the server side, it's listening fine... but how do I get it to recieve a file sent to it & ...
Score How to convert 2DArray into Arraylist
nimitsharma16 - 28 Sep 2006 11:07 AM - 2 messages
Hi, Can someone please suggest me a way to convert a 2DArray into an Arraylist? Thanks, Nimit. ...
Score ComboBox SelectedIndex Changes after fill
Magnus - 28 Sep 2006 10:58 AM - 4 messages
Im using a set combobox (ComboBox1) to provide a selection of records from a database table. I have a typed dataset (DataSet1) that contains the typed datatable (DataTable1) that the combobox is bound to. The datatable in the dataset is filled using the typed tableadapter (TableAdapter1). DataTable ...
Score Export C++ class from a Borland DLL and use it in Microsoft VC
Fabry - 28 Sep 2006 10:44 AM - 3 messages
Hi All, I'm new of this group and I do not know if this is the correct group for my question. I have a DLL with its export library (.lib) wrote in Borland C++ 6. In borland everything is OK and I am able to include the lib and use the ...
Score Importing the librsvg library to load a svg file
rrutkowski - 28 Sep 2006 10:12 AM - 5 messages
Hi! I need to rasterize a svg file in a .NET project. Currently I'm trying to use an open source library called librsvg. I've completed all the dlls and started writing the following wrapper: [DllImport("librsvg-2-2.dll", SetLastError=true, CharSet = ...
Score How to get a 64bit(8 bytes) encrypt result using DES class in the VS2005?
fineman - 28 Sep 2006 10:05 AM - 3 messages
Hi all,     I want to get a 64bit(8 bytes) Encrypt result use DES class in the VS2005.     Though I encrypt data is 64bit(8 bytes), but DES return encrypt result that always is 128bit(16 bytes), ...
Score A strange error when compiling
tony - 28 Sep 2006 9:09 AM - 7 messages
Hello! I have several projects where each one build a library.(class library or window control library). Now I get some strange compile error when building the *.exe file and doesn't understand what this means. Can somebody tell me what is causing this? ...
Score how to convert the XML data to a String
raan - 28 Sep 2006 9:06 AM - 4 messages
hi friends I want to pass the whole xml data as a string to a function, how to convert the XML data to a string ...
Score Killing off a thread..
Mantorok - 28 Sep 2006 8:58 AM - 3 messages
Hi all I have an app that runs report classes, each report is run in a new thread, what I want is the ability to be able to kill of a thread that is running. How is this best achieved? ...
Score C# Windows Service is locking file
JM - 28 Sep 2006 8:36 AM - 6 messages
I have created a Windows Service which uses xml file as a data source. The service is running on .NET 2.0 and uses LocalSystem account. It was running fine but now it has started locking the xml file sometimes. When I stop the service it unlocks the file.The service is ...
Score What happens in HttpWebRequest.GetResponse()?
Morgan Cheng - 28 Sep 2006 8:25 AM - 2 messages
When the function HttpWebRequest.GetResponse() is called, what happened? I mean, does this function return till all HTTP response is downloaded to local machine? or only HTTP header part retrived is enough for the function to return? Thanks ...
Score How to Create Scheduler in dotnet
Nilesh Thakur - 28 Sep 2006 8:00 AM - 2 messages
Hi all,   i am working on Dotnet want to create Scheduler in DotNet using C#... how can i do this ?? if any one having idea then pls tell with some sample code .. thanx in advance, thanx and regards, Nilesh Thakur. ...
Score SerializationException on BinaryFormatter.Deserialize
Matt - 28 Sep 2006 7:56 AM - 2 messages
Hi I have an application "A" which serialize some data into a file "file.dat". My second application "B" gets the data by deserializing. but deserializing is not working. I am getting SerializationException: {"Unable to find assembly 'XXXX, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'."} ...
XML
Next »