12,425 Topics

Member Avatar for
Member Avatar for selvaganapathy

Hi My Question is how to use printer in vb6. I know some of the printer properties. But when printer prints some text it automatically goes to next paper, it is not good for bill printing. any one say how to code printer for bill format

Member Avatar for selvaganapathy
0
118
Member Avatar for RanmaSaotome

okay. i ahve a question, if any one is willing to help me out. aim: recreate a dynamic 'lights out' i want to position controls into a grid like view at runtime, so the result would look something like this: 00 01 02 03 04 05 06 07 08 09 …

Member Avatar for selvaganapathy
0
132
Member Avatar for Belo

Hi Members Its the first time iam writing in this forum ,iam a new member from TANZANIA I want to design the LIBRARY MANAGEMENT SYSTEM using VISUAL BASIC 6.0 Can you help me to wite the code for SARCHING BOOKS WHICH ARE STORED IN MY DATABASE AND RETRIEVE IN A …

Member Avatar for Jx_Man
0
88
Member Avatar for panderso

Hi I am doing this simple program in visual basic express Sum.Text = Val(Num1.Text * 3) + Val(Num2.Text) + Val(Num3.Text) - Val(Num3.Text) This allows the user to enter number of wins (which gets x by 3) number of draws and number of losses. I have to limit the user to …

Member Avatar for Jx_Man
0
105
Member Avatar for sonia sardana

[B][COLOR="Red"]1)[/COLOR][/B] Single Line Textbox can have a horizontal scrollbar-i READ FROM D BUK. But no scrollbar is going to attached with single line textbox. Can a single line textBOX HAVE hor. scrollbar. [B][COLOR="Red"]2)Selstart and SelLength[/COLOR][/B] Private Sub Command1_Click() Text1.SelText = UCase$(Text1.SelText) Label1.Caption = Text1.SelStart Label2.Caption = Text1.SelLength End Sub I …

Member Avatar for choudhuryshouvi
0
210
Member Avatar for mansi sharma

I want to copy the selected items from listbox1 to listbox2. I know how to copy all the items but not selected. [B]Private Sub Command3_Click() For i = 1 To List1.ListCount List2.AddItem i Next End Sub[/B] Above Code will copy all the items,But I want to copy selected items.

Member Avatar for choudhuryshouvi
0
2K
Member Avatar for 2thestart

Im working on a game like risk and for the main menu im having trouble with the music. the code i use [CODE] id = Shell("c:\program files\windows media player\mplayer2.exe /play /close G:\My Music\Various Artists\The No.1 Classical Album\04 Ride of the Valkyries.wma", vbMinimizedNoFocus)[/CODE] is just to open and play the file. …

Member Avatar for selvaganapathy
0
1K
Member Avatar for cyborgmaniac

I work here at UPS in the HR department and they use a Microsoft Access mdb database that connects to oracle servers to retrieve tables. It then creates a local copy of the tables and the queries run off that. The tables are updated every morning at 6am by a …

Member Avatar for cyborgmaniac
0
105
Member Avatar for wrichardson530

I'm tring to get a report I made called studenthisrtory show up from a menu. I am using 2000 acess and the database is called MiniEconomy. I have developed this code so far. Not sure what i'm doing wrong I keep getting the User-defined type not define comple error message. …

0
61
Member Avatar for Scott Marchione

I have a VBS that I using to create a phone list..I've posted quite a few questions relating to it on these forumns, and have been getting some good feed back, so I thought I'd post one last question. I have a list of names that is pulled from my …

0
48
Member Avatar for andy999

Hi, I am using msflexgrid control and third party liberary.I am getting data from the net in msflexgrid continously after every one minute. I want to append these data in one of the charting software. I hav two problems.(1). i am getting Type mismatch error(2).If once chart get first tick …

Member Avatar for andy999
0
165
Member Avatar for zawpai

Hi, Do anyone know how the golden parser work? I have read that code, but I really don't know what the structure is. I just know that engine is testing for grammar. I will put it with the attachment. This is the second time I post this title. There is …

0
66
Member Avatar for msaltzer

Within Access, I am trying to use code to save a currently open and active Excel workbook to a calculated location and filename and then extract values from various cells. I already have code that can open an Excel file that is at a known location and filename but haven't …

0
56
Member Avatar for RedStarlight

I have been given some C code to compile which is several years old and need to compile it to see exactly what the program does. I know visual basic to an amount but i haven't touched C before. Anyway, how do i go about compiling the C code when …

Member Avatar for RedStarlight
0
140
Member Avatar for lostandfound

Hi again, Can anybody tell me how to make use of the checkbox in the Listview control. I would like to make use of the checkbox box in order to indicate a finished task. This would require relating the tickbox to a value in a database. I have no problem …

Member Avatar for Jx_Man
0
295
Member Avatar for luisator

:?: Hi: I am postin in this forum because someone told me all the windows applications were developed in visual basic. I need to know which is the DLL associated with the sound recorder. I nedd to use the record method to call it from a java application. I hope …

Member Avatar for jasimp
0
71
Member Avatar for leedsy7

How do i print from a listbox?? i'm using Access. Here's my code for the form to add items to the listbox... I have tried many ways and have failed many times ... Help needed!! Option Explicit Dim ItemNumber As String Dim ItemDescription As String Dim Qtytoorder As String Dim …

Member Avatar for The Macedonian
0
1K
Member Avatar for VidVB6

Hi All I am populating a listbox based on an item selected in another listbox. But wat i get is huge number of entries in the populated listbox. It basically contains the folders anf all files present in a particular project workspace. (so as n when the count of folders/files …

Member Avatar for The Macedonian
0
115
Member Avatar for helraizer

Hi folks, I have made a ledger sub in Excel. The task is to create a spreadsheet solution for a foreign exchange bureau so each transaction that happens it adds the details to a ledger sheet. For this I have this code: [code=vb] Sub ledge() Dim r As Excel.Range Dim …

0
79
Member Avatar for Yogesh Sharma

I know only three differneces. [B]1)[/B] ADO wroks on Connected architecture, while ADO.Net on DisConnected Architecture. [B]2)[/B]ADO is used to create Client Side Cursors while ADo.net create both client as well as server. [B]3)[/B]In ADO,data is converted before transmitted whike in ADO.Net no transformation takes place. IF FRNDS U KNOW …

0
83
Member Avatar for ITech
Member Avatar for lostandfound

Hi all, When connecting to an Access database from a VB front end usig the ADO control is there any problem caused by the connection being permanently open or am I better to open and close the connection for each transaction. Will there be any difference for a mySQL database. …

Member Avatar for lostandfound
0
82
Member Avatar for az_master

hi members,just asking if anyone has an idea of connecting a vb form to a my sql database.please i need your help.thanx

Member Avatar for debasisdas
0
117
Member Avatar for az_master

hi,i connected my database to a vb form using adodb and i have a field for inserting images in the vb form where by i can upload a pic but i cant save it? help please.

Member Avatar for debasisdas
0
92
Member Avatar for kyriakos70

Hi, I have a project in VB 2005 and I have inserted a flash movie (.swf), the item from the vb toolbox ax shockwave flash active x object returned an error "error activex make sure it is properly registered" so I create one through code : [code] Imports AxShockwaveFlashObjects.AxShockwaveFlash Public …

Member Avatar for Byaptia
0
288
Member Avatar for sonia sardana

hey there are different methods to deploy application for VB.Net, ASP.net, C#,Jscript. As all these are languages of .Net Framework. All the languages have differerent methods of deployment. [B][COLOR="Red"]VB.Net Deployment Methods--[/COLOR][/B] 1) Windows Installer deployment 2) ClickOnce. Are these methods write?? Is there any more method to deploy VB.net app. …

0
59
Member Avatar for Zork'nPalls

When you put a PictureBox into your form, you have the option of loading a Picture at compile-time. That picture will still be there when you make your project a .exe and put it on another c0mputer Is there any way I can incorporate a Picture into my executable without …

Member Avatar for Mathimagics
0
107
Member Avatar for laoballer

I have two .csv files that I save, what I would like to do is create a VB app that automatically opens those two files as two worksheets I can work with in one excel window. I'm able to open the csv file automatically but when I try to open …

0
51
Member Avatar for alrjr79

I need to create a macro, that will attach attributes to a sku#. Example: sku color height width casters material 98202 blue 10' 5' plastic 91505 red 11' 6' yes metal I need the macro to display the following using the table above: sku att name att value 98202 color …

0
65
Member Avatar for swapna7999
Member Avatar for sonia sardana

I do not know where to post this question,dats Y I posted it here only. I have seen the advertisement in the newspaper NET Technologies on D2K and backened as SQL. Can Somebody tell me what is D2k,Full Form of d2k, & D2k is frontend. How it is integrated with …

Member Avatar for choudhuryshouvi
0
268
Member Avatar for wrichardson530

I need some type of code that does a check, to make sure the the inofmration eneted is text and no numberic data is ented. This is for a name field. I know of the isnumeric check, but is there other ways doing checks similar to that. I'm doing error …

Member Avatar for Jx_Man
0
102
Member Avatar for rrocket

I have a count set up in a SQL view set to '*' with the alias set to 'Cn'. I can get the column name with: [code=vb] grd.columns("columnName") [/code] But it does not work when I use the alias... How can I pull use alias instead of the actual column …

Member Avatar for rrocket
0
84
Member Avatar for mohsinhabib

Hi, I am a new member on this community and in VB 6 as well :) I am describing my problem in points 1) Search the string starts with "11" in the specific column of the database 2) then replace all the data in a way that they will now …

0
55
Member Avatar for VidVB6

Hi all I collected the list of items selected in a listbox into a collection.and i need to perfrm some operation on those selected items. so on click of Ok (after selecting the items on the lis on UI), I need to take the ctrl to the function. in the …

Member Avatar for VidVB6
0
121
Member Avatar for swapna7999

i need to develop an application in which there is a web cam or digi cam and my application must take the photo of a particular person and save it in the database. the focus may also be changed plz suggest thank u very much

Member Avatar for swapna7999
0
72
Member Avatar for swapna7999
Member Avatar for rustyboy

I have a dbase created in MSACCESS, how can i retrieve a (field) record with stored pictures on it to Visual Basic Form

Member Avatar for youquijano
0
50
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 …

Member Avatar for rajeshkhanna_in
0
86
Member Avatar for mansi sharma

Can somebody tell me the diff b/w Debug & Debug.Print If we write Debug.Print "i=" & i It gives the o/p in the immediate window. If we write print "i=" & i It gives the normal o/p. But what is the use of Debug.print & where it is used?

Member Avatar for Jx_Man
0
48
Member Avatar for rezas_1354

hello i am happy for find your site sorry i can not good speak english i have a problem in vb6 about cd information example : i have one cd (first cd) this cd have many info and name , model , seriasl number and .... when i copy write …

0
48
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
69
Member Avatar for bojanski

Hello everyone. First, i'd like to introduce myself, would be very rude to just jump in here :) I'm Bojan, student, 1. year, Croatia, and in this semester i've got a class "Programming 1". Here we're doing C++ (in Visual C++). And the idea of the class is to make …

Member Avatar for bojanski
0
128

The End.