all groups > c# > july 2005 > threads for sunday july 10
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
creating custom Excel functions
Posted by Homer Simpson at 7/10/2005 11:02:34 PM
Hi,
With the VS2005 for Office tools, is it possible to create custom functions
with tooltips? This has been a limitation of VBA and I'm wondering if I
can/will be able to do this.
Thanks,
Scott
... more >>
example usage of FAXCOMEXLib in csharp dotnet
Posted by kagorami at 7/10/2005 9:07:31 PM
G'Day,
I am searching for an example of using FAXCOMEXLib in csharp.
The COM interfaces are documented on msdn.microsoft.com however the
examples are for VB and c++.
Following up on a previous topic, FAXCOMEXLib is not in
FAXCOMEXLib.dll, but rather Interop.FAXCOMEXLib.dll
I added a re... more >>
Using .Invalidate to repaint the screen
Posted by jerry chapman at 7/10/2005 8:40:21 PM
Based on a mouse click I change something on the screen. I then want to
repaint the screen to show the change. When I tried to use .Invalidate in my
mouse routine, I got a compilation error.
Here is my OnPaint code:
protected override void OnPaint(
PaintEventArgs paintEvent )
{... more >>
Choosing Exception objects
Posted by Ant at 7/10/2005 7:02:02 PM
Hi,
This might seem like a strange question but I'm wondering how other
developers go about choosing the appropriate Exception objects to use in
their catch statements. Currently, I choose them only when they are returned
in the error message of an unhandled exception, then set a general exep... more >>
Difference dataset and dataview with cache
Posted by Arjen at 7/10/2005 6:16:21 PM
Hi,
What are the main differences between a dataset and a dataview?
What should I cache dataset or dataview... or what is the best thing to do
in what situation?
Thanks!
Arjen
... more >>
char[] to DateTime
Posted by Mark at 7/10/2005 6:05:21 PM
Is there a way to convert a char[] to a DateTime without first converting to
a string and using DateTime.Parse or ParseExact? I'm trying to reuse the
char[] which can be reused instead of converting to a string since string is
immutable and must be GC'ed. Please, I'm looking for a conversion... more >>
Just learning - Best practice? (using Standard Visual C#. net)
Posted by LC at 7/10/2005 3:50:48 PM
In an MDI, winform environment can I assume that there would be
generally only 1 connection object for the project?
Can I assume that for every form that there is a need to access
database info in different ways there will be multiple dataadapters and
then a dataset for each dataadapter? (supp... more >>
Rounding Error...Please help
Posted by ywchan at 7/10/2005 2:56:19 PM
I have written the following codes:
double mean = 313.4;
int fieldValue = 321;
double result = ((double)fieldValue) - mean;
MessageBox.Show(result.ToString());
MessageBox.Show(Math.Pow(result,2).ToString());
However, for the value of result, I got 7.6000000000000227 instead ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
storing cutom UI components
Posted by Homer Simpson at 7/10/2005 2:46:14 PM
Hi everyone,
How do I create buttons, forms, etc and store them outside my project so I
can import them into other projects? For example, I would like to create an
OK button with certain properties (size, labels, etc) and events without
recreating it every I need to use one of these buttons... more >>
using statement in C#
Posted by J-T at 7/10/2005 2:24:15 PM
I have a class like below I have a couple of questions about that:
1) I like to use "Using statement" when creating an object of this class,so
I had to implement IDisposable.Am I doing this right here?
2) Do I have to be worried about those objects I have created in
GetPackageNames() ?? fo... more >>
Making dotnet Trust my LAN
Posted by Peter Olcott at 7/10/2005 2:10:42 PM
How do I make the .NET framework trust my local area network?
I keep getting the error message whenever I load a project from
the network, and I need to always store all of my projects on the
network, How can I do this?
... more >>
big problem with forms
Posted by Kostya Ergin at 7/10/2005 1:36:50 PM
2 forms in project: WinForm and WinForm1
in WinForm i do:
private void button1_Click(object sender, System.EventArgs e)
{
WinForm1 form = new WinForm1();
form.Show();
}
in WinForm1 i try:
private void button1_Click(object sender, System.EventArgs e)
{
// How to
/... more >>
ASP.NET app in 2005 ?
Posted by Chris at 7/10/2005 1:34:50 PM
Hi,
When creating an ASP.NET project in VisualStudio 2005 : where have
web.config, global.asax, ... gone ?
as well the declaration of the datamembers in the WebForm1-class ?
where is the compiled version ? not in bin-subdir anymore apparently !!!!
thanks
Chris
... more >>
How do I do transactions in .Net ?
Posted by yaron at 7/10/2005 7:51:02 AM
How do I do memory mapped files in .Net ?
Posted by yaron at 7/10/2005 7:51:02 AM
How do I do logging in .Net ?
Posted by yaron at 7/10/2005 7:50:02 AM
Audio training materials?
Posted by ChrisN at 7/10/2005 7:31:29 AM
Does anyone know of any audio training materials (CD or MP3) for C#,
..Net, SQL server etc?
I know audio is probably not the best medium for such training, but it
would help me to make use of the time spent in the car during my long
drive to work. I could even listen in the gym!
Thanks in ... more >>
Printing images
Posted by Alvo von Cossel I at 7/10/2005 7:25:04 AM
hi,
i have a picturebox on a form. if i want to print, i press a print button.
it doesn't print, though. this is because i don't know any code for printing.
does anyone know any printing code?
--
Alvo von Cossel I of Germany... more >>
OLEDB implemintation question
Posted by [Yosi] at 7/10/2005 7:01:01 AM
I working with Excel file by using the OLEDB components such :
OleDbConnection ,OleDbCommand.
I successfuly read/update the Excel table.
The problem is how can I change the color of spicific location, I can update
spicifc value by somthing like :
_oleCmdUpdate =new OleDbCommand(
@" Update ["... more >>
converting int to hex int
Posted by farseer at 7/10/2005 6:02:18 AM
every example i found shows how to convert an into to a hex STRING.
But what if i have an API that expects and int or byte parameter, but
that parameter is expected to be a hex value?
for instance, i need to convert
int zeroVK_D = 47;
to
int zeroVK_H = 0x2f;
i would like to convert ... more >>
probably a very simple question
Posted by John Salerno at 7/10/2005 2:19:31 AM
I have two files:
public class Tester
{
public static void Main()
{
Program begin = new Program();
begin.StartCalculator();
}
}
AND
public class Program
{
public void StartCalculator()
{
System.Console.WriteLine("Hello world");
... more >>
Using Graphics.World when drawing
Posted by johannblake NO[at]SPAM yahoo.com at 7/10/2005 1:01:36 AM
I am wondering whether it is easy to setup a coordinate system for
drawing (using GDI+) that uses meters (or any custom scaling for that
matter). Currently, I need to convert from pixels to meters for
scaling. This can sometimes get rather complex when you need to take
scaling into account or ot... more >>
|