From : http://www.kellys-korner-xp.com/xp_qr.htm
Read Only
You may be unable to remove the Read-Only attribute from a folder using Windows Explorer. In addition, some programs may display error messages when you try to save files to the folder.
This behavior occurs because the folder is...
You can alos use "regedit" and remove the wanted key under
My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
For the iEnd, I'll start the search from CNN
and add a trim to remove the trailing space :
Private Sub Command1_Click()
Dim s As String
Dim iStart As Long
Dim iEnd As Long
s = "khFor CNN23 ON jaf;hdfhdalf"
iStart = InStr(1, s, "CNN"...
Here's how to do it...
void main(void)
{
int Number;
int Total;
do
{
printf("Enter a number between 1 and 16 (0 to quit) : ");
fflush(stdin); scanf("%d", &Number);
Total = 1;
if (Number <= 16)
for (Number; Number > 1; Number--)
Total *=...
I seem simple, but I don't want to know the computer name on wich my program run.
What I want to know is the computer name of user who has a session open on a server.
That's more complicated...
Try this :
'Make a reference to
'Microsoft ActiveX Data Object 2.5 Library
'Microsoft ADO Ext. 2.5
Dim cnn As ADODB.Connection
Dim rst As ADODB.Recordset
Dim cnnStr As String
Dim Query As String
'This will let you connect to your database.
cnnStr =...
I used NetFileEnum to know all the files open on a server. This function return me a file handle, the path of the file, the user who has the file open ans somes others things not very interesting to me.
But I also want to know on wich CPU the user returned by the previous function is logged...
Hi...
Here's a simple question.
I want to know on wich computer (computer name) a specific user is logged.
I'm currently trying to perfrom this action with the function NetSessionEnum from the "Network Management SDK", but it doesn't work correctly. So I'm now wordering if there's...
If there's no record in your recordset...
both rs.BOF and rs.EOF will be True
If you want to know when your at the last record...
only rs.EOF will be True
When you're at the first record...
only rs.BOF will be True
So you must write ...
...
Dim Cnn As New ADODB.Connection
Dim cnnString As String
Dim sqlQuery As String
...
cnnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=<DatabasePath>"
Cnn.Open cnnString
...
sqlQuery = "ALTER TABLE <TableName> ADD <FieldName> <FieldType> DEFAULT <Value>"...
Windows NT 4 have a helpful program "File Manager" (winfile.exe) that shows wich user is currently into a network file.
But in widows 2K,and more, the File Manager is not working properly (clicking "Open By" button did nothing).
So I want to create a little program that...
Windows NT 4 have a helpful program "File Manager" (winfile.exe) that shows wich user is currently into a network file.
But in widows 2K,and more, the File Manager is not working properly (clicking "Open By" button did nothing).
So I want to create a little program that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.