all groups > c# > march 2004 > threads for monday march 22
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 30 31
What is wrong with BitArray.CopyTo()? (I might have posted this twice, sorry)
Posted by SpookyET at 3/22/2004 11:31:27 PM
For some reason the method reverses the array, which is very annoying. If
I put in 00001000 which is 8, i get back 00010000 which is 16. If I put in
00000100 (4), I get back 00100000 (32). This means that CopyTo is
useless, since I have to reverse it to get it right.
public static void Main(... more >>
How to show word document in PrintPreviewDialog ??
Posted by Sachin at 3/22/2004 11:31:17 PM
Is there any way to show/open/load word document in PrintPreviewDialog ???... more >>
Drawing problem
Posted by James Dean at 3/22/2004 11:10:49 PM
I would like to know how to be able to see my line being drawn while i
am drawing inside Mousemove.......i only want to see the line or shape i
am trying to draw on screen not all these other lines i see as i move
my mouse
*** Sent via Developersdex http://www.developersdex.com ***
Don't j... more >>
C# arrays....
Posted by genc ymeri at 3/22/2004 10:41:31 PM
Do C# arrays expand their length in run time ? for instance, in pascal, to
expand the length with one, I could do it like :
Setlength(MyArray, Length(MyArray)+1);
Can I do same thing in C# ?
Thanks
... more >>
Programmatically posting data to a website (Webrequest)
Posted by Matt at 3/22/2004 10:26:06 PM
Hello
I am trying to write an application (Win forms with C#) that logs into a website (username & password) and after authenticated, navigates to a specific page by following a couple links and retrieve some data from the page. This will be all done programmatically. The user will only input user... more >>
CodeDom, properties assigning
Posted by Vladimir S. at 3/22/2004 9:02:25 PM
hi all
, i am using CodeDom, and trying to generate code that assigns one property
to another.
code looks like
CodePropertyReferenceExpression propertyRef1 =
new CodePropertyReferenceExpression(new CodeThisReferenceExpression(),
"TestProperty");
CodePropertyReferenceExpression propert... more >>
Convert Int32 to int type name using reflection - how?
Posted by Sergey M at 3/22/2004 8:47:52 PM
Hi all,
I'm working on some code that creates C#/VB.NET source files. I use
reflection to examine some base class methods, their return types and
parameter types. When I use reflection I of course get .NET types ('Int32'
for instance).
The problem is that when building the source code files... more >>
study_hall
Posted by Reynold DeMarco Jr at 3/22/2004 8:35:43 PM
Hello all,
I am starting a new yahoo group for college students earning a degree
in Computer Science. Some times when you post to groups like this one
the reply is I won't tell you because you are a college student and
you should learn. Unfortunately this does not help us learn but just
frust... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
CSC not found
Posted by Thomas Scheiderich at 3/22/2004 8:32:12 PM
I have Visual Studio .Net loaded and it works fine.
I am trying to run csc from the command line in my wwwroot folder and I
get a message that says it doesn't exist. I get that from the root also.
I would have thought that when I installed Visual Studio, it would have
set it up correctly.... more >>
TextBox Capacity?
Posted by Patrick de Ridder at 3/22/2004 8:17:26 PM
What is the maximum string length a textbox will take?
Thank you.
... more >>
Does C# support generics AT THE MOMENT?
Posted by Stephan Schuster at 3/22/2004 7:55:52 PM
of course i already tried to find the answer using google. although i =
found a lot of pages no one said definitely YES or NO.=20
sorry...... more >>
Catching WM_SETTEXT messages in window with predefined class name
Posted by Matej Rizman at 3/22/2004 7:53:41 PM
We have a third party application that uses WM_SETTEXT windows messages for
interprocess communication. This application sends WM_SETTEXT messages to a
window with predefined class name ("NotificationForm", for example). I would
like to implement a managed component that would listen to these m... more >>
How to access an array of characters returned by a function in dll?
Posted by jacksree at 3/22/2004 7:26:12 PM
I am new to C#.
I have a dll (writen in C++) which returns a char* from the function getName()
char* getName();
How do I access it from a c# application?
(It just returns a number,when I call it.
I know there is somehting wrong in the way I call it.)
Any help welcome.
Thank you in advan... more >>
Windows Service
Posted by Machi at 3/22/2004 7:26:08 PM
i tried to create a very simple Windows Service using C#, after i install the exe as Windows Service by using installutil ... the Windows Service does not displayed in Services ... can anyone help ?
i get this for mcWebService.InstallLog file where [mcWebService] is my ServiceName
===============... more >>
realloc
Posted by Chris at 3/22/2004 6:47:20 PM
Hi,
does something like a realloc() for arrays exist in C# ? (like in C)
or do you have to create a new array-object yourself an then copy the
already existing values in the new array ?
thnx
Chris
... more >>
conversion operator() ??
Posted by Chris at 3/22/2004 6:43:55 PM
Hi,
I try to assign an object of MyDate to an object of Person but don't know
well how ? (see code below)
The way I have implemented it so far will assign a MyDate-object to a new
Person-object, not to an already existing one.
I'm stuck.
Who can help me ?
thnx
Chris
******************... more >>
Getting Folder Permissions
Posted by Hari Shankar at 3/22/2004 6:33:05 PM
Hello folks
I have to get the NTFS permissions of a folder programmatically. I am using
C#. Pls hint me if i am missing anything in the code below.
private void GetSecurityPermission(string strShareName)
{
NERR eRetVal = NERR.ERROR_FAILURE;
EXPLICIT_ACCESS oEA;
IntPtr ... more >>
Change VB to C# code and How to set array
Posted by Tom at 3/22/2004 6:16:08 PM
Hi,
I read http://www.dotnetjohn.com/articles/articleid57.aspx and I need the C# version.
Here is the VB code
Sub ChangeWhereClause(Sender As System.Object, e As System.EventArgs)
Dim strWhereClause As String = ""
For Each li in lsbEmployee.Items
If li.Selected Then
... more >>
Resource Files
Posted by Steven Blair at 3/22/2004 6:12:53 PM
Hi,
I want to store Database parameters in a resource file and allow the user to
change these values through an interface.
Can values in a resource file easily be overwritten and if so how?
Regards,
Steven
... more >>
Listbox, AutoPostBack and this.Page_Load
Posted by Tom at 3/22/2004 6:11:06 PM
I have 4 listbox which relate to 4 tables
Here is the DB schema
Departmen
did in
departmentname nvarcha
Staf
sid in
staffname nvarcha
did int //FK of Departmen
Compan
cid in
companyname nvarcha
Contact Perso
pid in
... more >>
Exception thrown when decrypting read-in message from file
Posted by chau_fai NO[at]SPAM hotmail.com at 3/22/2004 6:07:50 PM
i got two buttons in the form. One is for encrypting the message read
from a xml file and then encrypt the xml and save back to another
file. The other button is for decryption. Again, this button read the
encrypted file back, and then perform decryption.
But i don't know why an exception always... more >>
any page template experts?
Posted by suzy at 3/22/2004 5:49:22 PM
hello, i want to implement page templates in asp.net and was reading through
the following article:
http://www.devx.com/dotnet/Article/18011
are there any experts out there that can give any pros/cons to this
approach?
the reason i ask is because the article says other methods of implementi... more >>
Adding data to a grid //newbie question
Posted by genc ymeri at 3/22/2004 5:41:48 PM
Hi,
Coming from another language, I'm getting to unsuspecting surprises. All I
want to do is to add some data in run time a grid, These data are not coming
from a dataset but manually added by an end user over a C# form by clicking
an add button.
So, if I want to have a grid with data as bel... more >>
Language Question
Posted by Tommy Vercetti at 3/22/2004 5:31:48 PM
I have a fairly firm grasp of the C# language. I often see Visual Studio
add code in square brackets. I've read through "The C# Programming
Language" and I don't see any mention of this construct. Normally I just
try to ignore this code but now I need to understand what it is and what
it is ... more >>
Mousemove, handles, control problem
Posted by willem at 3/22/2004 4:51:30 PM
Hi,
I want
1) To create a method (event) that gives me Handle of Control under Mouse
(tipically controls in a form).
2) To have Control with that handle.
my problem is to make a method that send continually an information about
the control under mouse
for change colors (like Toolbar in IE6 ... more >>
combine two HTML files into one
Posted by Grey at 3/22/2004 4:48:52 PM
How to use C# code to combine two html files into one.
Million Thanks... more >>
Dispose Question?
Posted by David W at 3/22/2004 4:48:01 PM
Hi
If I have a class that has lets say a big byte array or something, can I
just have a dispose method with nothing in it yet still use the using
statement so that the byte array will get freed immediatly. The other
alternative I guess is I could call GC.Collect, but I think the using
stateme... more >>
Trapping the CTRL+ALT+DEL key
Posted by Fabiano at 3/22/2004 3:58:01 PM
Please,
i need to create an app that blocks access to the desktop. I need to block
the CTRL+ALT+DEL key, and other system keys.
Is there a way i can trap it?
tks in adv.
Fabiano
... more >>
Converting a Byte array into a string
Posted by Fabiano at 3/22/2004 3:56:33 PM
Please,
how can i convert a byte array into a string?
i'm using with no sucess:
byte[] tmpData = writer.ToArray();
ASCIIEncoding tmpXML = new ASCIIEncoding();
tmpXML.GetString(tmpData);
return tmpXML.ToString();
tks in adv.
Fabiano
... more >>
Converting a byte array into a string;
Posted by Fabiano at 3/22/2004 3:55:32 PM
Please,
how can i convert a byte array into an string?
i'm using:
byte[] tmpData = writer.ToArray();ASCIIEncoding tmpXML = new
ASCIIEncoding();
tmpXML.GetString(tmpData);
return tmpXML.ToString();
... more >>
HKCU and HKLM/.../Run not running .Net apps
Posted by Mark at 3/22/2004 3:39:39 PM
I've had a problem with getting a small c# app that I've written to run at a
particular user login on XP. I've added a reference to it into the registry
locations:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run (first
attempt)
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curre... more >>
Icons
Posted by Vanessa at 3/22/2004 3:35:55 PM
Is there a way to create a little bigger icons
and icons with more pixels than one created
using the Visual C# IDE?
Any references?
... more >>
save two xslt into one file
Posted by Grey at 3/22/2004 3:34:07 PM
I have to use two XSLT files to translate two XML files into HTML file =
respectively. However, I need to combine the two html files into =
one...HOW to do that??? I cannot change the content of the two =
XSLT....Can I use stream concept to store the first result and then =
append the second res... more >>
save string stream into file
Posted by Grey at 3/22/2004 3:30:05 PM
Please help me to the following questions:
1) Is it possible to save the XSLT result into stream?? I have one xml =
and xslt file and i need to use the xslt to translate the xml into =
another format which it would save as stream and what type of stream =
should be used??
2) how to combine ... more >>
A Web Proxy
Posted by Jay Douglas at 3/22/2004 3:22:54 PM
Greetings,
I have what I feel is a daunting task ahead of me ... I've been asked
to create a web proxy of sorts for an internal web application. I need to
develop an ASP .net page that captures both GET and POST commands from the
user, pass the commands from the user to a remote site, then... more >>
declaring a DateTime const
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 3/22/2004 3:10:26 PM
Hi folks,
I am trying to declare a datetime constant as follows:
(As a class member)
internal const DateTime m_FutureDate = new DateTime
(2199,1,1,0,0,0);
I am getting a compilation error:
The expression being assigned to 'm_FutureDate' must be
constant. Please let me know how to declare... more >>
Can somebody interpret this Regular Expression?
Posted by Colin Young at 3/22/2004 3:09:06 PM
I can't figure out what strings would match this:
^[\w][a-zA-Z'-]{1,128}$
Thanks
Colin
... more >>
Web browser control in Win form...
Posted by SS at 3/22/2004 2:58:25 PM
I have a winforms in whihc a web Browser Control is emnbedded into it.
1) I want to assign some values to some of the controls(textbox, Label....)
from my winform code. And i want to do actions form submit and other from my
windows forms control.
2) User can select text in the browser co... more >>
http://research.microsoft.com/~mbarnett/ilmerge.aspx
Posted by William Stacey [MVP] at 3/22/2004 2:54:58 PM
ilmerge
--
William Stacey, MS MVP
... more >>
Using memoryStream / Serialization
Posted by Fabiano at 3/22/2004 2:42:55 PM
Please,
i have an object that i need to serialize into a XML String. i don't want to
do it using filestream. How can i do using MemoryStream?
i created the code below, but when i use the ToString() method i get just
the object name, not the real data.
RetornoInclusao objRet = new RetornoI... more >>
Go to Definition in C#
Posted by Babu at 3/22/2004 2:41:08 PM
hi
I am new to C#. In VB 6.0 we can find the defenation of any user defined procedure (or function) by selecting right click and Defenation in the menu item. In C# also I can see that, but once the cursor goes to that defination, I want to come back to the calling function also. In VB 6.0 if we ... more >>
Generat Random Number between 1 and 13
Posted by Andrew Banks at 3/22/2004 2:23:56 PM
How can I generate random number between 1 and 13 inclusive.
I''m doing this at the moment by calling the following
private int PickCard()
{
Random RandomGenerator = new Random();
int RandomNumber = new int();
RandomNumber = RandomGenerator.Next(1, 14);
return RandomNumber... more >>
Is This A Safe Practice (ADO.NET SqlConnection Management)?
Posted by Jeff S at 3/22/2004 2:22:10 PM
I'm considering creating a static "helper" class that will be called by
practically all methods in my data access layer (DAL) class. Rather than
having every method in the DAL create its own connection object and then
open it, I was thinking it might be good to create a static method in the
help... more >>
datareader - number of rows
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 3/22/2004 2:07:44 PM
I need some help determining the number of rows returned
by any data reader. Thank you in advance.... more >>
Application security in .NET
Posted by D. Bron at 3/22/2004 2:01:41 PM
Forum,
Perhaps I should ask a more abstract question: How can I implement
application security in a C# application?
That is, I have many users, and each user has a role in the enterprise.
Each of these roles has responsibilities, and, hence, corresponding
permissions.
Thus, from m... more >>
.NET and Visual C# Course
Posted by Hector Martinez at 3/22/2004 1:51:07 PM
I'm in charge of a .NET course, I'm trying to create the program of the course, but I think I need some advices..
If any one knows a good program...Please show me the wa
Thanx in advantage... more >>
select /join with datatable
Posted by adamgeiger NO[at]SPAM yahoo.com at 3/22/2004 1:47:29 PM
I have an access table (control) that consists of fields:
key
fieldname
text
record examples:
1,firstname,Adam
1,lastname,Smith
1,Age,30
2,firstname,Bob
2,lastname,Brown
2,Age,25
Is there a way to join this field to itself on key so that the result
will be:
firstname lastn... more >>
Version number
Posted by john sutor at 3/22/2004 1:47:12 PM
How can you get the version of your executable when you have multiple DLL in
your solution?
... more >>
Checking if URL parameter exists
Posted by Andrew Banks at 3/22/2004 1:33:57 PM
How can I check if a URL parameter exists before trying to do something
If(Request.QueryString("Whatever") EXISTS??)
{
DoSomething();
}
... more >>
Get value from column in dataTable
Posted by Jim P. at 3/22/2004 1:33:16 PM
I must be missing something. Cause I'm adding a new item to a dataTable and
I need to increment a specific column. so How do I get the value of a
COLUMN within the last ROW in a DATATABLE belonging to a DATASET?
For example:
dataSet1.Table["Tasks"].Rows[lastRowID].Column["taskID"].Value.ToSt... more >>
Can't extend CodeGroup
Posted by D. Bron at 3/22/2004 1:30:30 PM
Forum,
Why can't I extend System.Security.Policy.CodeGroup? I need to create a
custom code group to associate with my custom permission, but when I try to
compile, I get the following error:
'System.Security.Policy.CodeGroup.CodeGroup()' is inaccessible due to
its protection level... more >>
How to copy a part of a source bitmap?
Posted by ΢ÈíÐÂÎÅ×é at 3/22/2004 1:19:23 PM
i want to copy a part of source bitmap i need into a new bitmap.of course
the new bitmap has a smaller new size.
how to do this ?
... more >>
tonumber()
Posted by adamgeiger NO[at]SPAM yahoo.com at 3/22/2004 12:54:34 PM
In C# with an access table: (oledbadapter)
Table.Select(selectCommand);
Is there a way to return a result from a String Field that is numeric?
In other words a function like: tonumber()
I have a field that is text but that on occasion want to treat it as number.
I want to do a search s... more >>
Updating ONE cell in a datagrid
Posted by The Bear at 3/22/2004 12:43:59 PM
Hi,
I need to update one cell in a datagrid. There are 3 columns involved. A
calculation is performed on the first 2 cells. Once that value is obtained
I
would like to insert it into the third column.
The calculation has been performed so I have the row and colums. I'm just
having a h... more >>
C# equivalent of VB Redim
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 3/22/2004 12:30:43 PM
Hi all
Please let me know if there is a C# equivalent method for
the VB Redim statement. Thanks a lot.... more >>
sizeof
Posted by Be Learning at 3/22/2004 12:14:09 PM
Hello,
do we have another methods for getting the size of an object if not using
sizeof in C#?
Thanks for reading and any helping ....
... more >>
using XML to transmit data between classes
Posted by Vaughn at 3/22/2004 12:12:11 PM
Where can I find information on writing data in XML format? I'm working on a
Win application and I'd like to be able to receive all the data that's
displayed in my application in XML-format so I can use it in a Web app in
the future. My goal would be to manually "convert" the data to xml and then... more >>
Resize Grid
Posted by at 3/22/2004 11:53:15 AM
Is there a good way to loop through each column of a grid and resize to fit
the longest record? Currently, the grid only contains one record with 8
columns.
Thanks
... more >>
Excel C# - using foreach with Range
Posted by John Putman at 3/22/2004 11:01:17 AM
I'm just starting to convert an Excel addin that was
written in VBA to C#. I have two issues I am having
trouble with so far...
First.... I tried to copy the old VBA code that takes a
Range and then does a Find for a specific string within
the formulas of that Range. While the Find metho... more >>
Performace using foreach
Posted by mortb at 3/22/2004 10:47:21 AM
Is there any gain in preformace using
for(int i=0; i < fooList.Count; i++)
{
doStuffTo(foo[i]);
}
Compared to
foreach(fooObj oFoo in fooList)
{
doStuffTo(oFoo);
}
...and what about comparing arrays to arrayLists
Just curious
greetings,
mortb
... more >>
Control the parallel port, howto ?
Posted by screwiss NO[at]SPAM hotmail-dot-com.no-spam.invalid at 3/22/2004 10:21:00 AM
Hello dudes,
I'm new here and that's because of one question :
How can i control the parallel port in C#
I just made an electronic interface and i want to control it from C#.
Does anyone know this and could anybody give me some lines because i'm
a noob in c#.
If that works, i would als... more >>
All DLLs in one EXE
Posted by Noah Coad [MVP] at 3/22/2004 10:16:51 AM
Is there a way to include the .DLL supporting class libraries that my
project uses in the single Windows App .EXE?
In other words, my app uses about half a dozen class libraries (or more) and
I would like to just distribute the one EXE with everything it needs (the
..DLLs) included in it. I p... more >>
Graphical Text Size
Posted by Noah Coad [MVP] at 3/22/2004 10:09:14 AM
How does one obtain the physical dimensions (in pixels) of some text (with a
specific font)?
I need to write text to a 'Graphics' object that must be centered, and in
order to center the text I need to know what it's size will be.
Your help is much appreciated!
Noah Coad
... more >>
Slow debugging excessive exceptions in the IDE
Posted by neil.davidson NO[at]SPAM red-gate.com at 3/22/2004 9:38:03 AM
Hi,
We're using a third party component which throws and catches
exceptions a *lot* (tens of thousands of them). When we run code that
uses this component from within the VS.NET IDE it is very slow, but
when we run it from outside (eg with CTRL-F5 rather than F5) it is
not. It seems like the ... more >>
Browser in c#
Posted by Darren B at 3/22/2004 9:33:49 AM
I need to create a custom control to display a web browser in a C# app
without going down the Interop/ Microsoft ActiveX Browser control route. I
am not in a position to distribute the interop files to all the desktops as
the app is already out. Does anybody know if this is possible or have an
... more >>
grab file from url location
Posted by Mark Broadbent at 3/22/2004 9:30:48 AM
I'm sure this must be extremely easy. What I want to do is to grab a text
file that is republished on the internet daily, and save this to disk. Can
someone point me to a class that I can use to do this? For the latter part I
presume I'd need to use a Filestream object to save this file.
--
... more >>
Ping utility freezing up :(
Posted by patrick NO[at]SPAM datacompartner-dot-com.no-spam.invalid at 3/22/2004 9:20:49 AM
Hi all,
I am working on incorporating the C# ping Utility from
http://www.csharphelp.com/archives/archive6.html into my own winform
program.
I had to adjust some things (variables etc) for it to work but never
mind that. I am currently calling the function with IP addresses I
get out of my... more >>
Method or property?
Posted by Simon Harvey at 3/22/2004 9:17:05 AM
Hi,
I have a need to create a method/property called isInRole().
My question is whether this should be implemented as a method or a property?
Is there any particular benefit to be had from doing it one way over the
other?
Thanks for any advice you can share
Simon
... more >>
COM+ constructor question
Posted by JollyK at 3/22/2004 9:11:27 AM
Hello guys,
I am very new to COM+ and I am struggling with something that I think is not
possible. What I want to do is have a COM+ component that will have a
constructor that will take in TWO parameters. I know it is possible for a
COM+ component to have constructor that will accept ONE paramet... more >>
How to deal with default case
Posted by codymanix at 3/22/2004 9:11:11 AM
Say I have following method:
public string GetName(MyType type)
{
switch (type)
{
case MyType.Bananas:
return "Bananas";
break;
case MyType.Apples:
return "Apples";
break;
default:
// what now?
}
}
What is the best way to put into the default case? Debug.As... more >>
How to process real-time sound stream from microphone?
Posted by cartooncat at 3/22/2004 9:04:45 AM
I want to make a program that can receive wave sound stream from microphone
and process it (using FFT) in real-time, but I don't know any function can
get the real-time stream from microphone?
Please help me, thanks.
... more >>
Parameters and the IN operator?
Posted by Mervin Williams at 3/22/2004 8:57:50 AM
Is there a way to use an input parameter to populate an IN operator (ie. "IN
(val1, val2, val3)") in a Where clause?
I have a data adapter whose SelectCommand reads:
"Select contact_id, firstname, lastname from Contact where contact_id
in (<val1>, <val2>, ...)"
I need to fill the list ... more >>
Image of controls
Posted by pyda001 NO[at]SPAM ec.auckland.ac.nz at 3/22/2004 8:45:54 AM
I need to create one image of several controls lying "on top of
eachoter" (Z-order) at runtime. Theese are a picturebox (lowest), with
a textbox, some labels and a richTextBox scattered around on top. What
is the best approach to this? Can handles be used somehow?
Thanks!
- Peder -... more >>
Opening flash player from code
Posted by pyda001 NO[at]SPAM ec.auckland.ac.nz at 3/22/2004 8:37:50 AM
I have an swf-file that I need to open in Macromedias Flash Player.
1) How do I open this file using the default program?
2) How can I ensure a second swf opens in a different player window?
3) How can I ensure a second swf opens in the same window?
4) How do I make a window topmost?
... more >>
Transparent image
Posted by pyda001 NO[at]SPAM ec.auckland.ac.nz at 3/22/2004 8:33:26 AM
1) I'm drawing an image on a Graphics object. Is there a good way to
change a full picture's opacity without iterating through all the
pixels and setting a new alpha value? This will be used to make the
picture fade out.
2) I have a semitransparent LinkLabel. This label will also contain a
pi... more >>
newline in xml comment
Posted by TT (Tom Tempelaere) at 3/22/2004 7:56:08 AM
Hi there
I can document my classes by adding xml tags. Brilliant
I generate the help files (Tools/Build Comment Web Pages)
Sadly I see no way to add newlines to the document. Suppose I have the following comment
///<returns
/// --> true, if ..
/// --> false, if ..
///</returns
... more >>
Generic Dispose Function?
Posted by Jeff at 3/22/2004 7:12:59 AM
In C++ I used to declare the following macro for deleteing objects:
#define SAFEDELETE(x) if(x != NULL) { delete x; x = NULL; }
Is there currently a way to do something similar to this in C#?
I'm constantly writing...
if(x != null)
{
x.Dispose();
x = null;
}
and would love... more >>
multiple files are not accessible through argv
Posted by manoj at 3/22/2004 6:06:09 AM
hi
When user selects multiple files and opened our application
We are getting only one of the files into argv variable
Could some one help in getting all the file names
Thank
manoj... more >>
muliple instances of same application
Posted by manoj at 3/22/2004 6:01:07 AM
hi
when a user clicks on muliple files, multiple instances of application are opening
We avoided this by checking the process table. But we want to access the variable
of the previous process and update in the current process. Is there a way to do it
Thank
manoj... more >>
Adding to drop down menu on right click
Posted by manoj at 3/22/2004 5:56:09 AM
hi
How to add a custom functionality to the pop menu when a user right clicks on a file
i.e when you right click on media file add-to-playlist command will appear for windows media player
Thank
manoj... more >>
Network Drive mapping ( Programmatically )
Posted by Nadav at 3/22/2004 4:46:06 AM
Hi
How can I map a network drive Programmatically using c# ? ( without using the scripting host
Nadav.... more >>
HttpModules
Posted by Peter Morris at 3/22/2004 3:23:05 AM
Hi, just learning C# ASP.Net programming, and there's something
I don't understand.
The book lists a program, and says to put in in the /bin directory,
plus a code fragment to insert into the web.config file. The book says
this will insert a comment with a timestamp at the start and end of any... more >>
Drawing using mouse events
Posted by James Dean at 3/22/2004 3:01:48 AM
Could someone please tell me....may seem very basic but when drawing
shapes on screen how to be able to make a shape appear when drawing on
screen.......at the moment i only use mousedown and mouseup when drawing
a shape...i want to be able to see the shape as its being drawn....
*** Sent ... more >>
PocketPC html selected text
Posted by Adam at 3/22/2004 2:56:09 AM
Hi
I have an html viewer control (from opennetcf.org) in my app on pocketpc. My problem is that i cannot get hold of the text that has been selected by a user. I can use the DTM_ISSELECTION message to determine whether or not there is any text selected, but then can not get hold of said text. I hav... more >>
Multifile Assemblies
Posted by BuddyWork at 3/22/2004 2:31:24 AM
Hello,
I'm new in this area and I need a good site that explains
in details how multifile assemblies works and how it can
help by running application that are been launched from a
network drive.... more >>
Interface definition: How can a method return an 'abstract' object?
Posted by fbenavent NO[at]SPAM cogitoergosum.com at 3/22/2004 2:18:46 AM
Hi all, I'm trying to implement an interface, shared for different
classes, with a method that must return an object belonging to the
same class that implements the interface.
May be an example should be clearer:
==============================
public interface IVector
{
[***] Addition([*... more >>
TIMEOUT socket connection
Posted by Dabuskol Fortuna at 3/22/2004 12:11:05 AM
Hi Guys,
How would I know if my socket connection in in TIMEOUT status while
receiving data from the server?
Where can I set my TIMEOUT=30 in c#.
Somebody know this.. please help..
/dabuskol
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate ... more >>
How to open Print property window of selected printer directly without Print Dialog Box
Posted by Sachin at 3/22/2004 12:01:08 AM
When we open any document for printing, Print dialog appears, on it's right corner Property button is given to manipulate
properties of the selected printer. Is it possible to show that property window/dialog of the selected printer without opening
Print Dialog Box in C#??
... more >>
|