|
This is not an automated signature - I type this at the end of every post.
|
|
|
|
|
hey... perhaps I should investigate that!
|
|
|
|
|
We do that in one of our products...It is fairly simple to lock down the desktop so that there aren't any ICONS visible on the desktop, nothing displayed in the start menu, and we use the W2K policy editor to restrict access to everything except our application (which is automatically run upon login using the startup folder) for a specific user.
If it is just specific games you want to allow, you could update the desktop to just have the specific programs you want the user to access and then restrict access to everything else.
Steve
|
|
|
|
|
Thanks, I will investigate this policy thing...
|
|
|
|
|
There are applications out there that do that. I did a quick Google and found this[^], for example using "Windows shell" and "kid-friendly" as search terms.
Software Zen: delete this;
|
|
|
|
|
thanks!
|
|
|
|
|
i am doing one school project.currently i am doing the library session.how can i allow the one book per student using student id
sathish
|
|
|
|
|
When a student checks a book out, you obviously have to track which book they have checked out. Now, when a student tries to check a book out, you have to check to see if they have one checked out first. If not, they can check a book out, else, they can't.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi, I have a VB6 app which uses late binding to create an object of a DLL file. I want to be able to delete and replace this DLL file at any time.
How do I dispose of this object in VB6 in such a way that I can delete the DLL file?
you can't forget something you never knew...
"Watching Migthy Joe Young made me hate my life..................................I want a gorilla!" A. Havemann
|
|
|
|
|
If you're using this .DLL through Declare statements, you can't unload it. The .DLL is loaded into your process' addess space on startup and stays there, with it's file held open until after your application quits.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
This is how I declare it. Is there no way to unload this from the memory?
Dim F As Object
Set F = CreateObject("MyObject.MyClass")
Before running this code the DLL can be replaced easily.
Even when the object is out of scope I can't delete the DLL.
you can't forget something you never knew...
"Watching Migthy Joe Young made me hate my life..................................I want a gorilla!" A. Havemann
|
|
|
|
|
Yep. You can't delete it until AFTER you're application terminates. Even if you're no longer using any objects in the .DLL. There is no way to unlock the .DLL so long as your code continues to run.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
How can I specifically read a word placed between quotes ("word") from a line of text.
|
|
|
|
|
Dim first As Integer = Trim(TextBox1.Text).IndexOf("""") + 1<br />
Dim last As Integer = Trim(TextBox1.Text).LastIndexOf("""")<br />
<br />
Label1.Text = Trim(TextBox1.Text).Substring(first, last - first)
This will only work with one set of quotes, I'll work on a little parser and get back to you.
|
|
|
|
|
I would have thought that the easy way, would be compare....
the word you want to look for is "word"
the user types in "this word would be nice" includes the "word" you are looking for.
|
|
|
|
|
hello
I'm opens a form (Access 2003) using a tmptable and show the content of it correctly. but, I get the last line ( table.EOF line?) with an empty line in the form also.
when looking in the tmptable - the last line is empty too. how to avoid display this line?
thanks in advance
evyatar
|
|
|
|
|
How do I check to see if a text box is empty or has multiple blank spaces.
|
|
|
|
|
Try this:
<br />
If TextBox.Text <> "" Then<br />
'Code goes here<br />
End If<br />
|
|
|
|
|
this will remove all white space before and after.
If Trim(Textbox.text) <> "" Then
......
End if
|
|
|
|
|
Thanks AreJay this solved the problem.
|
|
|
|
|
Hi,
I want to determine from my vb.net code which background process(application) is running in full screen mode. I got all process details using the system.diagnostics...but how to go about determining whether the process is in full screen or not???
Thnx in advance
|
|
|
|
|
Try this:
<br />
If Me.WindowState = FormWindowState.Maximized Then<br />
'Code goes here<br />
End If<br />
|
|
|
|
|
actually let me explaina bit more, here is the scenario:
My application is running
In the background i have for example, msn messenger, corel draw, a power point presentation running...
usually a power point presentation runs on full screen.
so in my code, i need to determine which application OUTSIDE of my application is currently active IN full mode...i.e i want to determine that powerpoint is running....
thnx in advance
|
|
|
|
|
If it's not an app you write, you'll have to use the WIn32 API functions GetWindow, FindWindow, and/or FindWindowEx to get the window handle you're looking for, then call GetWindowPlacement[^] to get the current state of the window.
You can look on http://www.pinvoke.net[^] for examples on how to call these functions.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Dear Sirs,
Could any one help me how to send a String from one application to other application in VB.NET.
Thanking You.
Hariram
|
|
|
|