Thank You Sonya and Purple
Soonya and Purple! Thank you for your replies. Can we be friends? I'm hoping to hear a lot from you soon...
User Profile
Collapse
-
Last edited by Lavs; Jun 25 '07, 12:30 PM. Reason: I forgot to mention the name of the person i'm sending the message for -
Where to get the PHP installer
Hi there... I need a PHP installer for my PC. Where can I download the PHP installer? I need free because i dont have money to buy for it. -
try this one...
Set conn1 = New ADODB.Connectio n
strConn = "DSN=READ;UID=M e;PWD=MeMeMe;SE RVER=read_serv; "
conn1.connectio nstring = strConn
conn1.openLeave a comment:
-
DO it like this,
ADODC1 is the name of the ADODC control.
...Code:with ADODC1.Recordset if .recordcount = 0 then msgbox "Empty Recordset" exit sub end if .movefirst .find = "idno = '" & txtidno.text & "'" if .EOF then msgbox "No match found"Last edited by Killer42; Mar 29 '07, 03:01 AM. Reason: Please use [CODE]...[/CODE] tags around your code.Leave a comment:
-
Hello...
Are you using a Recordset? In Vb, I guess you have to store the Data from your database to a recordset object. You can then use the Filter method of recordset object to filter data under given condition. If example you have a recordset named RSTPROFILE, then
RSTPROFILE.Filt er = "lastname = '" & txtlastname.tex t & "'"
to remove the filter just use
RSTPROFILE.Filt er...Leave a comment:
-
Halu there! :-) thanks for sharing your ideas.
I got the shell ( ) also...
try this
shell("cmd.exe /c " & "copy c:\firstfolder\ db1.mdb e:\secondfolder ")...Leave a comment:
-
Halu! :-) Create a project in vb. Add 1 button on the form, also add a textbox.
The textbox just show you the number of clicked you've done. If the number of clicked is equal to 10, a msgbox will be displayed, and the counter variable A is set back to its initial value which is zero(0).
Dim a As Integer
Private Sub Command1_Click( )
a = a + 1
Text1.Text = a
If a = 10 Then
...Leave a comment:
-
Lavs replied to How to make a data report as small as an index card 3" X 15" for creating a catalog?in Visual BasicThanks a lot for your help. I'll try looking for what you've advised me. By the way, you're right, i mean 3 inches by 5 inches(3" 5", not 3' 5")lol.
You're smart coz you're able to notice it. By the way i hope this is not the last time you'll help me.
Have you tried using the shell( ) in vb 6.0 in this manner?
shell("cmd. exe /c " & "c:\firstfolder >copy db1.mdb e:\second...Leave a comment:
-
Thank you very much... The code works... I had tried it before but i omitted the filetitle in the secondfolder that's why i got a path/file access error.
Anyway it now works... thank you so much...
By the way, if you have any idea about the other way i want, the one using shell to copy the file, please give me also. Because i want to be able to learn on supplying dos commands to shell function in vb6.0...Leave a comment:
-
Lavs started a topic How to use the shell function in vb6.0 to copy file from one directory to anotherin Visual BasicHow to use the shell function in vb6.0 to copy file from one directory to another
Halu! Is there anyone who could give me an advice about this code?
I have a file named db1.mdb in with a full path of "c:\firstfolder \copy db1.mdb" which i want to transfer to another directory "e:\secondfolde r". This is supposed to be creating a backup routine for an application i am developing.
This is the code that i used.
I am using Visual Basic 6.0 Enterprise edition. My database was created... -
Halu! i have a problem of how to create a backup files. My file is a database file created in MS Access. I want to copy the whole mdb file to another directory. Is there a command in vb6.0 for copying files from one directory to another? I badly need it now...Leave a comment:
-
Lavs replied to How to make a data report as small as an index card 3" X 15" for creating a catalog?in Visual BasicHi there! :-) thanx for entertaining my question. I'm new to all these things that i'm using now. i have not yet encounter the printer properties. I thought the data report size can be set in design time. By the way, can you please send me a sample code if you have, because i have no time to explore, i am still working on some bugs in my code, and also working for the unfinished part. Thank you very much...Leave a comment:
-
Lavs started a topic How to make a data report as small as an index card 3" X 15" for creating a catalog?in Visual BasicHow to make a data report as small as an index card 3" X 15" for creating a catalog?
Halu is there anybody who could give me an advice or a sample code oh how to create an index card size report for my card catalog for a library system.
I badly need this today because our thesis presentation will be done tomorrow, and it's one of the outputs that were anticipated by the panels... please if there's anyone who could help me, i really need it now... please.... -
Lavs started a topic How to insert and read an image from and into an access database using SQL statementin Visual BasicHow to insert and read an image from and into an access database using SQL statement
Hi Guys... Is there anyone who could help me on how to add an image file to a database using SQL Statement...
I am using a database in MS ACCESS 2003, and my application was designed in VB 6.0. I am passing the SQL Statement as a string into a datasource property of a recordset. Can you please give me a source code on how to do it. What datatype should i used for the image file? -
Halu there... this is my suggestion...
'You should have three textboxes, a label, and one command button...
'Use the Replace() function in visual basic
Dim OriginalString, Replacement, tobeReplaced As String
Private Sub Command1_Click( )
OriginalString = Trim$(Text1.Tex t)
Replacement = Trim$(Text2.Tex t)
tobeReplaced = Trim$(Text3.Tex t)
Label1.Caption = Replace(Origina lString,...Leave a comment:
-
Halu... I'm a new member of this forum. I just read your post about the datagrid that doesn't show data from the database. And definitely, I can't answer that question because I myself is a beginner in Visual Basic Programming. I'm here to ask you something... It's all about creating a backup files to a storage device...
Can you please give me a sample code for creating a backup files to any storage device like CD ROMs, Floppy Disk, Flash...Leave a comment:
No activity results to display
Show More
Leave a comment: