Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Library System Coding


Please give the sample coding in vb university/school/college library books borrowing system..........

Its very urgent....

reply soon...

regards
tasa




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Library System
Hi all! I hope i am posting this correctly. I'm trying to create a library system and would like to ask if you know where i can find some related literature about it. Thanks.

Library System
Hi all! I hope i am posting this correctly. I'm trying to create a library system and would like to ask if you know where i can find some related literature about it. Thanks.

Designing For A Small Library System
Hello,

I am creating a library system for a school. The library has about 5000 books. With different catagories. e.g. technicial, story, comedy, science etc. there is about 10 different catogories in all.

My problem is what to use as the primary key. should l just use numbers for all the books, or have the primary key indicate the catogory of the book. e.g for all books have a number. 0001, 0002, 0003. Or have the primary key indicate what catogory the books belong to e.g. science SC0001, SC0002. For technical TC0001, TC0002.

Another question, if the books have 4 different copies of the same book, would l have to use the same primary key and have a second table for all those books that are copies.

Thanks for your advice,

Steve

Connecting To System DSN W/out Hard Coding UIR && PWD
Stumped on this problem I am having with my VB Program. I recently formatted and rebuilt my w2K server computer and now my VB program won't run successfully because I keep getting an unsuccessful database connection with the following Connection string:

Set pr = New Connection
pr.Open "DSN=DSNName;Database=AppDatabase"

Now I have properly configured and tested the "DSNName" in the System DSN under ODBC and this worked fine before on my computer and it works fine at my client site. However now it doesn't seem to work. Now of course it works when I provide the UID and PWD like so:

Set pr = New Connection
pr.Open "DSN=DSNName;Database=AppDatabase;UID=sa;PWD=something"

where the login/password to the database is sa/something.

I would like to keep from having to hard code the username and password throughout the application and let the System DSN handle this. Any ideas?

HELP!! Visual Basic - Library Loan System.
Hi guys,

I am facing problem with visual basic. I'm quite new to this programming language and had project on it. I'm doing on Library Loan System.

How i want the program to work,

1) user type a keyword on textbox(txtSearch) to search the book from the database.

2) It will display the search found in a listbox(lbSearch).

3) After displaying the search, i will click on a button; LoanButton.

4) It will remove that particular book on the listbox(lbSearch) and add to another listbox(lbLoan).


I am facing problems with this few points, can anyone willing to assist me? Thank You.

Need Your Advice Designing A System (nice Break From Coding Questions)
I need to design a system that tracks what is essentially document creation through a system. It's at a business where people use Windows XP on client computers that are connected via a LAN with a server running Windows 2000 (I think - I believe it's Microsoft Small Business Server).

Each person uses a different application that I have developed to process some part of the document - one person does data-entry, one person does formatting, one does printing and quality control, etc. I need the system to be able to track where each document is in the "assembly line", and I need each person to be able to easily get the document from the person who precedes them in the line. I also need to track the documents for billing purposes.

What I am thinking about doing is having a database, designed in Access, that resides on the server, along with directories that contain the document files themselves. This database would keep track of where each file is in the system (which would mean whose responsibility it was), it would track the files for billing purposes as well, and so on. However I am unsure about the best way to go about this. For instance, if I have each client application accessing the database itself, will I run into problems with records being locked and so on?

Would it be better to design a program that resides on the server, that would handle all requests from the programs that resided on the client, providing them with the files they need, and keeping track of everything via the database? How would I do that?

I've never written anything that needed to deal with something residing on a server in a LAN-type environment (as opposed to, say, writing a Perl program that accessed a server - that's easy). And I've never written anything for a Windows server, either. Any advice you might have on this problem, or resources I should read, or anything at all, would be most appreciated! The deadline for this is next week...so I need to get cracking...a simple solution would be ideal.

Thanks.

What Is The Different Between Ntport Library And TVicPort Library In Visual Basic 6.0
996633

Hi,I just need the information.
What is the different between nt port library and TVicPort Library which can be use in Visual Basic 6.0
Thank You.

Is That BASIC Coding Is Almost Same As VB Coding?
Let say i want to print out the record eg:PERC$ , i key in 3 difference record, but it always come the last record (the previous 2 records didn't come out).So, how i going to save PERC$ as a transaction data nor paste the PERC$ from record when print out the record? Thank you for your opinion.

How To Add Things To System.ini Or System.dat So Program Runs When Windows Start ?
Hi,

Pls tell me how and what to add things to system.ini or system.dat so program runs when windows start ?

note: i am workin on a pc locking program.

thnx in advance

Setup Cannot Continue Because Some System Files Are Out Of Date On Your System.
I realized that many people, just like myself, were having problems with the Package and Deployment Wizard for VB 6.0 and when trying to install their program on another PC they were getting the following message:

"Setup cannot continue because some system files are out of date on your system. Click OK if you would like setup to update these files for you now. You will need to restart Windows before you can run setup again. Click cancel to exit setup without updating system files."

Microsoft addresses this issue in their Help and Support and proposes 8 solutions.

However, I found out that the problem was coming from the Bootstrap files in the Setup.LST file.
If you open Setup.LST (generated with the wizard) you'll see something like this:

[Bootstrap Files]
File1=@VB6STKIT.DLL,$(WinSysPathSysFile),,,3 25 99 11:00:00 PM,101888,6.0.84.50
File2=@MSVCRT40.DLL,$(WinSysPathSysFile),,,5 30 98 11:00:00 PM,326656,4.21.0.0
File3=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5 30 98 11:00:00 PM,22288,4.71.1460.1
File4=@stdole2.tlb,$(WinSysPathSysFile),$(TLBRegister),,8 23 01 1:00:00 PM,17920,3.50.5014.0
File5=@asycfilt.dll,$(WinSysPathSysFile),,,8 4 04 8:56:41 AM,65024,5.1.2600.2180
File6=@olepro32.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,8 4 04 8:56:44 AM,83456,5.1.2600.2180
File7=@oleaut32.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,8 4 04 8:56:44 AM,553472,5.1.2600.2180
File8=@msvbvm60.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,8 4 04 8:56:43 AM,1392671,6.0.96.90

Files 1 through 3 are needed to run your VB 6.0 program, but Files 4 through 8 were the ones that were "out of date" and caused the error. Since the host PC will most certainly have these files, there is no need for your program to install them (or even update them). So you can just insert a colon ";" in front of the lines for File 4 through 8 for the installation to ignore these commands.

So open your Setup.LST and change it like this:

[Bootstrap Files]
File1=@VB6STKIT.DLL,$(WinSysPathSysFile),,,3 25 99 11:00:00 PM,101888,6.0.84.50
File2=@MSVCRT40.DLL,$(WinSysPathSysFile),,,5 30 98 11:00:00 PM,326656,4.21.0.0
File3=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5 30 98 11:00:00 PM,22288,4.71.1460.1
;File4=@stdole2.tlb,$(WinSysPathSysFile),$(TLBRegister),,8 23 01 1:00:00 PM,17920,3.50.5014.0
;File5=@asycfilt.dll,$(WinSysPathSysFile),,,8 4 04 8:56:41 AM,65024,5.1.2600.2180
;File6=@olepro32.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,8 4 04 8:56:44 AM,83456,5.1.2600.2180
;File7=@oleaut32.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,8 4 04 8:56:44 AM,553472,5.1.2600.2180
;File8=@msvbvm60.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,8 4 04 8:56:43 AM,1392671,6.0.96.90

Save it, close it, and try installing your program again.

Note: You may have other DLL files than those listed above, so you have to make sure which ones are the one out of date.

Hope this helps some of you out there.

Setup Cannot Continue Because Some System Files Are Out Of Date On Your System
Hi,
I am getting this error when i am trying to install my application in client workstations. the application was developed in office xp sp2. it's working without any problem in some computers but not in few xp computers and all of windows 2000 computers. i tried running vb60.exe and scripten.exe. i read that updating oleaut32.dll can also solve the problem. so i copied that file from my computer to those computers and it worked in one but didn't in others.

anyway i can solve this problem?

Setup Cannot Continue Because Some System Files Are Out Of Date On Your System.
Hi,

I am having problem in installing the VB package into one of the computer. I packaged all my VB installation files using PDWizard, and I have successfully installed it on the other computer. Both computer are running Windows XP.

This is the error that I've got:

Setup cannot continue because some system files are out of date on your system. Click OK if you would like setup to update these files now. You will need to restart Windows before you can run setup again. Click Cancel to exit setup without updating system files.

I have tried to restart and reinstalled, but it prompted me the same error message again and again. I have update the MDAC to version 2.8. I have also tried to disable the Norton Antivirus since I read that maybe the .olb file in Norton uses different version as Windows.

Did anybody encounter this problem before? I would appreciate if you can give me any solutions.


Thanks,
Jenty

Show Icon In System Tray When My System Starts
Hi all

I have done an application in VB6 which when minimized sits in the system tray.
Till this point its working fine.
but i need to do some more modification for this.

I want the application Icon to appear in the system tray when the system(CPU) starts (like yahoo messenger icon sits in sytem tray as soon as the system starts).

can anyone help me with the code.

Thanks in advance.

regards
Rajmv

Help On System Sound (muting System Audio)!
Hy i was wondering if anyone could help me on muting or changing SYSTEM
SOUND setting's i need this because my sister drives me nuts with here
music on my computer and she listens to it full blast Help is really wanted and
needed on this subject lol.

How To Find The Remote System Name Using That System Ip Address
Hi


How to find the remote system name using that system ip address?

U.Srikanth

How To Send Message Form One System To Another System
hai

my network have 5 systems all are window 95 systems

i want to send message to any system.

my friend said one command for NET SEND but it is not worked in
the windows 95 or window 98 systems
how to send messages

POS System With Reward System (RFID Card)
HI folks...


I'm currently intend to develop a customer/reward system that capture the amount purchase each time.
The membership card is a RFID card, i will used a desktop reader to read the card.
But the problem is, POS system have been used. So,how am i going to read the amount purchase from the POS system to my reward system. Is not a good pratice to let the cashier to key keyin the amount munaully.

Anyone can give me some advice..? like how to reside the vb system into POS..., or others good method to do it so that cashier have the easy way to do the daily task....

Thanks in advance..


=Elvis=

Money System, Date System, Etc.
I am trying to create my first "Wrestling Simulator" and I have gotten stuck on trying to make the money system, date system, save system, and wrestler system work. I need to figure out how to make the money go up in certain cases and vice versa and when at 0 I need it to end the game. In the case of the Wrestler System, I need to find out how to make it say the name of the wrestler in matches, news, etc. without having to add 5x the amount of coding for each. The Date system and Save system are pretty self explanitory.

System Date And System Time
(on click of command button) how do i save the text in a textbox to a .txt file with "Log - " + system date + " - " + system time ? into the application's folder...

How To Copy A File From One System To Another System
hai

there are two systems are connected with the lan

i want to copy one file from one system to another system with using FileSystemObject

"Setup Cannot Continue Because Some System Files Are Out Of Date On Your System"
Hello,

I've created an install program with the package & deployment wizard that ships with vb6. When i try to intall my program on windows 2000 (can't really say if it is just windows 2000 at this point) I get the error:

"Setup cannot continue because some system files are out of date on your system. Click OK if you would like setup to update these files for you now. You will need to re-start windows before you can run setup again. CLick cancel to exit setup without updating these files."

It seems no matter how many times I click ok and re-start the system, the message continues to pop up and wont let me install the program. Any suggestions?

Also, when i do successfully get the install to work on certain machines, it displays:

"An error occured while trying to register the file "C:windowssystem32msado25.tlb"

Ideas?

Thank you.

PCI Library
Hi, anyone know some library to send data a PCI port, and also have a PCI Slot pins names. ???


Thanks !!

Library
Hi! I would like to ask someone if you could give me information on how to make a simple library/document management system. What should I need to do...

Thanks in advance!

Right$ Mid$ Library ????
Hello just a simple question...
what library do i need to run these functions. it seems my visual basic doesn't have it..

asc(x) ascii(x)
chr$(x) char(x)
lcase$(x) lower(x)
len(x) datalength(x)
ltrim$( x) ltrim(x)
mid$(x,y,z) substring(x,y,z)
right$(x,y) right(x,y)
rtrim$(x) rtrim(x)
space$( x) space(x)
str$(x) str(x)
ucase$( x) upper(x) ....
...
......

Thanks....

Which Library?
Is there any difference between Microsoft ActiveX Data Objects 2.8 Library and Microsoft ActiveX Data Objects 2.7 Library?

I am only using ADO to execute commands of the following types:


Code:
myCon.ConnectionString = "....."
myCon.Open
myCon.Execute "SQL Statement here"
Set myRec = myCon.Execute("SQL Statement here")
myCon.Close

I've been using the 2.8 library at home, but school only has the 2.7 library. I'm just trying to find out in advance whether my program will still work. Will I need to adapt any code, to allow for the different libraries?

John

How To Use A C Library In VB
Hello, API people.

I am not sure I am posting my question in the right forum. I thought you guys are an expert at the library things.

I downloaded a C library called dna.dll for numerical integration. My problem is that I don't know how to use in VB.

anyone can help me out?

Thanks,

TK

How To Add Library (dll)
Hello!

I want to add a library to my project. It's the fast fourier transform library fftw. It has .dll .exe .def .h files in it. Do i have to use the implib function in order to change the .dll files to .lib??? And which option allows me to add the library to my form, so i can then load the header file and use the functions to calculate the fourier values???

Thank's!

RSA Library
Does anyone know VB RSA library?
Or maybe not VB library, but where encrypt/decrypt functions get P Q D and E as arguments(not hole keys)?

Thank You, AntonM

CDO Library?
hey anyone know where i can find the CDO library 1.2?

ZIP Library
Hello

I'm looking for a ZIP library. That is to say a DLL library to ZIP files into a ZIP archive (like Pkzip or Winzip does).

It must be free of charge.

Does some one have this ???

Thank you for your help.

Paco

Sms Library
The declarations given at:

http://msdn.microsoft.com/library/de...appprogsms.asp

are
Public Declare Function SmsOpen Lib "SMS" (ByVal ptsMessageProtocol
As String, ByVal dwMessageModes As Long, ByRef psmshHandle As
Long, ByRef phMessageAvailableEvent As Long) As Long

Public Declare Function SmsSendMessage Lib "SMS" (ByVal smshHandle
As Long, ByVal psmsaSMSCAddress As Long, ByVal
psmsaDestinationAddress As String, ByVal pstValidityPeriod As
Long, ByVal pbData As String, ByVal dwDataSize As Long, ByVal
pbProviderSpecificData As String, ByVal dwProviderSpecificDataSize
As Long, ByVal smsdeDataEncoding As Long, ByVal dwOptions As Long,
ByRef psmsmidMessageID As Long) As Long

Public Declare Function SmsClose Lib "SMS" (ByVal smshHandle As
Long) As Long

Can anyone tell me where to find the sms libray ?

VB Help Library
Am new at this and learning. I'm in Excel and entering some VB code. When I hit the 'help' button, the library's label says Micorsoft Visual Basic Help, but the library displayed is one for Excel. How do I get to the VB help library? Thanks.

Wot Library/API ?
Guys, does anyone have any code or have an idea how to programatically Stop a nominated Service in Win2k ??

Thanks

Peeman

Library
I was wondering if vb had an easy way to start a code library where i can keep all snippets of code. i would like to stay away from just typing it in notepad or somtehing. is there anyother programs that do this?

ADO 2.5 Library
Hi ,
I faced the following problem a few days back:
I had build my apps using the ado version 2.1
Then sometime later Office2000 security patch installed MDAC2.5 on my workstation.Without knowing this I compiled my app and ran it on a P.C which had the Previous verion of ADO library.My App started bombing.
Can this be because of no backward compatibllity of the newer version.
Please note that I have not used any methods or features that were not present in the older version
I have just recompiled the App.
Has anyone so far faced this issue of backward compatibility between the 2 versions.
If so please let me know and if there is any official documentation of the same.
Sachin

Library
Hi

IN P.B. there is pfc library is available with it.


is there any library came with microsoft vb.

Thank

Niraj Parikh

PDF Library
I'm seeking a PDF library so that i can create PDF's dynamicly from my code. I've asked about this before, and someone pointed me to Absolute PDF
My program allready creates printfiles in the PCL format. I would need to rewrite my entire program if i was to use this library.

I was wondering if anyone new any PLC > PDF or postscript > PDF library instead..

Thanks, Anders

What Is The Library
What is the library of this code:

The error is all about library..

Private Sub Form_Load()
SetWindowPos hwnd, conHwndTopmost, 0, 0, 0, 0, _
conSwpNoActivate Or conSwpShowWindow
Data2.Refresh
Data2.Recordset.MoveFirst
While Not Data2.Recordset.EOF
If Data2.Recordset!brgy <> "Others..." Then
   Data2.Recordset.edit
   Data2.Recordset!others = ""
   Data2.Recordset.Update
End If
Data2.Recordset.MoveNext
Wend

Image1.Left = (Screen.Width / 2) - (Image1.Width / 2)

End Sub


I spend this project twice I can

What Is The Library
Hello friends,

    Somebody help me to give this library in this program:


Private Sub tbToolBar_ButtonClick(ByVal Button As Button)
    On Error Resume Next
     
    timTimer.Enabled = True
     
    Select Case Button.Key
        Case "Back"
            brwWebBrowser.GoBack
        Case "Forward"
            brwWebBrowser.GoForward
        Case "Refresh"
            brwWebBrowser.Refresh
        Case "Home"
            brwWebBrowser.GoHome
        Case "Search"
            brwWebBrowser.GoSearch
        Case "Stop"
            timTimer.Enabled = False
            brwWebBrowser.Stop
            Me.Caption = brwWebBrowser.LocationName
    End Select

End Sub

Sms Library
The declarations given at:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k2/html/introappprogsms.asp

are
Public Declare Function SmsOpen Lib "SMS" (ByVal ptsMessageProtocol
  As String, ByVal dwMessageModes As Long, ByRef psmshHandle As
  Long, ByRef phMessageAvailableEvent As Long) As Long

Public Declare Function SmsSendMessage Lib "SMS" (ByVal smshHandle
  As Long, ByVal psmsaSMSCAddress As Long, ByVal
  psmsaDestinationAddress As String, ByVal pstValidityPeriod As
  Long, ByVal pbData As String, ByVal dwDataSize As Long, ByVal
  pbProviderSpecificData As String, ByVal dwProviderSpecificDataSize
  As Long, ByVal smsdeDataEncoding As Long, ByVal dwOptions As Long,
  ByRef psmsmidMessageID As Long) As Long

Public Declare Function SmsClose Lib "SMS" (ByVal smshHandle As
  Long) As Long

Can anyone tell me where to find the sms libray ?

Anjanesh

How To Add Library (dll)
Hello!

I want to add a library to my project. It's the fast fourier transform library fftw. It has .dll .exe .def .h files in it. Do i have to use the implib function in order to change the .dll files to .lib??? And which option allows me to add the library to my form, so i can then load the header file and use the functions to calculate the fourier values???

Thank's!

Add Library
Hi
How can i add libraries in my project in VisualBasic 6. I want to add Fast Fourier Library. Is possible that?

API Library
Somebody knows a site with all API calls and your meanings for VB6?
Thanks!

API Library
Somebody knows a site with all API calls and the meanings, for VB6?
Thanks!

C Library
How do I use a C Library in Visual Basic?

Is This Bug In ADO Library?
Hi Gurus,

Help me out. I reckon this might be a bug in ADO library. I have following scenario.

I am using ActiveX Data Object 2.5 library in VB 6.0 to connect to MS Access 2000 database (say PC2020.mdb). PC2020.mdb database is password protected using database password (i.e. Tools|Security|Set Database Password). I use following connection string to connect to database “Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:pc2020databasePC2020.mdb;Jet OLEDBatabase Password=&lt;password&gt;”.

Everything works fine. But once I have Access database named System.mdb in the same directory as PC2020.mdb I am not able to connect to the database. The ADO’s Connection.Open method gives following error.
Error Number: -2147217843
Error Description: Not a valid password

Using Access I can open PC2020. But I cannot connect to any database using ADO from VB if there is a database named System.mdb in that directory.

I am puzzled. I had terrible time figuring the reason. Please Gurus enlighten me.

Shripad


--Take the life as it comes--

Using C++ Or C Library
Hi all

Can anybody tell me how to use a c++ Library file in VB. Im new to VB and would appreciate an example if someone knows.

Thanks in advance
Joel

Library
Suppose i want to create an object say xlApp as,

xlApp As excel.Application

But i want to do this only if i find out that there is excel installed on the computer.
How should i do it?
Can i somehow find out if excel is installed ?
Regards,
Amruta.

Library
I would like to write a program with all of my VB programs and C++ programs from school. Like the MSDN Library. I figure out how to design it, should I put all of my programs into a database and then make a database program in VB? Can anyone give me suggestions on a good design for my task?

Copyright © 2005-08 www.BigResource.com, All rights reserved