10,992 Topics

Member Avatar for
Member Avatar for PJL

Hi, I need to write some VB6 code to print TIFF files to the printer "Microsoft XPS Document Writer". Any tips? Regards

0
58
Member Avatar for nithin

hi I have a problem with vb 6. I made a program to print bills using Data Report. The problem is, the printer prints the bill in fixed paper height. but the bill height varies according to the data. i want to stop the printer after the data ends. because …

Member Avatar for laljain123
0
142
Member Avatar for msantosh18

can anyone help me in the following problem. am having a table in MSAccess with 4 columns and these 4 columns should be added in a listbox. When user clicks a command button this list box with columns should open. the user views the lists box and select the required …

Member Avatar for debasisdas
0
87
Member Avatar for swapna7999
Member Avatar for swapna7999

i need to generate an id card for that i need to display the details such as name etc which must be accessed from a mysql database and now i know how to connect to mysql database and use select statement but dont know how to display the data accessed …

Member Avatar for swapna7999
0
467
Member Avatar for swapna7999
Member Avatar for Reiko

Hi, i am currently writing a code for a login screen. However I am getting a "run time error 424" object required. I have had very little experince using databases for programming. Any help on how to correct the issue would be greatly appreciated. I am using visual basic 6 …

Member Avatar for VidVB6
-1
230
Member Avatar for deepanjali
Member Avatar for deepanjali
0
68
Member Avatar for msmali

We are using Feig Bluetooth Handheld reader -- ID ISC PRH 101-B for taking Inventory process. It is connected with the PC through COM port. Anyone pls send me VB6 code to read the tag id by using BT HH reader. Thanks in advance.... By msm

0
52
Member Avatar for VidVB6

Hi All.. Am new to DaniWeb...HI to all u ppl out here:) Am tryin to run this piece of code... [CODE]Private Sub Form_Load() Dim App As New ERUApplication Dim uc As New ERUUserContext Dim Facility As IERUFacility Dim Room As IERURoom Dim MemberList As IERUCollection Dim MemberSet As ERUMemberSet Dim …

0
58
Member Avatar for lostnucleus

In vb6 winsock server accepts the client request by just [B]winsock1.Accept requestID [/B] but in vb9 error are coming + it also dont recognize " sck.closed " command also thanks in advance.

0
51
Member Avatar for jaasaria

hi guys... i have an urgent problem please give an idea about it.. Question#1: I want to know the correct date syntax in query database using MySQL... Question#2: I currenly using the MySQL connector/OBDC 3.51 is their any problem about it?? thxx in advance.... and ned asap reply... thxxxxxxxxxxxx guyzzzzz..

Member Avatar for awny56
0
94
Member Avatar for boomba23

I have generated on textfile , earlier i am copying it to lpt1 port and get printed. now the problem arise that my printer is attached to usb so the above command is not working please help me in this regard thanks

0
57
Member Avatar for swapna7999

im getting an error while using Text1.SetFocus the error is invalid procedure call or argument i used this in the form load and i suppose it is used to bring the cursor in the textbox during form load

Member Avatar for boomba23
0
811
Member Avatar for ohyeah

Hi all, Please somebody tell me the code. I have : a textbox name txtfname a table named Customer (located in Database.mdb) the customer table has only 1 field fname. How do i create a connection such that whenever i click on add button, whatever is in the txtfname textbox …

Member Avatar for ohyeah
0
108
Member Avatar for old_mustang888

Hi, Plz help me... My project is Sales system using DAO I need the code for: Password code System (to generate the Item code) Item Entry code, Item Inquiry by description, Item Inquiry by quantity on hand Item Inquiry by unit of measure Item Inquiry by unit price Custumer Entry …

Member Avatar for technogeek_42
0
187
Member Avatar for VisActualyBasic

Hi everybody, I have following code: [ICODE]Public Class Form1 Private Sub btn1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn1.Click Dim dayChange As Date = dtp2.Value Dim answer As Date answer = dayChange.AddDays(1) dtp2.Value = answer End Sub End Class[/ICODE] Working : each time I click btn1 datetimepicker changes …

Member Avatar for VisActualyBasic
0
249
Member Avatar for rajeshkhanna_in

HI all, I have on the form an ADO data control and an OLE object. ADO is connected to a MSAccess Database (With a table having an OLE field). The class of OLE field is "Word.Document.8". Now when I try to connect the datasource property of OLE object, it says …

0
56
Member Avatar for rajeshkhanna_in

Hi all Does anyone know about any software which will help me in making a question bank for my students? Also I want the software to help me in making a question paper for the students from the question bank that I create. Thanks in advance any help will be …

Member Avatar for mrhard2004
0
100
Member Avatar for leedsy7

Can anyone provide me with code on how to Delete a row from a list box?? lstReorder.RemoveItem (index) I believe is the right code. However this does not actually do anything by itself. How do i tell the program what the index refers to? ie what the index is? for …

Member Avatar for Henry Schubel
0
1K
Member Avatar for zeiken
Member Avatar for pranavdv

please help that how to add data of one field of database to the combo box. i attached one rar file with this. check that

Member Avatar for Jx_Man
0
136
Member Avatar for bornok15

I'm having problems filtering the date for my reports with access and older versions of mysql i can do this my using this query format: Select * from transactions where xdate =#"& txtdate.text &"# or Select * from transactions where xdate =#"& format(txtdate.text,"mm/dd/yyyy") &"# but now that i'm using wamp …

Member Avatar for Jx_Man
0
93
Member Avatar for addi

hello... i' m doing registration license system... i need source code that can search due date by their month... and i want to list their date with companies name.. how to combine two table in database?? because i want use the combine to search and display the data..

Member Avatar for Jx_Man
0
313
Member Avatar for swapna7999
Member Avatar for swapna7999
0
76
Member Avatar for glfnfvr

I am trying to write a code that asks for a date in a user form text box and then takes that date and looks for it in a range. Once it finds that date I want to enter the data from the second text box in a cell on …

Member Avatar for glfnfvr
0
128
Member Avatar for bornok15

I'm currently designing a report using VB6 and crystal reports using mysql as backend but everytime i open the report in VB i always have the error "Access Denied". I never had such error in the old version of MYSQL. I using WAMP server with MYSQL 5. Anyone who has …

0
69
Member Avatar for rustyboy

I'm new in MYSQL is there anybody who is expert in MSQL as backend and VB6 as front end please i'll be willing to study espcially on the connection. How and what are the procedures? Thanks a lot in advance...hope to share also my little ideas soon...

Member Avatar for rustyboy
0
78
Member Avatar for lostandfound

Hi again, In my previous thread regarding Combo box at runtime I had not forseen the problems I would experience introducing a variable to the code. [CODE]Private Sub Form_Load() Set myconn = New ADODB.Connection myconn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = C:\Documents and Settings\Gareth Powell\Desktop\db2.mdb" myconn.Open Set mycomm = New ADODB.Command Set …

Member Avatar for lostandfound
0
199
Member Avatar for lostandfound

Hi all, What I need to do is populate a combo box at runtime according to specific inputs from other forms.The code listed below is a seperate trial and works OK. I would like to know if I am overdoing the code thing for what I am achieving. [CODE]Private Sub …

Member Avatar for lostandfound
0
343
Member Avatar for Broxy

Hi There In an Excel Macro. I am trying to install a manual Page break in an IF Statement, if it results in a 'Yes'. What I am missing? Please help. Best regards, Broxy. Sub PM3() ' ' PM3 Macro ' ActiveCell.FormulaR1C1 = "=IF(RC[1]=""yes"", ActiveCell.ActiveWindow.SelectedSheets.HPageBreaks.Add Before:=ActiveCell)" End Sub

0
61
Member Avatar for bpb-p

I have a form with several list boxex. The form feeds an Excel spread sheet. I need to move thed data from the list box to the spread sheet. Some times it works, and some times it doesn't. I have varified that the list indexes are correct, and have even …

0
50
Member Avatar for woseng

I am trying to create an alert in Vb.6 code that tells the user to make purchase since he has riched limit of the product

Member Avatar for steve585
0
68
Member Avatar for Yogesh Sharma

steps i Follow- 1) Go to Control panel-->Admintrative Tools-->Double -click Data sources(ODBC)-->click Add button-->I choose SQL server(last option), Is it right or wrong option for connecting to SQL 2000.Then a new screen appears Create a New dataSource-->in name textbox,we can write anyname--Right or wrong. suppose i enter sonia, & my …

Member Avatar for choudhuryshouvi
0
986
Member Avatar for wrichardson530

Hi all. I'm having difficulty making a log-in screen. i am using an adoc contorl called adoClerk, which contains only two fields and ClerkId and Password. The ClerkId is a autonum and password is text. I Have two text boxes that need to be read from this screen txtClerId and …

Member Avatar for choudhuryshouvi
0
212
Member Avatar for muguus
Member Avatar for Jx_Man
0
80
Member Avatar for Scott Marchione

Hello all, I have a VB Script that creates a phone list for my company, and I have been asked to alphabetize the names listed under the department headings....I am so new to VB that this is the first time I have used it.....ever I've done a great deal of …

Member Avatar for Scott Marchione
0
155
Member Avatar for swapna7999

hi thanks for ur suggessions now i got mysql connection with vb but i need to use the mysql Queries in this application hope i wil get solution thank u very much

Member Avatar for swapna7999
0
843
Member Avatar for swapna7999

hi there thanks guys now im able to connect to the mysql database and know how to use select statement to access the the data in the database but what to do to view the data retrieved by the select statement

Member Avatar for swapna7999
0
79
Member Avatar for mrhard2004

Hi... I am developing a software where I need to enter both [B]text as well as some Mathematic equation or some BMP picture [/B]inline with the text. Is it possible to enter this as input to any one variable. If so what type of the variable should be used? Please …

Member Avatar for ROBBOHORT
0
85
Member Avatar for drpaur

Hi, I have made a DataProject in VB6 with Access as back-end. Using Jet OLEDB 4 as provider. Programme is running well on my Computer. When I Installed the project on another Computer where VB6 is no installed on Hard disc, Error comes. When I try to show Report in …

Member Avatar for wrichardson530
0
166
Member Avatar for Mr.Wobbles

The Title says it all - I don't really need the exact code, but a point in the right direction would be appreciated.

0
89
Member Avatar for nemag

after i put earch code in my project : Private Sub cmdSearch_Click() Dim search search = InputBox("please enter card no", , "") Data1.RecordSource = "SELECT * FROM waqf WHERE cardno LIKE (""" & "*" & search & "*" & """)" Data1.Refresh End Sub ------------- the search working but appear problem …

Member Avatar for choudhuryshouvi
0
130
Member Avatar for hasmiza

i'm using adodc. i want to empty all the text box when form load i already use to reset all that but it cannot work private sub form_load txtname.Text = " " txtIc.Text = " " cboroom.Text = "<choose room type>" cbocheckin.Text = "<choose>" cbocheckout.Text = "<choose>" cbomonth.Text = "<choose>" …

Member Avatar for choudhuryshouvi
0
103
Member Avatar for leedsy7

hey Really strugling with Access today so i could do with some help :) I'm attempting to add items to a list box. The Sources are 2 text boxes which have been fed to from a querey. So first I tried... lstReorder.AddItem (ITEM_NUMBER.Text) lstReorder.AddItem (ITEM_DESCRIPTION_1.Text) Which brought up the error …

Member Avatar for leedsy7
0
252
Member Avatar for SpnIslander

Hi All, pls help i'm new in programming and trying to make one could you pls help me to correct my code below? What s/b my code if i want to display the value of txtPrice to lblVal and txtQty > txtPrice but if not it will multiply? Private Sub …

Member Avatar for cometburn
0
265
Member Avatar for laoballer

I have a dataset that contains data for a blinking light bulb as a function of time, another for a different light bulb which turns on for a duration of time and at percentage of intensity. What I would like to do is graph a scatter plot of the blinking …

0
67
Member Avatar for Tekito

At one point in my program, if there is an error I need to show a customized form that allows the user to make necessary changes to some data. The code needs to be paused until the user is finished and closes the form. In Access, it is very easy …

Member Avatar for QVeen72
0
74
Member Avatar for dee2020

Hello I have a module that consist of Ms Chart show out all five month sales amount. Then I can show out the chart either in 2D bar or Pie chart. The problem is each time eg the first time I show the Pie chart, the amount of % of …

0
87
Member Avatar for sandip250382

Friends, I am facing a strange problem with Visual Studio 2005 for few days. While I am surfing online for more than 15 minutes or so, an pop up message shows "An unhelded win32 exception occured in svchost.exe[808]",an error generated by Just in time Debugger,though I disabled Just in Time …

Member Avatar for Jx_Man
0
78

The End.