all groups > c# > february 2004 > threads for tuesday february 3
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 29
Multi-forms accessing problem
Posted by pei_world at 2/3/2004 11:46:17 PM
Hi there,
I have a application with multi-forms.
The situation is that Form A(have a Dataset) is a base window,click one
button to instiniate Form B(use the Database from Form A, Update the Dataset
after something changed), How can I access to the dataset in Form A,
supposed Form A is also ... more >>
Calling DLL export function(unmanaged visual c++ code) from managed code(Visual c#,.net)
Posted by seash at 2/3/2004 11:46:06 PM
class xyz{
public void somefunction{
if(this.folderBrowserDialog1.ShowDialog() == DialogResult.OK)
{
m_varFolderPath = this.folderBrowserDialog1.SelectedPath;
m_varFolderPath += "\\Iamlucky.txt";
System.String a =(String)strVariable1;
System.String b =(String)... more >>
ODBC API
Posted by Arrun S at 2/3/2004 11:36:05 PM
Hi
I don't know how to access the ODBC API through C#. The VS.NET provides OLEDB Data Provider but not ODBC
E.g., select * from tbl where id=
To get the data type (description) of the column 'id', the ODBC provides a function 'SQLDescribeParam()'. But, I don't know how to access this function ... more >>
PowerAD 1.4 available
Posted by Florent at 2/3/2004 10:56:01 PM
Hi all,
PowerAD 1.4 has been released yesterday. It is a free Open Source management
console for Active Directory, with advanced possibilities that do not exist
on the mmc "Active Directory Users and Computers" provided by Microsoft.
This software is developped with C#, the source code is av... more >>
capture window username to imporsonate
Posted by Z0gS at 2/3/2004 10:31:06 PM
How do I get the window username and password information so that I can imporsonate to access a remote file server using the UNC path using asp .net or c# code.... more >>
Databinding with string[]
Posted by codymanix at 2/3/2004 10:15:37 PM
How can I bind a string-Array to a DataGrid? I've already set the
MappingName in the to DataGridTablestyle to "Array", but the Grid seems to
display only Garbage:
Lenght|
-------|
13
9
3
3
3
What is this? I didn't name a Column "Lenght", neither includes the array
numbers.
The conten... more >>
Printer Driver Function
Posted by Ashish Kanoongo at 2/3/2004 10:14:32 PM
Hello
I want to create a "print driver function" for print-to-email
For eg.=20
I create a document in Excel, or Lotus 123 or any other program which =
has the ability to print. I preview it to make sure it is OK. I select =
as a printer: "print to email".=20
=20
Then properties button pops ... more >>
Web Service vs C# Dll
Posted by Bob at 2/3/2004 9:56:06 PM
Hi Al
I would just like to know, When I am developing my C# Windows application, would it be better for me in the long run, to make Web services instead of DLL's so that when/if eventually we have a Web application that needs the same functions, it will be easier to integrate this web service, or ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Array and ArrayList
Posted by Kevin at 2/3/2004 9:51:06 PM
Hi All
Can someone please tell me the difference between an Array and an ArrayList, and where I would be likely to use one over the other
Thanks alot for any help... more >>
C# and Ghostscript
Posted by tc at 2/3/2004 9:48:27 PM
Does GhostScript provide any library so that we can reference it in our C#
project to programmatically handle printing of ps / pdf files?
I have tried to use the gs command (call by process) in C# application to
handle printing.
gswin32 -dPrinted -dBATCH -dNOPAUSE -q -sDEVICE=ljet4 -dFirstPage... more >>
Convert Word file to txt file
Posted by Ashutosh at 2/3/2004 9:41:06 PM
How can i convert Word file to txt file in ASP.NET using CSharp?... more >>
Keylogger function
Posted by Du Dang at 2/3/2004 9:28:04 PM
i wanna use keys combo to show and hide my app
could someone show me how to capture global key strokes ???
essentially it behave like a keylogger program, but it not :-)
thanks
... more >>
Compiling C++ Code
Posted by arunprakashb NO[at]SPAM yahoo.com at 2/3/2004 8:48:15 PM
Hi All,
I have a requirement where I have a piece of C++ code and C# code
which i need to compile and call the methods in it( the signature of
the methods that will be in it, i know before hand ) from a C# code. I
got how to do it for C# code. Using CSharpCodeProvider class. But i
want to kn... more >>
Change default icon for Windows Application
Posted by Hai Ly Hoang at 2/3/2004 7:48:24 PM
Creating an Windows application with C# (a.exe).
My program a.exe has default icon (in Windows Explorer). How to change
default icon for my program ?
(Certainly, not by creating an shortcuts to a.exe)
Thanks
... more >>
Design question
Posted by R.Balaji at 2/3/2004 7:42:01 PM
Hi,
I am designing webservice component.
I am defining a class for the entity user.
UserId, UserName will be frequently used.
I have created a class for them
class UserHeader
{
public string userId;
public string userName;
public bool ValidateUserHeader();
}
All other user det... more >>
Button Click event not working properly
Posted by Andrew at 2/3/2004 7:01:07 PM
I have created an application that has a command button. The button is clicked and the click even contains code that looks like the following:
private void cmdCall_Click(object sender, System.EventArgs e)
{
this.lblState.Text = "Attempting Connect";
... more >>
problem: DllImport a C function returning opaque pointer
Posted by Kurt Ng at 2/3/2004 6:47:49 PM
Hi, y'all.
Can anyone help me on this problem?
I'm working with a third-party C dll, and I'm having trouble importing into
C# the dll's methods that return one of the dll's defined types, which are
all defined as opaque pointers. What I tried to do is use IntPtr for the
opaque pointer retu... more >>
Optimizer Query
Posted by C# Learner at 2/3/2004 6:29:48 PM
With code like this:
public void SomeMethod()
{
for (int i = 0; i < SomeLargeNumber; ++i) {
int n = GetANumber();
DoSomethingWith(n);
}
}
Would the "int n" part be optimized out somewhere along the line?
i.e.: would something like the following happen instead:
public void SomeM... more >>
Accessing parent-parent method.
Posted by Hadi at 2/3/2004 6:23:14 PM
Hello,
Say I have three classes inheritance A <-- B <-- C
And in A I have the Create method:
class A
{
public override bool Create()
{
// do stuff
return true;
}
}
class B : A
{
public override bool Create()
{
if (!base.Create())
... more >>
Problem with a DataAdapter - Newbie Question
Posted by Jane K. at 2/3/2004 6:21:05 PM
Hi
In the following code, I get an Error when I try to Fill the Dataset
String sql = "SELECT * FROM Table1 UNION SELECT * FROM Table2 UNION SELECT * FROM Table3"
SqlDataAdapter earnAggAdapter = new SqlDataAdapter(sql, con)
earnAggAdapter.Fill(tempDS, "Earnings"); // I get a "System Error" he... more >>
DataAdapters and Connections
Posted by JJ at 2/3/2004 6:16:42 PM
I was wondering if I have an existing DataAdapter created
and I had killed the connection to it. How do I setup a
new connection to same DataAdapter without having to
resetup the DataAdapter? So reconnect the DataAdapter
after a disconnect is what I'm after.
Thanks,
JJ ... more >>
Reading Configuration file
Posted by Paul Fi at 2/3/2004 6:13:19 PM
I have this problem with .NET remoting:
my remote class is called RemoteHandler which implements an interface
called IEazyRemoting which has only one method to be implemented which
is [GetSum(int x,int y)] my server configuration file looks like this:
<configuration>
<system.runtime.remot... more >>
Network IP Address
Posted by Demetri at 2/3/2004 5:56:05 PM
How do I find out what the network IP address is?
For example if I have a cable modem with 68.57.200.50 as the IP address and the linksys router assigns PC's on the network 192.168.1.1 how do I find out that the address is 68.57.200.50 running my code on the PC with the IP address assigned to it ... more >>
Automatic Detection of data set changes
Posted by muesliflakes NO[at]SPAM yahoo.com.au at 2/3/2004 5:24:39 PM
I wish to link up the enabled property on a Save button so that it is
set true if any table in the underlying Data set is changed.
I figured that the OnPropertyChanging event in DataSet would be the
correct place to handle this but I have not been able to get it to
work.
Any ideas, cheers D... more >>
C# Aplpication talking to Excel Add-In
Posted by Matthew Wieder at 2/3/2004 4:48:01 PM
I have the following requirements:
Build a stand-alone C# application that asks the user to click in a cell
in an Excel spreadsheet, and then displays the address of that cell in
the C# application. It seems simple enough, but the problem I'm
encountering is as follows:
In order for the use... more >>
Bring another app window to Top
Posted by saurabh007 NO[at]SPAM yahoo.com at 2/3/2004 4:38:35 PM
I am trying to find how to bring another applications window to the
top of the screen from a C# application.
I can get the process by using this code:
Process[] processes = Process.GetProcessesByName("ToolParamEditor");
But I bring the window of the app to the top.
Thanks,
~Boyed... more >>
Object reference not set to an instance of an object
Posted by cal1ga NO[at]SPAM yahoo.com at 2/3/2004 4:31:45 PM
getting "Object reference not set to an instance of an object."
from a web app. here's the code snippet
if (dsVendorNames1.Vendors.Rows.Count > 0)
{
this.ShowVendor(ddlVendors.SelectedItem.Value);
}
please tell me what's wrong,
a c# newbie!... more >>
rtf/html conversion
Posted by New World Order Pigs at 2/3/2004 4:21:28 PM
Does anyone know of any EASY way to convert rtf to html and back again???
I'm going nuts looking for an answer to this, but perhaps that's
redundant...
NWOP.
... more >>
Switch ?
Posted by Stephen Russell at 2/3/2004 4:08:10 PM
Any way to evaluate aspects of what was passed? I have a need to add multi
functional operations to a text box. I need to take a # an multiply it,
divide it, just change it to the new one, or leave it alone. I was hoping
to get fancy with Switch & Case.
string lc1 = textbox15.Text;
switch ... more >>
Process
Posted by Ruslan Shlain at 2/3/2004 3:56:57 PM
I am writing a Windows service. I have a timer that is set to 5 seconds. On
the elapsed event i stop my timer and i start a process that triggers an exe
app. It all works fine until I need to see when the exe finished its work. I
tried to use the following code to capture the event.
Any code sam... more >>
easy com+ problem
Posted by Lasse Edsvik at 2/3/2004 3:56:08 PM
Hello
can someone tell me why i get "One or more files do not contain components
or type libraries.
These files cannot be installed" when i try to register it in Components
Services?
using System;
using System.EnterpriseServices;
namespace COMTest
{
public class Class1 : Serv... more >>
How release file loaded with Assembly.LoadFrom() ?
Posted by Tomas Palmquist at 2/3/2004 3:50:50 PM
I have loaded a file from disk with the Assembly.LoadFrom() method.
What do I have to do so the file can be released and the file deleted ?
Regards
Tomas Palmquist
Pointsec Mobile Technologies
... more >>
Custom Actions for .NET project setups
Posted by discussion NO[at]SPAM discussion.microsoft.com at 2/3/2004 3:45:46 PM
Hi,
I need to preinstall silently some applications and runtimes (.net
runtimes) before I install my application but want to do this from a .bat
file. I tried to add this as a custom action in the setup project in "Add
files" but its not allowing .bat files. Are .bat files no longer suppor... more >>
Can't seem to register my C# dll
Posted by Danny Mansour at 2/3/2004 3:36:09 PM
Hi there,
I have created class library project called DSResolver in an attempt to create a SQL server Custom Conflict Resolver dll. My project contains on class called DataSafeResolve which implements the SQLResolver.IVBCustomRsolver interface. The project also has a reference to the SQLResolve... more >>
Property access modifiers
Posted by Magne Ryholt at 2/3/2004 3:23:35 PM
C#:
Is it possible to make a property of which the get accessor is public and
the set is not (e.g. internal) ?
... more >>
Compilation Error: dropdownlist does not contain a definition for selected value
Posted by Ashish Kanoongo at 2/3/2004 2:38:11 PM
I am getting error at the time of compilation, However application runs =
successfully
'System.Web.UI.WebControls.DropDownList' does not contain a definition =
for 'SelectedValue'.
It is giving error in following line.
ddl.SelectedValue=3DddlSelectedValue
If I change this to=20
ddl.... more >>
DataBase Engines
Posted by The Bear at 2/3/2004 2:37:35 PM
Does anyone know of any database engines out there that can be used with
..NET. I seem to be having a hard time finding reviews on this topic.
thanks,
The Bear
... more >>
Newbie Question on Char Conversion
Posted by Jim at 2/3/2004 2:26:06 PM
Hi,
I would like to know if the following
int cr = 13
sw.Write(Convert.ToChar(cr));
int lf = 10
sw.Write(Convert.ToChar(lf));
Will give me the equivalent of a "Cariage Return" and a "New Line" in ASCII
I know that the ToChar function uses Unicode so that's why I want to know if it is... more >>
Newbie question on Writing to a file
Posted by Paula at 2/3/2004 2:16:05 PM
Hi
I am writing to file using a StreamWriter in a Windows Form application
I must write different records with a specific length
However, I have more bytes at the end (in my file) than the number of character that I wrote
Why is that? Isn't each letter take one byte
If not, is there a specific... more >>
why don't my comments work?
Posted by suzy at 2/3/2004 1:26:48 PM
Hi,
I am wondering why my comments do not appear in intellisense.
I have written the following method:
/// <summary>
/// testing
/// </summary>
/// <param name="stem">will this work?</param>
public void test(string stem)
{
}
If I compile/build this code, and try to ... more >>
Converting an object to a byte array
Posted by Mark Rae at 2/3/2004 1:09:59 PM
Hi,
Can anyone please tell me how to convert an object say, a
System.Web.Mail.MailMessage object, to a byte array and then convert the
byte array to a Base64 string?
Any assistance gratefully received.
Best regards,
Mark Rae
... more >>
set and get data from clipboard
Posted by keith at 2/3/2004 12:26:06 PM
I read a book, Programming Microsoft WINDOWS with C# by Charles Petzold, which shows ho
to set or get string and image to and from Clipboard. It says even a button object can be set or go
to and from a Clipboard
I defined a class, e.g
public class AB
string s
int i
public ABC(... more >>
How to count a very large volume of request
Posted by Arsen V. at 2/3/2004 12:21:22 PM
Hello,
What is the best way to accomplish the following.
1) An ASP.NET program (consiting of one file somepage.aspx) receives about
25,000,000 requests pay day.
2) The requests come from a limited set of IP addresses.
3) How to count the total number of request from each IP address per ... more >>
'member names cannot be the same as their enclosing type
Posted by Nik at 2/3/2004 11:46:58 AM
I keep getting the following error 'member names cannot be
the same as their enclosing type' with the code below.
public class HelpText
{
private string _textToDisplay;
private string _cssClass;
public string TextToDisplay {
get {return _textToDisplay;}
set {_textToDispla... more >>
com+, what more are needed?
Posted by Lasse Edsvik at 2/3/2004 11:33:12 AM
Hello
I'm trying to build a simple COM+ app in vs.net using C# and i cant register
it in component manager.....
what more is needed than this:
using System;
using System.EnterpriseServices;
namespace COMTest
{
/// <summary>
/// Summary description for Class1.
/// </summar... more >>
Datalist within a Datalist.
Posted by Rob Manger at 2/3/2004 11:21:44 AM
Hi All,
This may be a stupid question, and may not be the correct solution for my
problem, but here goes.
I want to include a datalist within a datalist, in order to effectively
group items according to one of the columns in a dataset. For example: I
have 2 artists and 7 items. I want to ... more >>
rookie C# equivalent for Java JPanel question..
Posted by Derrick at 2/3/2004 11:11:22 AM
I want to create a form with a few text boxes, labels, etc, and then use
that form on a tab control, and re-use it as a stand alone dialog, can you
drop forms onto forms and into dialogs like you can in Java?
Thanks in advance!
Derrick
... more >>
Garbage Collection
Posted by C# Learner at 2/3/2004 10:58:24 AM
I keep seeing code like this in tutorials:
public void Start()
{
Thread thread = new Thread(new ThreadStart(Callback));
thread.IsBackground = true;
thread.Start();
}
This seems erroneous to me. Surely thread is then subject to garbage
collection, since it has a reference count of 0 a... more >>
MultiThreaded Form
Posted by Ken Saganowski at 2/3/2004 10:56:52 AM
Does anyone have any sample code for a multi threaded form that refreshes
itself while an extended operation is executing:
Example: I am updating a local dataset which could potentially have 1000's
of records. I would like to update a label in the meantime but the problem
is that the form se... more >>
Overloading alternatives?
Posted by Mike at 2/3/2004 10:53:59 AM
Hi,
Sorry I am new to object oriented.
I was trying to build a class from which I could retrieve DataSets, =
DataReader, execute SQL, etc. Some kind of SQL class. I thought that =
creating methods such as "RunSql" and "RunProc" would be a good idea, =
but then realized that it is not poss... more >>
Accessing Outlook Global Address List from C#
Posted by jkrywko NO[at]SPAM hotmail.com at 2/3/2004 10:47:09 AM
I have been searching for information on getting the Global Address
List from my exchange 2003 server to create a control that will
display this information. I have read to use the directoryservices
namespace, but then I read elsewhere that CDO works better. I would
greatly appreciate some ass... more >>
newbie: XSL transform and include
Posted by Dan at 2/3/2004 10:12:24 AM
Could anyone give me a code sample for launching a XSLT transformation
embedded as assembly resource and which in turn references (xsl:include or
xsl:import) other embedded XSLT scripts? I have managed to call an embedded
XSLT script and also to extend it with my own functions via
AddExtensionOb... more >>
Remove the focus from the DataGrid Control.
Posted by J.H.. at 2/3/2004 9:50:33 AM
With who way I can remove the focus from a DataGrid Control using the key
Tab in a WinForm in C# ? The key Tab transports the focus in the next column
of DataGrid and no in the next WinForm Control.?
Thanks
... more >>
Remove the Focus from the DataGrid Control
Posted by J.H.. at 2/3/2004 9:46:24 AM
With who way I can remove the focus from a DataGrid Control using the key
Tab in a WinForm in C# ? The key Tab transports the focus in the next column
of DataGrid and no in the next WinForm Control.
... more >>
openGL in C#
Posted by Binil at 2/3/2004 9:46:10 AM
I know that OpenGL is written for C/C++ programming languages. How about in C#. How would we display 3D graphics in C# ? ... more >>
how to call ref object for interop browser control
Posted by andrewcw at 2/3/2004 9:41:11 AM
I have code like this:
SHDocVw.WebBrowserClass webCtl= new SHDocVw.WebBrowserClass();
object theURLobj;
string theURL="overview.htm";
theURLobj= (object)theURL;
object nullObj = null;
webCtl.Navigate2(theURLobj,nullObj,nullObj,nullObj,nullObj);
//GIVES ERROR :
Argument '1': cannot convert ... more >>
Label Control Question
Posted by Dave Bailey at 2/3/2004 9:41:11 AM
I am developing a web form that has several labels on it. I want to show information from a database in the labels. I have built the select string programatically. Since the label control has no data source property, how can I bind the label control to the data source?
Thanks,
Dave... more >>
"Error spawning midl.exe"
Posted by morphius at 2/3/2004 9:20:29 AM
Does anybody know what this means?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Dunce Cap Firmly On Head
Posted by Frank Oquendo at 2/3/2004 9:16:36 AM
This should be easy but I'm drawing a blank. I have N arrays of strings.
Each array has X elements. I need to output every possible combination
of these strings as follows:
1) Array1 = {"A"}
2) Array2 = {"B", "C"}
3) Array3 = {"D", "E", "F"}
The output should be:
A
A.B
A.B.D
A.B.E
A... more >>
Progress bar without GUI code in the model?
Posted by bob_jeffcoat NO[at]SPAM hotmail.com at 2/3/2004 9:04:23 AM
Hello,
I want to show progress to the user while some method is running so I
thought I'd use a progress bar.
But I don't see how I can do this without writing GUI code in the
model?
In Smalltalk I would fire of notification exceptions that a progress
bar would catch, increment progress, ... more >>
Problem Writing to a File - Urgent! Please Help!!
Posted by Jenny C. at 2/3/2004 8:46:14 AM
Hi,
In a winform application (in C#) I am trying to write to a file with the following:
String filepath = @"C:\Documents and Settings\MyAccount\MyDirectory";
FileStream fsCurrentFile = new FileStream(filepath,FileMode.Append);
StreamWriter sw = new StreamWriter(fsCurrentFile);
But I get t... more >>
double.NaN - Bug? Whats the story behind?
Posted by Jesper, DK. at 2/3/2004 8:11:08 AM
A little preamble
A year ago I had a very odd bug in my program, in an if clause it picked and executed the else statement even though the if clause should evaluate to true. Normally you know that it is you who are doing something wrong, but not this time. Contacting microsoft and providing them wi... more >>
displaying a web page within WINFORM
Posted by andrewcw at 2/3/2004 7:56:11 AM
I just need to host my HTML file within my WINFORM. I am sure there are articles on that, but I cant seem to find one or a simple KIOSK sample. ( No interaction, just view ).
Thanks Andrew... more >>
dataGrid word wrap in windows forms.
Posted by Bernerd at 2/3/2004 7:55:27 AM
Would anyone out there tell me how to make my C# datagrid
wrap the text in the cells. I haven't seen a good how to
out there that does this. I know it has something to do
with using styles but haven't got styles to work right yet
with my grid that get's dynamically populated by xml files.
H... more >>
modem
Posted by gautam at 2/3/2004 7:31:10 AM
i am not able to connect through my modem if i use win xp but if i use win 98 ican (internal modem )could you help me
... more >>
Connected vs. Disconnected ADO.NET
Posted by light_wt at 2/3/2004 7:21:09 AM
Hi,
From my understanding DataSet is used for disconnected data access in ADO.NET. However, I haven’t come across an example to use continuous data access with ADO.NET using C# . Is continuously connection possible and allowed in ADO.NET and Is there a simple example available?
Thanks.... more >>
InnerXML not reading top Node
Posted by bas_jaburg NO[at]SPAM hotmail.com at 2/3/2004 6:13:04 AM
I'm creating a Windows App in C#(Smart Client)that calls a webservice.
The webservice returns this:
<?xml version="1.0" encoding="utf-8" ?>
<table id="klasse" records="4792">
<record locator="1">
<KlaKey>04424</KlaKey>
<KlaOms>(Niet in gids of internet)</KlaOms>
</reco... more >>
Combobox readonly.
Posted by Jesper at 2/3/2004 5:31:11 AM
Hi,
Is there a way to lock a combobox ( pseudo read-only) for direct text editing, such that it only can be changed/edited by selecting one of the values in Combobox.Items.
Best regrets Jesper... more >>
asynchonous callbacks
Posted by paulbwalker NO[at]SPAM shinyorb.com at 2/3/2004 4:55:03 AM
What is the best way to return to the calling code when calling a
asynchronous i/o call in C#. I have in other situations written
systems that were totally event driven so the callback fires an event.
My initial C# attempt has involved the callback re-calling the
origination function with a para... more >>
SourceSafe and Visual Studio
Posted by DMC at 2/3/2004 4:06:09 AM
Hi
Does anyone know how to remove the link between Visual Studio, and SourceSafe? Without manually editing the registry? Thanks in advance
Kind regards
D... more >>
New vs override - I need a drink!
Posted by Darius at 2/3/2004 3:06:36 AM
I'm writing here in hopes that someone can explain the difference
between the new and virtual/override keywords in C#.
Specifically, what is the difference between this:
public class Window
{
public void Draw()
{
Console.WriteLine("The WINDOW Draw method is
running!");
}
}
class... more >>
xml as a data hub between 2 application.
Posted by Chau Johnthan at 2/3/2004 2:47:43 AM
I have two applications, and they use the same xml doc as a data
exchange channel.
I mean each application holds a reference of this xml doc. each
can change the xml doc, in the mean time the other can get
node-changed events.
how should I implement this senario?
THANKS!
... more >>
Create an SQL database from a cmd prompt?
Posted by Jax at 2/3/2004 2:26:10 AM
I know with SQL you can create a datatable with an SQL string, but is there anyway of creating an entire database using an sql string and some sort of command line program? (Command line; see: program i can run, pass an SQL string into and execute without any hassle)
If it is not possible with SQL ... more >>
About Mouse Drag problem C#
Posted by billgay_hk NO[at]SPAM yahoo.com.hk at 2/3/2004 1:32:01 AM
I want to do mouse drag event in the image button of Web form,
have any method for me to use to do that event like java using C#?
thx for help!!!... more >>
Eliminate duplicates in string array
Posted by _eddie_ at 2/3/2004 1:05:28 AM
I'm building an array of strings on the fly from a database. What is
the best method for eliminating duplicates? (I can do this before or
after the strings are added to the array)
... more >>
Accessing files and folders on remote server in webApplication
Posted by Z0gS at 2/3/2004 12:56:07 AM
I got this problem for the web application
I try to access files on a remote server. string[] dirs = Directory.GetDirectories(@"E:\vehicles")
E drive is a map to a network drive. I get the DirectoryNotFoundException. How do I solve the problem or the is another way to write the code
Thank yo
... more >>
Does Adobe provide any free library / COM object to print pdf file programmatically?
Posted by tc at 2/3/2004 12:38:41 AM
Language Proposal (Strong Interfaces)
Posted by codymanix at 2/3/2004 12:17:27 AM
Often you don't wish that clientcode does not depend on a certain
implementation of your methods:
class MyClass
{
public IList DoIt(){return new ArrayList();}
}
clientcode could now cast the return value in Arraylist. In a later version
you may find it more effective that your method retu... more >>
|