|
what do you guys think about creating another standalone application which I start and hide at startup of my application, and then send a message to it telling it to display and go topmost when i open my modal dialog box? And then define some custom messages to handle the interaction? All I want to drag and drop is some simple text strings so should not be a problem between different applications...
please give an opinion of you think its a stupid /hard to realize/other idea.
|
|
|
|
|
hey
workin on a program that will change what i type into textBox1 then change it into something else in textBox2, as a encryption so to say.
code:
string message;
textBox1.Text = message;
message.ToLower();
for (int nChar = 0; nChar < message.Length; nChar += 1)
{
char lNS = message[nChar];
}
am i doing this right?
or can someone explain to me the steps, it still isn't very clear to me.
|
|
|
|
|
Looks like you've got textBox1.Text = message swapped around:
message = textBox1.Text;
in the end, you'll want to add the characters back to a string:
result += lNS;
(where result is a string)
and then assign it to your second text box:
textBox2.Text = result;
|
|
|
|
|
My project contains 2 groupboxes each with a heavy custom control inside. I can doublebuffer the mainform by calling SetStyle in the constructor, but the style change doesn't propagate to the groupbox, and since SetStyle is protected I can't call do Gb.SetStyle(...) within my forms constructor. The setsyle message does propagate to panels, but the border is different, and even with a label stuck overtop doesn't look as astheticly pleasing. Is there any way I can force the gb to be double buffered?
this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint | ControlStyles.DoubleBuffer,true);
|
|
|
|
|
Followup, I've tried deriving a new class from System.Windows.Forms.GroupBox and doing SetStyle(...) both in the constructor and in a seperate EnableDoubleBuffer() method, both unsuccessfully.
|
|
|
|
|
hi to all,
i have an mdi container in a c# win application.
i tried to put a control (LinkLabel) on my mdi container, when i open an mdi child i always have my LinkLabel on top (it is always visible in my mdi child).
i tried send it back of the screen but i have the same problem
so my question is : 1 - can we put a control into an mdi container c# form
2 - if yes, how can i do it without having the problem above
best regards and thanks in advance
fady
|
|
|
|
|
Hello,
Is there a way of colouring specific rows in DataGrid? I don't allow user to add any rows, so number of rows does not change, and I want to set the BackColour for a row (1 for example) to something else. Any ideas?
Thank you.
|
|
|
|
|
If you type 'DataGrid color' into that little search field at the top right beneath the little green CodeProject guy you will get an article explaining everything you need.
|
|
|
|
|
i just want to display menu and thats it but i can't seem to do this with out showing a dialog box, any ideas? I am using Visual C# 2005 beta 2 express edition
IM PROUD TO BE A GMAIL;
|
|
|
|
|
hi there,
today i realized a really strange behaviour of windows services.
i made a windows service that regularly checks some network services.
i wrote a class to perform these checks. it works perfectly when i wrap
it into a userspace program (command line).
but the same piece of code always refuses to connect when wrapped into
a windows service. is there something i have to obey when doing
network programming with windows services?
thanks,
j.
|
|
|
|
|
First what user account is your service running under?
Local System accounts will not have access to network resources. The easy solution is to go to the services and set the service to run under your account. Then it would have the same rights you have.
D Nuckolls
"If you think its expensive to hire a Professional...
Wait till you hire an Amateur!"
|
|
|
|
|
i tried my account (is in domain admin group),tried local system account (ok,now i know that this definitely doesn´t work and Domain Administrator Account, it´s all the same. now i just run the networking stuff wrapped in a commandline tool with task scheduler, but a windows service would my favourite choice...
thanks though
j.
|
|
|
|
|
what is "using System.CodeDom.Compiler"
msdn reads "The System.CodeDom.Compiler namespace contains types for managing the generation and compilation of source code in supported programming languages"
but what makes differrence to include/exclude this namespace
|
|
|
|
|
How to read e-mail from server from my application and then parse XML attachment?
Vlada Nesic
|
|
|
|
|
Hi Vlada,
have a look at this article within CodeProject:
http://www.codeproject.com/csharp/despop3client.asp
This article covers how to obtain mails from an email server.
If you have any further questions, don't hesitate to post again.
Regards
Sebastian
|
|
|
|
|
Can you help me? I need some information to use c# parallel port? 'cause I haven't found nothing in Net... Thx
|
|
|
|
|
There is nothing in the .NET BCL to talk to the parallel port directly. You have to use a 3rd party library to do this, such as http://www.logix4u.net/[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
You should use this library...
I can't remember what it's called. I used it some while ago for some parallel port, C# action.
Uh.... If I remember i'll post it.
/\ |_ E X E GG
|
|
|
|
|
Thank you Eggie5! I BELIVE IN YOU (for me it's very important, I'll wait your response) see ya
|
|
|
|
|
|
Hello,
I want to make a Dock-able window (like Solution explorer in the VS .NET IDE). any ideas how can I do it?
any help is much appriciated, Thanks in advance...
- A programmer's national anthem; "AAAAAHHHHH!!!!"
|
|
|
|
|
|
Hello,
Thanks for your reply Grundyfoot, but there are a couple of concerns:
o Actually I want to learn the technique myself, so don't want to use any third party libraries...
o Even If I go for a 3rd party library, The money they ask for is beyond my budget...
Thanks for your help anyway.
- A programmer's national anthem; "AAAAAHHHHH!!!!"
|
|
|
|
|
Hello,
I'm trying to go to a webpage that a user gives in into a textbox, so what I want to do is :
Read an url from a textbox and submit it in a new window, by using a linkbutton next to the textbox.
Someone can help me with this please ?
I allready can startup this url from a datagrid, so that's no problem.
tnx.
karin.
|
|
|
|
|
You can't open a new window using asp.net, as the asp.net code is executed in the server. You have to use client script for that.
Example:
<input type="button" value="open" onclick="window.open(document.getElementById('IdOfTheTextbox'),'_blank');">
---
b { font-weight: normal; }
|
|
|
|