all groups > c# > april 2005 > threads for sunday april 17
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
custom tags for comments
Posted by julien at 4/17/2005 6:54:51 PM
Hello,
in VS.Net, you can use tags like <summary>, <param ...>, <return>, etc.
in your comments.
How can I add my own tags? I think I have to modify the xsd scheme used
by VS.Net, But I don't know where it is located, and where I can find
some documentation to add my own syntax.
Thank y... more >>
Convert doc to tif
Posted by Glenn Wilson at 4/17/2005 5:17:01 PM
I have been given a small project and was looking for some help.
I need to convert doc file to tif documents, now I can do this by using a
printer driver to do the change, but I need to be able to do this from the
command line so that it can be scripted. Other then the command line a method
t... more >>
Newbie Question - Intellisense with this.OnLoad event
Posted by damiensawyer NO[at]SPAM yahoo.com.au at 4/17/2005 3:43:04 PM
Hello all,
I'm in the process of transfering from VB to C# and am having a bit of
trouble getting the hang of the intellisense.
I wish to add events to my form - in this case, the onLoad event. I've
been in the habbit of typing object.event+=.... The intellisense then
kicks in and, as you'... more >>
Encryption: can't someone use a memory viewing program to see my k
Posted by B Maxey at 4/17/2005 2:02:02 PM
I have been working with encryption. And it seems to me that the IV and Key
are the only things you need to decrypt my data.
I can obfuscate, but my program still needs to 'call' the framework objects
in System.Security.Cryptography. And this call can be searched for. Then
using a progr... more >>
customized MessageBox in c#
Posted by Jean Bredeche at 4/17/2005 1:32:37 PM
Hi:
I am trying to create customized confirmation/error/etc dialogs in my
application. Up to now we've been using MessageBox.Show and passing it
the various necessary flags (buttons, icons, etc). By "customized", I
mean I want complete control over the color of the messagebox, the
position/... more >>
random number generator
Posted by Aaron at 4/17/2005 10:37:38 AM
I need some help writing this function
the function returns a list of random non-duplicate integers in a string, 1
parameter indicating the maximum range.
string randGen(int maxRange)
maxRange=1000
the output would be:
total of 1000 numbers from 1 - 1000 randomly
2,6,3,423,123,673,23... more >>
Weird Math Problem
Posted by nick NO[at]SPAM renhome.net at 4/17/2005 9:59:34 AM
I'm having a really weird problem. Take a look at this screenshot.
http://users.aber.ac.uk/njb4/dotnetproblem1.jpg
Notice the 4 watches at the bottom, _totalRecords, MyDataGrid.PageSize
and TotalPages.Text.
Now, you'd think that if _totalRecords was 11, and MyDataGrid.PageSize
was 10... I... more >>
compile error when DataRow used as base class
Posted by Steve Richter at 4/17/2005 9:10:32 AM
here is a simple class:
public class Demo1 : System.Data.DataRow
{
public Demo1()
{
}
}
but it does not compile:
C:\src#\Steve\Demo1.cs(10): No overload for method 'DataRow'
takes '0' arguments
Am I not able to subclass the DataRow class?
thanks,
-Steve
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
error loading c# class in visual studio - "class can be designed"
Posted by Steve Richter at 4/17/2005 8:59:52 AM
here is an error I get when I open my class library project:
"The class ResultsTable can be designed, but is not the first class in
the file. Visual Studio requires that designers use the first class in
the file. Move the class code so that it is the first class in the
file and try loading t... more >>
smart client port communication
Posted by RA at 4/17/2005 7:12:25 AM
Hi
Is there a way to setup the port that a smart cliant uses to send the http
request (something different than port 80)?
Thanks
... more >>
Error (Object not set)
Posted by juli jul at 4/17/2005 5:53:22 AM
Hello,
I am doing this initialization :
this.oXmlDoc=new XmlDocument();
in InitializeComponent() function.
And once in a while because of some reason I can't detect this statement
is being erased and I get the Object not initialized error.
Why is this happens?
Thank you!
*** Sent via... more >>
FileSystemWatcher Question?
Posted by Raed Sawalha at 4/17/2005 4:53:03 AM
in windows service I'm using FileSystemWatcher to monitor directory changes ,
but I have case that by such a service in stopped while stopping time many
file were copied to directory , as soon as i restart the service the files
were copied not seen by the service until I cut them to other fold... more >>
The process cannot access the file ...
Posted by Raed Sawalha at 4/17/2005 4:33:03 AM
Hello , I have windows service which do listening to specified directory
using FileSystemWatcher , on Created Event and Get all the files in the
directory using Directory.GetFiles function then foreach file in the files
list and passed the file path to a function to read its content then proce... more >>
What is wrong ????
Posted by Macin at 4/17/2005 12:00:00 AM
Hi, what is wrong with this method? When I run program I get the error:
"Specified cast is not valid." for the statement: temp =
(double[,])lista[n]. The list lista[n] is a list of 2 dimensional arrays of
a size 8x8. Thanks for help
public double[,] wyswietlMacierzWilekosciObrazka(ArrayL... more >>
Unicode to ASCII conversion
Posted by Zach at 4/17/2005 12:00:00 AM
Can one convert Unicode to ASCII?
If so, could you please give an example?
Many thanks.
... more >>
C# and C++ (again)
Posted by Tad Marshall at 4/17/2005 12:00:00 AM
Hi,
I wrote some code that works with a SQL Server 2000 database, and all the
examples I was finding used VB.NET, so that's what I picked as a language.
This wasn't the right choice for me. My background is in Win32 programming
in C++, and I designed stuff that really wanted to use unions... more >>
Clarifucation on interfaces
Posted by gemel at 4/17/2005 12:00:00 AM
I am trying to understand some C# code that uses interfaces. I have a
Customer class that implements an interface call ITicket.
I create an instance of the Customer class, say MyCustomer. This is
intance is passed to a method which has the signature:
Accept ( ITicket aCustomer)
Because th... more >>
How to efficently divide big 2d array into small 2d arrays?
Posted by Macin at 4/17/2005 12:00:00 AM
Hi,
How to efficently divide big array into small arrays as showed below?
IN
xxxxxxxxxxxxxx xxxxx xxxxx xxxxx
xxxxxxxxxxxxxx xxxxx xxxxx xxxxx
xxxxxxxxxxxxxx ==>> xxxxx xxxxx xxxxx
xxxxxxxxxxxxxx
xxxxxxxxxxxxxx ... more >>
C# Language Specifications - Final draft
Posted by Willy Denoyette [MVP] at 4/17/2005 12:00:00 AM
C# Final Working Draft April 2005 from Ecma TC39/TG2
http://www.plumhall.com/CSharpFinalWorkingDraftApril2005.pdf
Willy.
... more >>
how to pass objects as parameter to remoting object methods?
Posted by Gelios at 4/17/2005 12:00:00 AM
Hi All!
Probably my question is newbie but anycase.
Should I do object that I want to pass as parameter to remoting object serializable?
For Example:
//server
public class MyServerObject
{
Settings settings = Settings.Instance();
public static void Main()
{
... more >>
type VARIANT in C#
Posted by Martin at 4/17/2005 12:00:00 AM
Hi,
I'm a beginner.
Is there type VARIANT in C#?
I use my class dbTextbox (which inherited from Textbox) to store and display
diferent values type from database. Therefore I want to create property
VALUE, which can have dif value types. How can I do this? Is there any idea?
Thanks for he... more >>
richtextbox question
Posted by Eps at 4/17/2005 12:00:00 AM
I have a richtextbox and I want the user to be able to press a button
and have some specific text inserted in to the richtextbox at the
current position of the text cursor. I have been looking at the MSDN
docs for richtextbox but I can't seem to find the property or method
that will give me... more >>
How can I assign values to a group of variables in an iteration?
Posted by M Shafaat at 4/17/2005 12:00:00 AM
Hi!
I want to write a method for assigning values to a group of variables in an
iteration, something like the following code:
public static void AssignValsToVars (string [] MyValues, ref params int []
MyVariables)
// The MyValues and MyVariables must have the same length.
{
for (i = 0; ... more >>
fusion question
Posted by Boni at 4/17/2005 12:00:00 AM
Dear Sirs,
May be it is just a newby question
But where does the
"Where-ref bind. Location"
"Appbase"
"Initial PrivatePath"
"AppName"
come from.How should I register my assembly in order to set those locations
like this? (I tried regasm asmname /codebase mypath but fusion still shows,
t... more >>
Newbie: Handling Events Help ?
Posted by Steve at 4/17/2005 12:00:00 AM
I have a simple application that consists of two forms.
On the main form, I have a button that when clicked triggers an event.
I have a listener on the main form that detects a button click and then
updates a value X.
I have a second form, (Form2), that i also need to listen for X being
... more >>
Vertical scrollbar on panel
Posted by ReidarT at 4/17/2005 12:00:00 AM
Is it possible to have a scrollbar on a panel, or do I have to use frames to
have on frame with vertical scrollbar?
reidarT
... more >>
|