Showing results 1 to 40 of 41
Search took 0.01 seconds; generated 1 minute(s) ago.
Posts Made By: mrmike
Forum: Visual Basic 4 / 5 / 6 Sep 21st, 2006
Replies: 4
Views: 1,733
Posted By mrmike
Re: vb program on network

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,440
Posted By mrmike
Re: Connect to special/hidden shares

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 it...
Forum: Visual Basic 4 / 5 / 6 Apr 27th, 2006
Replies: 9
Views: 3,558
Posted By mrmike
Re: about registry key . . .

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,263
Posted By mrmike
Re: Password protection

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: 4,014
Posted By mrmike
Re: Loading a .Dat into a Array of records help.

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 it...
Forum: Pascal and Delphi Apr 20th, 2006
Replies: 1
Views: 1,424
Posted By mrmike
Re: Logging Events to Security

forgot to mention this is with delphi 6
Forum: Pascal and Delphi Apr 20th, 2006
Replies: 1
Views: 1,424
Posted By mrmike
Question Logging Events to Security

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 can...
Forum: Visual Basic 4 / 5 / 6 Apr 7th, 2006
Replies: 2
Views: 950
Posted By mrmike
Re: hello hope you can help me, have a look and let me know

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: 1,737
Posted By mrmike
Re: pls help me,..

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: 2,914
Posted By mrmike
Re: Procedure Repeat Loop

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 the last...
Forum: Visual Basic 4 / 5 / 6 Nov 21st, 2005
Replies: 3
Views: 4,058
Posted By mrmike
Re: Installation Problems with VB 6.0 and XP!!!

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: 1,729
Posted By mrmike
Re: WordScramble expert needed

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)
lvStart = 1
Forum: Visual Basic 4 / 5 / 6 Nov 11th, 2005
Replies: 3
Views: 4,058
Posted By mrmike
Re: Installation Problems with VB 6.0 and XP!!!

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: 2
Views: 3,008
Posted By mrmike
Re: Login screen

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: 2,718
Posted By mrmike
Re: validation in edit boxs

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: 1,858
Posted By mrmike
Re: Automated number

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: 2,718
Posted By mrmike
Re: validation in edit boxs

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, if...
Forum: Pascal and Delphi Oct 7th, 2005
Replies: 4
Views: 1,858
Posted By mrmike
Re: Automated number

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: 11,185
Posted By mrmike
Re: Emulating a keyboard key press

set the OnEnter event for each editbox to point to the EditClick

regards
mrmike
Forum: Pascal and Delphi Sep 15th, 2005
Replies: 8
Views: 14,252
Posted By mrmike
Re: Making a Fullscreen form and hiding the Windows Taskbar

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: 2,309
Posted By mrmike
Re: Creating a program to run under various OS

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: 2,309
Posted By mrmike
Re: Creating a program to run under various OS

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: 11,185
Posted By mrmike
Re: Emulating a keyboard key press

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: 14,252
Posted By mrmike
Re: Making a Fullscreen form and hiding the Windows Taskbar

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: 2,755
Posted By mrmike
Re: Getting a rollover menu in delphi

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: 11,185
Posted By mrmike
Re: Emulating a keyboard key press

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: 11,185
Posted By mrmike
Re: Emulating a keyboard key press

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: 2,309
Posted By mrmike
Creating a program to run under various OS

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: 2,947
Posted By mrmike
Re: help with for loop

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: 6,744
Posted By mrmike
Re: Accessing network share programmatically

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: 6,744
Posted By mrmike
Re: Accessing network share programmatically

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: 1,893
Posted By mrmike
Re: And Delphi..

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,105
Posted By mrmike
Re: Winsock connection problem

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 it...
Forum: Visual Basic 4 / 5 / 6 Jun 8th, 2005
Replies: 7
Views: 4,307
Posted By mrmike
Solution Re: Winsock and looping issues unsure how to resolve

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 socketwrench...
Forum: Visual Basic 4 / 5 / 6 May 28th, 2005
Replies: 4
Views: 4,009
Posted By mrmike
Re: project help

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 have to...
Forum: Visual Basic 4 / 5 / 6 May 27th, 2005
Replies: 7
Views: 4,307
Posted By mrmike
Re: Winsock and looping issues unsure how to resolve

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: 4,307
Posted By mrmike
Re: Winsock and looping issues unsure how to resolve

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 following
Forum: Visual Basic 4 / 5 / 6 May 26th, 2005
Replies: 7
Views: 4,307
Posted By mrmike
Winsock and looping issues unsure how to resolve

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: 27,453
Posted By mrmike
Solution Re: assigning arrays in VB

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: 27,453
Posted By mrmike
assigning arrays in VB

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

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:40 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC