10,992 Topics
![]() | |
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. | |
Someone can gave me a code for search as u type searching from may MS ACCESS DATABASE Thx GOD SPEed :P | |
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 … | |
Is there any code to create or generate bar codes in vb6? Please help me, advance thank you for all that will respond :) | |
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 | |
just wanna ask if how to print your from adodc and datagrid which is from access using vb6? tnx in advance | |
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 | |
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 … | |
[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 … | |
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 … | |
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 … | |
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. | |
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] … | |
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 | |
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] | |
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 … | |
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 | |
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 … ![]() | |
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 … | |
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) | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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: | |
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 … | |
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 … | |
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" … | |
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 … | |
how do i create a lucky seven random number? or a lotto program? | |
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 … | |
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 = ?") … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 | |
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. … | |
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 … | |
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) … | |
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 … | |
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 … | |
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 | |
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 … | |
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 ! | |
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 … | |
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 … |
The End.