|
There are lots of reasons to hide the application; logon utility for enterprise-wide systems, input applications such as system-wide shortcut keys, search indexer, connection manager, image cache manager, continous on-line backup, and on and on and on.
Just open task-manager and look at all those many processes and those few applications.
There is a difference between hiding the application and making an application undetectable.
|
|
|
|
|
You can't. Since it's a seperate process, it has full control over its own icon on the taskbar.
|
|
|
|
|
|
Hi all,
how to hide exe into taskmanager in windows 7 using vb.net windows application?
I want exe is hide into task-manager in windows 7 & windows vista machine using vb.net(windows application)
help me!
Thanks,
Jayawant
|
|
|
|
|
Why would you want to do that?
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
Lots of reasons; logon utility for enterprise-wide systems, input applications such as system-wide shortcut keys, search indexer, connection manager, image cache manager, continous on-line backup, and on and on and on.
Just open task-manager and look at all those many processes and those few applications.
|
|
|
|
|
You can't. It's not possible to hide an .EXE from Task Manager and there is never a good reason to do so.
|
|
|
|
|
I know that you can do anything in the regestry to hide it, but try to google it there are tutorials....
|
|
|
|
|
Those don't work for Windows Vista or 7. Those techniques USED to work on Windows 9x and NT, but no longer.
|
|
|
|
|
i'm learning how to make reversi in vb.net,
the board is create by code,
Public Sub CreateBoard()
Dim xCol As Integer = 125
Dim yCol As Integer = 10
Dim xRow As Integer = 10
Dim yRow As Integer = 150
Dim btn(64) As Button
Dim arr As Integer = 0
For xBtn As Integer = 1 To 8
arr += 1
btn(arr) = New Button()
btn(arr).Width = 25
btn(arr).Height = 25
btn(arr).Left = xCol
btn(arr).Top = yCol
btn(arr).Tag = arr
AddHandler btn(arr).MouseClick, AddressOf MyMouseClick
Me.Controls.Add(btn(arr))
yCol += 25
For yBtn As Integer = 1 To 7
arr += 1
btn(arr) = New Button()
btn(arr).Width = 25
btn(arr).Height = 25
btn(arr).Left = yRow
btn(arr).Top = xRow
btn(arr).Tag = arr
AddHandler btn(arr).MouseClick, AddressOf MyMouseClick
Me.Controls.Add(btn(arr))
yRow += 25
Next
xRow += 25
yRow = 150
Next
Panel1.SendToBack()
End Sub
i'm new in using addhandler, and now i dunno how to for loop and check if i got my opponent disk..
this is how i check,
Public Sub MyMouseClick(sender As Object, e As Windows.Forms.MouseEventArgs)
Select Case DirectCast(DirectCast(sender, Button).Tag, Integer)
Case 1
Case 2
Case 3
Case 4
End Select
End Sub
thanks before..
|
|
|
|
|
I guess I'll be the one to step on this landmine.
Making an array of buttons is most definitely the wrong way to do this.
Drawing lots of controls on a form is time consuming. A better way is to avoid using the controls all together and draw the draw yourself.
To get which space the player clicked on, if you know the scale values, board dimensions and the position of the mouse click, you can map the mouse click to the position on the board that was clicked.
|
|
|
|
|
Suppose, i have a database, the database of companies. This database was made from few other databases. Now, i have a lot of companies with almost the same names and the same addresses. I'm sure that the "similar" companies are the same, in spite of fact that they differ each other few signs in the name and have different ID's.
The general question is: how to create a wizard which can help user to analyze database, to suggest for user which companies are probably the same? How to merge companies ID's and remove wrong inputs?
I'm sure that, i can't merge ID's without help from user.
In this[^] thread, i've learned that perfect algorithm doesn't exists. Now, i know methods to compare 2 strings to get to know how similar they are (percentage).
Pattern Matching: the Gestalt Approach[^],
Simil algorithm[^]
I'm trying to write algorithm which can:
1) compare the array of strings,
2) find a string with the longest similarity (biggest substring), to use it as a model,
3) define a similarity (in percentage) to the rest of strings, based on model.
It's time to begin a discuss!
losmac
|
|
|
|
|
After all that, what's the problem??
|
|
|
|
|
It really depends on the number of records; for thousands or more, you need to automate it somehow.
Otherwise you might consider this (which assumes zip codes are correct):
concatenate zip code and company name (with spaces, hyphens, periods, ... removed), then sort alphabetically, and scan the list manually
major problem would be errors in first letter (ZEROX vs XEROX, CODAK vs KODAK).
|
|
|
|
|
The suggested Gestalt correlation gives the following correlation figures without considering any additonal information. Note that it would give similar results if the "typo" was somewhere in the middle of the text.
|----|---------|-------|-------|
|rank|correlat.|-first-|-second|
|----|---------|-------|-------|
| 1 | 80.00% | ZEROX | XEROX |
| 2 | 80.00% | CODAK | KODAK |
|----|---------|-------|-------|
| 3 | 20.00% | ZEROX | CODAK |
| 4 | 20.00% | ZEROX | KODAK |
| 5 | 20.00% | XEROX | CODAK |
| 6 | 20.00% | XEROX | KODAK |
|----|---------|-------|-------|
The first 2 cases (80%) are closely related, all others (below 50%) are clear mismatch.
|
|
|
|
|
losmac wrote: I'm trying to write algorithm which can: 1) compare the array of strings,
There are a few algo's that you can use to compare strings, like the SOUNDEX[^]-function in SQL, Metaphone[^] in PHP, or the Levenshtein distance[^] (also called "edit distance").
losmac wrote: 2) find a string with the longest similarity (biggest substring), to use it as a
model,
Give the matches scores, and pick the one with the highest score
losmac wrote: It's time to begin a discuss
Discuss what?
Bastard Programmer from Hell
|
|
|
|
|
|
Hi!I am a student of Computer Science and have a final year project like Photoshop in vb.net and want to create Layer like Photoshop.Can any one help me?
|
|
|
|
|
Help you with what? You haven't asked a question about a specific problem.
Oh, and using VB.NET to do graphics work is probably not the best choice. Still doable, but with more effort than using C#.
|
|
|
|
|
Basically, agree, but by somewhat different reasons.
Yes, VB.NET is similar in features compared to C# but always goes behind. Microsoft just does not take VB.NET as seriously as the flagship of C#. Other problems are more serious: VB.NET would be a pretty bad investment. First, C# and C++/CLI go through strict standardization under ECMA and then under ISO, but it never happens to VB.NET. I cannot believe it might ever happen in future.
There is one more reason, the social one. The fact is: many developers considering themselves at least "professional" do not take anything named similar to "VB" as "real". The historical reasons just do not matter (VB earned bad reputation with both quality and popularity with poor developers, and whatever else), this is the real attitude of real people. This is not for the flame wars or something like that. I'm trying not to express my own attitude; this is just a "medical fact", fact of nature.
In fact, if you try to find an answer of some technical question in .NET, best answers are usually in C#, and much more finding on most difficult topics will appear in C#. So, a serious VB.NET developer should also understand at least some C#.
By the way C++/CLI is a powerful thing which should be taken into consideration. I can see some drawbacks in it (I used to discuss on CodeProject pages). For example, I saw Microsoft article where they explained that it has its special optimized instead of general-purpose .NET optimizer used with other compilers. Mixed mode and value (stack) semantic for reference type are unique to this language (not counting IL).
—SASergey A Kryukov
|
|
|
|
|
I've been doing this for a LONG LONG time. I really don't need the history lesson on why VB has the reputation it does.
Also, Microsoft DOES take VB.NET seriously and it shows as the feature sets between C# and VB.NET have been merging quite a bit and continues to [ut considerable resources into adding features concurrently into both languages. And with .NET 4.5, VB.NET will get a feature you can't have in C# yet. I'll let you squirm on what that is for a while while I go try to remember what it was!
All I was refering to in this thread was that VB.NET doesn't support pointers, which makes image processing quite a bit easier.
|
|
|
|
|
Oh, now I remember what it was. VB.NET finally gets Iterators and Yield support, but VB will support anonymous functions as an Iterator function, C# won't.
Also, Try blocks with Yields are also handled differently. C# will allow a yield return in the Try block, but only if there is no Catch block.
VB.NET will allow Yield in Try blocks with or without a Catch block. Kind of makes exception handling interesting.
|
|
|
|
|
Interesting, thanks for a note.
I still feel like VB.NET goes behind, overall.
May be I'm wrong, but I feel you are overreacting about "history lesson", saying as if it's something bad. What's wrong with lessons? As you probably know this history better then I do (mainly because I never allowed myself to play with the idea of accepting the opportunity to work with VB), you can always tell us something more interesting and useful than I could. And correct me if I'm wrong. I've noticed a long time ago that reading your posts can be really useful; as that can give a chance to learn something, and I'm trying not to miss a lesson, even if I think I know things the best way — but I always can be mistaken, like probably all of us. Perhaps it's good to remember that if I reply to your post, it does not mean that I always address personally to you. Everyone can read our conversation.
Thank you for interesting discussion. Will talk to you later.
—SASergey A Kryukov
|
|
|
|
|
SAKryukov wrote: I've noticed a long time ago that reading your posts can be really useful; as
that can give a chance to learn something, and I'm trying not to miss a lesson
Well thank you! I didn't know I had a follower!
SAKryukov wrote: May be I'm wrong, but I feel you are overreacting about "history lesson", saying
as if it's something bad.
You're right, I probably did. I have been a bit touchy lately and there's no real excuse for that.
|
|
|
|
|
I hope we are good. And we are doing basically the same thing on this site for this community. As to the criticism and possible negative estimates or votes, they are normal, absolutely unavoidable in any truly creative environment, as well as our mistakes, and they can be and should be handled in productive and constructive ways.
Best wishes,
--SA
Sergey A Kryukov
|
|
|
|
|