all groups > c# > march 2004 > threads for thursday march 4
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
C# or VB.NET in Windows CE?
Posted by kplasun NO[at]SPAM hotmail.com at 3/4/2004 11:20:56 PM
Hi,
I'm supposed to develop a Windows CE app in VB.NET, I'd prefer C#. Is
there a reason to use VB.NET in WinCE over C#? Isn't C# more powerful, or
is the difference mainly in syntax? Or are the benefits to using VB.NET?
If it's preferable to use C#, what reasons should I use?
Thanks a lot ... more >>
Max column limits in Query Builder of a data adapter?
Posted by MR at 3/4/2004 11:19:52 PM
Is there a limitation to the number of columns you can define in the Query
Builder of a data adapter? it seems the limit is around 96. i know i can
split the query into two parts, but then it would increase the number of
total queries i have to make by a factor or 2.
i tried using Select * but t... more >>
structure sending thru socket
Posted by user NO[at]SPAM domain.invalid at 3/4/2004 11:15:32 PM
Hello
I have structure:
public struct buf
{
public int type;
public int len;
public byte [] data;
};
and in my program:
String d="something";
send_buf.data=Encoding.ASCII.GetBytes(d);
and after that i want to send whole struct throught my socket function:
System.Net.Sockets.Soc... more >>
To Stoicho... Re: Repost, Unanswered Hooking Problem...
Posted by TMP at 3/4/2004 10:05:55 PM
Thank you so much Stoitcho,but then I have another question.I was able to
implement a low level keyboard hook (globally of course) by using (almost)
the same code fragment.So I thought if it works for every top level window
on desktop globally it would work for a single procedure too.May be I'm
... more >>
Seeking migration advice
Posted by Joseph Geretz at 3/4/2004 9:27:50 PM
I don't know if this is the right group for my question, but I'm seeking
advice from knowledgable .NET developers. Hopefully I've come to the right
place.
I work with a document management application which is tightly integrated
with the workstation Windows environment. Our software does not n... more >>
About contextmenu.
Posted by Jose Antonio at 3/4/2004 9:14:21 PM
Like knowing the size of contextmenu?
Greetings
... more >>
Active Directory groups
Posted by Maziar Aflatoun at 3/4/2004 8:52:53 PM
Hi everyone,
I have the following code that basically reads all information about a
domain user.
System.DirectoryServices.DirectoryEntry entry = new
System.DirectoryServices.DirectoryEntry("LDAP://" + dom, "myusername",
"password", AuthenticationTypes.Secure);
System.DirectoryServices.Direct... more >>
How to play a MIDI file in C# ?
Posted by cartooncat at 3/4/2004 8:27:20 PM
I wrote following code:
using System.Runtime.InteropServices;
[DllImport("winmm.dll")]
public static extern int mciSendString(string lpstrCommand, string
lpstrReturnString,int uReturnLength,
int dwCallback);
[DllImport("winmm.dll")]
public static extern int mciGetErrorString(int e... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
COM Interop registration failed. Access is denied???
Posted by Peter at 3/4/2004 8:01:06 PM
Hello
Thanks for reviewing my question. I am writing a shared Office AddIn that uses a couple of user controls on a form and from time to time I receive this error "COM Interop registration failed. Access is denied." The only way I have found around this is exit VS.NET and restart it. When deb... more >>
string parameters
Posted by A.M at 3/4/2004 7:28:26 PM
Hi,
Are string parameters in functions by refrence or by value ?
Thanks,
Ali
... more >>
enum LogType :string{...};
Posted by A.M at 3/4/2004 7:12:45 PM
Hi,
enum LogType :string{};
I underestand that I can't have enumeration of strings. Is there any turn
around for this problem?
Thanks,
Ali
... more >>
Generix in C#
Posted by TT (Tom Tempelaere) at 3/4/2004 6:42:05 PM
Hi,
From which version do I get template stuff in C#.
I was trying something like
ArrayList<Point> pa;
etc.
And it didn't work. It was at work and I don't recall the version I have
there. Does it depend on the .net framework too?
Thanks.
---
Cheers,
Tom Tempelaere
... more >>
Repost, Unanswered Hooking Problem...
Posted by TMP at 3/4/2004 6:37:19 PM
Below is the code snippet that I'm having problems with, the hook seems to
work (hookResult returns a value other than zero) but then explorer
crashes.Also I'm aware of the fact that instead of specifying a dll with my
hook function embedded, I used my executable's module HINSTANCE. But I guess
... more >>
References to Structs in an Array
Posted by Jose Ines Cantu Arrambide at 3/4/2004 6:04:23 PM
Hello,
I want to store references not values of MyStruct in an Array
(MyStruct[])... is it possible? How?
Thanks,
Jose.
... more >>
Using MapPoint Service problem
Posted by Dave Brown at 3/4/2004 5:44:31 PM
Hi all,
I am wanting to use the mappoint service from a usercontrol on a webpage, in
development this works fine but when my control is deployed and it tries to
call the mappoint service I get a security exception,
Anyone any thoughts/experience with this ?
thx
Dave
... more >>
webpage download?
Posted by alanchinese NO[at]SPAM yahoo.com at 3/4/2004 5:34:51 PM
i wonder how to download a webpage automatically using a C# program
with WebClient class.
i tried it and it's working. but somehow the data it gets is different
than the page shown in microsoft internet explorer.
and i wonder how to get around the login problems. the C# programs
only downloads ... more >>
Working with files in network drives
Posted by igg at 3/4/2004 5:27:12 PM
I'm developing a .net application and I need to save files in a network
drive. I need to create a subdirectory and I've tried this:
Directory.SetCurrentDirectory(Path);
Directory.CreateDirectory("folder1");
I've tried with values of 'Path' like "Z:\Dir", "\\remoteserver\Dir", ... (Z
the m... more >>
WMI for Win98SE
Posted by PawelR at 3/4/2004 4:59:23 PM
Hello Group,
I've problem how read: Hard disk serial number, and processor serial number
in Windows 98 SE. How use WMI under Win98
Thx PawelR
... more >>
String.Join vs. StringBuilder, which is faster?
Posted by Bob at 3/4/2004 4:58:29 PM
I have a function that takes in a list of IDs (hundreds) as input parameter
and needs to pass the data to another step as a comma delimited string. The
source can easily create this list of IDs in a comma-delimited string or
string array. I don't want it to be a string because I want to overloa... more >>
Public UDP socket accessed by multiple threads ???
Posted by cSharpDotNet at 3/4/2004 4:55:09 PM
I am attempting to create a UDP socket where inbound traffic is handled by one thread and outbound traffic is handled by another thread. The primary problem that I am having is accessing the thread from more than one thread. It also seems the .NET does not support public global socket delcarations. ... more >>
Casting
Posted by Ian Frawley at 3/4/2004 4:50:38 PM
Hi all,
Can anyone help me please.
I have the following code that is recieves a list of controls, creates them
dynamically and adds them to a table. What I need to do is figure out
whether the object I have created has an avaible data source. As I create
the objects as type System.Web.UI.Co... more >>
Location of DLL file (To find mylib.dll.config)
Posted by muesliflakes NO[at]SPAM yahoo.com.au at 3/4/2004 4:39:40 PM
I wish to access a config file for a DLL and I want to keep it in the
same location as the .DLL.
Eg. mylib.dll & mylib.dll.config
How do I find a path to an in memory library... more >>
Thread Synchronization - Named Event
Posted by anthony at 3/4/2004 4:36:54 PM
Hello,
Does anyone know of a way to access a named event created by C++ program
using C#? Any samples would be greatly appreated. I found AutoResetEvent and
ManualResetEvent in C# but doesn't seem to have the parameter for the name
available.
thanks in advance
Regards,
Anthony Yio
... more >>
General Question on marshalling
Posted by MuZZy at 3/4/2004 4:24:33 PM
Hello,
I am probably facing a sort of language barrier, but i can't really get what
'marshalling' is in terms of .NET
Is it a kind of type casting? And when do you use it?
Thank you,
Andrey
... more >>
Gracefully disconnecting a TCP server
Posted by Andreas Håkansson at 3/4/2004 4:16:10 PM
Hello,
I'm building a small TCP based server which uses the Async commands. When
a new connection is made to the server, I store the new socket in a
hashtable,
using the client IP as the key.
Then I have a method in my server which is called Stop(). Now I would like
for
some advice on how... more >>
Programmatically uninstall a program?
Posted by Bryan at 3/4/2004 4:06:09 PM
I am writing a C# program that needs to see if a particular program is
installed (it would be listed in the "Add or Remove Programs" list from the
Control Panel) and uninstall it.
Is there a way to do this?.. Thanks for any help... Bryan
... more >>
using snmp thru system.management
Posted by Jani at 3/4/2004 4:05:05 PM
Hi!
I've been trying to do a small snmp program with the system.management
stuff, but there aren't (at least I can't find)
any examples with using .net framework for snmp programming. Any examples or
help/hints are appreciated.
Jani
... more >>
Conversion of type object
Posted by Steve Wasser at 3/4/2004 4:04:55 PM
I'm pulling SQL data into a dataset to be used to perform some math against.
I asked this question earlier, but the answer someone gave me left me with
further questions. The SQL data is stored as decimal, and the local
variables I create to store them in is float. Fine. When I iterate through a
... more >>
Keyboard shortcut for #region
Posted by Michael Rodriguez at 3/4/2004 4:00:15 PM
Is there a keyboard shortcut to expand/collapse a region?
Thanks,
Mike Rodriguez
... more >>
format numeric to string - decimal places
Posted by Mark at 3/4/2004 3:36:53 PM
I have a Decimal or a Double - your choice. I'd like to print the number as
string with a specified number of decimal places. Let's say my number
110.5, and I'd like to capture it in a string with 3 decimal places:
"110.500". How do you do this? My method below isn't working so hot.
Decima... more >>
WebResponse error 401
Posted by Jacob at 3/4/2004 3:26:07 PM
Please help figure what I am doing wrong in this code. All I am trying to do is send come data to an aspx page and get some data back. I watched my variable in debug mode and can tell that I am reaching the web site but my data seems not to be posted. Also in debug mode I get error "Remote server re... more >>
DeviceIoControl
Posted by Ken Allen at 3/4/2004 3:04:29 PM
I am looking for information on using the [DeviceIoControl] Win32 API
procedure, or its equivalent in C#. I have looked but can find no
satisfactory references.
I am working on an existing product that has a few kernel components (device
and filter drivers) and I need to be able to communicate... more >>
pointers, positions and datastorage
Posted by Mark Broadbent at 3/4/2004 2:54:01 PM
hi all. Ive been looking into the use of pointers to try and get my head
around them which has led me onto a question.
1. How do you know what memory position C# compiler will use for each
variable declaration as this example shows they seem to be stored in reverse
order of declaration (see code... more >>
WebService Proxy Classes (using wsdl.exe) ! Need expert help ! MS PEOPLE ?
Posted by Benne Smith at 3/4/2004 2:51:35 PM
Hi,
I have three enviroments; a development, a testing and a production
enviroment. I'm making a big application (.exe), which uses alot of
different webservices.
I don't use the webservices by adding a WebReference, since it does not
allow me to keep state (cookiecontainer) or to specify f... more >>
Word DOM in C#
Posted by Sharon at 3/4/2004 2:16:50 PM
does any one know how to import word com obj into c# code?
i know visual studio can do this but i'm looking for a way to do it purely
by code.
10x.
sharon.
... more >>
very simple question, but i cant find the answer
Posted by suzy at 3/4/2004 1:49:50 PM
Hello,
I am trying to write a generic tool that accesses a SQL server and
reads/updates/deletes/creates records. I want to reference this tool from
my asp.net pages to talk to my db. by the way, i want the results of any
read, update and create to be returned in xml.
when reading data, i ... more >>
__LINE__ and __PATH__ function.
Posted by Sky at 3/4/2004 1:30:47 PM
In PHP there is a way of finding your current location in the file structure
with the __LINE__ and __PATH__ special commands.
Comes in handy for debugging, as well as relative pathing when making
websites.
I assume that being compiled __LINE__ makes no sense in C# asp.net, but
__PATH__ stil... more >>
Q: about Strings and chars.
Posted by Sky at 3/4/2004 1:27:18 PM
Hi. Coming from PHP where all things are strings, the char is a bit hard to
get used to.
So far, I'm not really sure what the dif/use is between a string and a
char[] array...except notation, and the fact that most functions I expect to
use a string with, expect a char, or char array...
Spe... more >>
NewLine in Documentation Comment
Posted by David Martin at 3/4/2004 1:01:35 PM
Is there a way to insert a newline into a documentation comment? The
intention is to have the tooltip that appears with Intellisense show the
line breaks so that the description is easier to read.
For example, I have a method where one of the parameters is a bool. The
diference between true ... more >>
selectedIndexChanged
Posted by Selen at 3/4/2004 12:59:35 PM
How can I run dropdownlist_SelectedIndexChanged event on form load?
Thanks
... more >>
MessageBox.show and displaying type char[]
Posted by VM at 3/4/2004 12:49:54 PM
How would I need to call MessageBox.Show() so it displays a variable of type
char[] of 9 chars (char[8]) ?
If I use it normally (MessageBox.Show (myVar.ToString()); ), it displays
System.Char[].
Thanks.
... more >>
Diff(Datetime1, DateTime1) /C# newbie
Posted by genc ymeri at 3/4/2004 12:33:08 PM
Hi I have DateTime1 and DateTime2.
How can I tell what is the difference in millisecons between them ?
Thank You.
... more >>
weak random ?
Posted by user NO[at]SPAM domain.invalid at 3/4/2004 12:29:27 PM
Hello
i call it in almost same time (from two different threads):
Random rand = new Random();
id=rand.Next(65535);
and i often receive the same results.
Is it possible ? How windows count this random ?
Thanx
... more >>
Databinding to a dataview - dataset does not think its been modified.
Posted by stevenconnelly2000 NO[at]SPAM yahoo.co.uk at 3/4/2004 12:17:07 PM
Hi, can any one help with this frustrating problem.
I have a dataset filled from a Jet database via a paramaterised query.
I dynamically bind each control to a dataview each time a next /
previous button is pressed. Each control is also dynamically created.
The dataset reflects the underlyin... more >>
Creating Form without Application.Run
Posted by JavaConvert at 3/4/2004 12:01:08 PM
I would like to create form that simply hold textboxes that I log info to during the execution of a single-thread application. In Java, I found JFrame ideal for the task, but I can't recreate the same design with Forms. I can create the Form without Application.Run( ), but when debugging, I can't... more >>
freeing database connections and other critical resources
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 3/4/2004 11:48:33 AM
Hi,
What is the best method to close database connections? Is
it enough if we just use the Close() method. Does the
connection get released immediately? or do we have to do
anything in the Dispose and Finalize methods? Your replies
are appreciated. Thanks in advance.... more >>
C# Net Sockets multiple transactions problem, with source.
Posted by google NO[at]SPAM gerbil.u-net.com at 3/4/2004 11:44:59 AM
Hello all,
Please could somebody with a little time on their
hands help me with my net sockets program?
The aim is to send multiple transactions via C#
network stream and read them back. The source
is designed to send a 50byte header and read
the result (50bytes). For one run this is fine... more >>
C++ Call conversion
Posted by bclegg at 3/4/2004 11:16:15 AM
Hi,
I am a VB.net programmer who has to make use of a 3rd party Borland C++ dll.
We have a successful VC++ wrapper that presents a number of functions
that can be declared and called in VB.net
I now want to translate the wrapper to C#.
I can find my around C# in a (pardon the pun) basic fa... more >>
Setting Breakpoints for Variables
Posted by Mortimer Schnurd at 3/4/2004 11:14:59 AM
Hi folks,
I am just learning C# and need some help with setting debugger
breakpoints. In VB 6, I could easily set breakpoints on variables
which either change in value or evaluate to a specific value. It
appears C# does not allow you to do this (at least not easily). This
functionality was extr... more >>
scrollbars in RichTextBox
Posted by user NO[at]SPAM domain.invalid at 3/4/2004 11:05:06 AM
Hello
When i add new lines of text to my RichTextBox, and when vertical scroll
bar appear (there is more text than RichTextBox can display),
RichTextBox always display "the oldest text" (vertical scrollbar is
always rolled to the top).
And i want to see "fresh text" (vertical scrollbar should... more >>
automatic code formatting
Posted by user NO[at]SPAM domain.invalid at 3/4/2004 10:57:50 AM
Hello
Does it exist any tool (or maybe option in .NET) which could automaticly
format my code (which is already written)?
Thanx
... more >>
WebControls
Posted by Ian Frawley at 3/4/2004 10:56:47 AM
Hi all,
I am trying to create a number of System.Web.UI.WebControls on the fly
depending on config info so I did this
Type type = Type.GetType("System.Web.UI.WebControls." + row.ObjectType);
System.Web.UI.Control temp =
(System.Web.UI.Control)Activator.CreateInstance(type);
But unfortuna... more >>
Log File
Posted by MFRASER at 3/4/2004 10:49:38 AM
I am trying to create a simple log file function that logs the timespan and
a message. Problem with my code is that I get an error that the file is
being access by another process. What am I doing wrong?
try
{
System.IO.StreamWriter MainWriter =
File.AppendText(c:\\ImportXMLTimeLog.... more >>
Simple question on Treeview?
Posted by Peter at 3/4/2004 10:36:08 AM
Hello
Thanks for reviewing my question. I would like to know how can I programmatically select a node
Thanks in Advanc
Peter... more >>
Reporting Software
Posted by JJ at 3/4/2004 10:29:35 AM
Hi,
I was wondering what is everyone using for Reports with .net? And how do
they like it so far?
Active Reports / Crystal Rep / ComponentOne Reports /* Sql Server Reporting
Eng
Which one do u use ?
* Only capable to use with Sql Server.
Thanks,
JJ
... more >>
DataTable.AddRange Slow
Posted by Matthew Wieder at 3/4/2004 10:26:56 AM
I'm finding that the AddRange call in the following code takes several
seconds to execute (approx. 4 seconds).
DataColumn[] adcCols = new DataColumn[3000];
for (int i=0; i<adcCols.Length; i++)
{
adcCols[i] = new DataColumn();
}
myDataTable.Columns.AddRange(adcCols);
Is there some way f... more >>
Strange Window Control Problem
Posted by chau_fai NO[at]SPAM hotmail.com at 3/4/2004 10:00:27 AM
I have a window Form called "Form2". There is only one button and a
panel returned from a static method of the "Coord" in this form.
In the panel returned, there is a button that can choose image from
"OpenFileDialog" and then display it in a picturebox.
This actually works properly before the b... more >>
Hooking problem...
Posted by TMP at 3/4/2004 9:56:15 AM
Below is the code snippet that I'm having problems with, the hook seems to
work (hookResult returns a value other than zero) but then explorer
crashes.Also I'm aware of the fact that instead of specifying a dll with my
hook function embedded, I used my executable's module HINSTANCE. But I guess
... more >>
writing to Word (stringbuilder)
Posted by subt at 3/4/2004 9:41:05 AM
how do i make font changes within one line of text (ie using stringbuilder) when writing to a Word document
thank
... more >>
Crystal Deployment - Integrated Security
Posted by Tilted at 3/4/2004 9:19:51 AM
Hi
I have an application which has been deployed and worked fine on all
previous workstations, it is c# based and uses Crystal connecting directly
to MSDE using stored procedures and the ConnectionInfo object.
I design the report on the dev machine, connecting to a local install of
MSDE, I ... more >>
C# Book
Posted by JB at 3/4/2004 8:51:39 AM
I'm looking for an Advanced topic C# Reference Book, I know C# fairley well
but would like to hit the next level. Any Advice?
JB
... more >>
Domain user names
Posted by Jason at 3/4/2004 8:48:33 AM
Hi
I am busy building the admin part of my ASP.NET application and was just
wondering if it is possible to retrieve all user names on the current
domain. eg. i am an admin on domain "BEEHIVE" and administering this app, i
would like to add users "BEEHIVE\ted" and "BEEHIVE\john" to the list of
... more >>
Handling of this ADSVALUE type is not yet implemented (type = 0xb).
Posted by Ágúst Kristinn Arnlaugsson at 3/4/2004 8:40:38 AM
Hi,
Maybe this subject has come up before but here it goes.
Im using c# in asp.net and im connecting to ldap server to retrieve some
properties from it, some properties work ok but for others i get the error
mentioned in the subject line, im using DirectoryService and here is the
code.
I a... more >>
Newbie: confused about inheritance / context
Posted by evelynwilde NO[at]SPAM hotmail.com at 3/4/2004 8:36:01 AM
Just when I thought I'd got my head around inheritance, I'm confused -
here's a quasi-scenario:
I have an object representing a Department in my shop. It's the
sausages department, and has properties (DepartmentName, FloorArea,
Manager etc). I also have an object representing a Product (SKU, P... more >>
Need help with ftp commands???
Posted by DaveF at 3/4/2004 7:49:53 AM
I am not to familiar with ftp, but in the code I do the following, and it
does not work...
ff.setGetCamera("cameras.tar.gz");
sendCommand("GET "+remFileName);
if (retValue != 200)
{
//throw new IOException(reply.Substring(4));
}
}
private void sendCommand(String command)
{
... more >>
accessing controls on another form
Posted by cm NO[at]SPAM gowcity.fsnet.co.uk at 3/4/2004 5:52:41 AM
HI, here's my problem;
My application loads up 3 forms at startup.
Deppending on what button is press on form1 i want to show or hide
controls on form2.
I cant seem to get access to the controls on from2 to hide them unless
i create another instance from within form1 which i dont want to do... more >>
private static void Main()
Posted by Sujala at 3/4/2004 5:46:06 AM
In Java, the Main method cannot have any other access modifier than 'public'. How is it that in C# you can have a private access modifier to the Main method ? Can anybody throw any light, comparing JVM with CLR
Thanks
Sujala... more >>
Unhelpful error message (Newbie Q)
Posted by Peter Morris at 3/4/2004 5:45:31 AM
Hi, just learning C# from a book,
and I'm using Borland C# Builder.
I've entered one of the example programs in the book,
and tried to run it, all I'm getting is an error message that
I don't understand.
The error is as follows:
----------------------------
Description: An error occurre... more >>
Use a DataTable in place of a HashTable
Posted by _eee_ at 3/4/2004 5:45:10 AM
I have been using a HashTable to store name/value pairs, but now I
need to add a third element (name/value/flag). I still need to be
able to index by ["Name"], and I'd like to keep lookup speed as high
as possible.
I'm considering using a DataTable instead of the HashTable since I
have to st... more >>
Deleting a file
Posted by Sid Sidney at 3/4/2004 5:36:05 AM
I get the exception System.UnauthorizedAccessException: Access to the path "c:\Some.dll" is denied. when trying to delete a file
I am loading the dll with Assembly.Load(...) then using Invoke to call some code in one of the public static methods of a type
After this I need to delete the file b... more >>
heap or stack?
Posted by MattAshworth NO[at]SPAM hotmail-dot-com.no-spam.invalid at 3/4/2004 4:45:10 AM
I'm develpoing a mapping app and want to store the point data that
makes up lines, points and polygons efficiently.
Am I better off using unsafe C# and creating structs to hold the data
on the stack (100K plus points total) or create classes for all the
data and put up with the overhead of bo... more >>
Security exception permission denied
Posted by Josema at 3/4/2004 3:51:05 AM
Hi
I run an application that shows me this exception
SECURITY EXCEPTIO
The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please cpmtact your system administrator or change the application´s trust level in th... more >>
How do I populate Crystal Reports, using a DataTable?
Posted by pierre.basson NO[at]SPAM psitek.com at 3/4/2004 3:48:43 AM
Hi,
Can anyone tell me how I can populate Crystal Reports, using a DataTable in C#?
Regards,
Pierre... more >>
c# comments
Posted by Dinesh at 3/4/2004 3:21:05 AM
I have added couple of comments tags for a method like below....
/// <summary
/// MeMethod is responsible for add operation to the employee operation
/// <para>Here's how you could make a second paragraph in a description.</para
/// </summary
When build the xml file through the tools->Build c... more >>
Activator.CreateInstance problem
Posted by Chris Bamford at 3/4/2004 2:56:05 AM
Hi all, when trying to load and create an instance from an assembly I'm getting InvalidCastException. Here's a chunk of code
Assembly cAssembly = Assembly.LoadFrom("d:\\DAOTest.dll")
object cDAOInstance = null
foreach (Type cType in cAssembly.GetTypes()
if ((cType.IsClass == true) && (cTyp... more >>
better c# code.
Posted by (chris.millar NO[at]SPAM voyage.co.uk) at 3/4/2004 1:41:28 AM
Can anyone suggest ways in which to improve this c# code, i dont like the SetXMLSetting and GetXMLSetting methods, could these be put into a property, and how?
Any other ways to make the code more clean and oo.?
cheers
using System;
using System.Configuration;
using System.Xml;
namesp... more >>
Finding a Component's (ComponentModel.Component) Parent Form
Posted by JackRazz at 3/4/2004 1:27:20 AM
I'm working on a .net component (not a control) and need to find out what form the
component is contained in during runtime (DesignMode=False). With a control, there
is a parent property (and FindForm) to do this with, but no such luck with a
component.
I was thinking that I might be able to ... more >>
Code Path
Posted by BuddyWork at 3/4/2004 1:03:56 AM
Hello,
Is there any tools or Add-Ins that shows you the stack at
design-time (Code Path).
Example
private void Test()
{
Test2();
}
private void Test2()
{
Test3();
Test4();
}
private void Test3()
{
}
private void Test4()
{
}
So then if I was in function Test4 then it w... more >>
Not sure how to describe what I need. :)
Posted by Alan D. at 3/4/2004 1:01:33 AM
Hi,
I am trying to create a program that would provide quick access to a set
of user defined applications. I have created a "concept screenshot."
Please bear in mind that the resulting program would allow the user to
configure which applications loaded within the form, and that if the main
... more >>
Icons in Menu
Posted by genc ymeri at 3/4/2004 12:50:08 AM
Hi,
How can I place the icons in the menu ? (What format is recommendated ?)
Thank you in advance.
... more >>
|