10,992 Topics

Member Avatar for
Member Avatar for imBaCodes

i have this code an everytime i run it. `ActivePrinter = "PDF Complete on PDFC"` `ActiveWorkbook.PrintOut copies:=1, collate:=True, Preview:=False, PrintToFile:=True,` `PrToFileName:="C:\Users\srnardo\Desktop\CONVERT" & "\" & strFileName` i get this : >Runtime error '1004': >Your file could not be printed due to an error on PDF Complete on PDFC. im trying to …

Member Avatar for imBaCodes
1
120
Member Avatar for arudhumbu
Member Avatar for ddanbe
0
173
Member Avatar for LeNenne

Hi and thanks. I am wondering if there is a way to clear the screen before the program is loading. Lenny

Member Avatar for rishif2
0
787
Member Avatar for GeoEqual

.ConnectionString = "Driver=MySQL ODBC 5.2a Driver; SERVER=localhost; UID=asdsadafg; PWD=sadsadsJFKSKF9; DATABASE=SampleDB; PORT=3306; OPTION= 1 + 2 + 8 + 32 + 2048 + 16384 can anyone explain the OPTION, what this connetion string will do... i have no idea.. please explain

Member Avatar for imBaCodes
0
197
Member Avatar for imBaCodes

Can i convert an excel file to PDF file .. can anyone give me an example macro .. Thank you guyss ..

Member Avatar for imBaCodes
1
251
Member Avatar for ABDALSLAM.ALI

create a text file called contacts using Notepad (programs> accessories > Notepad) with n=15 records for storing their name,sex age ,telephone and email address that resembles the below. "Hiba", "M",20,1234567,"aaa@yahoo.com" "ahmed", "f",21,2345678,"bbb@yahoo.com" "ali", "M",25,3456789,"ccc@yahoo.com" write a program to read the file display contact information.

Member Avatar for jhai_salvador
1
410
Member Avatar for LeNenne

Hi I have tried evrything in a list box. The listbox contain this 04-25 ene and I will deselect 04-25 when I am going to dbclick on that item the name "ene" shall I display in a book Any Help Lenny

Member Avatar for LeNenne
0
157
Member Avatar for HanyaYgSatu

I have to do final year project based of system .. i've choose to make information technology system .. i have to make it showed up at LCD sceen using database monitoring system .. i have to link to our University student database .. it such a hard work .. …

Member Avatar for Reverend Jim
0
114
Member Avatar for ABDALSLAM.ALI

write a program to calculate the areas and circumferences of circles given thier radii 5.2 , 7,12,7.7 and 23.5. Round your output to 4 decimal places

Member Avatar for pritaeas
0
95
Member Avatar for ABDALSLAM.ALI

write a program to generate 200 interger random numbers in the range [1000,9999]? can some one help me please use Visual Basic 6 write a program to generate 200 interger random numbers in the range [1000,9999].compute (a)how many of thee numbers fallin the ranges 100-2499, 2500-4999.5000-7499 and 7500-9999? (b) how …

Member Avatar for pritaeas
0
57
Member Avatar for imBaCodes

I have this code. pdfCreator.ActiveSheet.PrintOut copies:=1, ActivePrinter:= _ "PDF Complete on PDFC", collate:=True How can i add a save location to this code . My default is the desktop when i save all the the file to be converted my desktop becomes a mess . can anyone help me how …

Member Avatar for imBaCodes
1
336
Member Avatar for Chris450

Hi I just started playing around with Visual Basics today and thought it would be cool if I could make a program to work out the weight and the price of a square peice of steel. I have tried to solve the problem and fixed many errors but now I'm …

Member Avatar for Chris450
0
235
Member Avatar for ng5

I have a form with a calendar and a textbox with 2 buttons. The calendar is the vb 2010 tool and the textbox overlaps it so that when a day is selected on the calendar you can make an appointment for that day. i have a save button and a …

Member Avatar for ben.ot.18
-1
439
Member Avatar for fx.eko

hi all I have a problem with the error message "System Error & H80004005 (-2147467259)", this happens or appears when I make a program with VB6 and now I have created a program that will save me. Please enlightenment, thanks for the help

Member Avatar for fx.eko
0
991
Member Avatar for gowans07

I have a school project in which i am creating a barcode scanning system. I now want to add the ability to create and print a barcode. As far as i can see there is three ways of going about it, firstly creating an individual image of the numbers 0 …

Member Avatar for Fredwis
0
141
Member Avatar for imBaCodes

DOes anybody here know how to use send key for alt+s . can you please tell me how to do it. thank you!!

Member Avatar for imBaCodes
0
907
Member Avatar for imBaCodes

The default print area is upto cell H how can i extend it to I? Can anyone here help me .. thank you.

1
104
Member Avatar for game4tress

Is it possible to place a VB6 application working on Windows Azure and share it among several clients? If so, how? My thanks in advanced

Member Avatar for game4tress
0
199
Member Avatar for LeNenne

Hi I am going to be crazy I have a txtbox with 1950-04-23 How can I extract just 1950 from that box and take the pc's date ( as today is 2013-04-23) to a label.caption and the result shall be 63 years in the labels caption. Lenny

Member Avatar for LeNenne
0
132
Member Avatar for imBaCodes

Can anyone tell me how can i convert excel to word . I hope anyone can show me how to include the tables in the convertion. thank you!!

Member Avatar for imBaCodes
1
131
Member Avatar for GeoEqual

xlWSheet.Range("C19:K19").Merge xlWSheet.Range("C20:K20").Merge xlWSheet.Range("C21:K21").Merge xlWSheet.Range("C22:K22").Merge up to 54, thanks

Member Avatar for imBaCodes
0
154
Member Avatar for LeNenne

Hi I am going to solve a problem and have now idea of how, I will that in the list1 only those people that correspond to the date of the date is showing. No one else than that one of the day the word Prn is standing for birthday in …

Member Avatar for LeNenne
0
176
Member Avatar for SpectateSwamp

I haven't used this type of function since 1975 and a keypunch verify system. Now I want to navigate between mini video segments. My app can play mini slices of a video and if a directional key is entered I want it to switch to another video segment or back …

Member Avatar for tinstaafl
0
200
Member Avatar for mlesniak

Hello. I have a listbox that I would like to display and I would like to set a default selected item, which I will not be able to determine until run-time. Is it possible to set a default item in the program code? I have looked at the Index property …

Member Avatar for mlesniak
0
166
Member Avatar for subrata.roy.7583992

Hi I would like to know :- 1. after developing a program with vb 6 then I would like to run the setup n install it in different computer,but when i run it adodc not connected with database Can I connected adodc in my computer ? Because my intention is …

Member Avatar for Jx_Man
0
853
Member Avatar for kiran2012

Hi, My problem is, the Update query process is painfully slow. Every time user updates a value to a column, it is taking more than 1 min ! I have to update a cerain field Yes/No based on some other field values from the same table. Below is my code: …

Member Avatar for Reverend Jim
0
227
Member Avatar for subrata.roy.7583992

hi guys, i am using vb6.i want to know which type of picture used for imagelist and toolbar control.

Member Avatar for rishif2
0
72
Member Avatar for Hazuan Nazri

HI, I buy a SNMP board for my project and i got some problem to understand SNMP code with VB, Can somenone help me?, i got this code under another project, and i want to use it in my project but, when i copy and paste it in my project, …

Member Avatar for Hazuan Nazri
0
2K
Member Avatar for mlesniak

Hi all. Using VB6: I have an application in which I am programmatically populating a datagrid. When I first drop the datagrid on my form, it has 2 columns by default. I can add further columns to them but I wanted to know if there was a tidy way of …

Member Avatar for imBaCodes
0
249
Member Avatar for nitos

hi, i need to .show a window to enter the date of a record when it was recalled i have the following so far but its jumping the frmRecallDate.show line. Any help is appreciated Private Sub cmdRecall_Click() On eror GoTo ErrMsg: With rsRecalls If .State = 1 Then .Close .Open …

Member Avatar for Jx_Man
0
287
Member Avatar for LeNenne

Hi I know how to make just numeric textbox, but the problem is that I wisch to enter in the text box wit 2 numbers and then search trough a database to recive just zipcodes. Lenny

Member Avatar for Jx_Man
0
103
Member Avatar for mnorton

Hi - I am a pretty remedial visual studio express user. I recently understood how to do cascading comboboxes using the binding sources of the related tables, eg tbl 1 Make, Table 2 model, so as eg only ford models displayed in cbo2 if Ford selected in cbo1 - thanks …

Member Avatar for mnorton
0
1K
Member Avatar for sem.sabiduria
Member Avatar for tendaimare

I am getting this error when I try to pass an sql string to an external crystal report. extenal in the the report is not part of the project but a crystal report file. I have uploaded a summarised version of the project Dim Report As New CrystalReport1 Set rs …

Member Avatar for imBaCodes
0
727
Member Avatar for rishif2

There is very simple application (it uses some special fonts). Now i wanna create a setup using package & Deployment wizard , So what should be done to add that fonts to the package . These fonts should be installed automatically when user run the setup and so that there …

Member Avatar for TnTinMN
0
133
Member Avatar for kimangel

hi experts, gud am! I need your help on my DTR form. When I generate report for the total hours, the counts on the hours is correct only when time in and time out difference is more than 30 minutes but when it's less than 30 minutes for example: 12:46:13 …

Member Avatar for kimangel
0
196
Member Avatar for kwng

I have this problem of moving my codes around in my external drive. Everytime I plug the external drive to a new PC, a different drive is assigned and I would have path not found error in my program. I only knew about set_path=app.path which is actually referring to the …

Member Avatar for fsshah
0
884
Member Avatar for yuvjeeth

Hi Guys, I would like to know of any way avaliable to Import / Convert Vb6 Projects to Vb10 Project. It would be very helpful to me because it is a large program which has too much of coding which I cannot redo in the Vb10. Any post would be …

Member Avatar for Reverend Jim
0
383
Member Avatar for HibaPro

how i can make my crsytal report show the data depend on Supplier name , any help plz ??? i have 6 Suppliers on each report

-1
86
Member Avatar for aditya.pandey.50702

I am making an application in which i want to store a user in a form and then when i visit other forms i want that forms to show the content from that form's database table to show the record for that user only... Example : If frmbasic is first …

Member Avatar for rishif2
0
162
Member Avatar for De.morgansPink

hi, i want to delete data in database from textbox. after i execute my program.there was error saying that oledbexeption was unhandelled and Syntax error in FROM clause. can you help me.. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim data As String Dim objCmd …

Member Avatar for G_Waddell
0
311
Member Avatar for ben.nahalewski

ok so i have set commands which i normally use with cmd.exe but i need to create gui so its easier based off clicking a button and it would process the entire command for me but still have selection with VB if anyone could show me the the conversion of …

Member Avatar for tinstaafl
0
209
Member Avatar for zawpai

Hi all, Is it possible to select multiple records (rows) in "DataGrid" and then delete all selected items? Because I can't find any properties to enable for multiple selection. Whenever I try to delete a record, system always prompt the run time error. Private Sub Command4_Click() Dim count As Integer …

Member Avatar for zawpai
0
3K
Member Avatar for EkoX

Hello friends, I'm tring to make excel file using vb but i don't know how to do it. There anyone know how to do this. Thank you. Eko

Member Avatar for EkoX
0
457
Member Avatar for november_pooh

Hi all, As i mentioned in thread title, i want to create and delete folder. How i can create and delete folder/directory with vb6. Please help Regard

Member Avatar for rishif2
0
355
Member Avatar for imBaCodes

Do anyone here Know how to get the previous month of a given date.. Example given date: 11/25/2012 Output: 10/25/2012 thank you.. i know you can help me ..

Member Avatar for imBaCodes
1
172
Member Avatar for Ole Raptor

Hello, I have a form that has hit its max for controls. I have created a UserControl to add more to the form. I can re-size the UserControl but the controls on the UserControl are not resizing. I have the Sheridan ActiveResizer tool on the form that works with all …

Member Avatar for WordTickler
0
2K
Member Avatar for androidz

Good Day Hi, I would like to know, how to work with wireless and lan connections in vb6 and how to generate a random password on every users who wants to use the internet connection,this password has a limited time only it expires depends on the number of minutes you …

Member Avatar for Saleem_1
1
385
Member Avatar for keedier

hi there, im new in coding on visual basic, well, im new at coding at anything :) i have a problem on my telephone directory program that i created about listview, i was wondering if i can click the item on a listview and show the result on a new …

Member Avatar for Jx_Man
0
282
Member Avatar for somjit{}

hi everyone :) i want to learn vb6 , but i dont know where to start. I have a college project related to creating banking software where vb6 is being used as the frontend. i have around 1 month to get my vb6 skills up , as the project has …

Member Avatar for chowdhary.barnali
0
241

The End.