|
Funny! That was really funny!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
well, homedepot has the same software, you can buy it!
|
|
|
|
|
|
definitely a joke, definitely!!!
|
|
|
|
|
Hi everybody, can anybody tell me where to find information about masks in ASP.NET with c#???? What i need is to set an input mask in a textbox, like this: (___) ___-____ . What could i do? or where can i find information about it? Thank u very much.
|
|
|
|
|
You need to look into javascript so this can be done on the client side. Please ask your question on the ASP.NET[^] forum.
- Nick Parker My Blog | My Articles
|
|
|
|
|
yes, i have heard i have to do it with javascript, the point is where to find information about it...anyway, ill set my question in asp.net forum, thank u very much
|
|
|
|
|
Does anyone know where I can find any examples on using SslStream class from .net framework 2?
I'm trying to do secure socket connection, but I'm not sure what are the steps necessary.
I have a certificate file (.pem), but I'm not sure what steps to take.
I tried using Socket
TcpClient client = new TcpClient();
client.Connect(address, port);
SslStream sslStream = new SslStream(client.GetStream());
but I'm not sure how to use the key file. I think I have to use X509Certificate class somewhere.
Thanks.
|
|
|
|
|
hi
I'm trying to display a datagrid the way most windows applications do, that is:
with one last column, that is disabled, and has no title, and it's size allways goes to the end of the display area (if the grid doesnt fit, the with is 0, i asume)
and with empty, disabled rows at the bottom, untill it reaches the end of the display.
You know, like the windows explorer when it's showing files in Details mode.
Any idea how to do this?
thanks
|
|
|
|
|
I have written a windows service that starts automaticaly on windows boot and it do some jobs.
If I restart PC, or if I log off and then log on again my service is still started but is not working anymore.
My service use another service that is written from another manufacturer (this service can open communications to some hardver devices and communicate with them). It seems that on booting my service starts before that service it depends on, so it is not working (I suppose that is because on starting my service call that custom service to open communication to devices and after restart or log off I lost these opened communications to hardware devices that are controlled by that custom service).
How I can set that my windows service depends on this service? (I know the path of EXE file of that custom service and this service is listed in services.msc).
I see in C# initialization of windows service array ServicesToRun - so how I can reference and load that service I depend on to load before my service)?
I hope that it will resolve my problem...
|
|
|
|
|
Within the Service Control Panel, you can set dependencies within the properties page.
Window will only start your service after the dependency has started.
|
|
|
|
|
If I start services.msc and then right click on service, and
then if I go to Dependencies tab I can just see the services
that this service depend of. How I can add some service? Don't
see any add, or on right mouse click... (Windows 2000 Professional)
|
|
|
|
|
Hi everybody
Thank you for your help and patience in advance, I am almost intermediate
in C# , and need help for implement a software base router in C# .the problem
in detail is that : suppose we have two PC connected to each other via three
separate channel , first channel is telephone line connection using regular modems.
the second is wireless modem and third is transmitter and receiver dishs(local sattelite).
also suppose we unable to use hardware router to switching between these channels
the question is , any way to implement a software router that when a channel fails to operate
our software router be able to switch to another active channel all programmatically?
any comment or code will be appreciated.
regards,
Mjk.
|
|
|
|
|
It's already done. Check out Microsoft's Routing and Remote Access[^] for Windows.
It's all you need to do what your looking at.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
I have an application running in the production environment, and after working for a couple of hours it hangs up with a nasty "unhandled exception, process id #so-and-so, thread id #so-and-so". Looking into the Application Log (in the Event Viewer), I see the following line:
"The exception generated was c0000005 at address <whatever>".
Once I got this exception running the app under debug, but the stack trace was not really much useful, because it ended somewhere in Forms.Control.UnsafeNativeWindow bla-bla-bla, and there wasn't a single line of my own code.
This exception can happen (but not limited to) when a LinkLabel is clicked, or just it is running idle, nothing special going on, and the exception is thrown.
Language: C#
OS: Windows XP (SP doesn't matter)
.NET 1.1
Can someone give me any insights into it?
P.S. I've attached a handler to Application.OnThreadException, but this exception is somehow not caught
Regards,
Serge (Logic Software, Easy Projects .NET site)
|
|
|
|
|
Hi all,
I have a textbox driven windows form created in C# and linked to a dataset. On the form, I have an add button that should allow the user to add a new record. How do I create a new record in the dataset which would be updated with values from the user?
I tried the following:
<br />
private void addBtn_Click(object sender, System.EventArgs e)<br />
{<br />
this.BindingContext[this.salesDs1,"Salesperson"].AddNew();<br />
}<br />
<code><br />
<br />
which causes this error:<br />
<br />
Error: Index and length must refer to a location within the string<br />
Parameter name: length<br />
<br />
Please help!!
|
|
|
|
|
There may be a better method, but the way I have been programmatically creating new rows in a dataset is like so:
private void addBtn_Click(object sender, System.EventArgs e)<br />
{<br />
System.Data.DataRow NewRow = new YourDataset.Salesperson.NewRow();<br />
<br />
<br />
<br />
<br />
<br />
this.salesDs1.AddSalespersonRow( (Namespace.YourDataset.SalespersonRow)NewRow));<br />
<br />
}
Btw, where I used YourDataset, that's not the same as this.salesDs1, YourDataset would be the the type that this.salesDs1 comes from. It'll probably be an .xsd file in the Solution Explorer.
Hope it works for you! Good luck
|
|
|
|
|
Hi all,
I have a textbox driven windows form created in C# and linked to a dataset. On the form, I have an add button that should allow the user to add a new record. How do I create a new record in the dataset which would be updated with values from the user?
I tried the following:
///
/// Add a new record
///
private void addBtn_Click(object sender, System.EventArgs e)
{
this.BindingContext[this.salesDs1,"Salesperson"].AddNew();
}
which causes this error:
Error: Index and length must refer to a location within the string
Parameter name: length
Please help!!
|
|
|
|
|
Hi,
Is there a tool out there with which can Monitor WndMessages/Events. Something like a .Net Spy is what I'm after.
Thanks in advance.
Matthias
If eell I ,nust draw to your atenttion to het fakt that I can splel perfrectly well - i;ts my typeying that sukcs.
(Lounge/David Wulff)
www.emvoid.de
|
|
|
|
|
|
Not ererybody is the proud owner of a Visual Studio.
I do my development in SharpDevelop, which is a free tool for .Net coding.
Besides that, I've expected the .Net Spy im after to be more .Net centric perhaps...
btw, I've found two articles here, whic in combination make up pretty much what I was after. Just for the folks reding this, here they are
http://www.codeproject.com/csharp/controlinspector.asp
and
http://www.codeproject.com/dotnet/wfspy.asp
Sorry for not conforming to the clickety policy, but I'm a happy user of Firefox
Have fun everybody,
Matthias
If eell I ,nust draw to your atenttion to het fakt that I can splel perfrectly well - i;ts my typeying that sukcs.
(Lounge/David Wulff)
www.emvoid.de
|
|
|
|
|
Try the shareware tool Girder[^]. It's for windows automation and allows capturing of windows messages. I think you'll find the function when playing around a bit.
www.troschuetz.de
|
|
|
|
|
REALLY a nice signature
is it copyrighted?
hehe...
-- rien ne va plus --
|
|
|
|
|
|
I made my own version of Spy++ in C# 2 and a half years ago. =)
Was just testing and getting used to API in C#...
It's downloadable @ http://drvoodoo.com under the name 'Titanium Ice'
since it does a lot of crap.
|
|
|
|