all groups > c# > february 2004 > threads for saturday february 14
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
How to implement an n-day time bomb?
Posted by James P. Clark at 2/14/2004 10:22:15 PM
I'd like to provide my client an application which will stop working =
after a certain number of days have passed since the first invocation =
(trial software). Any ideas on how to make this work even if the user =
changes the system date?
--=20
Please remove all UPPERCASE letters in the repl... more >>
SHDocVw authetication
Posted by Eli Allen at 2/14/2004 9:38:49 PM
So now that MS04-004 is out breaking the ability to pass in a
password/username through the URL how can we pass in a username and password
using SHDocVw in c#?
I'm launching IE like this:
http://samples.gotdotnet.com/quickstart/howto/doc/Interop/TestClient_1.aspx
http://www.codeguru.com/cs_we... more >>
.NET Remoting Server Windows Service Performance Problem
Posted by Buzz Bonner at 2/14/2004 9:00:04 PM
Hi,
We have developed a distributed system that uses multiple .NET remoting
servers hosted by Windows Services. However, the single server used for
performing all database access using ADO.NET has very poor performance when
using the 'Release' version of the assembly. When using the 'Debug' ve... more >>
.NET Windows Server Performance Issue
Posted by Buzz Bonner at 2/14/2004 8:45:37 PM
Hi,
We have developed a distributed system that uses multiple .NET remoting
servers hosted by Windows Services. However, the single server used for
performing all database access using ADO.NET has very poor performance when
using the 'Release' version of the assembly. When using the 'Debug' ve... more >>
Dataset problem, please help
Posted by pei_world at 2/14/2004 6:30:45 PM
the following codes are error occurs.
basically, I set a breakpoint at BuildingTN, I trace it, and it come up my
intended table, but when I run the program, in my component cobInside, it
always displays somethings from my other table.
DataSet ds = officeAux.DSource;
officeAux.DA.Fill(... more >>
Hosted WINFormControl only works via LocalHost
Posted by Dave Brown at 2/14/2004 5:55:34 PM
Hi All,
I have a winformcontrol which is loaded using the object tag in a html page
which only appears when I load the page using localhost, if I used my
machine name or www.mysite.net which is also linked to 127.0.0.1 in my hosts
file the page does not appear, The control has a strong name. I... more >>
Confussed about parameters for Events
Posted by news.microsoft.com at 2/14/2004 5:31:07 PM
In one of my books called "Mastering C#" there is a statement that reads
"All event handler delegates must return void and accept two parameters. The
first parameter is an object, and it represents the object that raises the
event... The second is a parameter that is an object of a class derived ... more >>
Is there any Opensource with C#?
Posted by Àä×ÔȪ at 2/14/2004 3:50:38 PM
Don't see what you're looking for? Search DevelopmentNow.com.
Options for Inter process communication between Webservice and C#Application ?
Posted by Sagaert Johan at 2/14/2004 3:24:16 PM
I want a webservice to get data from a c# application
To be more exact :i have a working c# video capture program(uses directX)
and i want the webservice to get the captured data if a webclient requests
an updated image snapshot.
Both the webservice and the c# run on the same PC.
I think it... more >>
darren
Posted by darren at 2/14/2004 2:49:50 PM
Hi that line gets me a unrecognized escape sequence error
string s = "\"C:\Documents and Settings\Darren\My Documents\Visual
Studio Projects\shorcut\bin\Debug\shorcut.exe\" /r";
regards
Darren... more >>
DataGrid
Posted by Dmitri Shvetsov at 2/14/2004 2:19:28 PM
Hi,
Did somebody hear is it possible to scroll a very long DataGrid on the
WebForm in a separate subwindow or somehow else? I have a very long DataGrid
but I don't want to break it into many different pages using a paginating
feature. It seems better to me to scroll it keeping the header of th... more >>
newgie string help please
Posted by darren at 2/14/2004 2:06:42 PM
hi iam righting aprogram that creates its own desktop shotcut and a
want to add a command line switch
so i want to have a string like this
"C:\Documents and Settings\Darren\My Documents\Visual Studio
Projects\shorcut\bin\Debug\shorcut.exe" /r"
my problem is how do i get the single " q... more >>
COM+ using Component Designer?
Posted by Raffe at 2/14/2004 1:35:09 PM
Hi all!
I've been playing a bit with Component Designer in Visual Studio.NET. Seems
to me like a great way to build simple data access components using "point
and click". However I can't figure out how to make a component made this way
into a component with transactional support which can be p... more >>
C# generics class
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 2/14/2004 1:35:07 PM
When i try to create a generc class
public class myclass<T>
{
}
microsoft .net does not recognize the token <>
I have the message:
---Invalid token in class
thanks ina dvance
faris_elias@hotmail.com
... more >>
Enterprise deployment..
Posted by Oscar Thornell at 2/14/2004 11:38:55 AM
Hi,
Up until now I have only developed relativly simple .NET solutions where the
app could run on a single box..
Could anyone direct med to some articles/books/best practices for
developing/deploying scalable clustered .NET solutions...something like 5-7
HTTP front machines...connecting to ... more >>
Obsolete attribute in a derived class
Posted by Steve James at 2/14/2004 10:53:55 AM
I am trying to mark an override method in a derived class as obsolete using
the ObsoleteAttribute. The compiler, however is not picking up this
attribute and is not generating a warning or an error.
Sample code is below:
If I put the attribute on the static method DoSomething() in the main c... more >>
C# String Manipulation
Posted by Jim McGivney at 2/14/2004 10:17:20 AM
Does anyone know of a concise article that covers string manipulation, such
as insert, join, pad, etc.
Thanks,
Jim
... more >>
midi programming
Posted by Rein Petersen at 2/14/2004 10:03:09 AM
Hi Folks,
I wondered if anyone had any suggestions how you could use C# (.net) to
create midi programs (recording, playing midi...)
Rein
... more >>
DisplayMember property of a ComboBox
Posted by kerenshor NO[at]SPAM yahoo.com at 2/14/2004 9:06:22 AM
Hi,
I would like to assign the DisplayMember property of a ComboBox
(Windows.Forms), in order that the ComboBox will show a concatenation
of two table columns. Is it possible?
Thanks,
David... more >>
Metadata / Attribute tags ... Questions about creating designer friendly methods
Posted by Dan at 2/14/2004 9:06:06 AM
Lets say you open visual studio .net and do the following
uint s = 100
s. // This now gives you all the methods avaiable to this object. And underneath the methods signature, there is a short description of what the method will do. My question is, when making my own classes and methods, how ... more >>
[Checked exceptions] Any tools out there?
Posted by F. GEIGER at 2/14/2004 8:59:32 AM
Hi everybody,
I like checked exceptions as provided by Java. No, I don't want to start a
thread on that, but ask, if anyone knows of a tool for that. It may be
stand-alone, but being plugable into MSVS would ease its use, I guess.
Many thanks in advance and best regards
Franz GEIGER
... more >>
C# without .net?
Posted by Natan at 2/14/2004 8:56:08 AM
I was wondering if is it possible to create a program with c# without
..net... i mean, something like basic C, only pointers, notion of ints,
shorts, etc... everything unsafe with C#...
Once C# is a standard, is there any possibility to create something like
this? Maybe a compiler other tha... more >>
how to get the current status(running or Dead) of a process at any time?
Posted by seash at 2/14/2004 7:36:05 AM
hi
I wrote a class like this.......in my application.
public class cls
{
[DllImport("some.dll")]
[return : MarshalAs(UnmanagedType.Bool)]
public static extern bool myApp
(
[MarshalAs(UnmanagedType.LPStr)] ref string aa,
[MarshalAs(UnmanagedType.LPStr)] ref strin... more >>
C-style Syntax Highlighting Tutorial
Posted by Bob at 2/14/2004 6:21:06 AM
Everyone
I have been spending weeks looking on the web for a good tutorial on how to use regular expressions and other methods to satisfy my craving for learning how to do FAST c-style syntax highlighting in C# but I have yet to find anything useful
I know there are people at MS that know this s... more >>
C# network - Can I set my source port ? can I set TCP flags ( syn / rst ) ?
Posted by jjabadia NO[at]SPAM hotmail.com at 2/14/2004 6:18:27 AM
Hi , I would like to know if it is possible to 'build' the TCP header
with Source port / destination port , and with FLAGs i.e. SYN flag ,
sequence etc.
I know this can be done in C++ of course , question is if it is
possible in C# , o r it is too low level for it .
if it is possible , plea... more >>
Multi-column combo box
Posted by Fujitsu at 2/14/2004 4:36:07 AM
Dear all,
How can I have a multi-column combo box, that means more than 1 display member ?
Thank you.
... more >>
Non-rectangular forms
Posted by Tony Reynolds at 2/14/2004 2:31:09 AM
Hi
I'm working on a project with a non-rectangular form. I found that if in the form constructor I define a region, say
GraphicsPath p = new GraphicsPath()
p.AddEllipse(20, 20, 200, 200)
this.Region = new Region(p)
I get a shaped form with no non-client areas which is exactly what I want.
... more >>
socket programming
Posted by Paul Fi at 2/14/2004 1:19:18 AM
i have little knowledge of socket programming, but what i know is that
using sockets we exchange text between endpoints of the socket but
first we convert the text to array of bytes and we send it to the other
side of the comm channel and in the other side we get the original
string by converti... more >>
|