|
I developed one application using vb6. when I make EXE the Kaspersky Antivirous detect my application as Trogen virous and deleted my application. How to solve my problem?
Please help me..
Thanks in advance
|
|
|
|
|
Hi salih1989,
In the past, I had Avast, and it detected my apps as ¨posibly¨ infected, my Csharp apps were stopped every time, then I searched Avast website, and google, simply no answer, then I changed Avast, today I use AVG.
But you must consider that perhaps your app, was infected by a virus already present in you computer.
hope this helps,
Carlos.
|
|
|
|
|
You have to report that to Kaspersky and talk with them. Only they can adjust their virus search patterns.
|
|
|
|
|
Anything written in VB6 is "suspicious"; the language is dead, the IDE is no longer for sale. There's a lot of malware written in VB6 since it nicely compiles to native.
Switch to VB.NET
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I am building a excel macro that simply brings up the Outlook Global Adress book and allows you to select a contact and it puts the contact's email address back into an excel cell (or msg box). The Sub below does two things, first part brings up the name of the person who you select, the second part brings up the email address of the current user.
All I want is to bring up the EMAIL of the person you select (not the current user).
Here is my code:
Sub GetEmailAddressClean()
Dim cdoSession, cdoAddressBook, olkRecipients, objAddressEntry, objEU, objAE
CreateObject ("MAPI.Session")
Set cdoSession = CreateObject("MAPI.Session")
cdoSession.Logon "", "", False, False
Set olkRecipients = cdoSession.AddressBook(, "Global Address List", 0, False)
For Each objAE In olkRecipients
MsgBox objAE.Name
Next
With CreateObject("MAPI.Session")
.Logon "", "", False, False, 0
MsgBox .GetAddressEntry(GetNamespace("MAPI").CurrentUser.EntryID).Fields(&H39FE001E).Value
End With
Set olkRecipients = Nothing
cdoSession.Logoff
Set cdoSession = Nothing
End Sub
|
|
|
|
|
Have a look at this:[^]
It's well known that if all the cat videos and porn disappeared from the internet there would be only one site left and it would be called whereareallthecatvideosandporn.com
|
|
|
|
|
And, it didn't work.
Bobby
|
|
|
|
|
Can't seem to get it to work, any way to integrate this code into mine?
|
|
|
|
|
I solved it with this code, which you can use to pull up the global address book, select a user, and it will display that persons email address (SMTP I think).
Sub GetEmailAddressClean()
Dim cdoSession, cdoAddressBook, olkRecipients, objAddressEntry, objEU, objAE
Dim getValue
CreateObject ("MAPI.Session")
Set cdoSession = CreateObject("MAPI.Session")
cdoSession.Logon "", "", False, False
Set olkRecipients = cdoSession.AddressBook(, "Global Address List", 0, False)
For Each objAE In olkRecipients
MsgBox objAE.AddressEntry.Fields(&H39FE001E)
Next
End Sub
|
|
|
|
|
Harry, it didn't work for me. Are there some things you left out?
Bobby
|
|
|
|
|
I just tested it and it worked for me. What error message are you getting.
|
|
|
|
|
Hello All,
May i request some assistance or some sample code on building a number to word translation system with a console application using vb 2008?
Many thanks
|
|
|
|
|
Most people are willing to provide assistance, but that means we expect you to provide something that we can analyze.
Show what you've done, then ask for help.
|
|
|
|
|
|
I wanted to pragmatically change the content of a cell. So I have tried something like this
Private Structure Items
Dim ID as Integer
Dim Name as String
End Structure
Dim objItem as Items
Private Sub AddItem()
objItem.ID = 1
objItem.Name = "Name"
objectlistview.AddObject(objItem)
End Sub
Private sub ChangeItem()
objItem.Name = "MyName"
objectlistview.RefreshObject(objItem)
End Sum
AddItem() method is working fine. But ChangeItem() method doesn't work. What's wrong with code
|
|
|
|
|
|
Do not use such a confusing naming of your variables! When I read Items , I expect some kind of a collection/array. And better use a Class instead of a Structure .
In your ChangeItem function, you must retrieve the item from the listview, and then change its properties.
|
|
|
|
|
I programming in Visual Basic .Net 2010 and I need to display images from a database and displayed in windows explorer (image and name, in rows and columns)
I was thinking of using listview but I think when I have thousands of pictures will be very slow to load the listview
can you suggest me something about it, thanks
|
|
|
|
|
Member 9283091 wrote: I need to display images from a database and displayed in windows explorer What does "in Windows Explorer" mean? Does it have to look like a folder when browsing using the Explorer? Or does it simply need to run under Windows and look "similar" to the Explorer?
Member 9283091 wrote: (image and name, in rows and columns) Sounds like a good place for a virtualized DataGridView .
Member 9283091 wrote: I was thinking of using listview but I think when I have thousands of pictures will be very slow to load the listview Loading a list of strings into a ListView doesn't take that long; it depends on what you're showing, and how. Reading the image will always take a while, and reading images that aren't displayed on screen takes even more time. A datagridview can have an image-column, and if it's virtualized, it'll only load/display the image that's visible.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I am assuming this is relatively simple, but I have not been able to figure this out as of yet.
I have an external WPF application that I cannot modify, but I would like to retrieve the data from a control in the application.
I have the code to retrieve the application top window from the windows API and the code needed to traverse the visual tree to find child items.
The problem lies in getting the window (which is contained in the HwndWrapper) into an object in my program that I can use to send to my code to find the controls I need.
I have tried searching and have come up with the following:
Using HwndSource.FromHwnd() - Returns Nothing
Casting a custom window class to Window - Will not convert
Inheriting from Window in custom window class - none of the attributes I need get populated this way.
I know that this can be done, as the opensource project, snoop, is able to get the data. Unfortunately it is written in C# with a C++ ManagedInjector and I am not as proficient in these languages as I am in VB, so while I can read and understand some of it, the rest is lost on me.
I truly hope that someone will be able to help me with this project, as I am ready to tear my hair out.
Thanks in advance.
|
|
|
|
|
Hi Mr, I know few things about WPF, I can be wrong, but I vaguely remember that a WPF window do not 'use' child windows, I mean child windows do not 'exist' as in C++, Windws Forms ,etc., but really they are all together painted only on one main window. Hope this helps, Carlos.
|
|
|
|
|
Thank you. I did read that the controls in a WPF application do not have handles and therefore must be traversed through with a TreeHelper/Walker, but I cannot figure out how to get the initial element to start the process. I have the names of the controls I need to find by using Inspect and Snoop, but finding the controls by name seems to require an initial element.
|
|
|
|
|
Hi, perhaps the initial element is the biggest container, like, Canvas, InkCanvas, or it can be the main window
|
|
|
|
|
Yes, the initial element would be the main window, but obtaining that element as an object that can be used is the issue that I'm having
|
|
|
|
|
Hi, try google with wpf spy utility, you'll find snoopwpf on codeplex, also http://msdn.microsoft.com/en-us/library/ms742404.aspx[^], hope this helps. Well, this does not answer you question, but I suppose it could help you, yet also I have not used any of these tools Smile |
|
|
|
|
|