12,425 Topics

Member Avatar for
Member Avatar for JohnnySpider

Hi All..Im new to Visual Basic 2008 and I'm having a really hard time figuring out how to to print all my tabs in my application. I have 5 tabs which have text boxes, labels, and combo boxes. Is there a way to print the contents of each tab and …

Member Avatar for JohnnySpider
0
836
Member Avatar for goldenmean

Hello, This might not appear like a programming question, but inherently deals with code. I have a following piece of test-code, which has obvious errors like array index out of bounds, memory leak:- [CODE] #include "stdio.h" #include "stdlib.h" main() { int i; char *ptr; ptr = (char*)malloc(5); for(i=0;i<10;i++) { ptr[i]=(char)i; …

Member Avatar for Dave Sinkula
0
287
Member Avatar for shahji

Hello all, I am trying to write a code. I need the code to do the following: An input box asks for a number, Then the below code divides values in a given column and paste them in the next available empty column. Then the 2nd formula runs and it …

Member Avatar for shahji
0
90
Member Avatar for AndreRet

:icon_confused:I have made the change from access to mysql. I am using vb6 to connect. The connection seems to be fine, it was some code sample that I have downloaded from the net. The app is reading the databases, but as soon as I select a database, i get an …

Member Avatar for AndreRet
0
176
Member Avatar for aadebayo

Hello I am currently doing a project and I have added a new table to an access database linked to the vb project. I re-linked the access database, but the new table does not appear in the drop down list of the form recordsource. Please can someone tell me what …

Member Avatar for aadebayo
0
96
Member Avatar for RahulV
Member Avatar for karanshah

[B]hi friends this is karan here and i m a beginner in visual basics and i m studying Visual Basics 6.0 i have a project in it for Music Cutter and Music Converter and i seriously dont know what to do in it..So guys please help me in it.. Music …

Member Avatar for vb5prgrmr
0
88
Member Avatar for mark johnson
Member Avatar for bdrkb

Any can Help me for this problem my problem is I want to show form caption in status bar when user click a form from menu

Member Avatar for vb5prgrmr
0
42
Member Avatar for orion_nsk

Hello Everyone, Can anyone tell me how to Register .Ocx / .Dll files on Vista Ultimate, for vb6?????? Thanks in Advance SS

Member Avatar for frubicel
0
128
Member Avatar for glenndr_15
Member Avatar for praveenvkumar

is it possible to write a program for selected files copying to CD using VB6

Member Avatar for vb5prgrmr
0
41
Member Avatar for zukumikah

i would like to get help regarding my program. all that's left to do is the printing, but i dont know how to do it. my professor also wanted to see sorting in my sales report and delivery report.. anybody know the codes?? THANK YOU -jex

Member Avatar for kvprajapati
0
32
Member Avatar for bdrkb
Member Avatar for dre-logics

I Use visual Basic 8.0 and Mysql 5.0 I have one Table1: Table1: RecordID , Integer = primary key auto_increment NOT NULL Articlenr , Integer Articlename, Char(20) Table1: has nine records: RecordID, Articlenr ,Articlename 1 , 1100, Hamer Big Red 2 , 1110, Hamer Big Blue 3 , 1120, Hamer …

Member Avatar for dre-logics
0
117
Member Avatar for csuchita57

Show me the coding of how to create the Scrollbar & display the position of scrollbar in respecive text box

Member Avatar for vb5prgrmr
-1
39
Member Avatar for abbajee

There are alot of things which doesn't need to type alot of junk code while our task can be completed without declaring useless variables, constants, etc plus they use alot of resources when we run our executable so i decided to put some simple codes here which can achive our …

Member Avatar for WaltP
-3
164
Member Avatar for drabsch

i need to play a system sound like in a chat program i am using [CODE]Interaction.Beep[/CODE] at the moment but would like to use a different sound. any thing i could not find any thing on the net

Member Avatar for debasisdas
0
3K
Member Avatar for neha_raheja

hi I am working on Vb6.0 I want to create a PDF file with multi lines text and with proper formatting. After reserach i got some code snippet on this site [URL="http://www.vb6.us/tutorials/visual-basic-tutorial-pdf"]http://www.vb6.us/tutorials/visual-basic-tutorial-pdf[/URL] but using this i am only able to write single line, how could i write multiple lines. Thanks …

Member Avatar for vb5prgrmr
0
146
Member Avatar for preethi_ga2005

hei friends can anyone tell me how to upload excel file to access in vb.....if u give code it will be very much helpfull to me, thankx.

Member Avatar for abu taher
0
275
Member Avatar for RahulV

Hi, I've a really huge recordset having lacks of records. For some reasons I've to take all the records into an array (using loop) to do some processing and then put it into a grid. Now since the recordset is huge the memory is not able to handle the array …

Member Avatar for QVeen72
0
165
Member Avatar for iamnamja

Hi, I'm trying to connect to a web service using excel. I have currently no issues logging into the web service and also fetching data using one of the methods. But the two other methods, I get the error that states that it had run into an error restoring data. …

0
79
Member Avatar for bpmccall

I am new to the whole concept of "data binding". What I am trying to do seems very simple, but I don't know where to start. I have a database with an ODBC System DSN and I can connect to it with an ADODB.Connection object. I can also create an …

Member Avatar for tumadre0
0
1K
Member Avatar for Shefali

hello all i m new to this topic, though I have some experience of using VB to control excel. I have an access database which has some records. The columns(fields) are first name, lastname, year of birth, city, county, district, state, tel ph number and email id. Now I want …

Member Avatar for Quick-T
0
133
Member Avatar for barathy

Can u pls post some of the links helpful to create front end design using visual basic and few code examples for a single base station with many number of receivers

Member Avatar for abu taher
0
328
Member Avatar for OAK PANHA

Hi, I am PANHA, I am Cambodia, I study Microsoft Visual Basic 6.0 ,I like it Because this Program , It's not Difficult to use , I alway make some program that i can with this program , also I sometime I study Microsoft access , ADOBE Flash ,ADOBE Photoshop, …

0
17
Member Avatar for jemz

hello please help me on this project form3 ..everytime i always add data it always already exist please help me to solve my problem..heres my code [code] Option Explicit Public con As ADODB.Connection Public cmd As ADODB.Command Public mch_rs As ADODB.Recordset, index As Integer, m_mchno As String Public sql As …

Member Avatar for kinwang2009
0
87
Member Avatar for zigpy_siva

I have created small application(a part of payrole process), for my personal use in VB 6.0, which takes in the employees details, their salary details, employeers details, ect. and computes some othre values. the purpose of this application is to print some forms(4 monthly, 2 half yearly and an anual …

Member Avatar for SANJAY.DESHMUKH
0
186
Member Avatar for koolsamjust4u

Hi Friends .. need a small help can anyone help me in showing how to call a stored procedure which returns a recordset .. yea i need to pass one parameter also for getting that required data .. thanks in advance.. Sameer

Member Avatar for SANJAY.DESHMUKH
0
2K
Member Avatar for SANJAY.DESHMUKH

subreport[code]Dear friend pl help me how to call crystal subreport in vb6 backend sql !) I created two report report1 & report 2 both r working fine with below code. 2)I linked two reports by subreport concept of crystal but how to make coding in visual basic 6. Rep_form.CR1.Reset Rep_form.CR1.LogonInfo(0) …

0
65
Member Avatar for ananthaninfo

Dear Friends, I am new to Visual basic 2005 as I have used VB6 till now. I wish to do a database application using Microsoft Access 2003 and Visual basic 2005. I am very happy, if any one could give the step by step instruction to connect Access, insert, delete, …

Member Avatar for ananthaninfo
0
116
Member Avatar for cassds

I just started a C++ class at a local tech school. It is a self taught course, and I have just learned how much "self taught" applies to this course. The instructors have no experience in programming and can not answer the simplist of questions!! The book I was asked …

Member Avatar for cassds
0
831
Member Avatar for ewangari
Member Avatar for WaltP
0
43
Member Avatar for jemz

hello please help me on this...i have txt1.text that can input only pcs and ream ..my problem that if the user will use the uppercase PCS it will not accept because my trapping is.. if Trim(txt1.text) <> "pcs" and Trim(txt1.text) <> "ream" then msgbox "please input pcs and ream" exit …

Member Avatar for jemz
0
94
Member Avatar for marzzz21

can anyone post a tutorial or a link to tutorial where it would help me understand ado codes for connecting to my database . . . i'm really a newbie about ado codes. . . i haven't even tried to code using it yet . . . i just heard …

Member Avatar for marzzz21
0
94
Member Avatar for dre-logics

I Use visual Basic 8.0 and Mysql 5.0 I have one Table1: [COLOR="Red"]Table1[/COLOR]: RecordID , Integer = primary key auto_increment NOT NULL Articlenr , Integer Articlename, Char(20) Table1: has two records: RecordID, Articlenr ,Articlename 1 , 1000, Hamer 2 , 2000, saw I want to use Datagridview to update Mysql …

Member Avatar for dre-logics
0
3K
Member Avatar for Masterace

need a code to display date & time on the form so that when form is print i get to see the day & time events took place

Member Avatar for vb5prgrmr
0
73
Member Avatar for rahulmpatki
Member Avatar for horseygal

Hi everyone, I am working on a window that will calculate an average grade from 3 grades typed in by user then display it's appropriate grade letter. This is what I have so far and well it isn't working. Can anyone point me into the right direction as to what …

Member Avatar for SCBWV
0
110
Member Avatar for tubamantom

I have perceived that I can get a significant performance boost when reviewing all items of an Outlook contacts list by using "Restrict". (I am looking at over 13,000 contacts). In spite of a lot of digging and reading I am having difficultly in getting my mind around what this …

0
79
Member Avatar for jemz

hello please help me on this i want to use ascii but all i want i will not use keypress only my cmdadd...is this possible without using keypress?..hoping for your positive responds.... sample public function keytrap(keyascii as integer) if keyascii >=48 and keyascii<=57 then msgbox "invalid input" exit function end …

Member Avatar for zigpy_siva
0
93
Member Avatar for tejubjp

Actuaally i wan to read first column of "ProjectList" text file that contains...... Name of project Allocation Time in hrs Members for projects -------------------------------------------------------------------------------------- pro1 15 abc pro2 20 xyz And i wan to display name of projects only into combo box...... (how to use Random Access File Concept....) Please …

0
53
Member Avatar for marzzz21

hello i need some help with something i have done making the Add Update Edit Refresh and here are my codes: DataEnvironment1.rsSubject.AddNew DataEnvironment1.rsSubject.Update DataEnvironment1.rsSubject.Edit DataEnvironment1.rsSubject.Requery But my problem is i have this form which has a data grid on it to display the records and i want to put a …

0
92
Member Avatar for dmotah

hi, tkx to welcome me in here! i have wrttien a program in vb6 that uses ms access. the program is a attendance monitoring system, that uses the time to calculates hrs late and early of employees. im having problem i dnt know how to make validations in vb6 ex: …

Member Avatar for daniel2829
0
75
Member Avatar for sidwelle

Can I set the value that MS word will use in the 'Save' dialog ? Usually when a word document is saved, Word will select the first few words of the document in an attempt to auto-create a document name. But I have a textbox near the top of the …

Member Avatar for cguan_77
0
188
Member Avatar for jemz

hello can i delete my thread so that it can't be found in the google?because all my thread can be search in google..hoping for your positive responds

Member Avatar for jemz
0
90
Member Avatar for sidhu51

Hi, i amworking with a code in VB6 that uses winSOCK connection. The problem is that when we compile the code, the first time the app gets connected, and the next time and further the app is not getting connected as the GetData method returns an Error which cannot be …

0
52
Member Avatar for Masterace
Member Avatar for neosonic

hi all, I'm using wmf file for my picturebox. I want to make 30 * 30 pixel picture1.Picture = LoadPicture(App.Path & "\17.wmf", 0, 0, 30, 30) In picture 1, I have put scalemode in pixel and autosize to true But I cannot resize the image. picture1.Picture = LoadPicture(App.Path & "\17.wmf", …

Member Avatar for neosonic
0
102
Member Avatar for Niiagbah

I have 2 fields in my database namely username and password.i also created a login form with 2 textbox and 2 command buttom.textbox1 is for username and textbox2 for password.i have link the form to the database already.now how can i get data in the textbox to correspond to data …

Member Avatar for WaltP
0
37

The End.