Search:
Type: Posts; User: pradeepkrao
Search:
Search took 0.16 seconds.
-
Ok.. Let me check the DLL dependencies. In which dll is WMI functions are implemented, do u know?.
-Pradeep
-
Hi,
Hmm.. this is for VB.NET.. I guess in VB.NET you will find wrappers for all stuff.
Wanted to check out in VB or C++.. "unmanaged code"..
Just let me know if you find any..
Thanks,...
-
Hi,
I am trying to display a list of process information on Win2000.
I am able to retrive the memory usage (I got the eg in API Guide).
I was not able to get the CPU Usage for each process.
I...
-
Hi,
Send me the code I wil try fix it..
-
Hi,
Bring the button to top most level.
In design time. right click the button and click on Bring to Top.
This type of problem happens when we have a control and a lable on it.. and if the...
-
Try this..
servicename = chr(34) & "Abcd efgh ijk" & chr(34)
WinExec "net stop " & servicename,1
-
Hi,
You may kill the query from the Oracle server or Toad.
See the view v$session.
-
Hi,
I have a datagrid, and I have the RecordSource Set to it..
I want to update the selected record.
Once I update it should not appear in the screen (Status = NO).
But the arrow should now...
-
-
Use MAPI's Controls .. You can read all incoming mails...
-
Hi,
I have gone through you code and I have made some changes..Now it works fine..
Sub main()
createBatchPRN "C:\"
End Sub
Function createBatchPRN(ByVal batchPath As String) As...
-
First of all try doing the following..
Copy this code in your VB Project, adda command button
and run..
Private Sub Command1_Click()
Dim strstr As String
strstr =...
-
Hi,
It returns the first occurance, later for the call you will get next ones..
Private Sub Command1_Click()
Dim strstr As String
strstr = Dir("C:\*.log")
-
If the file does not exist then Dir() will return "" an empty string..
-
http://www.vbforums.com/showthread.php?threadid=263111&highlight=SendMessage
-
Hi,
Search this forum for "SendMessage".. you will find few examples..
-
Hi,
Though it is not microsoft product, if it runs on windows then you can use send messages to that window...
Find the child windows of the destination app and then you can sendmessges.
-
Hi,
ACL's are access control Lists.
You can get the ACL's for that directory.
See CACLS.exe in your system32 (This will work only for NTFS)
Regards,
Pradeep
-
Hi,
Dont use commondialog control then.. Use your own control which wud let the user save the files under the drive specified by you.. in the code..
-
Hi,
The code is creating the prn files out of doc files and then in a loop submitting each prn files to printer in append mode, so that the files are printed one after another..
prn is a...
-
The destination computer should have VBVM (VB Virtual Machine)
Try running your built app on the destination comp.. If it doesnt run it will say what is missing.. Then you can provide them along...
-
Hi,
You can send commands thru sockets to other applications or if other application supports com then you can do it in a better way...
-
Hi,
Set the form you want to show as the Top Most form..
Use
SetWindowLong(....)
-
Hi,
You can set an image as your form background.
If at all you want to tile it then you can write small piece of code to do it..
Use BitBlt(.........) and StretchBlt(......) to draw the bg...
-
Hi,
Open the file in binary mode you will then be able to read it as binary..
-
Hi,
Why not use CommonDialog Control??..
-
Hi,
This might sound silly...
Do this in your application...
Private Sub Form_Load()
If Not (App.PrevInstance) Then
-
Check the ACL's for that user for that Directory
-
See the following code..
nDC = GetDc(GetDesktopWindow())
you have the DeskTop device context.. You can now read the image..
Use BitBlt to draw this image on a Window DC or a picturebox..
...
-
Hi,
One more way of doing is to access the remote registry..
Provided the reg server service is running on the remote machine.
Regards,
Pradeep
-
Hi nkad,
If you are having n/w admin privileges then you can run any application anywhere..
There are lots of worms which do this way..
Get the remote host time using an API NetRemoteTOD....
-
Hi,
Well, the code can be easily ported to VB, Have a look at it..
-
Hi,
While accessing the file .. always use
App.Path & "\Filename.mdb"
and keep the file in the current location as the exe..
(See that the mdac2.5 or may be higher version components...
-
Hi,
This idea may not be good.. But you can use this trick..
You can modify the remote registry by using few APIs.
When you register a dll or a ocx it will create two entries in the...
-
Hi,
You may use GetAsyncKeyState API. Use it in a tight Loop.
Or Subclass you window to catch the keystroke event
-
Hi,
Since you are using a windows 2000 OS, you need not use LogonUser. Rather use CreateProcessWithLogOn()..
Use the admin uid and pwd in this function to kick of the process..
-
Hi,
Did you mean, the "Windows Key " which I see between Ctrl and Alt key..
If yes.. I am not sure.. as the OS does not pass this key stroke to other window in the hook chain..
I may be...
-
#include <windowsx.h>
#include <objbase.h>
#include <shlobj.h>
#include <stdio.h>
#include <initguid.h>
#include <stdlib.h>
#include <io.h>
#include <string.h>
-
Hi,
Yeup.. There is a com interface, which will do this for you..
The code is in whosit.com as well as in msdn.
I will find it and send it across..
Regards,
Pradeep
-
Yeup.. I can answer you..
You will have to use security api's..
That will be little bit tricky..
I will post you code sometime later..
There is a tool called CALCS.
It gives you Access...
|
Click Here to Expand Forum to Full Width
|