Home > Visual Basic Programming
Visual Basic Programming
Visual Basic Programming forum discussing coding strategies, development and techniques. Go from prototype to product quickly using this robust platform.
Scanner
How can i control may scanner from a VB program? I need to scan one image from the scanner and save it in a location with a name that i define in my applicacion.
Tanks
answer(1) view(335) status(

)
formatting output
I have a program that reads through a text file and prints output from it to another text file. My problem is that the output does not print all on the same line (horizontally). Does anyone know how to format the output so that it prints ...
answer(1) view(121) status(

)
Loop statement help
Hello,
I am having trouble creating a loop statement for an email I am trying to generate after the database is updated. I would like the email to list each item for a particular form. Right now it is only listing the first item of eac...
answer(1) view(461) status(

)
SQL statement
Hi All,
My DB is Access.I'm trying to pull data from access database into an XML file.I'm able to pull the data.But when I try to apply WHERE clause in my sql statement,it doesn't work and is giving me the syntax error.
Here is my SQL sta...
answer(3) view(588) status(

)
function writing problem
Private Sub Command1_Click()
On Error GoTo trap
Dim timeout As Variant
Dim sende As String
Dim checksum As String
Dim i
MSCmm1.PortOpen = True
Command1.Enabled = False
sende = ""
empfang = ""
'sende = Chr$(&...
answer(13) view(756) status(

)
Error: 800a01a8
Hello all - I've been trying for ages to figure out why I am receiving this error, but I don't seem to be getting anywhere. Does anybody have an idea what is wrong? Here is the error:
Microsoft VBScript runtime error '800a01a8'
Obj...
answer(2) view(262) status(

)
answer(2) view(681) status(

)
use search feautre in excel from VB
hi
i'm trying to create search a particular excel data & display it on a form.
can we find a particular cell value in excel without checking each cell? is there any method to use the search feature provided by excel, using the Excel...
answer(1) view(371) status(

)
Telphony
i want to develop an application that can make call callsa and receive calls from a standard telephone
is it possible by TAPI if tell me how?
if not how can i?
answer(8) view(159) status(

)
ADO Not Working in Run Time Version
Hi to all.
We have a Microsoft Access 2002 database that is referencing the ADO 2.5 library (as well as the DAO 3.6 library). On the development machine, the database works exactly as planned and all functions compile and work. Wh...
answer(1) view(71) status(

)
Creating an FTP Client
Hello,
I would like to use a ftp client that is already working (source code given) to allow people to connect to my server. I do not want them to see the see the welcome message.
The reason for this is because I am reselling the w...
answer(1) view(932) status(

)
Calculating a date from week number & year
I need to be able to calculate the date of every Monday depending on what week number/year it is.
For example is it possible to calculate the date (e.g. 20/10/2003) of a given day (e.g. Monday) when you only know the week number (e.g. 4...
answer(2) view(644) status(

)
Atan function
I'm making a small macro function in Excel and need to calculate an angle. For this I'm gonna use the Atan function, but I can't find it. Wery weird, cos all the oter functions are there on either the Math libary or the WorksheetFunction li...
answer(4) view(215) status(

)
Require Some string Manipulation Help
I nee some string manipulation Help::
I have a large file in the office that has about 100 records of employees as below
John Doe
1, Driveway
UTAH 33661
Phone: 45654654
FAX: 654654654
Jane Doe
2, Park Lane
Virginia
Pho...
answer(1) view(50) status(

)
Calling parametrized stored procedure from MS Access
Hi
I am trying to pass date parameters from MS Access form to stored procedure on SQL server . When I execute the code I am getting an error on "qd.execute " The error message is
Number: 3065
Source : DAO.QueryDef
Text: Can...
answer(1) view(300) status(

)
Ftp ??
Hi everyone,
I need to bring a file from my Unix machine to an Access table. the file on the Unix machine is a YYYY.CD file and I want to move it to my server as YYYY.CVS.
This is what I have:
Private Sub Form_Open(Cancel As Intege...
answer(0) view(865) status(

)
Check serial port every x seconds
Hello guys,
I have an app that has to goes and checks the (serial) port every 1, 2 or more seconds (user's choice), then it retreives whats there. So far I have managed to open the port with a timer and when the comEvReceive is done I cl...
answer(0) view(957) status(

)
VB Date Computation
Given a year, a month, week of month and day of week, how can I figure out the exact date?
eg: Year = 2003
Month = December
Week Of Month = 4
Day Of Week = 5 (Thursday)
How do I figure out that the date is 25 Dec...
answer(1) view(135) status(

)
Instantiating Client ActiveX component
I have developed an ASP that contains a VBScript subroutine. This function instantiaties an ActiveX component using it's class ID. the code works fine when the component is registered on the Server.
How do I get VB script to instantiat...
answer(5) view(191) status(

)
E-mail
TRYING TO GET A FORM TO E-MAIL ME RESULTS , ---- OR ---- ANY OTHER POSSSIBLE WAY TO RETRIEVE INFO FROM--LET'S SAY AN ORDER FORM-----HAVE AN ORDER FORM DESIGNED TO TAKE INPUT AS ORDER THEN I WANT TO EIHER INSERT DATA---(ORDER) -- INTO A DATA...
answer(0) view(447) status(

)
COM+ Transactions
I have been coding a cruise ship project for school and it requires the use of COM+ I have the getObjectContext.setAbort() And
getObjectContext.Complete. BUt it won't roll back after a trigger fires an error in SQL. Any ideas anyone?
answer(0) view(168) status(

)
rinting VB Code in Color
I am using VB 5. I have set up the editor preferences to show variables, constants, keywords etc. in different colors on screen. I want to print the code with the same colors as seen on the screen. The print command prints everything in bla...
answer(1) view(549) status(

)
Put data on active window
Hello all,
I want to receive data from the paralell port and to put it on whatever window is active at the moment, it could be notepad, word, excel, is this easy with the API functions? which should I look for?
XVB
answer(1) view(336) status(

)
printing unicode to printer object
I'm trying to Print Unicode onto double sided ID badges through a Fargo Printer.
The Designer app works great, I have MS Forms 2.0 Labels displaying Unicode on the form correctly. The first badge side must be printed with the printer ob...
answer(0) view(908) status(

)
Problem installing ACCESS/VB run-time App on Win98
Hello
I developed a MS Access 2002 Application that we Packaged using the MS Developer kit. The package includes a run-time for user who do not have Office installed.
All is working fine on XP with or without Office installed on the...
answer(5) view(824) status(

)
split files
How can i split a long file to put them into diskettes.
What is the source code to make it ?
I use VB5
answer(0) view(465) status(

)
connecting external device using Vb
hi
I work with the Health & exercise Department and i have been asked to do a project in which i have to measure a boxers response time to some kind of stimulus. How can i do this using VB. I have to connect some kind of sensor or sw...
answer(0) view(998) status(

)
Capture com port data
I am trying to write a program to replace a DOS program which downloads and uploads data to a GPS receiver. I have asked the manufacturer for the protocols but have not had any reply yet. Probably because this model is no longer supported...
answer(1) view(980) status(

)
remote data access
what is the best pratice for connecting a vb.net application to a remote data source?
answer(0) view(188) status(

)
Using Grids
Thanks for your reply. I want to know what grid I will be used for this case.
for example:
1.Databound Grid
2.DataGrid
3.HorizontalFlaxGrid
4.MsFalxGrid
5.OtherGrid..
Please explain me with sample code. I want to know. please s...
answer(2) view(81) status(

)