Click here to Skip to main content
16,005,491 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Vb 6.0 code to convert tiff to Jpeg , gif or png Pin
progload5-Oct-06 12:55
progload5-Oct-06 12:55 
GeneralRe: Vb 6.0 code to convert tiff to Jpeg , gif or png Pin
0pius5-Oct-06 19:46
0pius5-Oct-06 19:46 
Questionemail Pin
apaax5-Oct-06 4:25
apaax5-Oct-06 4:25 
AnswerRe: email Pin
Mike Osbahr5-Oct-06 4:55
Mike Osbahr5-Oct-06 4:55 
AnswerRe: email Pin
nlindley75-Oct-06 6:24
nlindley75-Oct-06 6:24 
GeneralRe: email Pin
apaax5-Oct-06 23:47
apaax5-Oct-06 23:47 
QuestionPassing credentials when accessing a remote computer file system Pin
Cactuar765-Oct-06 3:27
Cactuar765-Oct-06 3:27 
QuestionReading Finger Print Data Pin
logicon5-Oct-06 0:39
logicon5-Oct-06 0:39 
I am working on a Finger Print terminal's PC connectivity software. I am using an OCX provided by the hardware manufacturer. Till now I am able to connect to the device and read user IDs. But the problem is with reading finger print data from the device and converting it to bitmap or any other image format. Manufacturers have provided a sample application in Delphi. I am created the similar VB application by understanding its different function. A function in which the data is being read from the device is -


function TForm1.BackupFinger():integer;<br />
var<br />
	bRet:boolean;<br />
	iRet:integer;<br />
	jh:integer;<br />
	dwMachineNumber,dwEnrollNumber,dwEMachineNumber,dwBackupNumber:integer;<br />
	d1,d3:longint;<br />
	buf: array[0..800] of longint;<br />
	m:TMemoryStream;<br />
begin<br />
	jh := StrToInt(cbJh.Text);<br />
	d1 := 0;<br />
	d3 := 0;<br />
	dwMachineNumber := jh;<br />
	dwEnrollNumber := qfp.FieldByName('dwEnrollNumber').Value;<br />
	dwEMachineNumber := qfp.FieldByName('dwEMachineNumber').Value;<br />
	dwBackupNumber := qfp.FieldByName('dwBackupNumber').Value;<br />
	bRet := FPKeeper1.GetEnrollDataB(dwMachineNumber,dwEnrollNumber,dwEMachineNumber,dwBackupNumber,d1,buf[0],d3);<br />
	if bRet = true then<br />
	begin<br />
		m := TMemoryStream.Create;<br />
    		m.Position := 0;<br />
    		iRet := m.Write(buf,800);<br />
    		qfp.Edit();<br />
    		qfpdwEnrollData.LoadFromStream(m);<br />
    		qfp.FieldByName('dwPassWord').Value := d3;<br />
    		qfp.FieldByName('Memo').Value := 'Backuped';<br />
    		qfp.Post();<br />
    		m.Free;<br />
    		BackupFinger := 1;<br />
    	end<br />
  	else<br />
    	begin<br />
    		BackupFinger := 0;<br />
    	end<br />
end;



Its obvious that data is being read and stored in Access Database. Now, I don't know what type in VB I should create for TMemoryStream. Also any idea how to convert this data into any image format will be very helpful.
QuestionHow do I set custom paper size Pin
Tomic5-Oct-06 0:38
Tomic5-Oct-06 0:38 
QuestionCode to Print!! Pin
Dave_IE5-Oct-06 0:00
Dave_IE5-Oct-06 0:00 
AnswerRe: Code to Print!! Pin
Christian Graus5-Oct-06 0:44
protectorChristian Graus5-Oct-06 0:44 
GeneralRe: Code to Print!! Pin
Dave_IE5-Oct-06 1:15
Dave_IE5-Oct-06 1:15 
GeneralRe: Code to Print!! Pin
Christian Graus5-Oct-06 9:17
protectorChristian Graus5-Oct-06 9:17 
QuestionEvents: Passing values back to the origin of the event Pin
Alex Feature4-Oct-06 23:24
Alex Feature4-Oct-06 23:24 
AnswerRe: Events: Passing values back to the origin of the event Pin
Alex Feature5-Oct-06 20:02
Alex Feature5-Oct-06 20:02 
AnswerRe: Events: Passing values back to the origin of the event Pin
Dave Kreskowiak6-Oct-06 5:26
mveDave Kreskowiak6-Oct-06 5:26 
GeneralRe: Events: Passing values back to the origin of the event Pin
Alex Feature8-Oct-06 1:12
Alex Feature8-Oct-06 1:12 
QuestionVB and SQL Server 2000 Linking Problem !! Pin
Vikrant Badhai4-Oct-06 22:49
Vikrant Badhai4-Oct-06 22:49 
QuestionZip files and GZipStream DeflateStream Pin
manustone4-Oct-06 21:42
manustone4-Oct-06 21:42 
QuestionSOAP Toolkit 3 gives error on win2000 Pin
parthikxap4-Oct-06 19:32
parthikxap4-Oct-06 19:32 
Questionlist boxes and databases Pin
ranro20064-Oct-06 19:21
ranro20064-Oct-06 19:21 
AnswerRe: list boxes and databases Pin
Kschuler5-Oct-06 8:16
Kschuler5-Oct-06 8:16 
Question[Message Deleted] Pin
PREMSONBABY4-Oct-06 18:14
PREMSONBABY4-Oct-06 18:14 
AnswerRe: Hi, unable to read file from remote machine Pin
Christian Graus4-Oct-06 21:11
protectorChristian Graus4-Oct-06 21:11 
QuestionApplication.StartupPath Pin
steve_rm4-Oct-06 18:06
steve_rm4-Oct-06 18:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.