|
Hello To All,
My Application Accessing Registry and Write. So Antivirus is treat it Like a Spyware. So please Give me the solution for using it.
Thanks
Anubhava Dimri
If you can think then I Can.
|
|
|
|
|
Not much you can do with code. Disable your antivirus.
If you are writing code for a client, make sure they are made aware about this.
There are only 10 types of people in this world — those who understand binary, and those who don't. |
|
|
|
|
|
Thanks for relying Abhinav,
My application working fine but in the Client Machine where Antivirus is installed my application shows like a virus and Application will be block working or delete.
If you can think then I Can.
|
|
|
|
|
It's up to the antivirus software, but it may depend on where in the Registry you're writing to. So, where are you writing data in the Regsitry?
|
|
|
|
|
I am writing data in the LocalMachine of Registry.
If you can think then I Can.
|
|
|
|
|
That's why you're getting flagged. User code should not be writing anything to HKEY_LOCAL_MACHINE.
Pick a different place to put your data, such as a file.
|
|
|
|
|
Hello To All,
Actually i have not any idea for Sucuring my code from deesembler. And How to Use Security Tools (sn.exe,Makecert.exe,Certmgr.exe,Caspol.exe,PEverify.exe etc).
Your help is needed.
Thanks & Regards
If you can think then I Can.
|
|
|
|
|
Those tools do not stop anyone from disassembling your code. Google for ".NET obfuscator" instead.
|
|
|
|
|
eg_Anubhava wrote: Actually i have not any idea for Sucuring my code from deesembler.
First, ask yourself how many computers there would be that are running an illegal version of Windows. How about Office? Now, with the knowledge that even Microsoft doesn't have a definite answer, how much money do you want to spend on prevention?
eg_Anubhava wrote: And How to Use Security Tools (sn.exe,Makecert.exe,Certmgr.exe,Caspol.exe,PEverify.exe etc).
The explanation on how to use them can be found quickly with Google. Knowing when[^] to use them is somewhat trickier.
I are Troll
|
|
|
|
|
Eddy Vluggen wrote: how much money do you want to spend on prevention?
7%
|
|
|
|
|
hi friends,
i need to get system information and mac address in vb6.0...
plz help me..
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
Mail To : foreverkans@gmail.com
|
|
|
|
|
Look here,
MAC Address in VB6[^]
google to the rescue again
I don't speak Idiot - please talk slowly and clearly
'This space for rent'
Driven to the arms of Heineken by the wife
|
|
|
|
|
thank u for reply...
i need harddisk serial number also...
how to get??
Any possible in vb 6.0
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
Mail To : foreverkans@gmail.com
|
|
|
|
|
Did andy's "google to the rescue" line not give you hint?
Also, search this form, i think this was discussed about a month ago.
|
|
|
|
|
From the depths of Google[^]
This should do it.
As Dave said previously, these were very simple to find simply by using your questions.
I don't speak Idiot - please talk slowly and clearly
'This space for rent'
Driven to the arms of Heineken by the wife
|
|
|
|
|
Use WMI. Also, the HD serial number changes every time the disk is formatted.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Ok, i know it sounds ridiculous, but i am stuck here.
I have 2 spineditors.The purpose is to make an SQL statement.
The first(a) spineditor takes values from 1 to 12 and represents the months.
The second(b) spineditor takes values from 1 to 5 and represents the latitude of the value selected in a (the number of months above and below the first spineditor).
For example.
If on (a) i choose 1(JANUARY) and on b 2(which means i want to get 2 months below JANUARY and 2 months above JANUARY), i want the SQL stetement to be "SELECT * from TABLE WHERE (MONTH BETWEEN 11 AND 12) OR (MONTH BETWEEN 1 AND 3)"
In other words i want to select all the months from NOVEMBER to MARCH
I hope you understand what i am saying here
|
|
|
|
|
What does the user do if he wants November through February?
And no, you didn't post your actual question - you merely gave us some criteria.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
The first spineditor is where you choose the month.The second just tells the programm to broaden the criteria of the month by so many months (spineditor b).
So if he wants just November he chooses 11 on the first spineditor.But if he wants also October and December he will put 1 in the second spineditor
|
|
|
|
|
sounds like you can only cope with an odd number of months; how about choosing October+November???
|
|
|
|
|
You didn't answer my question. Your sql query is going to break if the user selects November and anything larger than 2 for the month span.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Why will it break ?
With the solution i currently have, if the user puts 11(November) and 2 for the span, i get the following numbers, after a little math :
9,10,11,12,1
Then i just make an SQL like "WHERE MONTH IN (9,10,11,12,1)"
It actually works now.
|
|
|
|
|
Find out the months that you want to select, from your example, -1, 0, 1, 2, 3. Then check for lower and upper boundaries, add or minus 12 accordingly. So in your example they would be 11, 12, 1, 2, 3.
Then Select Where Month In (11, 12, 1, 2, 3).
|
|
|
|
|
Yeah that gave my brain a start.
Solved.Thanks
|
|
|
|
|
I am creating an application that will get the CPU utilization for each process similar to the TaskManager. I have created the listing below. When the procedure prints out to a console window the CPU percent is always zero. When I debug the code and step through the code line by line the procedure prints the correct CPU percentage. Why does running the code does not work? While stepping through the code works? Thanks for any help.
Dim poc() As Process = Process.GetProcesses()
Dim PCounter As New PerformanceCounter
PCounter.CategoryName = "Process"
PCounter.CounterName = "% Processor Time"
For i As Integer = 0 To poc.Length - 1
If poc(i).ProcessName.ToString <> "system" Or poc(i).ProcessName.ToString <> "idle" Or poc(i).ProcessName.ToString <> "svchost" Then
Try
'PCounter.InstanceName = "_Total"
PCounter.InstanceName = poc(i).ProcessName
Console.WriteLine(PCounter.NextValue.ToString & " " & poc(i).ProcessName & " " & poc(i).MainModule.FileName & " " & poc(i).MainWindowTitle)
Catch ex As Exception
'Console.WriteLine(poc(i).ProcessName.ToString & " " & ex.Message)
End Try
End If
Next
modified on Tuesday, December 29, 2009 11:52 AM
|
|
|
|