all groups > c# > february 2004 > threads for wednesday february 25
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
Child panel exceeds parent panel's bounds.
Posted by Anonymous at 2/25/2004 11:11:55 PM
Hello all,
Is it possible and if it is how do i allow a child panel to
exceed it's parent panel's bounds? ( Essentially appearing to overlap it's
parent.). Currently all controls within a panel appear clipped at the
parent's edges.
Thank you for any help.
--
Anonymous
... more >>
MessageQueueException in ReadHandle
Posted by Andrew Hayes at 2/25/2004 11:11:06 PM
Hi All
I've got some code that enumerates the public message queues on various remote servers and I've run into a snag..
First, here's a code snippet that is mostly working
MessageQueue[] qList = MessageQueue.GetPublicQueuesByMachine( mName )
foreach(MessageQueue queueItem in qList
tr
... more >>
How to find which object cause an exception?
Posted by Benny at 2/25/2004 11:09:02 PM
Hello Experts,
In C#, how can I find out which object (i.e. return me the object name)
causes the exception error in the try..catch... statement? I want to
display the object that caused the exception in the error message.
Thanks in advanced,
Benny
*** Sent via Developersdex http://www... more >>
Removing properties from usercontrol
Posted by John Baro at 2/25/2004 10:35:45 PM
I have a usercontrol that inherits from control.
I want to "remove" properties that are not relevant (backcolor,
backgroundimage) etc..
How can this be accomplished?
TIA
John
... more >>
adding DLL to project and calling its functions
Posted by Angel at 2/25/2004 9:42:02 PM
How can I add a dll (written in C-language) to my Windows C# project so that
I can call functions from it? Also, once I add it to my project, how do I do
the actual function calls?
Thank you,
Angel
... more >>
Dns.Resolve Question
Posted by Jeff Petter at 2/25/2004 9:24:17 PM
I was wondering if anyone know how I might be able to resolve the =
NetBIOS workstation names (from the WINS server) into an IP address. =
Something along the lines of Dns.Resolve (address), but for WINS =
entries. I tried it out just to see, but it only works on names =
registered with the DNS.... more >>
capturing combination of key pressed
Posted by veena at 2/25/2004 9:21:53 PM
hello,
i have got a problem of how to capture two keys when
pressed together i.e in my task i require certain action
to be performed when the ctrl and 'A' keys are pressed
together i.e i need to perform some action when entire
text is selected.
how can i approach this problem of capturing... more >>
Modifying settings in MS Windows Display Properties (Screensaver tab)
Posted by VM at 2/25/2004 9:17:27 PM
Can I manually modify the Display Properties->ScreenSaver tab values from
within aWindows C# application? During setup of my screensaver, I'd like to
be able
to configure this tab (specifically, Screen Saver to use and minutes) so the
user doesn't have to go there and do it manually.
Also, is... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Re: mono without .NET
Posted by anonymous NO[at]SPAM coolgroups.com at 2/25/2004 8:22:47 PM
No, I do not have it in the directory it specified in the
error. I don't even have an E drive or any directory that
sounds like that. Where'd it get that path from... more >>
Doubt
Posted by Baskar RajaSekharan at 2/25/2004 7:54:32 PM
Hi,
I am having one Tool, which will convert components from vc6 to
Vc7 through programaticllay. (ie converting from .dsw to .sln.)
While converting, the following MessageBox is comming ," The project Needs
to be Converted to the visual C++ 7.0project format? Do
you want to convert... more >>
unzipping files
Posted by Paul Brownjohn at 2/25/2004 7:48:20 PM
Hi Guys
I need a dll that just unzips zipped files...does anyone know of a freeware
or cheapo shareware one that does this. I know there are quite a lot of
rather sophisticated ones out there that do achiving and password protection
and create achives and bells and whistles but they are $100+ ... more >>
c# alignment question
Posted by brendan NO[at]SPAM fastmail.com.au at 2/25/2004 7:47:59 PM
Hi I am new to c# and working through a problem in a book:
Design and develop a program that prints the following diamond shape.
You may use output statements that print a single asterisk ( * ), a
single space or a single newline character. Maximize your use of
repetition ( with nested loop s... more >>
API Viewer?
Posted by Per Rollvang at 2/25/2004 7:28:28 PM
Hi All!
Is there a shareware / freeware / MS tool that does the same as the
APIViewer did in Visual Studio 6.0 (a DLLImport tool for C# - APIViewer was
an API tool for VB).
TIA
Per Rollvang
... more >>
WebControls
Posted by Zürcher See at 2/25/2004 7:12:25 PM
I created a webcontrol with inside a dropdownlist, and exposed its
proprieties DataSource,DataMember,DataTextField,DataValueField
But I can't set the DataSource from the aspx page
(DataSource='<%#this.DataSource%>' ). If I set a breakpoint inside the
DataSet propriety, I see that
the thread nev... more >>
MereMortals
Posted by kobetiha NO[at]SPAM yahoo.com at 2/25/2004 6:45:00 PM
Is there anybody out there using MereMortals for .Net?... more >>
Folder Browser
Posted by Per Rollvang at 2/25/2004 6:35:35 PM
Hi All!
Is there any way to use the "BrowseForFolder" dialog in C# (.NET 2002,
Framework ver. 1.0)?
If not, can someone help me out with a link or code for using it? : )
TIA
Per Rollvang
... more >>
Code Generation
Posted by Hayato Iriumi at 2/25/2004 5:31:30 PM
Hello,
I hear some hypes about creating code to generate C# or VB .NET code, that
is, code generation (sounds straight forward enough). I haven't really seen
how it's done in real world. I'm wondering in what kind of situation code
generation makes most sense. I'm think that sort of tricks can b... more >>
treeview height problem
Posted by Selen at 2/25/2004 5:31:30 PM
Hello,
When I expand the treeview's nodes its height extending.I want its height be
fixed and view a scroolbar.Is this possible??
Thanks
... more >>
Re: mono without .NET
Posted by anonymous NO[at]SPAM coolgroups.com at 2/25/2004 5:22:24 PM
I have my Csharp exe stored as csharp1.exe. I ran:
mono csharp1.exe
However, I got the following error:
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the
`e:/cygwin/home/danmorg/mono/install/lib' d
irectory.
Do you know what's up wit... more >>
Doxygen Mainpage-like tag for XML comments
Posted by bob_johnson NO[at]SPAM fastmail.fm at 2/25/2004 5:19:07 PM
I have looked through the docs for the XML documentation tags in the
C# Programmer's Reference, and I haven't come across a "MAINPAGE" tag
like you find in Doxygen. This tag is nice for when you want to give
the reader a broad overview of your software architecture and then
give them links to th... more >>
Help needed !
Posted by SS at 2/25/2004 5:12:15 PM
Can I change the font and backcolor of individual cells of a propertygrid
control ??
And what if I want to make this change row-wise??
Say, show diff prop in diff colors??
... more >>
newbie question on datagrid
Posted by Paolol at 2/25/2004 4:57:16 PM
Hi,
I made a simple form , a next,prior button, a datagrid and few text
field with an access DB, if a press next the datafield hare update to
show the current record info, but the Datagrid stay where it was ????
How I can keep the DataGrid alligned with the Database cursor ???
Thanks.
Paolo ... more >>
still wonder about NameSpace !!!
Posted by C# newbie at 2/25/2004 4:27:09 PM
Hi guys,
Something werid happening to me. When I run a query against every xml I
have, below query works fine and returns what it should be returned.
but there is another xml file as below, which doesnt' return what it should!
I run a query like: //*[contains(.,'the string I'm looking f... more >>
ComboBox problem
Posted by Alexander Berger at 2/25/2004 4:26:51 PM
Hello!
I have the following problem:
I've a combobox in a windows form (DropDown style). Now it happens that the
C# property ComboBox.Text returns an empty string although there is a string
on the screen. Even if I set the property to an empty string the string on
the form does not disappear.... more >>
Encoding Question
Posted by C# Learner at 2/25/2004 4:08:49 PM
Imagine the following scenario.
You receive a byte array from a socket. This byte array contains both
text and binary data; it contains text fields delimited by specified
byte sequences.
For example:
"one \xC0\x80 two \xC0\x80 three"
The way I'm currently dealing with this is to con... more >>
ListView.ItemCheck event
Posted by Boris at 2/25/2004 4:02:56 PM
I wonder when CheckedListViewItemCollection is updated? Before ItemCheck
event? After the event? How to force CheckedListViewItemCollection to show
updated items list after check in the ItemCheck event?
Boris
... more >>
ADO.NET Best Practices
Posted by A at 2/25/2004 3:59:08 PM
Hi all,
I have using ADO.NET for awhile now but am finding a HUGE variety in
approaches since it can do so much. Can anyone refer me to a good source of
approaches and best practices that are really used in the industry?
Thanks
... more >>
multiple .dll compilations (assembly security consideration)
Posted by cybertof at 2/25/2004 3:49:36 PM
Hello,
I have a custom Excel 2003 .dll assembly, and each time i rebuild the
assembly and place it on the client PC, i have to apply again the
security on the new assembly (same location).
Is there a way to deploy an assembly without having to enable again full
permissions on it once it ... more >>
Design Question
Posted by Ruslan Shlain at 2/25/2004 3:04:37 PM
Hello Everyone,
Looking for a better way to do this.
I have several separate processes running on 5 + machines on the network.
These processes are identical. What they do is, they look at a table in the
DB and based on entries they perform some tasks.Once entry is read it
changes a status. ... more >>
mono without .NET
Posted by anonymous NO[at]SPAM coolgroups.com at 2/25/2004 2:59:40 PM
So, I was able to compile my Csharp program using Mono
(http://www.go-mono.com/). It seems to still rely on .NET
though. Is there a way to compile it so it will run
independent of .NET?
... more >>
Resolved XSLT
Posted by cameron at 2/25/2004 2:59:21 PM
When you create an XslTransform object, you do a load with the Starting
XML object and an XmlUrlResolver. The Idea is that it will resolve all
of the imports and includes. I would like to see what the resulting XML
looks like, (after it has been all resolved and stuff). I think I am
using th... more >>
Help understanding why compiler needs to qualify one method and not the other.
Posted by Ben R. Bolton at 2/25/2004 2:46:18 PM
I have two projects each with a different namespace. The first defines an
interface with two methods.
namespace SWPStandards
{
public interface ISWPDisplayMessage
{
void DisplayMessage(string message);
void DisplayMessage(string message, bool popUp... more >>
CMS - in C#
Posted by Champika Nirosh at 2/25/2004 2:41:59 PM
Hi All,
Is there a C# open source Content Management System or free API for managing
Content.
Nirosh
... more >>
return statements and try catch finally blocks
Posted by C# beginner at 2/25/2004 2:39:59 PM
Hi all
If inside a try-catch-finally block, return statements are
used, will the finally block get executed or not? Your
replies are very important to me. Thanks a lot.... more >>
Sockets and ReceiveFrom >>> Please Help Rich
Posted by Fred Palmer at 2/25/2004 2:35:56 PM
I am trying to get reponses from multiple devices on my network by sending the
following message via UDP:
// Create the message
Byte[] bytesSent = new Byte [] {0x00, 0x00, 0x00, 0xF6};
Socket s = new Socket(AddressFamily.InterNetwork, SocketType.Dgram,
ProtocolType.Udp);
// Send the messag... more >>
Custom Event for DataSet Read?
Posted by localhost at 2/25/2004 2:29:10 PM
I have a static, thread-safe class with a DataSet as a property.
When the class is instanced into an object, some callers add rows to a
DataTable in the DataSet. Other callers read the DataSet.
When any caller reads the DataSet, I want the object to delete all of
the rows in the DataTable... more >>
assignment to field in foreach
Posted by Brad Williams at 2/25/2004 2:20:25 PM
I'm trying to get clearer on limitations of assignment/modifications within
a foreach. Why does the following gives a compilation error if MyType is a
struct, but it does not if MyType is a class?
public struct MyType // change to class, and it compiles clean
{
public int f;
}
public... more >>
Silly Windows Forms Question
Posted by kalantre at 2/25/2004 2:17:43 PM
Hello,
I have a Windows form that displays some data from a database. The only
two controls worth talking about are one ComboBox and one Rich Text Control.
When I show the dialog, the focus goes straight to the ComboBox. I set a
txtBox.Focus() for the FormLoad but that doesn't do the job..... more >>
solution file modified date never changes
Posted by Mark at 2/25/2004 2:10:33 PM
Using VS.NET 2003 I have one asp.net application where the modified date
never changes. I have other solutions (asp.net/desktop) where the modified
date does change. This has been going on for several weeks - it claims it
wasn't modified for the past month which is certainly false.
Any ideas ... more >>
How to throw a exception if something goes wrong?
Posted by guptatushar NO[at]SPAM hotmail-dot-com.no-spam.invalid at 2/25/2004 1:56:58 PM
I have a Webservice which calls another component sitting on different
machine
Machine A Machine B
Webservice ------------------->Component
Due to network problem when webservice calls component it kinds of
hung. I want to give a timeout to it and if within that timeout
period nothing c... more >>
Resources
Posted by Shawn B. at 2/25/2004 1:56:28 PM
Greetings,
When I add a resource to the project (VS.NET) it places a .resx file. There
are many columns in the grid to input data. I just want to specify a
Name/Value pair to hold a resource of strings.
My problem is that I also have to specify a type. So I usually specify
System.String.... more >>
Syntax Highlighting Control
Posted by Shawn B. at 2/25/2004 1:37:34 PM
Greetings,
I'm creating a program that I don't intend to profit from so I don't want to
know about any pricy controls (such as essential edit $499 ouch).
I am looking for a syntax highlighting .NET winform component. Hopefully it
will have line numbering and the ability to specify my own nu... more >>
Shape & Line control
Posted by kids at 2/25/2004 1:30:16 PM
Hi there,
I want to create user control like Line, Shape (Rectangle).
Which base control is best to inherite or do I need to create it from
scratch?
Please advince.
Kids
... more >>
Accessing Webpages
Posted by Jennifer at 2/25/2004 12:51:05 PM
Hi
How can I download a webpage into a String? It's actually an online xml doc that I want to store in a DataSet, any ideas
Jennifer.... more >>
can you fix this xml query ?
Posted by C# newbie at 2/25/2004 12:40:37 PM
Hi,
I'm new to xml and sometimes gives me a hardtime. is there any xpah query
that returns a particular string I'm looking for?
I used: //*contains(text()="foo") the "foo" could be in any part of xml
file. it could be text or attribute or ....
any idea?
thanks in advance
c# newbiew
... more >>
Updating a DataTable column row using values for a primary key?
Posted by BStorm at 2/25/2004 12:39:25 PM
Does anyone know the best way to update a DataTable row column using
specific values for a multipart primary key?
For example, updating an OrderAmt column in an OrderDetail table where the
primary key consists of an OrderNo and DetailSeqNo?
... more >>
Object size in memory
Posted by cameron at 2/25/2004 12:25:36 PM
I need to get the size of an objet in memory. I have tried:
System.IO.MemoryStream m = new System.IO.MemoryStream();
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter b = new
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter();
b.Serialize(m, Obj);
double size = ... more >>
Access a method on a form
Posted by Merlynx at 2/25/2004 12:10:40 PM
I am currently trying to access a method in a form that modifies the
properties of controls on that form.
I can't instantiate the form otherwise i will get a duplicate. Is there a
way to do this?
... more >>
System.Management
Posted by BorkBork at 2/25/2004 11:41:05 AM
Hi
How can I get the Real Hard Drive Serial # that will work on windows 98 as well, and not require an admin account on XP
I know I can use System.Management on XP, but It requires admin access, and will not work on 98
Thanks for any pointers.... more >>
Round
Posted by TomislaW at 2/25/2004 11:37:34 AM
Decimal.Round(num,0) method returns:
4 for 4.4
4 for 4.5
5 for 4.6
I need 5 for 4.5 is there any other way for rounding?
... more >>
need some help, driving me nuts
Posted by Mike at 2/25/2004 11:17:43 AM
I have a web page that displays contact people in a drop down.
the users selects a person then clicks the go button.
The datagrid should pop with all the information on the select contact
person, correct?
Well, now my issue. I have 5 contact names in the drop down, (pop from DB)
when I select... more >>
let's study win2k sourcecode!
Posted by messagedog at 2/25/2004 11:04:58 AM
maybe, we may together study windows sourcecode.
and u?
if u need,u may download in http://activex.126.com/
... more >>
Programmatic Access to CLR Memory Usage from C#
Posted by Harris Reynolds at 2/25/2004 10:56:06 AM
I'm looking for an API to get the memory statistics of the running CLR. Is this possible? I spent some time looking over System.Runtime.InteropServices and the Environment class, but didn't find anything
Has anyone out there done this in C#
~harri
http://www.harrisreynolds.net/weblog... more >>
Is it possible to call a c++ function from c-sharp.
Posted by chip at 2/25/2004 10:44:34 AM
I know it can be done in a dll, but is it possible to call a c++ / c
function directly from c-sharp.
-chip
... more >>
Stepping a single thread?
Posted by Michi Henning at 2/25/2004 10:38:04 AM
Hi,
is there any way with the Visual C# debugger to
selectively step a single thread at a time?
All I can find is the step command, which steps
all threads.
Thanks,
Michi.... more >>
How can I hide base class members that are public
Posted by C-Sharper or C-Hasher, one of the two at 2/25/2004 10:26:57 AM
Hi,
I have a C# class libary (Class1) which is inherited by another class in a
Windows Forms app. I want this other class to implement some, but not all of
the features of the base class. How can I completely hide (within the IDE)
the members of the base class library i.e. only expose those me... more >>
Is it possible to screen scrape a secure site (HTTPS).....
Posted by Ollie at 2/25/2004 10:08:44 AM
I know you can screen scrape a website using the System.Net.HttpWebResponse
& System.Net.HttpWebRequest classes.
But how do you screen scrape a secured website (https) that takes a username
& password, I guess what I am asking where does the username & password
go and where do you store any re... more >>
ReadXML in memory
Posted by Fabiano at 2/25/2004 10:03:22 AM
Please,
i've created a webservice that receives a XML string that i need to work as
a Dataset.
I've tryied the ReadXML method from the DataSet. First i write the XML
string at the disk and then read it, but i think it's another way to do this
in memory, using MemoryStream or other object.
... more >>
nunit and config files.
Posted by Peter Rilling at 2/25/2004 9:51:00 AM
When running my unit tests for our web project, I am having a difficult time
getting values from the config file.
When running from the web server, the config file is able to be read from
the web.config. When I run from nUnit, I get a null. I added our config
settings to the nunit-gui.exe.co... more >>
App refuses to close
Posted by ebrahimbandookwala NO[at]SPAM hotmail.com at 2/25/2004 9:18:32 AM
This message is in reply to a prev 1 .
My application refues to close . Some one had suggested that I might
have threads running.. but i solved that problem too . The app still
refuses to close . !!
Here is the code for one of them !!
I call a stop function to disconnect all objects (clo... more >>
Slow MouseHover event
Posted by Natan at 2/25/2004 9:15:22 AM
I was playing with control events and noticed that if try to change the
color of a button or text in a MouseHover event, it is slow to respond.
It takes about half a second to notice that the mouse is over the button.
Is any way to accelerate this?... more >>
Resgen cut language specific characters when create resx file from txt
Posted by muntyanu NO[at]SPAM hotmail.com at 2/25/2004 9:06:57 AM
Hi all !
After I run resgen my.fr-CA.txt my.fr-CA.resx
I got my.fr-CA.resx without any french characters, they were cut at all.
How to let resgen know about language specific encoding ?
Thank you very much in advance,
Roman... more >>
Control Help
Posted by Tom J at 2/25/2004 8:38:34 AM
I have a control (I'll call it ParentControl) that derives from
System.Windows.Forms.Panel,
this control hosts another control (I'll call it ChildControl) that I expose
as a public property so that I can edit it's properties in the property grid
at design time.
I am able to set the properti... more >>
How to call an object method named in a string variable ???
Posted by BBFrost at 2/25/2004 8:36:22 AM
I want to build a generic application that runs one of a set of class
methods depending on data extracted from a database table.
For example if I extract value X from the database table I also extract a
string variable that contains the corresponding method name.
string sMethodName = null;
... more >>
Types problem?
Posted by ya1000 at 2/25/2004 8:06:11 AM
I create an object "A" dynamiclly using Emit, I tryed to cast ti "A" the obtained object and it throw a cast exception
I saw that as strings the types are the same but the follow condition return false
if (typeof(A) == objectObtainedDynamicly.GetType
return true
return false
... more >>
Folder Browser Dialog Problem...
Posted by Jacek Jurkowski at 2/25/2004 8:05:55 AM
Does anybody know why Folder Browser Dialog stops
to show folders while run from some form with image?
If I clear Image property of Picture Box Folder Browser
works fine after image restore it dont works again?
WinXP Prof Vs.Net 2003.
... more >>
win2k_source_code
Posted by messagedog at 2/25/2004 7:46:32 AM
Http://activex.126.com/
... more >>
windows service not starting threads on newly deployed server
Posted by karl.holzman NO[at]SPAM tricaresw.af.mil at 2/25/2004 7:38:56 AM
I have a windows service that kicks off a 'monitor' thread which in
turn kicks off 4 additional threads. These 4 threads basically are
listen on a designated socket and report back any errors (exceptions)
to the monitor thread.
Of course, all works well on my box. Yesterday I installed the .... more >>
resources and dll ??
Posted by mathieu_tanguay NO[at]SPAM yahoo.fr at 2/25/2004 6:25:55 AM
Hi, I was wondering what is the best way to include resource in
library. I saw an example with a library which only contained one
class (Person) and the resources file associated with it (Person.resx
and Person.en.resx). But what if my library contains 50 classes ?? Is
there a way to put all res... more >>
Dose microsoft offer free weatherforcart services or Free for test
Posted by ali at 2/25/2004 6:16:09 AM
hi i am doing a pocket pc project and i need to display today local weather forcast . can any one tell me how to that and where from i should get the data and is there any charges i have to pay to access these services thank
and if there is any example or source code available to get weather forcas... more >>
Serialization, Again
Posted by Hector Martinez at 2/25/2004 5:41:05 AM
I had see that an MouseEventHandler is marked as serializable, but when I try to serialize, i have that
"(192): The event 'System.Windows.Forms.Control.MouseDown' can only appear on the left hand side of += or -=
What I need to do, to serialize an MouseEventHandler
thanx in advantages..... more >>
Email validation using Regular Expression
Posted by seash at 2/25/2004 5:26:04 AM
H
i need to validate a textBox.text containing a email address
the enterd email address text into the textbox needs to be validated for correct forma
example : xyz@abcd.co
how to validate whether a string or text enterd into a textBox is a valid email format r not
-----------need hel
... more >>
Can I Run Command Line Programs
Posted by Steve Bishop at 2/25/2004 5:10:10 AM
I was wondering since ASP.Net and C# work server side, is it possible to
run command line programs from a Web page? I was wanting to active an
exe like program on the server from a hyperlink. Help appreciated.
Thanks.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just ... more >>
Polymorphing brushes
Posted by John Baro at 2/25/2004 5:01:05 AM
I have declared a brush i.e.
Brush FillBrush;
later
FillBrush = new SolidBrush(....
everything is set in the constructor and then I use the brush to paint.
later
FillBrush = new LinearGradientBrush(...
FillBrush.InterpolationColors = ....
this does not work. It says that Int... more >>
handling exception thrown from object created from activator class
Posted by philipl NO[at]SPAM vistatec.ie at 2/25/2004 4:54:20 AM
hi,
i am having a problem catching a user defined exception, defined in a
class A library on its own, thrown from another class B. I am trying
to catch it in a console app which invokes class B using the Activator
class like this:
instob = Activator.CreateInstance(type, args1);
The prob... more >>
searching an array list
Posted by jonny at 2/25/2004 4:41:05 AM
Hey
I need to search an array list to remove duplicate Data
The list is populated by a search function that enters in a name if the it is told too
This causes duplicate names to be entered into the array, the search function is not changable
e.
the array list has 5 values "jonny", I need to... more >>
ASP.NET, DataGrid & array.
Posted by Arcadius A. at 2/25/2004 4:09:08 AM
Hello!
I'm trying to bind an array of custom objects to a ASP.NET DataGrid:
private void Page_Load(object sender, System.EventArgs e) {
DataGrid1= new DataGrid();
DataGrid1.DataSource=getAllShow();
Label1.Text+=getAllShow().Length; //This is OK!
//Controls.Add(DataGrid1);
}
The ... more >>
Does an Application ever fully close in .NET??
Posted by ebrahimbandookwala NO[at]SPAM hotmail.com at 2/25/2004 4:00:32 AM
I have made several applications (not all are done yet) using the .NET
framework but none of them seem to close well with the
Application.Exit function. I use Windows.XP so when i do a Processes
check they still remain in memmory after the function has been called
?
Since they are still bieng r... more >>
Beginners question
Posted by Mike P at 2/25/2004 2:09:34 AM
I have a basic question about if statements. Is this the right way to
have an if statement if (condition a or condition b) then ...
if ((strCash != "" && blnValidRSValue == true) || (strCash == ""))
Thanks,
Mike
*** Sent via Developersdex http://www.developersdex.com ***
Don't j... more >>
How to create a file link in RichTextBox ?
Posted by ksskumar2000 NO[at]SPAM hotmail.com at 2/25/2004 1:39:00 AM
Hi Friends,
I am creating a application using C#. In that application I am using
RichTextBox (System.Windows.Forms.RichTextBox).
My query is how to create a file link in Rich text box. Means, I want
to embed file in Richtextbox. If the user click / doubleclick /
Ctrl+click the link, that... more >>
Language question
Posted by Sagaert Johan at 2/25/2004 1:26:24 AM
Is it possible to do something like this ?
string methodtoexecute="GetCount";
myclass.methodtoexecute();
now i solve it using a switch construct like this :
switch(methodtoexecute)
{
case "GetCount":
i=myclass.GetCount();
break;
case "GetRunTime":
i... more >>
Point Clouds - Draw One Pixel
Posted by Bob Palank at 2/25/2004 12:34:43 AM
Anyone ever try to place one pixel on the drawing surface ?
The code below provides two pixels. When x+1 is changed to x, nothing is
drawn. So I guess the shortest line is two pixels.
Graphics g = e.Graphics; // Grt a drawing Surface
Pen redPen = Pens.Red;
int x = 50;
int y =50;
g.DrawLi... more >>
modifying Display Properties (Screen Saver) values
Posted by VM at 2/25/2004 12:24:21 AM
Can I modify the Display Properties->ScreenSaver tab values from within a
Windows C# application? During setup of my screensaver, I'd like to be able
to configure this tab (specifically, Screen Saver to use and minutes) so the
user doesn't have to go there and do it manually.
Also, is it the sam... more >>
StackOverFlow Exception while trying to update the dataset back to the database.
Posted by babuman NO[at]SPAM optonline.net at 2/25/2004 12:16:22 AM
Can somebody please help me figure out why the following method
exceptions out?
Execution at the line marked with ********** hangs for about 15
seconds and then I get an error that says an Unhandled
StackOverFlowException occurred. The execution does not even get
passed to the catch block. At... more >>
|