all groups > c# > april 2005 > threads for friday april 15
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
What C# editor can you recommend me ?
Posted by BOOGIEMAN at 4/15/2005 9:20:25 PM
Visual Studio is too expensive for me.
Are there any other quality C# editors ?... more >>
Dynamically Connect to Web Service?
Posted by T-Man at 4/15/2005 8:44:39 PM
Hello,
I have an application in C# that makes calls to a web service and the app
currently contains a reference to a WSDL.
Since the server technology is a commercial product, some customers have
their own servers, etc.
I was wondering if it is possible to dynamically point the applicat... more >>
define the points enclosed within a polygon
Posted by G. Daniel via DotNetMonster.com at 4/15/2005 7:46:11 PM
can anybody help me??
using the mouse i let the user to draw a shape about a set of points, i
want to define the points enclosed within this shape, the shape is
irregular, i have saved all the points of that shape (which are defined by
the mousedown event), the shape is not completely continous ... more >>
define the points enclosed within a polygon
Posted by G.A.Mashaqbeh via DotNetMonster.com at 4/15/2005 7:44:11 PM
can anybody help me??
using the mouse i let the user to draw a shape about a set of points, i
want to define the points enclosed within this shape, the shape is
irregular, i have saved all the points of that shape (which are defined by
the mousedown event), the shape is not completely continous ... more >>
API to disable\re-enable CTRL-ALT-DEL
Posted by Kevin Bilbee at 4/15/2005 5:28:41 PM
I need to know the API call to disable the CTRL-ALT-DEL in a C# windows
form.
We have created a time clock application to run on a tablet PC to replace
the windows shell, we are going to hang it on a wall for associates to clock
in and out and check their benefits.
I will disable task ma... more >>
Do You Want To Know For Sure That You Are Going To Heaven? The reason some people don't know for sure if they are going to Heaven when they die is bec
Posted by RonGrossi382569 NO[at]SPAM yahoo.com at 4/15/2005 4:36:52 PM
The reason some people don't know for sure
if they are going to Heaven when they die
is because they just don't know.
The good news is that you can know for
sure that you are going to Heaven which is
described in the Holy Bible as a beautiful
place with no death, sorrow, sickness or
pain.... more >>
IE ActiveX control hangs in C# app
Posted by derhally NO[at]SPAM gmail.com at 4/15/2005 3:32:25 PM
I currently have the IE ActiveX object embedded inside an application.
I'm running into a problem where when I make the control visible or
have it navigate to a different page, the application hangs. It
doesn't crash, it just sits there as if its deadlocked.
The stack crawl looks like this:... more >>
start menu
Posted by mnsindhu74 NO[at]SPAM yahoo.com at 4/15/2005 2:40:45 PM
How do i get the text of an Item selected in the start menu ?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
System Username and Domain
Posted by 1qa2ws at 4/15/2005 2:15:04 PM
Hi,
I need to get the windows current logged username and domain. Is it any
possibility?
1qa2ws
... more >>
Integrate VSS with Visual C#.NET ...
Posted by TheBurgerMan at 4/15/2005 2:01:59 PM
I have installed (int his order):
- Windows 2003 Standard
- Visual C#.NET (comes with the Visual Studio IDE)
- VSS 6.0d (full version).
I cannot seem to get the Visual Studio IDE to recognize integrated source
control? Is there anything else I have to do?
--
Thanks,
TheBurgerMan
at
gm... more >>
New Line
Posted by Jim Heavey at 4/15/2005 1:40:03 PM
I was wondering how to cause a new line break, I thought it was /n. This is
not causing a line break when I look at the output. I have got this mixed up?
Thanks in advance for your assistance...... more >>
disable items in CheckBoxList
Posted by sql at 4/15/2005 1:33:48 PM
Hi all,
I am using a CheckBoxList control on my aspx page that I bind to an array
at runtime. After I databind it, I check two of the items in the
CheckBoxList controls. Now I also need to disable these two items so that
users can't uncheck them. But I don't know how to disable individual ... more >>
Object question
Posted by web1110 at 4/15/2005 12:57:00 PM
Hi y'all,
I confused myself on a simple thing.
What is the difference between "Object' (with an upprecase 'O') and "object"
(with a lowercase 'O')?
Thanx,
Bill
... more >>
.NET Threading Question
Posted by Arun Kumar at 4/15/2005 12:54:53 PM
What is wrong with this code. All i am trying to test is 3 progressbar and
one button. On buttonclick i create 3 threads and each thread calls a method
which in turn updates the progressbar and it works. I would to know if this
can be used.
Thanks
private void button1_Click(object sender, Sy... more >>
How to convert source code to opcodes used in Reflection.Emit?
Posted by Striped at 4/15/2005 11:35:29 AM
Is there any tool to convert source code, e.g. of a C# method, to =
opcodes being used in System.Reflection.Emit? It's a real pain to do =
that manually, especially for big pieces of code.
public static int Rule001() { return 1; }=20
=3D=3D>=20
ILGenerator methodIL =3D ruleMethod.GetILGener... more >>
using URLEncrypt
Posted by Newbie at 4/15/2005 11:25:01 AM
Hi!
I am adding a file to my solution written by someone who left. But I'm
getting a build error on the line:
using URLEncrypt;
Build error:
The type or namespace name 'URLEncrypt' could not be found (are you missing
a using directive or an assembly reference?)
I think I need to add a... more >>
Count the number of characters in a string
Posted by cw bebop at 4/15/2005 11:19:25 AM
Hi all
Using Visual Studio C#
Have a string
string st = "Hi, these pretzels are making me thirsty; drink this tea.
Run like heck."
******
How would I go about counting the number of characters in this string
without including the commas, semicolons, spaces, and periods.
Would like ... more >>
Forms for filling a database - advice please!
Posted by AMeador at 4/15/2005 11:17:52 AM
I am new to writing apps that use a database in general and in .NET.
I have read about how to use SqlCommands and executing strait SQL for
inserts, selects, etc... I have also read about datasets & dataviews.
My question need here is for information on how/when to utilize these
different meth... more >>
System.Drawing.Graphics
Posted by DBC User at 4/15/2005 11:15:46 AM
Hi Sharpies,
This is a very basic question. I am using .Net IDE 2003 and
System.Drawing.dll (1.1.4322). I wrote a simple program like this
(ommitting the commons)
using System.Drawing;
..
..
..
private void button1_Click(object sender, System.EventArgs e)
{
Graphics graph = new Gr... more >>
Serializable overhead
Posted by Frank Rizzo at 4/15/2005 11:14:10 AM
What is the performance impact of setting a [Serializable] attribute on
a class? Is there a performance win if I remove the attribute?
I am doing some perf profiling and realized that all my strongly type
collections generated by CodeSmith have a [Serializable] attribute on
them.
Thanks... more >>
How to Change a Label's BackColor Property
Posted by OutdoorGuy at 4/15/2005 10:55:25 AM
Greetings,
I have a very "novice" question to ask, so hopefully it will be easy.
At any rate, I have a label on a Windows form called "label1". I simply
want to change the "backcolor" property to a different color (e.g.,
"blue"), but I haven't figured out how to do it. I want to do this when... more >>
Label - AutoHeight?
Posted by 1qa2ws at 4/15/2005 10:10:55 AM
Hi,
I need to have a label with specific width, and AutoHeight. How to do it?
Thanks,
1qa2sw
... more >>
How to insure file extension on new file.
Posted by BillZondlo at 4/15/2005 9:18:02 AM
HI,
I'm using saveFileDialog to get or make a file to save my stirngs to.
saveFileDialog1.Filter = "txt files (*.txt)|*.txt" ; //display dialog
saveFileDialog1.FilterIndex = 2 ;
saveFileDialog1.RestoreDirectory = true ;
DialogResult result2 = saveFileDialog1.ShowDialog();
This... more >>
Database question
Posted by glenn at 4/15/2005 9:10:30 AM
If I setup a connection and the appropriate items in C# to link a queried
dataset that comes back with 100,000 results to a grid component on a
windows form, does that mean that my program just read 100,000 records over
the network at once? Or does the grid and dataset have built in knowledge
t... more >>
File Access Error
Posted by Jim Heavey at 4/15/2005 9:09:02 AM
I have an application on a server which I have used the .Net wizard to
provide "full" trust to the application. Works fine from the server, but
when I invoke the application logged onto my local workstation and double
clicking on the bat file that invoke the application on the mapped drive fo... more >>
Dynamically create objects and set properties?
Posted by donal.conlon at 4/15/2005 9:00:12 AM
Here's what I'm trying to do:
Have an xml config file like:
<ObjCollection>
<object assembly = "myAssembly.dll,version,neutral,pkt"
typeName="MyObject" title="" description=""/>
</ObjCollection>
I want to be able to read all the objects listed in this config file,
and be able to creat... more >>
Linking a control to access database
Posted by CheshireCat at 4/15/2005 8:19:20 AM
Ive not done any database in dotnet, Ive come from delphi background and
done a bit with that
I'm trying to write a small application for my own use. Ive created a source
database in Access.
Ive been following the help files and examples, dragged an OleDbDataAdapter
onto the form (which crea... more >>
Multiline text boxes
Posted by gjtired at 4/15/2005 8:11:00 AM
Hi, I'm not sure the best way to do something and I hope someone can
help me. I'm developing a web application that a user enters test
questions in. I store the questions in a database. When a person takes
the test I need to be able to display the questions. I can use a
multiline text box but I ... more >>
'... is not marked as Serializable'
Posted by Barguast at 4/15/2005 7:53:03 AM
Has anyone got any idea what might be causing this message to be shown? It
occurs whenever I try to copy / cut my custom control from the Form Designer:
http://img13.echo.cx/img13/2061/notmarkedasserializable5ok.png... more >>
Expose a Class from a Referenced Assembly
Posted by jheising NO[at]SPAM gmail.com at 4/15/2005 6:57:20 AM
All,
I'm wondering if anyone can help with a small little issue I'm having.
Here's the hypothetical situation:
I have an Assembly called FooBaseAssembly with a classed called
FooBase.
I have another Assembly called FooMaster which has a reference to
FooBase.
I want to expose the Foo... more >>
Can someone help me?
Posted by Eric Borden at 4/15/2005 6:50:33 AM
I have created the following classes (psuedo code example):
BaseClass
protected method BaseClass.Foo(object Test) {
Test = new object();
}
MyClass : BaseClass
private object myProperty;
MyClass() {
Foo(myProperty)
}
AnotherClass
private MyClass myClass;
Anoth... more >>
c# sample to open dbase IV .dbf file?
Posted by trint at 4/15/2005 5:05:26 AM
Anyone aware of c#, ado.Net dbase IV code sample? I would like to just
open and view a .dbf table.
Thanks,
Trint
... more >>
advice about Interfaces
Posted by Josema at 4/15/2005 4:10:02 AM
Hi,
Im starting develop a portal, and i never used interfaces in the past.
As any portal will be possible register (add), delete, modify a user.
In this portal also will be possible register(add) , delete, modify
bussiness...
I have a class called user, and another called bussiness...
... more >>
get I/O control code constants of NDIS IM using C#
Posted by centrino at 4/15/2005 3:38:05 AM
Hi all,
I'm trying to access the extended Passthru from
http://www.wd-3.com/031504/PTEx3_index.htm using C#.
Anybody know how to get the correct iocontrol codes of :
IOCTL_PTUSERIO_ENUMERATE = ?;
IOCTL_NDISPROT_OPEN_DEVICE = ?;
There is an example using with ndisprot protocol dri... more >>
Constructor chaining in C# vs. Java
Posted by Daniel Benito at 4/15/2005 3:15:02 AM
I have just come across a real life example in which the C# syntax for
calling constructors from within other constructors is rather inconvenient.
Imagine a class with a default constructor and another constructor that takes
a parameter:
class MyClass
{
public MyClass()
{
}
... more >>
HELP - ComboBox in DataGrid
Posted by David K. at 4/15/2005 12:20:06 AM
I know it is an ongoing issue, yet, I still look for a solution.
I saw a solution using a DataGridComboBoxColumn class. I use C# with
Visual Studio .NET 2003, and that class is not recognized. Any idea
what is going on here?
Can anybody finally show me a simple and complete way of turning a
Win... more >>
Free database for windows ?
Posted by Søren Reinke at 4/15/2005 12:00:00 AM
Hi there
I am working on a divelogbook program, at the moment i read in an XML file
containing all the dive data and samples of depth during the dive.
At the moment my XML files has 307 dives (consists of 45 fields) and about
37000 samples (consists of 12 fields).
But i know some dives ... more >>
Drawing lines other than with "-"
Posted by Zach at 4/15/2005 12:00:00 AM
In an invoicing program I draw lines in a text file
using:
new string ("-",73)
new string ("=",73)
These lines look awful.
Is there a better way?
Much obliged.
Zach.
... more >>
exception handling?
Posted by Flip at 4/15/2005 12:00:00 AM
I'm moving from java to C# and have a lot of fun doing it. But something
I've noticed I want to double check on in case I'm not learning properly is
checked exceptions. Does C#/.NET have such a concept? If I create a class
that throws some exceptions, how can I ensure any other classes call... more >>
Join Oracle and MS SQL tables
Posted by Mateusz [PEYN] Adamus at 4/15/2005 12:00:00 AM
Hi all!
Is it possible to join for example Oracle and MS SQL tables in one
dataSet and show it in one dataGrid?
I'm writing in C# and using standard ADO components that come with .NET
platform.
I can put Oracle data into one table in dataSet and MS SQL data into
another table in t... more >>
Text from db in a textbox with password TextMode
Posted by MA at 4/15/2005 12:00:00 AM
Hi all!
I have a problem here. I have a web page for user administration. On this
page I have a textbox for password. This textbox are in TextMode password.
But when I get data, via a data reader, to my password textbox, it´s empty.
How can I get around this?
/Marre
... more >>
convert HTM to PDF by .NET on the fly?
Posted by beachboy at 4/15/2005 12:00:00 AM
hi all,
Would u pls tell me which components (freeware or payable software) is
good to convert HTML into PDF (with style support) using .Net (C#)? thx
alot.^^
rgds,
beachboy
... more >>
SQL Server Pooling in ASP.NET
Posted by karunakar at 4/15/2005 12:00:00 AM
Hi All
I am getting following the Error when I am running my web application(C#)
using the SQL Server as my Database. Frequent clicks on multiple links
causes this error.
ERROR: "Timeout expired. The timeout period elapsed prior to obtaining a
connection from the pool. This may have o... more >>
IEnumVariant in C#
Posted by Jozsef Bekes at 4/15/2005 12:00:00 AM
Hello,
I need to derive an interface in C# from a COM interface that has been
declared in C++, and this parent interface uses the type IEnumVariant a a
function parameter. Since the stdole namespace does not know about this
type, the C# code fails to compile. I have no idea what to do, I ca... more >>
Drag & drop visio style
Posted by Sagaert Johan at 4/15/2005 12:00:00 AM
Hi
I have a drag and drop app. now i only change the cursor style while
dragging ,how can i add a thumbnail to the cursor while dragging.
(The style used in visio and many other programs where graphics are
dragged.)
Is there some example available that shows how to implement this ?
Johan... more >>
Converting CMYK images to RGB
Posted by Digit24 at 4/15/2005 12:00:00 AM
I need to find a way of automatically creating RGB images from CMYK images.
I am developing a system where the client will upload CMYK 300dpi images and
I need to develop a script that will automatically convert them to 72dpi,
RGB and resized.
Any ideas?
... more >>
Changing connection string at runtime from login form
Posted by Tim Nelson at 4/15/2005 12:00:00 AM
I am building a data bound application for SQL server which all the
forms I use sqlconnections generated by VS. I want to have a login form
that changes the connection depending upon login parameters. The only
way I can think to do this is to:
1. Connect in the login form.
2. Get the con... more >>
why it report this errot?
Posted by David at 4/15/2005 12:00:00 AM
System.Data.OracleClient requires Oracle client software version 8.1.7 or
greater.
My oracle client is 10g!
... more >>
Satellite Assemblies... a boring problem
Posted by Gianmaria I. at 4/15/2005 12:00:00 AM
Hi,
i've got a problem woth localized assembly resources.
My app namespace is GM, and i heve 3 languages.. en as default, it and es.
So i've created 3 text resources called:
Messages.txt
Messages.it.txt
Messages.es.txt
so i created the resources using resgen:
resgen Messages.txt GM... more >>
parameter from store procedure
Posted by Hrvoje Voda at 4/15/2005 12:00:00 AM
How to get a parameter from store procedure ?
Hrcko
... more >>
|