10,992 Topics

Member Avatar for
Member Avatar for crazycode300

Hello, I have data imported from a text file stored in an array. How do I go about writing it to a CSV file? Also, how do I set up different columns so that the CSV file opens up nicely in Excel. Thanks.

Member Avatar for lolafuertes
0
956
Member Avatar for bantex07

Someone can gave me a code for search as u type searching from may MS ACCESS DATABASE Thx GOD SPEed :P

Member Avatar for bantex07
0
116
Member Avatar for reeky_15

I'm a newbie in vb. My first project is a grading system for a certain school. In my login form, there's a [B]Forgot Password button[/B]. In the Forgot Password form, the user is asked to answer a secret question that he filled up upon registration, and if the answer is …

Member Avatar for MarkGia
0
3K
Member Avatar for xtianenikkian

Is there any code to create or generate bar codes in vb6? Please help me, advance thank you for all that will respond :)

Member Avatar for xtianenikkian
0
82
Member Avatar for xtianenikkian

Good day guys, im just wondering if there is a notes, functions or code related to print, i just want to come up with a good hardcopy of the information every time the employer request it. my source is adodc1 or datagrid

Member Avatar for xtianenikkian
0
143
Member Avatar for Luvme

just wanna ask if how to print your from adodc and datagrid which is from access using vb6? tnx in advance

Member Avatar for xtianenikkian
0
78
Member Avatar for jheanal

what is the code in timer if the user enter a negative number a dialog box will appear saying that is invalid !! NEED THE ANSWER ASAP THANK YOU

Member Avatar for debasisdas
0
92
Member Avatar for hanky

Hi, Please let me know how to resize an Image with form resize event. Also I will have to limit the size so that the image size is not larger than the scrreen width and so small so that the text in the Image is illegible. Also, please let me …

Member Avatar for Awon02
0
255
Member Avatar for churva_churva

[CODE] public i As Integer Dim num(18) As Integer Private Sub cmdEntry_Click() For i = 0 To 18 Step 1 num(i) = InputBox("Enter a number:", "Array", 0) Next i grd.TextMatrix(0, 0) = "Array" For i = 0 To 18 Step 1 grd.TextMatrix(grd.Rows - 1, 0) = num(i) grd.Rows = grd.Rows …

Member Avatar for BitBlt
0
131
Member Avatar for wouterkind

I have a similar issue (somewhat) -- VB6 and Access97 My code in Option Explicit is [CODE]Dim dbs2 As Database[/CODE] In the Private Sub Form_Load(), I have [CODE]Set dbs2 = OpenDatabase("C:\Program Files\members\members.mdb",True,False)[/CODE] The Run Time Error I get is: Couldn't find file 'C:\Program Files\Members\Members.mdb'. In the Debug: When the cursor …

Member Avatar for wouterkind
-1
136
Member Avatar for jamielli

Please help. I have an excel file, I wanted it to search for a word let's say "marketing" from column A5:CH5(or maybe more) and wanted it to copy the entire columns that contains the word marketing next to the original columns. There will be more than 1 column that contains …

Member Avatar for Netcode
0
93
Member Avatar for oglatinoloco

I have a project, I was tasked to make an interactive map of the Philippines using vb6. When you click on a certain region/city/town, a window would pop-out showing the notable event, land marks, & info of that location. The problem is i don't know how. Please help me.

Member Avatar for slepnot
0
163
Member Avatar for mikefromchitown

Hi, I'm trying to use a variable to import a text file. Is it possible to change the path and filename below to a variable? I would like to change "L:\GEAM Data.txt" to a variable "fname", which a user previously entered using Application.GetOpenFilename. [CODE]With ActiveSheet.QueryTables.Add _ (Connection:="TEXT;L:\GEAM Data.txt", _ Destination:=Range("A1"))[/CODE] …

Member Avatar for ibancracker74
0
126
Member Avatar for xtianenikkian

Im currently working now into a monitoring system Adodc2.Recordset.AddNew Adodc2.Recordset!employeeNumber = txtNumber.Text Adodc2.Recordset.update now i've noticed that after i input a value and save it. it goes to the bottom of the datagrid, how can i add value in the top of the datagrid? Thanks for the reply in advance

Member Avatar for xtianenikkian
0
119
Member Avatar for faroukmuhammad

Hi guys, What does the [B]owner[/B] in [B]show[/B] method do and how does it work. Thanks in advance. [CODE]FORM.Show([Modal], [Owner])[/CODE]

Member Avatar for faroukmuhammad
0
172
Member Avatar for deepmadan

I am developing an application in VB6 which will communicate using UDP Connection to a hardware which recieves and sends data using UDP Connection. My Hardware works fine. It has already been tested with an application written in VisualC using UDP connection only. In VisualC, I had working on UDP …

Member Avatar for BitBlt
0
569
Member Avatar for Marc Smets

Hi there, Is use Now()-1 in VBA to achieve the date of yesterday in a query. What is the syntax for it in basic. Thx

Member Avatar for Marc Smets
0
86
Member Avatar for matthewr545

Hi I making a real advanced and powerful web-browser. It's Almost complete, but when i run it i type in the URL i want to go to which activates the browser tool, but the page stays white. I know its half working due to when i click enter it displays …

Member Avatar for Huntondoom
0
124
Member Avatar for Qaspec

I've taken over a position for someone else and there seems to be issues with certain macro's in their workbooks. Some I've been able to fix. This one looks like it is attempting to set the pivot table tree to open for the specific day for the pivot table on …

0
66
Member Avatar for alex_extreme

Gets the names of all the partitions in a system. Note that media must be in every removable drive for this to work (can be fixed easily)

Member Avatar for Mark A
0
182
Member Avatar for Muhasin

I am using visual basic 6. I need to update my database table which i created for the form. I am using ADobc database. How can i update the database by using the coding?

Member Avatar for xtianenikkian
0
97
Member Avatar for michael.pilapil

Greetings! Hi guys, Im mike, i am new in using Sybase central using sql anywhere 9, i've got a big problem, on how am i to connect my Sybase database to Visual Basic 6.0. Guys.. i badly to want to know this, because i am new to my work. I …

Member Avatar for xtianenikkian
0
377
Member Avatar for ahhiamdying4u

I converted images to txt using abbyy ... But it made a lot of mistakes ... so I first paste them in word, spell chk them & then use them. To make spell chk quicker I made a macro & assigned to a button. I am a novice in writing …

0
71
Member Avatar for faroukmuhammad

Hi guys, I was requested to makes a 3D house plan, which a user can be able to move about in, using the keyboard or mouse. Like in games. I'm relatively good in Carrara, VB and C++ but I'm new to game programming. :S I need your help on how …

Member Avatar for Victormarques
0
321
Member Avatar for e060185

Hello, I need to create a code for formatting a file that I receive from Bloomberg, and has a line break at the end of each line. See below. (I have hundreds of paragraphs like this) [I] Italy’s debt is forecast to rise to 120 percent of gross domestic product …

Member Avatar for Ezzaral
0
151
Member Avatar for navybofus

Hello everyone! I have a problem trying to get a user to be able to query the database with only the fields and specifics they want. Basically... User logs in, browses through record entries and then wants to see how many of the entries are under the age of 21 …

Member Avatar for navybofus
0
271
Member Avatar for gozo12

i have windows media player then its for etc open an mp3 file i want that when its playing mp3 the song name showing up into a label like Label1.Caption = w1.currentMedia.Name but its not work D:

Member Avatar for debasisdas
0
86
Member Avatar for pardeep3dec

Dear Experts, I have code for adding/deleting/modifying form icon and tool tip text to task bar. Its working fine in Standard.exe project but when i tried to use these code as dll file then i am getting error code 424 , object required. I already register dll file through regsvr32 …

Member Avatar for gooptek
0
124
Member Avatar for OneDreamCloser

Hello All, Could you please help me with the following VBA code that I have to understand (but I am not aware of VBA) [CODE]Public Function ErlangB(Servers As Single, Intensity As Single) As Single 'The Erlang B formula calculates the percentage likelyhood of the call ' being blocked, that is …

0
111
Member Avatar for s†ig†rex

i'm havin a hard time trying to use other looping statements, i cant get the proper syntax on other types of loops. i need to use others like while wend or something..ty [CODE]range = Text1.Text If Text1.Text > 8 Then a = MsgBox("Error", vbInformation, "Ooops!!") End If Print "Upper Left" …

Member Avatar for WaltP
0
110
Member Avatar for makibao

ordering form Expand Post » hey can you please help me) because we have this assignment ordering form in vb 6.my problem is you have 3 attempts only to log in and in payment it should be 0.00, if you enter a number example 1 the output should be 0.01 …

Member Avatar for makibao
0
191
Member Avatar for s†ig†rex
Member Avatar for s†ig†rex
0
375
Member Avatar for makibao

hey can you please help me:)) because we have this assignment ordering form in vb 6.my problem is you have 3 attempts only to log in and in payment it should be 0.00, if you enter a number example 1 the output should be 0.01 then if you enter another …

Member Avatar for Adak
0
139
Member Avatar for damon dash

Hi!all Im having a diffucult time to spot the error on the below codes to find the GCD of the two integer numbers.Please help me to debug [B]Private Sub cmdgcd_Click() Dim A As Integer, B As Integer, D As Integer A = InputBox("A = ?") B = InputBox("B = ?") …

Member Avatar for WaltP
0
4K
Member Avatar for Paladine
Member Avatar for dmatos

Hello all I'm getting the following runtime error when i try to open a report. Error in formula: <Record_Selection> - A String is Required Here. Any ideas? Thanks in advance! Here is my code: [CODE] If OptConta.Value = True Then MDIForm1.Report.ReportFileName = App.Path & "\SREPCKSOL.RPT" FormatDateTime (DTDesde.Value) FormatDateTime (DTHasta.Value) Reporte …

0
58
Member Avatar for Slotes

Hi im fairly new to developing (started making some basic small programs yesterday) and today I was working on a program which is essentially a updater/update checker and what the program does is it checks the version of the checker and compares it to the current version.txt and if they …

Member Avatar for Huntondoom
0
2K
Member Avatar for mitchney

hello there! i am developing a registration form of users data...but i got a problem...what i want to happen is that if an id,name, username,password already exists msgbox will appear that it is already existing...here is my initial code..can u add it for what i want to happen with my …

Member Avatar for debasisdas
0
113
Member Avatar for vishalbandre

Here before this, someone was already raised the thread regarding my issue, but this not resolved my problem , please anyone show whole process of module and connecting it to actual program with example. If you have any reference link regarding this please share i will check this out. Thanks …

Member Avatar for debasisdas
0
48
Member Avatar for gozo12

is there a way to add command1 onto form's boderstyle ? like there is close and maximize and minimize can i add a new one nearby them

Member Avatar for imolorhe
0
92
Member Avatar for PM312

i am traying to put date from access table in text box with 2 coloumn (Invoice No &Invoice Amount) below code gives me right allignment for both coloumns . i want field 1 i.e invoice no to be left allign and field 3 i.e invoice amt. to be right allign. …

Member Avatar for WaltP
0
3K
Member Avatar for itslucky

Hi Friends, My client give me a project to modify, but when I load the project I got the error about [COLOR="red"][B]"LORTCHTX.OCX" [/B][/COLOR] and [COLOR="red"][B]"AGAUGE.OCX"[/B][/COLOR]. It says could not loaded... :angry: anybody can help me to solve this problem...??? [B][U][COLOR="Green"]I have attached the snap shot of messages i recieved while …

Member Avatar for itslucky
0
487
Member Avatar for Yamadron

Hello. :) I am new here at the forums of DANIWEB and I hope to enjoy and learn more about programming software. I have a problem with a little application I am making. The idea is simple. It is an application that execute file (like double clicking the actual files) …

Member Avatar for Yamadron
0
687
Member Avatar for VBNewUSer

Good day to everyone:) , i'm a new user here and i'm also new to Visual Basic , i'm having problems coding the codes myself. It's an assignment for me from school , after attemtping it for a few hours , I'm almost finish but i'm having trouble in the …

Member Avatar for VBNewUSer
0
1K
Member Avatar for gozo12

hello , etc , i have form1 and form2 , form2 have a WindowsMediaPlayer1 and in form1 it have a button and its code is like : [CODE]Form2.Show WindowsMediaPlayer1.URL = "c:\Users\lapi\Desktop\DOWNLOADED\365.wmv"[/CODE] but its gave me error that thhis object its not in form1 is there a way to controll it …

Member Avatar for debasisdas
0
136
Member Avatar for jorjah

gud pm, everyone!i just want to ask if what is the code in edit form in vb6?please i need your help, so much

Member Avatar for ChrisPadgham
-1
81
Member Avatar for piyushdhamecha

I am using VB6 i am create Crystal Report File at run time using CreateReportOnRuntimeDS "p2smon.dll" API function. this function will connect the .ttx file to the report. now i want to connect another one. i am creating .ttx file is at run time using CreateFieldDefFile "p2smon.dll" API function. now …

Member Avatar for debasisdas
0
386
Member Avatar for Muhammad Dasuki

Hi ... i have datagrid with sample : How to create rank 1, 2, 3 , etc... with variable rank rank score Name Job 1 251 Cames Student 2 249 David lawyer 3 135 Benny Office 4 125 Amy Student and how to sorting with variable name thank !

Member Avatar for debasisdas
0
43
Member Avatar for PCHarry

I have been using the below VB6 code to send basic text email messages every 30 minutes, program runs continuously. Code has been running successfully on numerous PC systems (WinXP, SP3) when transmitting emails connected to a land based LAN. When sending via a satellite based comms link (where comms …

0
65
Member Avatar for vin24

good day everyone! I have a problem regarding to my program. i want to create a multiple text file. To be clear to you, i'll give an example. for example I want create a textfile named as text1.txt and another textfile text2.txt. What possibly is the solution to prevent the …

Member Avatar for ChrisPadgham
0
253

The End.