12,425 Topics
![]() | |
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 | |
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 … | |
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 … | |
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 … | |
[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 … | |
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. | |
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. … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
:?: 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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 | |
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. | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
is it possible to print the vb for without its title bar | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
hi anyone know how to call/run a vb application from a php page | |
I have a dbase created in MSACCESS, how can i retrieve a (field) record with stored pictures on it to Visual Basic Form | |
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 … | |
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? | |
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 … | |
Hi, I need to write some VB6 code to print TIFF files to the printer "Microsoft XPS Document Writer". Any tips? Regards | |
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 … | |
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 … | |
how can i retrieve photo saved in a folder | |
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 … | |
| |
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 … | |
How to show data horizontally in data reports by using vb6 | |
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 … |
The End.