vba x 200

12,155 Topics

Member Avatar for
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
71
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
196
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
116
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
415
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
74
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
164
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
287
Member Avatar for ubayedullah
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
108
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
127
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
120
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
114
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
212
Member Avatar for s†ig†rex
Member Avatar for s†ig†rex
0
418
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
147
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
66
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 Member #788418
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
131
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
52
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
123
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
515
Member Avatar for tgreer

I think I've posted on this before, but I find the overall site categorization non-intuitive. "Software Development" vs. "Web Development" doesn't make sense to me. Web development IS software development. I propose the site be organized by software development languages and platforms. DHTML/AJAX includes working with XML/XSLT, so where do …

Member Avatar for tgreer
0
243
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
717
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
149
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
89
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
432
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
51
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
73
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
271
Member Avatar for ahalyakashyap

plz help me i need a code for moving pictures just like a marquee....ie...from left to right n this process should continue...

Member Avatar for WaltP
0
106
Member Avatar for dmatos

Hello All I'm having a hard time trying to get pass this annoying error... the cool thing about this is that the user gets to see the error, and when i go to my dev environment everything works just fine.. Here is my code: [CODE] If ColaI.Recordset.RecordCount > 0 Then …

Member Avatar for WaltP
0
450
Member Avatar for ScudRunner50

I'm creating a form in MS Word for our customer service reps to fill out and then I want to have a submit button at the bottom of the page that will run a macro to automatically save the file in a desired directory and to use the customer's name …

Member Avatar for SainteLibra
0
225
Member Avatar for Marc Smets

My name is Marc. I live in Belgium working in the public safety care. I am 51 and more than 10 years ago I programmed in Visual Studio 6, especially basic. In 2004 I had to work with Access and VBA to make databases for work, until now. My boss …

Member Avatar for jingda
0
46
Member Avatar for tranquil

Hi, I am developing database in Access & VB. My question is how can forms be displayed so that they automatically size to any screen whether it be 15" or 21", for example. Many thanks.

Member Avatar for tranquil
0
245
Member Avatar for triumphost

A couple questions I have for anyone that knows WINAPI as Im trying to learn it right now.. I usually program in .Net Managed and the basic console stuff. [B]First:[/B] Is there a designer for WinAPI like there is in Visual Studio Form App Editor? Or is it just outright …

Member Avatar for caut_baia
0
158
Member Avatar for cool_zephyr

hello, i'm making a program in which i need to place the controls relative to the size of the form..so could anyone tell me how to get a form's height and width form a code???

Member Avatar for cool_zephyr
0
470
Member Avatar for churva_churva

can someone here lead me in a website that allows to download the microsoft visual basic 6.0 for free... thanks everyone.:)

Member Avatar for Ezzaral
0
270
Member Avatar for s†ig†rex

[CODE]Private Sub Command1_Click() Frame1.Caption = Text1.Text Frame2.Caption = Text2.Text Text3.Text = "" Text4.Text = "" End Sub Private Sub Command2_Click() Unload Me End Sub Private Sub Command3_Click(Index As Integer) Text3.Text = Val(Text3.Text) + 1 End Sub Private Sub Command4_Click(Index As Integer) Text4.Text = Val(Text4.Text) + 1 End Sub Public Sub …

Member Avatar for s†ig†rex
0
159
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 want to know this, because i am new to my work. I hope …

Member Avatar for debasisdas
0
1K
Member Avatar for koolpinguy

sub:- requst to write a code to display all alphabets & word with their count and number of repetition in any document or file dear sir. im a student of vb, i need some code which could b able to 1- count the total numbers of alphabets used in a …

Member Avatar for Ezzaral
-1
154
Member Avatar for spothao

Hi everyone , i just in this forum recently , so i hope it can help me much . I'm learned about C++,some visual basic ,some adobe flash ,some Lisp ,and try to start learning python . It's good to know that this forum have these many language together.

Member Avatar for jingda
0
53
Member Avatar for khengchiew
Member Avatar for debasisdas
0
29
Member Avatar for cool_zephyr

hello I'm writing a program using winsock..whenever i try to send some data from the client i get the following error "Run-time error '40006' Wrong protocol or connection state for the requesting transaction or request" please help me in finding what's going wrong...my client code is given below [CODE]Private Sub …

Member Avatar for cool_zephyr
0
893
Member Avatar for venkatnams

hello out there,,i'm using vb6 and need to use calendar control. I managed to import the calendar using projects-->ms calendar and i've placed it on my form. Now i need to add the dates slected onto my MS-Access Database. How do i do that?? the summary::: i need guidelines,codes,functions that …

Member Avatar for faroukmuhammad
0
4K
Member Avatar for balajiarun1992

how to display the reverse timer like in the quiuz program the clocks are role in 50,49,48....1. (time up) i need the program for questienare with timer any one help me.

Member Avatar for faroukmuhammad
0
182
Member Avatar for Craig_V

Hi there. Using VB5 I am a real novice to VB but slowly getting the grasp of thing but at the moment writing things out long hand (thinking there must be short cuts) Like filling a VB form with MSACCESS data I am detailing every field e.g. [CODE]txtCompGST.Text = tldt.Rows(rowpos)("CompGST").ToString() …

Member Avatar for Craig_V
0
136

The End.