|
You can't do that. You cannot combine 2 .EXE's into one an expect them both to work. It's plain old not possible...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
|
I'd like to make an app run from the sys tray without pressenting a form. The problem is the object goes out of scope after creation unless I use:
while(this.Created) { Application.DoEvents(); }
The class has to inheret from IDisposable so that Created can be set to false and exit the loop. I do not like using this loop as it puts the cpu usage up to 100% untill an Event occurs.
Any ideas on another approach?
-- modified at 6:43 Thursday 6th July, 2006
DOh, spelling mistakes!
|
|
|
|
|
Hello
You can make things easy for yourself by making a form and hide it using Hide() method, or making opacity = 0 in the contructor. Also don't forget to turn ShowInTaskbar property to false;
Regards
|
|
|
|
|
I hope 5 is a good vote because I'd give you 55 if I could!!
I've been screawing around with background threads and alsorts of other tricks, it's been driving me mad.
Nice one! that's brilliant!
|
|
|
|
|
Thank you!
It's really nice of you to say that.
|
|
|
|
|
Hi all
I am wondering how to protect .NET applications from being decompiled or in other word prevent it from reverse engineering
I hope of any one can help
Thx all
|
|
|
|
|
Google ".net obfuscator"
Kevin
|
|
|
|
|
thx Kevin
but I already know this technique , and I don't want to move my problem to other parity to sole it for me, I want to make my own technique in preventing .NET Code from being decompiled, and if obfuscatation is the the only way to make this protection I want to make my protection
thx again for your interest
|
|
|
|
|
ahmedsabry wrote: I want to make my own technique in preventing .NET Code from being decompiled
Go for it, and let us all know how it goes
|
|
|
|
|
Use a Dotfuscator. MSDN has some useful information on this.
Type "obfuscation" and find out
|
|
|
|
|
I have a monthcalendar control and a combo box control.
The current flow of my program is after deselecting a date, it will add a new row in a temporary DataTable.
These are the line of codes i am using:
Trow= Ttable.NewRow(); Trow[0] = this.monthCalendar1.text; Trow[1] = this.ddlType.SelectedIndex; Ttable.Rows.AddTrow
but what if the selected date already exist?
what should be done so that it will not add a new row instead update that row?
thanks a lot in advance!
|
|
|
|
|
Hello
Maybe you should try using the SELECT command to see if it will give you an existing row or not.
If the row exists => update it
else => Add a new one
Regards
|
|
|
|
|
System.Web.HttpException: User control source files must have a .ascx file extension.
phan tien van
|
|
|
|
|
Few more words of explanation of your post won't cost you much
|
|
|
|
|
Also posting it in the correct forum might help.
|
|
|
|
|
Hi,
I have doubt by using Shadowcopying. Please anyone give samples and explanation how shadow copy is working in .net windows forms using c#.
Thanks,
kokila.
|
|
|
|
|
If I understand your question correctly:
Any copying creates a copy of an object so that you can re-use it. The difference between shallow and deep cloning is that generally in Shallow copying only the value properties of the object you're copying are copied, e.g:
You have an Employee object which contains the properties Name and Manager where Manager is of type Employee . Then when you do a shallow clone a new Employee object is created with the same Name but Manager still points to the original Manager object. If you Deep clone it then a copy of the Manager object referenced by Employee is also made.
So basically:
Manager 1:
Name = "Bill"
Manager = <code>null</code>
Employee 1:
Name = "Bob"
Manager = Manager 1 If you shallow clone you get:
Employee 2:
Name = "Bob"
Manager = Manager 1 If you deep clone you get:
Employee 2:
Name = "Bob"
Manager = Manager 2
Manager 2:
Name = "Bill"
Manager = <code>null</code> Note that if you deep clone the copying of objects is recursive (I think) so if Manager 2's Manager was not null then a copy of Manager 2's Manager would be made as well.
The Welsh will always support two teams: The Welsh, and anyone playing England
|
|
|
|
|
You asked the same question 22 hours ago. Why not look at the responses you received rather than re-ask the same question.
|
|
|
|
|
Hi Mark,
i have seen your response but you didn't give any samples. so i asked any samples from you. But you didn't reply. so i put new messagge.
Thanks,
kokila.
|
|
|
|
|
kokilambal.p wrote: so i put new messagge.
Repeatedly putting up the same message is a wonderful way of getting people NOT to help you
|
|
|
|
|
how to show a tool tip in PropertyGrid control? By default, a tool tip is shown with the name and value. my problem is, am not able to show any other content in the tool tip.
Thanks in advance
|
|
|
|
|
Hello Somanna,
Unfortunately, I don't think there is a way to customize the content of the MS PropertyGrid tooltips...
Best regards,
Nicolas Cadilhac
Smart PropertyGrid.Net @ VisualHint - www.visualhint.com
|
|
|
|
|
I'm trying to do something that seemed to be very simple, but for some reason I can't find any code or documentation to help me.
What I am trying to do is compose a message, send it to Outlook and then get the user to see that message and be able to edit it (just like if they typed the message, but in this case, the system 'typed' it for them).
Just to be clear: I don't want Outlook to send the message yet, I want the user to be able to edit it prior to sending.
|
|
|
|
|
Outlook has plenty of command-line options. One of them may do what you want, I ran across something sometime ago where you can specify the email address, subject etc on the command-line. Just google for "Outlook command line".
An alternative, could you create the body of the email using the framework classes, save the email to somewhere on disk (e.g. temporary folder) and then open outlook with this file.
The Welsh will always support two teams: The Welsh, and anyone playing England
|
|
|
|