Search:
Type: Posts; User: Lauriux1
Search:
Search took 0.03 seconds.
-
Thank you all! RESOLVED:check:
-
I use this code to terminate a process:
Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccessas As Long, ByVal bInheritHandle As Long, ByVal dwProcId As Long) As Long
Private...
-
-
Thank you LaVolpe you have provided useful information so I decided to test it.
I wrote this code for test purposes:
Private Declare Function GetDC Lib "user32" (ByVal hWnd As Long) As Long...
-
So the correct answer will be Form1.ScaleMode = vbPixels ? :)
Form1.ScaleMode = vbPixels does that somehow will also affect other thing on the form?
Also what you guys suggest to use...
-
Sorry but I'm not sure if I correctly understand you and even if I understand you correctly then I still don't know how to realize that in code. :(
-
I have tested all resolutions on my laptop but I was unable to reproduce behavior. But I have Googled and it is clear that many people face with this problem on their computers that's why I don't...
-
There is one more problem! It appears that there is a problem with Screen object in VB6: http://support.microsoft.com/kb/253940
As Microsoft Knowledge Base suggests I will use GetDeviceCaps API...
-
Thank you all for your help! RESOLVED :check:
-
Some time ago I have found this code somewhere in the vastness of the internet:
Private Declare Function GetDesktopWindow Lib "user32" () As Long
Private Declare Function GetDC Lib "user32"...
-
Thank you SamOscarBrown, I saw that thread before but didn't paid much attention to the lower comments. :thumb:
-
If I'm not wrong then it is for .NET not for VB6. :(
Official DirectShowNET library's web page says:
http://directshownet.sourceforge.net/about.html
-
I have used Google also searched in VBForums and Planet Source Code and found nothing (or at least didn't noticed).
This code just returns 0 if there is no webcam connected and 1 if webcam is...
-
I'm searching for a VB6 code which could detect all installed webcams and microphones but I have found nothing. So I'm asking for a help maybe someone already done that before and could share the...
-
Have you checked www.planet-source-code.com ?
I have tested many free FTP servers but main problem of them was that they did not supported files with Unicode characters in file name. That's...
-
Yes, I also thought about that but still decided to ask for help, maybe there is an easier and more proper way to do that. Anyway thanks westconn1 for suggestion. :)
Yes, I know.
I will wait...
-
Here is an example how to setup FTP Server in Windows 7 manualy:
http://www.c-sharpcorner.com/UploadFile/7d3362/ftp-configuration/
But is it possible to setup FTP Server in Windows 7 via VB6...
-
I know that there is obfuscation tools for .NET based applications, but never have heard about obfuscation tools for VB6 apps?
Also talking about .NET based applications, same as there is...
-
Agree, and it is one of the reasons why I not like .NET
-
But it helped to solve bhavik's problem.
-
@dilettante
Yes, that's correct, I kanow about that. :)
-
No problem, it was glad to help. :)
Same problem is not only with this particular project, you can compile an empty VB6 project with Microsoft name in project version and some antivirus programs...
-
I just remembered my old days when I was a kid who was writing trojans (just for interests of coding, nothing bad) and remembered that such small thing may cause false positive detection, I have...
-
Ok, I know what causes false positive detection, here is solution:
108551
-
-
Don't forget to set TextBox MultiLine parameter to True in other way vbNewLine won't work!
Private Sub Command1_Click()
Dim i As Integer
For i = 0 To 10
Text1.Text = Text1.Text & "work...
-
Just checked on NOD32, NOD32 says nothing. Uploaded to VirusTotal, VirusTotal shows 5 detections of 48. I think that it is just a false positive, maybe part of compiled project matches an malware...
-
Here is another way to get %SystemDrive%\Users\Public directory, also this way supports Unicode:
Set oShell = CreateObject("WScript.Shell")
MsgBox oShell.ExpandEnvironmentStrings("%PUBLIC%")
...
-
Call FileCopy("C:\1.txt", Environ$("PUBLIC") & "\1.txt")
Copies "1.txt" from directory "C:\" to directory "%SystemDrive%\Users\Public\".
-
Thank you, Bonnie West for your tips, they were useful and helped me to solve the problem! I mark this thread as [RESOLVED]. :)
-
Thank you for your reply, Bonnie West!
I have checked the link you have posted and there I found 'HugeBinaryFileHandler' Class Module posted by user 'halsboss' (comment #8). And using this Class...
-
I already have written a code using which I can send files over internet using a Winsock control, but there is one problem, my code can't read and write files bigger than 2GB and files which use...
-
Thank you, Bonnie West! I have tested your code and so far it works fine without any errors, so I mark this thread as [RESOLVED]. :)
-
No, error is not because of that. Error has something to do with WMI (Windows Management Instrumentation). Sometimes I run it and it works fine, but sometimes I run it and it crash with this error:
...
-
Should be vbNullString instead of ""
AppHwnd = FindWindow(vbNullString, "App1")
-
There is two types of functions Public and Private. Public functions can be called from any form or module while Private functions can be called only from the same module or form where Private...
-
This code works, but the problem is that from time to time it tends to crash. When this code crashes in IDE, IDE shows this error message:
And highlights line of code which I have marked in...
-
Actually at the moment I use this code:
Private Sub Form_Load()
Dim ProcessUserName As Variant
Dim colProcesses As Object
Dim objProcess As Object
-
I'm searching the way how to find 'User Name' of an external process.
106969
Any help will be appreciated, thank you in advance!
-
Strange, maybe UAC was disabled?
|
Click Here to Expand Forum to Full Width
|