vba x 200

12,155 Topics

Member Avatar for
Member Avatar for hdaccess
Member Avatar for Vega_Knight

Hi, i want to get current position of cursor on the form. there are label to show the coordinates of cursor position. anyone can help me. i don't have idea for this. thanks Best regards.

Member Avatar for Vega_Knight
0
473
Member Avatar for dnk

Hi masters.. how can i shutdown computer using api files in vb6? best regards.. Gbu

Member Avatar for dnk
0
311
Member Avatar for arezz09
Member Avatar for arezz09
0
198
Member Avatar for cyberjorge

I am a programming student and active volunteer for a foundation, if anyone out there is kind enough to share some help please read below. I will need your help guys for a Simple Inventory System for a foundations' furniture and jewelry store. The software of course should follow the …

Member Avatar for RenanLazarotto
-1
665
Member Avatar for Thong_Ispector
Member Avatar for BitBlt
0
3K
Member Avatar for yilin2008

Hi, All: I am getting crazy about this error. I tried everything but no help at all. Here is the simple task I want to do: adding a chart. The code is as below: Charts.Add ActiveChart.ChartType = xlXYScatterLines Set myrange = Worksheets("Sheet1").Range("B16:B18") ActiveChart.SetSourceData Source:=myrange, PlotBy:=xlColumns ActiveChart.Location where:=xlLocationAsObject, Name:="Rates" It always …

Member Avatar for lhxndd
0
199
Member Avatar for alleybye

i want to view the number of my expired and non expired stocks, and i cant figure it out. Heres my code. can some please help me? [CODE] Private Sub Form_Load() If rsInventory.RecordCount > 0 Then Do Until rsInventory.EOF If Val(rsInventory("Expiration_Date")) < Date Then expired = expired + 1 rsInventory.MoveNext …

Member Avatar for AndreRet
0
170
Member Avatar for hdaccess

Good day! May i ask? This is the scenario: The main purpose of daily activity report is to monitor the library transactions and to find out borrowers who are overdue. The report should be generated at the end of each business day and should contain the following data items: for …

Member Avatar for reygcalantaol
0
142
Member Avatar for vbBen

Hello, I am trying to do (I think) a simple thing in VB- send commands to the com port or parallel port. VB is out of my comfort zone. I am a beginner. Most of my experience has been in industrial controls/plcs, etc. Ideally, I could send a discrete binary …

Member Avatar for vbBen
0
184
Member Avatar for Ole Raptor

Hello, I am having an issue with my legacy app saving files to Windows 7 machines. My first thought was that I would just run the program as administrator but that helped none. I have attempted saving this image to the temp folder and to appdata but neither seems to …

Member Avatar for AndreRet
0
181
Member Avatar for davewillis

Got this quiz and want to change the code so that it displays the correct answer for any question that the player misses. I open it/modify it in NotePad and dbl click the file to launch Windows Script Host to run the quiz... Any help will be appreciated. 'Perform script …

0
69
Member Avatar for neosonic

Hi, I have visual basic 6 program which loading and saving a big .bmp file. This is the bizarre thing: It runs okay (although slow) in windows xp with Intel Pentium 1.5 Ghz processor and 512 Mb of RAM. So, logically it will run okay and faster in windows xp …

Member Avatar for neosonic
0
203
Member Avatar for razree

Hello I'm new to this forum and quite new to visual basic. I started editing an existing code (basicaly to learn vb) without any real previou experience. Well let's get to the point; I have a form that gathers data from db ordering by user ID (on click count). I …

Member Avatar for razree
0
329
Member Avatar for alleybye

please help me! im doing a date comparing project where in i compare the expiration date and the current date i put this on the general [CODE]dim mydate as string[/CODE] then at the formload [CODE]mydate = format(now,"mm/dd/yyyy")[/CODE] and also on my database id format the Expiration field as Date with …

Member Avatar for AndreRet
0
222
Member Avatar for vinothmca
Member Avatar for reneeschultz

Need to write a script wit the following criteria using VBScript: Am an English teacher and have some programming experience but not to this extent that is needed. Just trying to make it easier on me for grading... 1. prompt user for a # of quiz scores to input, should …

Member Avatar for Tarkenfire
0
133
Member Avatar for steve_Student

Hi Here is my question. My project is basically a addition test for 5 to 9 year old children. On my form I have a button which when clicked, it inputs a number from 1 to 10,( which is chosen by the user via an combo box drop down), into …

Member Avatar for steve_Student
0
336
Member Avatar for colmar

I am trying to make a stock control work sheet and I am having problems with a circular reference. Take cell B2 and place this formula in it =(A2+B2). I now have a circular reference. I have turned on the iteration in Tools,Options calculation and limited the maximum iterations to …

Member Avatar for monarchmk
0
129
Member Avatar for psyrieerika

how can you sort out an unlimited file when your using a bubble sorting technique in vb6?

Member Avatar for AndreRet
0
44
Member Avatar for Neversleepin

Hello, i would to import the last modified txt file from a directory (c:\Folder) using a macro in Excel. I have a folder which is incremented everyday by a new txt file. The goal is to import the last txt file added in the direrctory. I've already created a an …

0
99
Member Avatar for pito_donje

Was how to form the password one could call the 4 form with each different password. example for the administration can only open the form and form alone administration secretary could only summon his secretary form only & to superiors could open formnya all. thanks for attention & assistance

Member Avatar for AndreRet
0
89
Member Avatar for raniel1314

[CODE] Option Explicit Dim rs As ADODB.Recordset Dim savePurpose As String Private Sub getData() Call EnableEntryControls(False) lvRec.ListItems.Clear Set rs = GetRecordset("Select * from tblDocSched") If Not rs.EOF Then 'records exists Call SearchMode(True) While Not rs.EOF lvRec.ListItems.Add , , rs.Fields("PhysicianNo").Value lvRec.ListItems(lvRec.ListItems.Count).ListSubItems.Add , , rs.Fields("PhysicianName").Value lvRec.ListItems(lvRec.ListItems.Count).ListSubItems.Add , , _ IIf(IsNull(rs.Fields("Department").Value), "", rs.Fields("Department").Value) …

Member Avatar for AndreRet
0
272
Member Avatar for alleybye

[CODE]rsInventory.Open "SELECT Expiration_Date FROM YourTable WHERE Expiration_Date < DateValue(Date)", conn, adOpenStatic, adLockOptimistic[/CODE] what should be the value of that date. if i put date [CODE]rsInventory.Open "SELECT Expiration_Date FROM YourTable WHERE Expiration_Date < Date", conn, adOpenStatic, adLockOptimistic[/CODE] ive got an error 'no value given value given for one or more required …

Member Avatar for AndreRet
0
111
Member Avatar for abelingaw

What i wanted to do is to limit the number of users to be registered for my system. One for User type and one for Administrator account, and if there is already a user and admin account, adding will be disabled, else, enabled. Here's the code im using. [CODE]Private Sub …

Member Avatar for AndreRet
0
172
Member Avatar for VanHackman

Hello, I'm trying to open a URL wit the default browser in C++ using ShellExecute(), however I'm unable to do this, even using the example into the mocrosoft site. I'm not sure about what I'm missing. I have: [CODE] #include <windows.h> ... private: System::Void Go_home_LinkClicked(System::Object^ sender, System::Windows::Forms::LinkLabelLinkClickedEventArgs^ e) { ShellExecute(NULL, …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for dirkjan75

Hi, Just a form where I want to put a default value for a combobox: private sub form_load() me.combobox1.defaultvalue = 3 end sub The property defaultvalue is giving an error, 'method or data member not found'. what do you think?

Member Avatar for AndreRet
0
128
Member Avatar for nehj

please help me in making cpu scheduling in vb6!please...thank you so much for the help you can give..

Member Avatar for AndreRet
-2
233
Member Avatar for sameerkhan

Hi, Could anyone send me code for following problem.. I have two text files, one containing list of folder names another is a log file containing error description. I have to find error description from log file for every names in first text file. And i have to copy the …

Member Avatar for AndreRet
0
2K
Member Avatar for Lucky D

Hi, Can somebody tell me how i can link two or more list boxes so that if an item is selected in a list box in a row, another item will be selected in the same row without selecting them one after the other from different list boxes. Thanks.

Member Avatar for AndreRet
0
105
Member Avatar for Joshua Kidd

Hello, I have an Image Specifically for a certain XML file. And in Visual Basic is there any way to add an image, then have the image read from the XML file? Any Help would be awesome. :)

0
69
Member Avatar for rnbaker

I have searched and cannot find out why my code will not update the database. The program stops at the mDA.Update(mDS, "temp_data") line with the following error: System.Data.OleDb.OleDbException was unhandled ErrorCode=-2147217904 Message=No value given for one or more required parameters. Source=Microsoft Office Access Database Engine StackTrace: at System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] …

Member Avatar for Momerath
0
239
Member Avatar for NewVBguy

Hello There, Is it possible to put a datepicker within a datagrid?. Can somebody show me the code pls. Thanks again Newvbguy

Member Avatar for arimegram
0
124
Member Avatar for P.manidas

Dear Sir/Madam How to check execution time of a procedure with the help of Timer control? How i have tried, i am attaching herewith my test program. Please guide me.

Member Avatar for AndreRet
0
336
Member Avatar for RMelnikas

[CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSend.Click Dim strSubject As String 'subject title Dim strBody As String 'Body of message Dim strBody3 As String 'Body of message Dim strBody4 As String 'Body of message Dim strBody5 As String 'Body of message Dim strBody6 As …

Member Avatar for Oxiegen
0
173
Member Avatar for e_ayt

I'm a beginner student learning Visual Basic 2010, and im trying to create an auction countdown timer in my form but I'm not sure how to do it. The countdown timer Im interested in would be similar to the ones found in BeezID or Swoopco, where the timer continuously counts …

Member Avatar for prvnkmr194
0
611
Member Avatar for VanHackman

Hello, I'm trying to make draggable a borderless form developed using Visual C++. How ever, I'm not having look with it, and I had been unable to find an example about how to do it around the web. This is the code I'm using currently, and which is not working. …

Member Avatar for jonsca
0
743
Member Avatar for AngelicOne

I'm rather confused whether the application I have seen used a tool strip or a tab control for its main menu. When I tried clicking the tool strip images, the panel below changes instantly just like the behavior of a tab control, moreover, inside the panel is a tab control. …

Member Avatar for Momerath
0
148
Member Avatar for yoge911

hello guys:D, i am new to vb.net and need some help from you. i have created an application in microsoft visual basic express 2010. it works fine when i debug . also works fine when i publish a setup file and launch it. it works awesome on my computer. But …

Member Avatar for yoge911
0
219
Member Avatar for androidz

hi guys im making a button which is print im still learning on how to do or use crystal report in vb6 to print a specific record based on what the user will input on the textbox or flexgrid anyone can help me on this?im eager to learn about this.i …

Member Avatar for androidz
0
202
Member Avatar for akshayinbox

Hello. I've learned programming in Visual Basic 6 followed by turbo C++. I was able to make COMMERCIAL software using VB6 but not with C++. The thing is I need to learn a language (for software development) that has syntax and logic similar to C++ BUT COMES WITH AN INTERFACE …

Member Avatar for John A
0
257
Member Avatar for xtianenikkian

Good day, I have a system and it has a studentdatabase.mdb database, ive putted password into the .mdb file and now when I run the .exe file of my vb6 program it says Not a valid password, Question: How can I automatically put the password of the .mdb file when …

Member Avatar for AndreRet
2
147
Member Avatar for P.manidas

Dear Sir/Madam, I have two types of procedure for one/same result. No. 1 procedure is very long without loop and no. 2 procedure is sort with many loops. So I want to check those procedure, which one is taking less time than another. Please guide me.

Member Avatar for AndreRet
0
383
Member Avatar for xtianenikkian

For example i have the following fields in the database name, student number, course then i have multiple data in the database e.g. 25rows = 25 students when i try to edit them, you need to first click the row in the datagrid that you want to edit then ive …

Member Avatar for AndreRet
0
1K
Member Avatar for jcb0806

I'm just trying to write the following out in an excel cell using VBScript. What I want in the cell: =BDS(A2,$B$1,"dir=H") I'm having problems with excel accepting the quotations for some reason this is what I have and is getting an error with: ""=BDS(A"& LC &",$B$1,"dir=H")""

Member Avatar for Marcel_Go
0
141
Member Avatar for alleybye

Guys! im doing a search program where in ill just search the name of the product then print it. [CODE] Private Sub txtSearch_Change() rsTransaction.Close rsTransaction.Open "select * from tblTransaction where mid$(Date,3,2) like '" & txtSearch.Text & "%'", con, 3, 2 end sub [/CODE] it is actually doing fine but i …

Member Avatar for debasisdas
0
114
Member Avatar for louwee

[code]Option Explicit Dim connectionado As ADODB.Connection Dim recordsetado As ADODB.Recordset Dim num As Integer Private Sub cmdCanceL_Click() frmSTUDENT.Enabled = True frmSTUDENT.Show Unload Me End Sub Private Sub openDbaseConnection() connectionado.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\student\My Documents\dbStudentInfo.mdb;Persist Security Info=False" connectionado.Open recordsetado.ActiveConnection = connectionado recordsetado.CursorLocation = adUseClient recordsetado.CursorType = adOpenStatic recordsetado.LockType = adLockOptimistic …

Member Avatar for Jx_Man
0
159
Member Avatar for Jessurider

hi can anyone tell me how to bring the WebCamCapture in visual basic 2008 .......the attached project is one i got from internet............in that WebCamCapture is something which i cant find also i cant bring that into a new project

Member Avatar for Ezzaral
0
90
Member Avatar for Jessurider

hi can anyone tell me how to bring the [B]WebCamCapture[/B] in visual basic 2008 .......the attached project is one i got from internet............in that [B]WebCamCapture[/B] is something which i cant find also i cant bring that into a new project

Member Avatar for Jessurider
0
237
Member Avatar for curse019
Member Avatar for AndreRet
0
122

The End.