Search:
Type: Posts; User: longwolf
Search:
Search took 0.57 seconds.
-
The path to the file you want to delete is the first parameter of the sub.
How you select that file is up to you as the programmer.
Public Sub SecureDelete(ByRef FilePath As String, Optional...
-
I hadn't thought of that one, there are function keys for setting the screen brightness.
Thanks for the help!
I'm leaving this open for now, it still could be handy to have code for doing it.
-
I've looked there, there's only an option to turn off the monitor after x minutes.
I would like to be able to toggle the dimming of the screen.
-
I have a laptop and will be spending a lot of time running it off a power inverter in my van.
When the laptop is running on it's own battery the screen dims to use less power.
But when running off...
-
I found Martin's code.
http://www.vbforums.com/showthread.php?t=231163&highlight=numeric
-
Doesn't Martin have a Numeric Text only usercontrol?
-
Two possibes,
1. could the double backslash be the problem in...
C:\Program Files\Microsoft Visual Studio\VB98>\\krishna.com\ind\hyd\VB6\abc.exe
2. try running the full path through this one...
-
What are you scrolling, a picture, contained controls, other?
-
The way your argument it dimmed requires a string variable.
So you can test it like this...
Sub WhatEver(Optional strA as String)
if len(StrA) then
MyStr = StrA
'the
...
-
Thx folks, I'll try them out!
-
I need to post some adds on eBay, but I no longer have a server were I can store the pictures.
Does anyone know of a free image hosting site where I can link directly to the images for the ads?
-
here's some pseudo code for you.
for lp = 1 to PlayerCount
for lL = Ubound(sLines) to 0 step -1
'find the right player
if instr("player" & cstr(lp) & "...
-
Or, loop backward and only take the final bid from each player
-
Looks like you'll have to check each player for previous bids and do the math.
-
You shouldn't need to write it again, just create a public sub and call it whenever needed.
But, you did misspell False
-
I haven't looked at CVMichael's code, but study it, see how the graphics are controled, then use the volume of bytes to control the lines.
-
Don't you mean 'Bump'? :)
Which procedure does it stop at when you get the error?
When you find it, compare the parameters you are sending to the sub to the ones it wants.
-
Welcome to the forums!
I don't know much about it, but there are some examples at psc.
here's one.
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=42280&lngWId=1
-
here's some code from one of my user controls.
It works this way, it dynamically loads as many scroll bars as you want.
Each scroll bar also has a textbox and a checkbox that can 'lock' the value...
-
that happens sometimes.
if you have a backup of your project, you can try that.
if not, you'll have to re-add a DBGrid to your project an then replace the picbox with the grid. As long as you...
-
there's a link in my sign for code that can create the startup shortcut for you.
-
I don't believe you can.
For one thing, it'd be very difficult to write code that could use the arrays without knowing their names in advance.
If, for some reason, you needed to associate the...
-
If you use a main loop, in a module, you shouldn't need the timers.
-
You could use a timer, or a loop.
If you use a loop you'll want a DoEvents and a call to the Sleep API nested inside the loop.
You'll also want a global Boolean variable to let you exit the loop...
-
That's part of the idea of modules.
Anything you declare as Public can be used by any sub in any form or even another module.
Another nice thing about modules, you can write the module to do...
-
-
Here's an example
Public Property Get ForeColor() As OLE_COLOR
ForeColor = UserControl.ForeColor
End Property
Public Property Let ForeColor(ByVal New_ForeColor As OLE_COLOR)
...
-
my first q would be, what are you searching through?
-
I'm running the PDW wizard on my app.
It's giving me a missing file warning about a myappsname.CHI file.
I haven't made any files with that extension.
I've run a search against every file in the...
-
sorry guys, i've been biz with other things.
but it looks like dee-u took care of it, thx dee-u!
-
either use a multi-dimensional array or a udt and store everything as strings.
then loop, possible a nested loop, and compare each string till you find the match.
-
you can try putting a good, thick coat of wax on the car  :)
Try converting the text to asci codes.
browsers convert it back to text, but if you look at the text file..........
-
I'm trying to make a BlackJack table, the point of the game.
I plan to use an 800x600 pixel DX screen and I've made the table top image/texture at 800x440.
To make sure I get the table top shape...
-
there are several ways to save/load your variables.
1. a simple text file, good for udt's
2. an ini file
3. a data base
4. the windows registry
do a search on those, you'll find the info for...
-
edit: I moved my scaling Q to an new thread.
http://www.vbforums.com/showthread.php?p=3408147#post3408147
-
here's another 'not an add in' tool i sometimes use.
gbCodeLib
http://www.garybeene.com/gbware/gbcodelib.htm
-
mz-tools is the best one i know of.
have you looked at the other add ins that come with vb, but aren't loaded by default?
just go to 'Add-Ins/Add-In Manager
-
what i gave you is a good start, just reduce the size of the array and the loops.
then add a way to get your inputs.
you could use textboxes or input pop-ups
-
if all you want to do is turn the screen black you don't need DX.
But in your other thread, you've created an area that can smoothly handle animations.
some of the things done by DX can be done...
-
Welcome to the forum!
the easiest way would be to store your numbers in an array.
Then use a loop with an If/Then to test for the highest number
dim lNum(5) as long 'zero based, holds...
|
Click Here to Expand Forum to Full Width
|