Forum: Visual Basic 4 / 5 / 6 Sep 21st, 2006 |
| Replies: 4 Views: 2,070 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 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 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 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 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 forgot to mention this is with delphi 6 |
Forum: Pascal and Delphi Apr 20th, 2006 |
| Replies: 1 Views: 1,724 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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... |