all groups > c# > january 2004 > threads for tuesday january 20
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
Does .NET have O/R Mapping?
Posted by Elder Hyde at 1/20/2004 11:52:12 PM
I was reading this interview with Hejlsberg, when suddenly the
conversation turned to O/R mapping. Hejlsberg talked as if he had had to
design an O/R mapping for .NET (he said ".NET had each one of
those"--"those" representing, among others, O/R mapping).
Probably I'm missing something real... more >>
silent assertion of assembly existance on client machine
Posted by Rea Peleg at 1/20/2004 11:44:49 PM
Hey
I need to assert from within a web page that an assembly was previously
installed (and registered) on its hosting machine.
I want to attempt to create an instance of that assembly inside a java or vb
script
method and decide according to the results whether it had been installed.
The fol... more >>
TreeView with tri-state buttons
Posted by Aaron Queenan at 1/20/2004 11:01:10 PM
Is there any way to have tri-state checkboxes in the TreeView, preferably
without having to use the state icons for that purpose.
Does anyone have or know of an implementation of tri-state checkboxes for
the TreeView?
Thanks,
Aaron Queenan.
... more >>
System.Windows.Forms.ListView: OnItemCheck method called when displaying the form
Posted by Aaron Queenan at 1/20/2004 10:59:08 PM
Is there any way to know whether the OnItemCheck is being called in response
to a user action (mouse or keyboard) as opposed to the form loading?
I have a class which derives from System.Windows.Forms.ListView. Among
other features, it enables the checkboxes and overrides the OnItemCheck()
me... more >>
(char*)&
Posted by lucabartolomeo NO[at]SPAM hotmail.com at 1/20/2004 10:58:08 PM
Dear all,
I have a struct in C++:
typedef struct{
char Command[4];
short a;
}PACKET;
I have to send by UDP and C++ command is:
UDP->SendBuffer((char*)&Data,sizeof(PACKET),sizeof(PACKET));
where data is a PACKET Data=new PACKET; and I put something in that
fields.
What's the C... more >>
Inheriting Forms...
Posted by Rasmus Kromann-Larsen at 1/20/2004 10:55:21 PM
Hey,
I'm working on an application (questionaire) with alot of different question
types (very different form layout)... But the questions share attributes,
however - since I'm working in the .NET Compact Framework that doesn't
support Inheriting Forms, and a form is required to inherit
System... more >>
EnumWindows - Speed
Posted by odysseus34 NO[at]SPAM earthlink.com at 1/20/2004 10:15:04 PM
I have found that EnumWindows works very quickly. In DotNet (I use
C#), I can enumerate the windows, narrow them down to just the windows
which are the main windows (i.e., windows which you can alt-tab to),
identify the associated executables, group by executable, sort the
executables alphabeti... more >>
arrays and parse enumerators
Posted by tony collier at 1/20/2004 10:00:23 PM
I have
.....
enum day {monday, tuesday, wednesday};
myArray[2,2]=5;
i=(int)Enum.Parse(typeof(day), wednesday);
Console.Writeline(i);
Console.Writeline(myArray[2,2]);
outputs:
2
5
as expected. If i try
Console.Writeline(myArray[i,i]);
i get index outside bo... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
What's the verdict on C# and Visual Studio .NET?
Posted by noid droid at 1/20/2004 9:52:36 PM
Hi.
I've not used C# yet but just ran across a premonition from 2 years ago
saying that C# would render C++ obsolete by this time. Has it?
Have most corporate developers migrated to C#? Is C++ used for new
development or just legacy apps? What about non corporate developers?
Microsof... more >>
Is there any resource Windows hooking and subcalssing in Dotnet?
Posted by iamraja NO[at]SPAM coolgoose.com at 1/20/2004 9:39:10 PM
Dears,
I apologize in advance if this is the wrong place to post, sorry for
the inconvenience.
Is there any book or web site or any kind of resource is available for
Windows hooking and subcalssing in C# / VB.Net (in general .Net)?
OR, is there any link in Microsoft sites / MSDN ?
OR i... more >>
XSLTransform Problem
Posted by Bnaya Eshet at 1/20/2004 9:31:06 PM
I try to transform xml that has default namespac
For example
<Root xmlns="http://BlaBla.Com"><SomeContent></SomeContent></Root
Then if I use the following xslt Iâ?Tm getting no results because it expecting the namespace
<xsl:template match="/"><xsl:value-of select="// SomeContent" /></xsl:tem... more >>
Custom options page in addin
Posted by Amarnath at 1/20/2004 9:06:05 PM
Hi,
I am trying out creating an addin in c#. I am stuck creating a customised option page for some of the properties.Can anybody please help me with solving this problem? Any example regarding this would be extremely helpful.
Thanks in Advance,
Amarnath
... more >>
C# Assemblies question.
Posted by Wesley Varela at 1/20/2004 9:04:43 PM
C# Assemblies question.
I have a project that writes out objects as an XML document in a specific
manner that my bosses want to use. I call this project XMLObjectIO . this
project is compiled to an DLL and referenced in the main work project.
Writing and reading primitive types goes off wi... more >>
File Association launch default windows dialogue
Posted by JerryP at 1/20/2004 9:02:22 PM
Hi Experts,
from my program I offer the user to launch different files from a directory
(normaly in this directory are .txt files) - but sometimes other files may
be in there - so if my program receives the "no program associated" I would
like to launch the standard Windows dialogue that pops ... more >>
Replacing a Character in a String
Posted by C# Learner at 1/20/2004 8:19:01 PM
What's the "standard" way of replacing a character in a string?
Obviously, I can't say "myString[index] = character;" because strings
are immutable...
So what would be the "standard" way of doing this?
TIA... more >>
ComboBox
Posted by Jim Heavey at 1/20/2004 7:57:00 PM
Hello, If I am binding a ComboBox to a dataTable, I can set the
DisplayMember and the ValueMember property. If I am loading the data
manually, how do I load a value which is equivilant to the "ValueMember"?
Thanks in advance for your assistance!!!!!!... more >>
Please Help!!!
Posted by John at 1/20/2004 7:21:05 PM
Could you guys please help me of this?
http://www22.brinkster.com/crazyut/
Here's the assignment I've recieved but I can't make it done on time(4 days from now) because I've some serious thing to do. It would be grateful for me if you could that. I know it's very shame but I got no choice. Please ... more >>
constructor
Posted by linkspeed2000 NO[at]SPAM yahoo.com at 1/20/2004 7:17:26 PM
Following texts are from C# spec.
The optional constructor-initializer specifies another instance
constructor to invoke before executing the statements given in the
constructor-body of this instance constructor. This is described
further in Section 10.10.1.
So this means:
public class ... more >>
[OT] Server Lag
Posted by C# Learner at 1/20/2004 7:14:32 PM
What's up with the server lag? I've sent a few messages today and
each hasn't "shown up" for at least 15 minutes after me sending it.
The last one I sent (over 30 minutes ago) still hasn't shown up.
Is it just me or is someone else experiencing this too?... more >>
Accessing Relative Image Locations
Posted by David at 1/20/2004 7:06:03 PM
Hi,
I am attempting to write a C# photographic gallery. I wish to create a
standard application that will cycle through all images placed inside a
folder that is relative to the executable. The reason for this is so that I
can simply add/remove photographs from the directory without having t... more >>
How to format a generic soap error message
Posted by Mullin Yu at 1/20/2004 6:32:19 PM
if the web services has a run-time error, how can i send a custom soap error
message, like embed the error stack trace:
try
{
.......
.......
}
catch(Exception ex)
{
// format the custom soap error message
msg = formatSOAPMsg(ex.ToString());
// send the soap error m... more >>
Threads
Posted by C# Learner at 1/20/2004 6:27:14 PM
After a thread has executed and finished, when I try to call its
Start() method again, it throws an exception.
Is it necessary create a new Thread instance every time? Can't I just
re-use the same one?
<relevant parts of the code>
private Thread thread;
public WinForm()
{
thread = ... more >>
Configuring WindowsService thru SystemTray.. Urgent help
Posted by Sylesh Nair at 1/20/2004 6:09:33 PM
hi ,
I have a System tray application which configures a Windows Service through
it (Both written in C#). I have the service polling to a database table
every 30 seconds , the time interval is hard coded into the Service code .
What I need is to configure the time interval thru the SystemTray
... more >>
easy one
Posted by boxim at 1/20/2004 5:58:47 PM
how to get from byte[] to string?
i can't remember method to use, Encoding method i think?
TIA
Sam
... more >>
Cast DataView as a DataTable
Posted by Brian Bischof at 1/20/2004 5:44:06 PM
I'm using a third-party tool that takes a DataTable as a parameter. I really
need to pass it a DataView instead. When I try to explicitly cast the
DataView as a DataTable I get an error that they aren't compatible data
types. Does anyone have a suggestion on how to do this?
My last resort is t... more >>
Passing Variable Value
Posted by David Bacon at 1/20/2004 5:28:11 PM
Hi All,
I am new to C#, and am having trouble passing the value of a variable
from one windows form to another.
Can anyone point me in the right direction.
Any help here would be greatly appreciated.
Thanks
David
... more >>
script for focus
Posted by selen at 1/20/2004 5:11:11 PM
I am using above script for Focus to txtAdi which is textbox in c# web
application.But it doesnt work.
Have you any idea why it doesnt work
thanks.......
char c=(char)34;
string script =
"<script language=" + c + "javascript" + c
+ ">" +
" var control = document.getElementB... more >>
problem with divide operation
Posted by Maor Mishkin at 1/20/2004 5:04:15 PM
I have a problem with divide operation,
the example is:
double a =10.0;
double b =220.0;
double divAns = a/b;
the calculation true result is 0.04545454545454545
but for some resone the calculation is changing to get the result
0.0454545468091
if you know how can i get the system to calc the ... more >>
Using timer object in a Windows Service app
Posted by Mr B at 1/20/2004 4:42:30 PM
The service is installed, started etc, but no tick events are received. Is
this expected? Should I be using an alternative technique for regular data
processing?
Mr B
... more >>
chr(34)
Posted by selen at 1/20/2004 4:12:22 PM
chr(34)= ? in c# how can I use it?
What is the 34 number ?
thanks
... more >>
Crystal Reports question
Posted by Dmitry Karneyev at 1/20/2004 3:43:00 PM
Hi!
Does anybody know how to display no tooltips on objects in Crystal report?
Dmitry
... more >>
Hashtable to windows form
Posted by Arjen at 1/20/2004 3:37:43 PM
Hello,
I have a hash table... some results from it I like to see in a windows form.
Which component must I use?
Users may select one item in the "list" (from the hash table)...
How can I see which item the user haves selected?
Thanks!
Arjen
... more >>
focus
Posted by selen at 1/20/2004 3:22:54 PM
How can I focus the user to textbox.
Thank you......
... more >>
Setting a Windows Service to interact with the desk top and also log on as a user account
Posted by Ian Frawley at 1/20/2004 3:17:08 PM
Hello everyone
I have written a Windows Service to monitor local and remote
Processes/Applications. However I am stuck because if it is installed as a
user account I cannot get it to interact with the desktop and therefore get
the System.Diagnostics.Process.Responding of an app. But if I set i... more >>
secure ftp
Posted by Marco Martin at 1/20/2004 3:09:27 PM
Hi,
I'm about to start on an an application that will need to use SFTP. I know
*nothing* about SFTP (or ftp for that matter) besides the absolute basics.
Where should I start? Are there readily available components for this? Is
there anything I shold look out for?
regards,
Marco
... more >>
Disappearing config file
Posted by adam2001usa NO[at]SPAM hotmail.com at 1/20/2004 2:57:39 PM
Whenever I try to start my service application, the config file is
erased and I get an application exception trying to read it. When I
make it read only, everything is fine.
Anyone know why this erasing happens in the bin\debug directory?
Thanks.
Adam Smith... more >>
document converter
Posted by Benny at 1/20/2004 2:46:01 PM
hello all,
can someone please tell me how can i convert a .doc file to a .pdf using
c#? or please let me know if you know any articles that shows you how
can it be done?
many thanks,
benny
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...g... more >>
VS.Net Question
Posted by at 1/20/2004 2:24:56 PM
I have an application that I am releasing a beta version of. My question is
regarding should I release the debug version or the release? I guess I am
confused about the differences. Also, how VS.Net controls versions:
1) On release how does the version change?
2) Does it automatically incre... more >>
enumerator literal and passing strings
Posted by tony collier at 1/20/2004 2:13:28 PM
if i have a string eg
string day="monday";
and an enumerator
enum days {monday=0,tuesday, wednesday}
how can i use the enumerator so that instead of writing
days.monday
to return 0
i can use the value of the string day as the enum literal eg. something
like:
days."... more >>
Friend WithEvents
Posted by JJ at 1/20/2004 1:51:10 PM
Hi All
I came across this piece of code in C# and was wondering what exactly does it mean to the event
Friend WithEvents txtPath As System.Windows.Forms.TextBo
The Friend Withevents part
Thanks
JJ... more >>
possible to use "ten o'clock" as enumeration literal?
Posted by tony collier at 1/20/2004 1:49:37 PM
does anyone know if it is possible to put spaces and apostrophes in
enumerator literals?
... more >>
DataList RepeatColumns
Posted by Gav at 1/20/2004 1:47:17 PM
Hi All,
I have created a datalist using the repeatcolumns property to create
multiple columns. I have tried to keep everythings width to 100% so that if
the window is resized it still looks alright. However with these repeating
columns it throws everything out of align because it lets you scro... more >>
Center a string with a trailing space
Posted by Mark Urish at 1/20/2004 1:36:06 PM
I want to center-align the text in 2 Label controls, and I want the 1st char of their text to line up
------------------------------------------------------------------------------
label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
label2.TextAlign = System.Drawing.ContentAlignment.M... more >>
Any good example of Non-blocking UDP read?
Posted by tashr NO[at]SPAM kc-automation.com at 1/20/2004 1:33:30 PM
I have been searching and can not seem to find a good example of a
working UDP client that listens, but does not block while waiting for
data arrival.
I am trying to write a client application that needs to listen on
several TCP ports and one UDP port. It will send a start signal over
UDP an... more >>
About Garbage Collection
Posted by C# Learner at 1/20/2004 1:30:07 PM
<code>
public class MainClass
{
private ArrayList list;
public Class()
{
list = new ArrayList();
AddToList();
ReadFromList();
}
private void AddToList()
{
list.Add(new RecordClass("test1"));
list.Add(new RecordClass("test2"));
list.Add(new RecordClass("test3... more >>
Check syntax
Posted by Ruslan Shlain at 1/20/2004 1:26:30 PM
Whats wrong with this code?
public void CleanData(DataSet DS)
{
switch (DS.Tables[0].TableName.ToString())
{
case "scs_ds_vehicle_inventory" :
case "scs_ds_sold_customer" :
case "scs_ds_employee" :
case "scs_ds_fi_deals" :
case "scs_ds_ro_customer" :
case "scs_ds_ro_h... more >>
Garbage Collection
Posted by Bob lazarchik at 1/20/2004 1:16:45 PM
Hello:
We are considering developing a time critical system in C#. Our tool used in
Semiconductor production and we need to be able to take meaurements at
precise 10.0 ms intervals( 1000 measurement exactly 10 ms apart. In the
future this may decrease to 5ms ). I am concerned that if garbage
... more >>
Having issues with setjob api
Posted by Brad M. at 1/20/2004 12:56:05 PM
Here is what I am trying to do. I have written a working program in VB6 that monitors any number of printers simultaneously(sort of). Because VB6 doesn't support multithreading I have to do this with a timers and loops which eats up CPU power and has other inefficiencies. I am slowly converting i... more >>
Update a xml doc using windows forms and C# HELP!
Posted by BJ Allmon at 1/20/2004 12:19:08 PM
I'm new to the .NET community. My name is BJ and I've been
developing web applications for years now. I'm very new
to .NET and could use some assistance. I don't think I'm
asking for very much here. This should be very common but
I haven't been able to find any concrete examples.
I'm creati... more >>
Reference or Value?
Posted by C# Learner at 1/20/2004 12:10:15 PM
In the following...
byte[] ReturnByteArray(int size)
{
byte[] result = new byte[size];
for (int i = 0; i < size; ++i) {
result[i] = (byte)0;
}
return result;
}
....what is being returned - a reference or a value?
TIA... more >>
HTTPWebRequest Expect header
Posted by Dave at 1/20/2004 11:47:28 AM
Hi,
This is one which I've seen several times on the web but no-ones ever come
up with a definite answer or response:
When sending HTTP requests through HTTPWebRequest it always includes the
header: Expect: 100-continue
Is there any way I can restrict this from happening?
Thanks,
Dave... more >>
Image Button Click Event
Posted by ron at 1/20/2004 11:36:05 AM
hi,
I have two image buttons for a custom paging solution in a DataGrid, I would like both button's to use the same Click Event.
I have seen this done before but can not remember were, would some please give brief explanation of how?
Thanks Ron... more >>
C# recordset
Posted by C# beginner at 1/20/2004 11:27:12 AM
1. I'm trying to convert a C++ program to C#. In C++, our
code uses several CRecordset derived classes (These
classes are representative of our SQL server tables).
These classes are instantiated and used in many places in
our C++ code. What is the easiest way to represent C++
Recordsets in... more >>
Overwriting a built in function?
Posted by Sargas Atum at 1/20/2004 11:07:08 AM
I have to sort the contents of each column, by default you can sort the
column just on clicking on the column head.
That works by default. I have to sort another column by the contents of
the next column, I have already written the sorting functions, the are
trivial.
The problem is by no... more >>
Serial number of drive
Posted by discussion NO[at]SPAM discussion.microsoft.com at 1/20/2004 11:05:45 AM
Hi,
Do memory sticks have serial numbers like harddrives? If so how can I get
this, I want to uniquely identify a memory stick (removable drive) for
authentication.
Thanks
... more >>
PerformanceCounter array within Constructor
Posted by jimbo at 1/20/2004 11:04:24 AM
Here is my problem. I'm creating an Instrumentation class that will use
previously created Performance Categories and Counters in order to time
various processes (ie. query duration etc.). This Instrumentation class
will be used by a variety of "services", so the Categories and Counters
to be ... more >>
Alternative to ArrayList.Add()
Posted by tristan_sehgal NO[at]SPAM yahoo.co.uk at 1/20/2004 10:57:29 AM
Hi,
My code reads through a file of shapes adding each
one to an ArrayList as it does so.
The problem is that for files with large numbers of
shapes, calling ArrayList.Add(MyShape) is
exceptionally slow.
There is no way of knowing how many shapes need to
be read in so I can't set the... more >>
How are "const" literal Strings stored?
Posted by Lecture Snoddddgrass at 1/20/2004 10:38:53 AM
Back in the old Visual C++ days, it was always important to define constant
strings only once so that they wouldn't be stored over and over again in
memory. Has .NET resolved this issue? Consider these two code snippets:
Example A
========
const String hey="hey";
MessageBox.Show(hey);
Messa... more >>
Off Topic (sort of)
Posted by AZ at 1/20/2004 10:20:30 AM
I am wondering if there are any seasoned software people in here who can
point me to some resources on how to price a beta product. I have developed
a C# app that will sell for around 30K but I am not sure how to sell the
beta. Is there a standard industry scale for percentages?
Thanks
... more >>
C# or VB.NET - not exaclty the same performance
Posted by Daniel P. at 1/20/2004 9:57:57 AM
MS or anyone still claims that C# and VB.NET generate the exact same IL
code?
http://www.osnews.com/story.php?news_id=5602&page=3
... more >>
Exception in mscorlib.dll
Posted by Ray Mitchell at 1/20/2004 9:51:03 AM
Hello,
I have a VS 2003 application that gets the following error window:
"An unhandled exception of type 'System.ArgumentNullException' occurred in
mscorlib.dll"
"Additional information: Value cannot be null."
When I click the break button it says, "There is no source code available
for t... more >>
Copying Directories
Posted by John Bowman at 1/20/2004 9:38:19 AM
I need to copy a directory to another locaiton. Is there some .Net
framework method I cannot find for copying a directory from 1 location to
another? I found the File.Copy(), but there does not seem to be a Directory
counterpart. Or do I have to code my own recrusion routine to do this?
TIA,
... more >>
TimeSpan?
Posted by Philip Townsend at 1/20/2004 8:17:18 AM
I need to determine if a file's last write time is greater than 15
minutes. Is there a simple way to do this with the TimeSpan object?
Thanks!
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
How do I read user's regional settings ?
Posted by emmanuelt NO[at]SPAM rocketmail.com at 1/20/2004 8:11:11 AM
I want to know the decimal separator and the group separator character
that the user has set in Regional Settings in Control Panel.
I tryied to use System.Globalization.NumberFormatInfo.CurrentInfo like
that:
NumberFormatInfo numInfo =
System.Globalization.NumberFormatInfo.CurrentInfo;
str... more >>
Storing data in ASP.NET
Posted by Jax at 1/20/2004 8:11:07 AM
Say for example a user of my website makes a selection on the site and I want to store that value for use on a later page what is the best way to do that?
My only method at the moment that I know would be to create a static class and static variables inside of that. But if more then one person was ... more >>
create a COM+ component - it was "Re: EXE COM Server Possible in C#? "
Posted by abcmyemail NO[at]SPAM yahoo.com at 1/20/2004 7:59:08 AM
Nicholas,
Where do we find an example that does a EXE COm server in .net?
John,
Message 3 in thread
From: Nicholas Paldino [.NET/C# MVP] (nicholas.paldino@exisconsulting.com)
Subject: Re: EXE COM Server Possible in C#?
View this article only
Newsgroups: microsoft.public.do... more >>
Collection was modified; enumeration operation may not execute . Exception ?
Posted by Anders Both at 1/20/2004 7:37:37 AM
My client-server system, is begining (when more client are connected)
sometimes to throw an exception like this:
Collection was modified; enumeration operation may not execute.
foreach (tcClient per in tcClientList) <-- Exception throw by this line.
{
if (tcClient!=tcClientNow) tcClient.f... more >>
How do I programatically determine the enabled or disabled status of AD accounts
Posted by dave at 1/20/2004 7:20:12 AM
How do I programatically determine the enabled or
disabled status of AD accounts?
I have queried the userAccountControl key, but all I get
back is an int, and it seems to be the same for enabled
or disabled accounts. Please help.
I have read the following article:
http://msdn.microsof... more >>
CryptoAPI cryptographic service provider (CSP) for this implementation could not be acquired.
Posted by Dave Bailey at 1/20/2004 7:01:07 AM
I have an application installed on a web server. When forst intalled it worked fine. The administrator rebooted the server and then when accessing the app the folowing error appears:
CryptoAPI cryptographic service provider (CSP) for this implementation could not be acquired.
I am using ... more >>
COM interoperatability using PInvoke (SEH Exception)
Posted by muthiahr NO[at]SPAM aztec.soft.net at 1/20/2004 6:38:38 AM
Hi All,
I am trying to call COM Component in .NET using PInvoke.
In the following scenario, ( I am getting an exception called SEH -
External component has thrown an exception)
UnManaged Code
---------------
virtual HRESULT IDispatch::GetIDSOfNames(const IID & riid, LPWSTR *
rgizNa... more >>
How to create small windows?
Posted by Erik Cedergren (ecgn) at 1/20/2004 5:21:05 AM
I'm currently trying to create an application with a very small window, 32 by 32 pixels to be exact. However, I can't seem to make windows smaller than 112 by 27 pixels, even though I make them borderless. Does anyone know why this is the case
If it is not possible to make the window smaller, does... more >>
Use of the "new" keyword in class members.
Posted by Ola Johansson at 1/20/2004 4:54:57 AM
Can anyone explain to me a meningfull use of the "new" keyword (Shadows
in VB).
I think i understand how it works fully but i cant figure out why you
would use it. Why would you want to declare a variable in a derived
class with the same name as in the base class but with a diffrent
meaning?
... more >>
COM interoperatability using PInvoke (SEH Exception)
Posted by muthiahr NO[at]SPAM aztec.soft.net at 1/20/2004 4:14:55 AM
Hi All,
I am trying to call COM Component in .NET using PInvoke.
I have rewritten custom IDL file in a managed language(C#).
When I try to invoke one of the COM method from .NET, I am getting the
following exception.
System.Runtime.InteropServices.SEHException: External component has
thr... more >>
Need URL help
Posted by [Joe] at 1/20/2004 3:31:07 AM
Hi,
I have a Text Box wich include an URL ,user enter a link address . my application should open this link to save in the disk.
how can I do that to get a link and save the page in the disk ???... more >>
EnumWindows + Slow Thread Start
Posted by Sean Dudley at 1/20/2004 3:26:43 AM
I am currently enumerating windows via the EnumWindows API.
I noticed that for some reason the very first time I call my enumwindows
routine (inside or outside of a thread) it seems to be very slow. But
subsequent times in the same running instance the calls are super quick.
What might caus... more >>
Creation and destruction objects
Posted by owatona at 1/20/2004 3:01:10 AM
Hi to all,
I would like to know how .net manage the objects and what are the cicle of life of the objects...
Are the same this cicle, for the objects created in windows applications and for the web applications?
Any help will be grateful
Thank
Owatona
... more >>
Open a form
Posted by Bernardo at 1/20/2004 2:46:10 AM
Hi,
I Want to open a form that a user specify in a textbox...
Thereis any way to open a form having justt only is name?
Ex: txtForm.Text = "frmSomething"
Form oform= new (Form)txtForm.Text.ToString();
oform.open();
... more >>
TypeOf question
Posted by Bernardo at 1/20/2004 2:46:09 AM
I have a routine that enumerates all controls in a windows form.
I what to enumerate also the controls that are inside a GroupBox or Panel,...
There is any way to know what is the type of the control being enumerated?
ex: if (typeOf ctl is Panel)
//Get all controls from this parent
... more >>
Add value
Posted by Aaron at 1/20/2004 2:18:49 AM
How can i add values to a string array?
string[] arr = {"a","b","c"};
string s = "X";
I'd like to add x to the front of the array so the array would look like
this.
{"X","a","b","c"};
I tried arr[] +=s; but it didnt work
what did i do wrong?
... more >>
Browser and Desktop
Posted by John Baro at 1/20/2004 2:17:01 AM
Hi All
What are the options in .NET (C#) for creating applications that can both
run within a browser and on the desktop in traditional mode?
Previously (VB6) user controls have been created to be embedded within the
browser and forms (ugh).
I know I'm being lazy and should search more but hope... more >>
Certificates received from Windows CertStore: wrong public key (and incorrect modulus length)?
Posted by jr NO[at]SPAM xor.at at 1/20/2004 1:19:51 AM
Hello,
I'm currently writing an application in C# to support message
integrity checks with signatures.
For this, I need to use X.509-Certificates from files (CER encoded) as
well as from the windows local machine certificate store.
I modified the CryptoAPI P/Invoke-Examples from MSDN
(http... more >>
Much needed event
Posted by Sean Dudley at 1/20/2004 12:15:21 AM
Why is there a filesystemwatcher but not, say a processwatcher?
I need an event to fire whenever a new process has been created. Obviously
the taskbar is receiving such an event. Anyone know how to do this in c#?
Or if it can be done?
I find it odd that I can wait for a task to terminate a... more >>
|