12,155 Topics
I'm trying to write a simple macro in Word to clear the checkbox at the current cursor position. I'm sure this is simple, but I'm just an occasional hit and miss macro maker and the VBA help isn't helping. Apparently I need something like: ActiveDocument.FormFields("FieldName").CheckBox.Value = False But that would …
Pleeeeeaaaase help. If you have the answer please email me on <<mail removed>> Thanks Hi I have a VB6 system that interacts with a SQL Server database and GET's records with the following code If I_Syscont.State = adStateOpen Then I_Syscont.Close End If szSQL = "select * from syscont" szSQL = …
I'm developing an advance web browser in visual basic 2008. But there are some problems that really irritate me: 1) Firstly, when there is a popup window, it open in new IE window instead of my own window. I want the popup to open in my own tab/window instead of …
guys i recently used this following code in my project,, [url]http://www.vb-helper.com/howto_store...access_db.html[/url] after adding the above form in my project i added microsoft active x control in my reference,,cos the above code needs it,,,, i also have added microsoft dao 3.5 in reference before i added the above form,,, then i …
Good morning friends I write from Brazil, and I need help from an expert .(.. I am developing the program attached with another program on existing This is very important to me as it is for my college training .. basically I track IP address through ICMP. The problem is …
Write a program that will deal with the following scenario: - someone buys a car at £7.500 - the car is to be "paid up" over 4 years - the intrest rate is 5% flat rate per annum. The program should display the total monthly payment, and should alsoo show …
First of all, I'd like to say hello to the Daniweb community as a first-time poster. I'm sorry if this is a common error for you folks to deal with, but my preliminary search of the forum didn't really help me all that much. So here we are. Onwards to …
How to call Crystal Report from vb6 code? help me.
hey guys,,i recently got this code from robocr of this community,,i got this from another website,,im trying to use this in my project to link a photo,,but im not able to do that,,i get errors one by one when i try to run the code after importing the forms and …
Hi I am trying to open a MS Access db via CommonDialog1. All is fine untill I click OPEN after selecting the db I want. What I then get is a dialog for ODBC entitled SELECT DATA SOURCE with two tabs: File Data Source or Machine Data Source. If I …
Hi guys.!! Good day.! I just want to know on how to execute an event or function call after the resize event of the Form had been triggered!.. Thank you for giving time on this post.!
i have a VB6 application using DAO and other reference libraries...so i used Package & Deployment wizard, so that it works on other machines as well...now my application size has increased from "79 KB" (my earlier exe + DB Files) to whooping "30 MB" (entire package). Please guide me how …
Is there a command that change's server's file's inside buffer? Change file's inside text? I hope you understand me
Hi Writing a vbs logon script to add a registry key for users, but it is only adding it once for the SYSTEM account, (since this account is used to run logon scripts) via HKEY_CURRENT_USER, whereas I need it to add it for the user logging on, so append it …
Hi to all and good day... I'm still studying about vb 6's data report designer and the data environment...but what i need to know is how can i make or [B]generate[/B] a report at [U]run time[/U]... for example, generate report for the employee names. (names of the employees will populate …
I wanted to get some opinions on a good visual c++ book to buy. I am intermediate level when it comes to programming. I have already been through a class on C and almost done with my class on C++. So I want a book that is heavy on the …
Hi, I have to write a function in Visual Basic within Microsoft that takes customer type and number of books purchased as inputs and returns the discount that should be given. Calculate the total sum after deducting discount that is to be paid and that the interface shows the total …
i created a VB-6 program using reference "DAO 3.51 object library" on XP OS....works ok on my system...but does not work on my friends system...gives error - "Runtime-error 429 : active x component cant create object" friend's system is Windows XP with Office 2007 installed... Pl help to resolve this... …
I am writing a fairly simple web site monitoring app. It uses a timer to call a class that requests a web page and measures the response. Problem is that the third time the class is called the app hangs. looking at the locals box I see that the properties …
I am adding a usercontrol combo box to another usercontrol form and when I do this the program actually runs and goes to an initialise routine in a class and shows the error mentioned in subject. I have a collection of records and a new combo box and this is …
Good day, I am a fresh graduate as BS Information Technology. I already employed now. i already create a program and where about to launch it. But there is only one problem i think in my program because in my i need to generate reports in many different paper size …
Hey everyone, I've been working on a project for my job and I've become stuck. I'm trying to figure out a way to extract or export all macros from an excel workbook to a folder on my filesystem. Is there a way of doing this with out creating a program …
Hi, everyone i am so pressed with this task of developing a Piant Application using java or vb. i have run short of time, please someone save a me. I am Justine .O.
Please, i want to know how to ntework in vb6. Also, capturing the system name and other things like that.
how to bind collected Data in calendar control in vb 6
Hello, I am new to this community as well as Visual Basic. My class was assigned a project that is to use Panning and Zooming of a Image. However the code the teacher supplied us zooms to the Upper Left corner of the image instead of the Center of the …
Hi All, Thanks for your continuing helps and supports, I really love this forum. (and somewhat depended on it). I have got program written in vb6, this program provide the calculation and links to microsoft access and microsoft words. This program soon will be integrated with microsoft visio or other …
hello, when user slect an item from combobox, then its corresponding data should be displayed in the textboxes and labels placed on the form. like if i select a rollno then the name, address, age should appear on the form. kindly, let me know the code for this. Thanks in …
Hi! I'm a newbie in this community. I am developing a VB6 app which displays 100 pictures one at a time at random using a button click event. This works fine so far. Using the same random number generated to display the picture using a ' select case' routine, it …
The select case construct is moving to the Case Else line every time the programme loops, even though there are "Longvue" & "Roseleigh" entries in the worksheet.[code]Option Explicit Option Compare Text Sub Complete() Dim HOComplete As Range Dim Client As String Dim JobNumber As Range Dim workrange1 As Range Dim …
i have 4-5 forms...all of them are called by each other by some or other procedure...now i want to initialize an variable with an integer value only when my program starts.... my problem is where ever i declare the variable...the form gets called and the variable gets re-initialized... or can …
OK I have an assignment on my Access course, I find this site really good and require some help if possible. Basically I have a login screen which checks the Access Database I am using the code I have is this: [code] Username = txtUsername.Text Password = txtPassword.Text 'Following code …
Hello! I am currently doing some authentication in Active Directory. Our AD is running in Windows 2008 Server and I manage to log-in based in our AD. However I also want to get the group where the user belongs. but I don't know how. Can anyone help me? here is …
Help please!!!! Is there anyone has a sample code on how to call the backup and restore of SLQ server using VB6. I already have it but, unfortunately the backend of my program is Ms access and I want it to use as SQL server. Any help is highly appreciated.... …
How to set up the page into landscape in data report vb6?
Dear Sir, I would like to change page setup to be landscape to print a data report in VB6. I need the full details.Is there is procedure or function pls. help me how to make it, where to write the code Thank you in advance A.jabbar
When I installed windows 7 I opted to do a fresh clean install, but the key I purchased was an upgrade key and required that I performed an upgrade. The disk itself was bootable so I performed a clean install and modified some registry keys and ran a vb script …
I want the code to close all mozilla firefox windows I have tried doing it using findwindow function and linkbutton with no success Please provide me the solution
I've written a VB 6.0 program that runs over Access 2003. I don't have any problem reading to or writing from the tables except in one table and one of its screens. When I initially create the record, there's no problem. But when I retrieve the new record (into a …
write a program which will print power of 2 use loop 2 ^ 0 1 2 ^ 1 2 2 ^ 2 3 2 ^ 3 4
Please, is there anyway to make the forms in vb6 transparent? I need urgent assistance. Thanks.
can any one put me on the start of using serial port? i need to know the pins and protocols to use serial port, i know alittle information and how we configure it by using c programming language and visual c++.if there is asite to learn me using serial port …
Hi, I am building a cinema booking system in ASP/VbScript with MS Access. I would like to display the records from the recordset in form of: [-----STAGE-----] [B] [x] [x] [x] [x] [x] [x] [B] [x] [x] [x] [B] [x] [x] [x] [x] [x] [x] [x] [x] [x] [x] [x] …
Hello. Could someone help me on how to create classes in VB6? I need to create a class that would enable me to add 2 numbers then show the sum... simple enough? but im having a hard time looking for tutes out there. I could easily learn with some examples... …
how do we create form caption [form title bar] effetcs like typing words.
[CODE]Private Sub Command1_Click() Dim i As Integer, j As Integer For i = 1 To 10000 For j = 1 To 10000 Print "SDFGH========="; j Next j Next i End Sub[/CODE] when i click on command1, i want to view the enitre execution of loop,i.e, from [CODE=text] SDGGH=============1 SDFGH=============2 . …
Hello : I have this problem that Ineed to solve can you help plz??.... write aprogramto generate a business travel express attaachment for an income tax return. The program should request ias input the name of the organization visited, the date and location of the visit,and the expenses for meals …
Hi, I've got a bit of a problem with an application I am writing at the moment. I know it has to be something small which I'm missing, but I can't figure out what it is. Basically, I have a Query (or Stored Procedure if you prefer) in an Access2000 …
I need to make an application with vb that copies all the files every time the folder opens and copies the files to another folder and it should overwrite all the files in the destination folder. the destination folder should contain everything the source folder contains, can anyone help me?.
Greetings all! I'm facing a problem that's been throwing me for a loop for a while now. I'm implementing an old VB application that someone else wrote a long time ago onto a VM. I've gotten past a few different issues/errors just to get new ones (that's the name of …
The End.