Search Results

Showing results 1 to 40 of 41
Search took 0.01 seconds.
Search: Posts Made By: mrmike
Forum: Visual Basic 4 / 5 / 6 Sep 21st, 2006
Replies: 4
Views: 2,070
Posted By mrmike
just create a shortcut to the file and save it on your desktop

remember to ensure that the client pc you are running from has the relevant dll's installed
Forum: Visual Basic 4 / 5 / 6 Sep 13th, 2006
Replies: 1
Views: 1,778
Posted By mrmike
check the win32api.txt file and search for 'windows network support'

everything is listed in that section regarding the functions you need

i know how to do it under delphi, but ain't converted...
Forum: Visual Basic 4 / 5 / 6 Apr 27th, 2006
Replies: 10
Views: 4,895
Posted By mrmike
not sure if you've looked at

How to Use The Registry API to Save and Retrieve (http://support.microsoft.com/default.aspx?scid=kb;en-us;145679)
Forum: Visual Basic 4 / 5 / 6 Apr 27th, 2006
Replies: 1
Views: 1,624
Posted By mrmike
yes as long as you know the password

need to use the following

Sheets("sheettounprotect").Unprotect ("password")

rest of code

Sheets("sheettoprotectagain").Protect ("password")
Forum: Pascal and Delphi Apr 21st, 2006
Replies: 3
Views: 5,215
Posted By mrmike
I do have a delphi routine, that I wrote inconjunction with a friend a while back that can take an ini file and convert it to a .dat file format and encrypts the data (simple encryption)

when run...
Forum: Pascal and Delphi Apr 20th, 2006
Replies: 1
Views: 1,724
Posted By mrmike
forgot to mention this is with delphi 6
Forum: Pascal and Delphi Apr 20th, 2006
Replies: 1
Views: 1,724
Posted By mrmike
I've mad a small program to log events to the event logs, but have come across an issue

I can log to both Application and System, but unable to log to the security log

does anyone know if you...
Forum: Visual Basic 4 / 5 / 6 Apr 7th, 2006
Replies: 2
Views: 1,224
Posted By mrmike
A bit more info on what you are attempting to do, and what the problem is with the code you already have
Forum: Pascal and Delphi Apr 7th, 2006
Replies: 5
Views: 2,097
Posted By mrmike
as would say if this is for college work to help you get your graduation, then surely you should be looking at writing the whole program yourself, and not using someone elses and passing it off as...
Forum: Pascal and Delphi Feb 21st, 2006
Replies: 1
Views: 3,993
Posted By mrmike
this is because you have a 'repeat' without an 'until' and a 2nd 'begin' with out an 'end'

ie

Repeat
do this statement
do this statement
Until endresult=certainvalue or condition

before...
Forum: Visual Basic 4 / 5 / 6 Nov 21st, 2005
Replies: 3
Views: 5,781
Posted By mrmike
i couldn't get vb or delphi under xp home - work fine under xp pro though
Forum: Visual Basic 4 / 5 / 6 Nov 11th, 2005
Replies: 2
Views: 2,091
Posted By mrmike
create a form with 2 richtextboxes and one command button on it.

next try the following code

Private Sub Command1_Click()
Dim lvStart As Integer
Dim lvEnd As Integer

Randomize (Timer)...
Forum: Visual Basic 4 / 5 / 6 Nov 11th, 2005
Replies: 3
Views: 5,781
Posted By mrmike
r u sure they not running XP Pro, as XP Home has a lot of features missing, this is why a lot of programming languages won't work under XP Home.

My advice is to install XP Pro

regards
mrmike
Forum: Pascal and Delphi Oct 7th, 2005
Replies: 6
Views: 4,225
Posted By mrmike
What is the error cos the above code is ok

if enters Admin sets the editbox to readonly
if enters 1234 shows form2

if neither above are true then shows 'Incorrect username and password'
Forum: Pascal and Delphi Oct 7th, 2005
Replies: 3
Views: 3,472
Posted By mrmike
if need the actual code let me know and i'll try to knock something up
Forum: Pascal and Delphi Oct 7th, 2005
Replies: 4
Views: 2,245
Posted By mrmike
if you need some code let me know and i'll try to get something knocked up
Forum: Pascal and Delphi Oct 7th, 2005
Replies: 3
Views: 3,472
Posted By mrmike
set a flag to be true
use a for next loop to check all editboxes and ensure if something is entered
if a box has nothing in it set the flag to be false
when exit loop, check if flag is true/false,...
Forum: Pascal and Delphi Oct 7th, 2005
Replies: 4
Views: 2,245
Posted By mrmike
easiest solution would be to find the count of the number of members currently listed, add 1 when new user is created, then use the format command to format the string with leading zero's
Forum: Pascal and Delphi Sep 15th, 2005
Replies: 9
Views: 15,008
Posted By mrmike
set the OnEnter event for each editbox to point to the EditClick

regards
mrmike
Forum: Pascal and Delphi Sep 15th, 2005
Replies: 8
Views: 16,271
Posted By mrmike
use the following and set the OnCloseQuery event to call it

procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);
begin
application.Messagebox('Sorry you are unable to terminate this...
Forum: Pascal and Delphi Sep 15th, 2005
Replies: 5
Views: 3,044
Posted By mrmike
thanks

i'll check it out - mainly using the registry to read values using TRegistry, and check fileversion numbers of particular files
Forum: Pascal and Delphi Sep 15th, 2005
Replies: 5
Views: 3,044
Posted By mrmike
fails straight away with kernel32.dll error on windows 2000 - but not sure why as on certain win2000 machines it will work

it has to work on all versions of windows ideally
Forum: Pascal and Delphi Sep 15th, 2005
Replies: 9
Views: 15,008
Posted By mrmike
The labels are not required, but were used for testing, as you change from the editbox to the button, the editbox will lose focus, and the button will become focused, thus giving you an issue if...
Forum: Pascal and Delphi Sep 14th, 2005
Replies: 8
Views: 16,271
Posted By mrmike
to hide taskbar

Link to hide taskbar @ dancemammal.com (http://www.dancemammal.com/codebank/show.php?id=43)

regards
mrmike
Forum: Pascal and Delphi Sep 14th, 2005
Replies: 1
Views: 3,352
Posted By mrmike
you could create a popmenu and then use the mousemove event to display it, not sure how to get it to hide though when movemouse off the control in question

you could also try looking at...
Forum: Pascal and Delphi Sep 14th, 2005
Replies: 9
Views: 15,008
Posted By mrmike
if using an edit box then don't need to use writeln

for each button give it a tag number corresponding to the ascii value you want it to display (ie 0 = 48, 1 = 49, 2 = 50, etc)

create the...
Forum: Pascal and Delphi Sep 7th, 2005
Replies: 9
Views: 15,008
Posted By mrmike
i would assume each button will be set up individually

if so then name it button, and use onclick to display value
Forum: Pascal and Delphi Sep 7th, 2005
Replies: 5
Views: 3,044
Posted By mrmike
I've been creating a small program, thats work fine under windows xp, but fails on windows 2000 pro/server, and also windows 98.

I need the software to work on also windows versions, etc 95 and...
Forum: Pascal and Delphi Jul 12th, 2005
Replies: 6
Views: 3,745
Posted By mrmike
the easiest way of adding into array and increasing at same time is as follows

var
myarray :array of integer;
lastrecord: integer;

begin
lastrecord:=0;

while lastrecord<20 do
Forum: Visual Basic 4 / 5 / 6 Jun 27th, 2005
Replies: 8
Views: 8,834
Posted By mrmike
Sorry comatose,

thought if shown the delphi code, may have been able to convert it to vb code.
Forum: Visual Basic 4 / 5 / 6 Jun 24th, 2005
Replies: 8
Views: 8,834
Posted By mrmike
i've never done this under VB but did write a routine that could map drives under delphi.

the following code is how it works under delphi, you could see if can change to work with VB.

function...
Forum: Pascal and Delphi Jun 15th, 2005
Replies: 1
Views: 2,168
Posted By mrmike
delphi isn't too bad..

there are a lot of differences between the 2
Forum: Visual Basic 4 / 5 / 6 Jun 15th, 2005
Replies: 4
Views: 3,938
Posted By mrmike
best solution I can give is to try socketwrench from catalsyt.

this was mentioned to me by comatose as I was having problems with a project I was doing, and found that it helped me do what i want...
Forum: Visual Basic 4 / 5 / 6 Jun 8th, 2005
Replies: 7
Views: 5,087
Posted By mrmike
Hi Comatose,

Sorry for delay in responding to this but been very busy.

But first thanks for the help :cool:

Well the news is I've managed to do what I need it to do.

I've used the...
Forum: Visual Basic 4 / 5 / 6 May 28th, 2005
Replies: 4
Views: 4,600
Posted By mrmike
hi and welcome

the progress bar can be used under vb6 as well as .net

not sure what you know of progressbars but they are very simply to use



it will probably depend on how far indept you...
Forum: Visual Basic 4 / 5 / 6 May 27th, 2005
Replies: 7
Views: 5,087
Posted By mrmike
thanks for the info I will give that a try and let you know how it works out

i had set the loop count to 1 just for routine for testing as noticed the combobox list actually pulls the scanlist.txt...
Forum: Visual Basic 4 / 5 / 6 May 27th, 2005
Replies: 7
Views: 5,087
Posted By mrmike
Thanks,

looked at TTPScan and gets error loading cswsk32.ocx on loading into vb.

I still loaded at had a look, seems to be doing exactly same as I'm trying, but if I add under



the...
Forum: Visual Basic 4 / 5 / 6 May 26th, 2005
Replies: 7
Views: 5,087
Posted By mrmike
I'm busy writing an application for work which needs to connect to a list of our servers and check some ports to ensure the correct ones we require are open and ones we don't use are closed.

I'm...
Forum: Visual Basic 4 / 5 / 6 May 26th, 2005
Replies: 2
Views: 36,386
Posted By mrmike
thanks for the info

changed the function to

Function mydata(ByVal item as integer, ParamArray valuelist() as variant)

and this works fine
Forum: Visual Basic 4 / 5 / 6 May 26th, 2005
Replies: 2
Views: 36,386
Posted By mrmike
Just got a quick question

I know how to assign arrays using the DIM command, but I want to give the array a set of constant figures that will never change

Under Delphi I would use the following...
Showing results 1 to 40 of 41

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC