| |
thread by: msnews.microsoft.com |
last post Nov 13 '05 by: Kalpesh Shah
Is it possible to have a property return (get) one type but be assigned
(set) from another type?
Something like:
private int _InvoiceTypeID;
public InvoiceType InvoiceType
{
get
|
thread by: ADO.NET With C# |
last post Nov 13 '05 by: Kalpesh Shah
Hi People.
How can I repair a database access, with ASPx with C# and
ADO.NET?
Thanks
Augusto
|
thread by: Frank Rizzo |
last post Nov 13 '05 by: Michael Culley
Why in the world is ControlChars chars in the Microsoft.VisualBasic
namespace? Is there a reasonable explanation for it?
|
thread by: Liu Guidong |
last post Nov 13 '05 by: Liu Guidong
Dear friends,
I have a question about the communication between C# and
C++.
Can anyone help me ??
I have written a C# dll fies named "TestFordll2.dll",as
fllow:
using System;
namespace TestForDll2
{
|
thread by: Frank White |
last post Nov 13 '05 by: Frank White
I noticed what I thought was peculiar behavior when I used the RichTextBox.
If you get the RTF string from a RichTextBox using the RichTextBox.Rtf
property, the RichTextBox treats this as an action that cannot be undone.
So if you would run the following code as the TextChanged event handler of a
RichTextBox called "rtbox" ....
private void...
|
thread by: Mike McCarthy |
last post Nov 13 '05 by: Jonathan Schafer
When I execute the following code I get the error..
Stored procedure get_nextid expects parameter @next_id which was not
supplied
What am I doing wrong
public String GetNewKey()
{
|
thread by: Lee |
last post Nov 13 '05 by: Lee
Hello.
I am trying to start a process in a suspended state in a c#
application. Unfortunately there seems to be no support for suspended
process creation in the Process class.
Does anyone know of a way to acheive this without having to use
PInvoke to call the Win32 API CreateProcess and specifying the
CREATE_SUSPENDED flag.
|
| |
thread by: Dev |
last post Nov 13 '05 by: Chris Hornberger
Dear Friends,
Is it possible to add the Enum in dynamically.
Like Ex:
enum Colors
{
Green, Red,Yellow,Blue,Orange
}
So i want add 6th name Black to Colors.Is it possible? If so how?...If anyone knows please let me know....
Thanks,
|
thread by: news.microsoft.com |
last post Nov 13 '05 by: news.microsoft.com
Where can I find some code on custom WMI events? I am trying to create a
Windows Service that fires events and a Windows Application to monitor the
Service. For some reason, I get the events but all the properties are NULL.
|
thread by: Craig Thompson |
last post Nov 13 '05 by: Tiki Wan
Does anyone know of a way to set the Command TimeOut when you are using the
DAAB? Am I going to have to modify DAAB code to accept a new parameter?...
BTW, setting the connection timeout in the connection string doesn't help my
problem.
Thanks,
Craig
|
thread by: Byron McClain |
last post Nov 13 '05 by: Jim Slade
.... is being consumed. I added an event handler for the "keypress" event
and my delegate
never gets executed. Why? I am trying to catch the "enter" key pressed
event to prevent
the DataGrid from going to currentRow + 1. Instead I want it to give focus
to the next cell (currentCol + 1) to the
right if not at the end of the row.
...
|
thread by: DancnDude |
last post Nov 13 '05 by: DancnDude
I have a class that needs to have several different kinds of sorting
routines on an ArrayList that it needs to conditionally do based upon the
data. I have successfully created a class that implements IComparer and
does the sort correctly for one of these sort types. This class's
definition is like:
// Sort class that implements IComparer...
|
thread by: Augusto |
last post Nov 13 '05 by: Vadim Melnik
Hi people.
How i get a description of the computer on the network
with c#?
Thanks
|
thread by: Me |
last post Nov 13 '05 by: Me
I am dealing with a poorly written windows application that does not contain
an API.
I would like to use C# to run a predetermied set of steps in the application
and scrape the resulting data from the screen and write it to a SQL
database. That said, I have no idea how to go about doing so in C#.
Any ideas, samples or links would be...
|
thread by: mike |
last post Nov 13 '05 by: Mattias Sjögren
I have a form that uses a C++ dll through DLLImport.
Then I created a new project and had Form1 inherit the DLL
form.
I can run it without problem, but I cannot open the
derrived form in the form designer because I get a
message "An exception occurred while trying to create an
instance of DLLForm.ControlForm. The exception was "Unable...
|
| |
thread by: Yuelin |
last post Nov 13 '05 by: Jim Slade
Hi there
How can I disable a form being resized? i can't find a property in the
property window to do this.
Thanks
yuelin
|
thread by: Mark |
last post Nov 13 '05 by: Dan Ferguson
I have a C# app that I am writing which is going to insert text into a
table, which is then picked up by another program and emailed. On the text
version of the email (when the user doesn't have html email), I need to put
tabs in between columns of data and then line feeds after each row. How can
I do this? Right now I'm doing "\t" for tab...
|
thread by: Jibu George |
last post Nov 13 '05 by: Mike Wade [MSFT]
Hi
I'm developing a deployment package using Visual Studio.Net. I have a custom
user interface with a text box. How can I load the text box with some data
at run time.
Thanks & Regards,
JIB
|
thread by: Diego |
last post Nov 13 '05 by: Nicholas Paldino [.NET/C# MVP]
Hi,
There is any build in method to draw an arrow in the
Graphics object?
If not, anyone can send me a sample to draw an arrow.
Thanks in advance...
|
thread by: Jongmin |
last post Nov 13 '05 by: Jongmin
Hi!
I am making HyperLinkColumn in datagrid.
It is simple to make the hyerlinkcolumn with one datafield.
<asp:HyperLinkColumn
Text="NAME"
DataNavigateUrlField="NAME"
DataNavigateUrlFormatString="http://www.aaa.com?Name={0}"
SortExpression="NAME" />
|
thread by: Richard |
last post Nov 13 '05 by: Richard
Hi,
I have made a component that contains a Dataset object. I
would like to expose the contained dataset at design time
so that I can bind GUI controls to it. I have implemented
the IListSource interface on my component {as a pass
through to the Dataset's IListSource interface} but that
does not seem to be enough to get the Forms...
|
thread by: SamIAm |
last post Nov 13 '05 by: Chris Hornberger
Hi
I have a form and need to display an image that is returned along with other
data, i.e. Member Data, from a database row.
How do I display this image in my webform?
S
|
thread by: vector |
last post Nov 13 '05 by: Nicholas Paldino [.NET/C# MVP]
There's got to be a better way to do this.
In this sample code, I've created a class in a namespace, and a class
inside of a class. On calling .ToString() for those two classes, I
see different output:
name of Class1 is: ConsoleApplication1.Class1
name of Class2 is: ConsoleApplication1.CMain+Class2
I'm not interested in the...
|
| |
thread by: fc |
last post Nov 13 '05 by: fc
hi, i'm having a problem using C#'s lock and windows2000's
text to speech (vtext.dll) ... basically it looks like
the callback from the TTS is violating C#'s lock, which
looks very very suspicious. here are the particulars:
i've made a form that has two buttons, one to "start
speaking" and one to "cancel speaking", and i've
registered the...
|
thread by: kevin |
last post Nov 13 '05 by: kevin
Hi all
think I am runing into .net limitation here. it's not a .net's fault, but I
try to get the clicked text whenever a user click on some text in a windows
app and holding down a key e.g.ctrl key. as the same time.(similar to a
program called gator, atomica does), now since .net doesn't support global
hook, I have to swith back to VC++...
|