11,868 Topics
![]() | |
Hi Everyone! Need help in my new Project with Visual Basic 6.. I need to send a 5 volts signal from my pc using a VB6 program to the serial port where I could place a relay... Thanks :) Dexter A. | |
Ok, I have this code as an ex.: [code] Private Sub Command1_Click() Dim L As Long, L1 L = Label1.UBound L1 = L + 1 Load Label1(L1) Label1(L1).Move Label1(L).Left + Label1(L).Width Label1(L1).Visible = True End Sub [/code] If I press the button two times, it will make two copies of … | |
Here is some old VBA code inside a Word 2003 document to open and then save a word document: [code] Documents.Open FileName:=docFileName, ConfirmConversions:=True, _ ReadOnly:=False, AddToRecentFiles:=False, PasswordDocument:="", _ PasswordTemplate:="", Revert:=False, WritePasswordDocument:="", _ WritePasswordTemplate:="", Format:=wdOpenFormatAuto 'do stuff to the opened file here... ActiveDocument.SaveAs _ FileName:=docFileName, _ FileFormat:=wdFormatDocument, _ LockComments:=False, _ Password:="", … | |
Hi everyone, I have a tiny problem here but just cant handle it, since I'm new to VB6.. I want to put a code into a module which contains a lot of lines with same objects. I have an idea of relating those objects with variables, so instead of, for … | |
hihi.. how can i upload a folder to the FTP Server instead of uploading file by file. ??? ocw | |
Hi, How can add 4 rows and 6 columns into MsFlexGrid1 with Command_click event in VB6? Thanks | |
Hi friends I need some help from VB and Oracle guru's. I am trying to create a dynamic table from VB 6.0 in Oracle (mean I want to create a table whose name is dynamic issue) For this purpose I code as follow and get error table name is not … | |
Hi everyone! I want to have a coin toss on my program: i have two images (a heads and tails) and i want the user to click on a button which will generate one of these pictures randomly. There's all this code on how to create a random number generators, … | |
Hi, When i click on a datagrid, the selected row's id is added into a text or combo or listbox. User will see and navigate through the added items but, can't change. What is the best way to do this? I need to disable changeable property of text or combo … | |
Hi, I populate data from database to datagrid but, cursor focuses on last row. How can i make it focused on to first row? Thanks | |
Hi, I fill the Dbgrid with information that come from database via adodc connection. Is there any chance to add checkbox across the each records listed in Dbgrid? I will check one or several particular records and update them with a record stored in a textbox. For example; [code] ....UPDATE … | |
Hello to all, Please can someone help me on how to create a databse at run-time. I have created a database with Access that I am using with the VB application and it is working well. But now, I want the user to be able to create another database that … | |
I have used MS Access to generate a report and can print a particular report history by using macro. Is there a way I can print a specific report of the MS Access report from VB 6?:( | |
[B]hi all, i try to move it to the up and resize it but i can't, can an one help me, by give my the code for this frm [/B] | |
im trying to create a system where i have 1 server.. and many computers.. with the server, i install a software, how can i install the software to other computers by installing it only in the server.. by using vb6.. is that possible??? hmmm... | |
What version of MS access is compatible to VB 6.0??? And any other application beside of access you can suggest. Thanks a lot... | |
Hi guys Im trying to get a pdf file (I'm using as a help file in an app) to open up when the help button is clicked. This is the code i am currently using: [code] [I]Private Sub DisplayInstructionManual() Dim AcrobatReader as String Dim pdfFile as String AcrobatReader = "C:\Program … | |
Hi Everybody I am stuck can somebody help me please. I am testing a very small portable barcode scanner. After scanning I need to upload the scanned data. I am in VB6 I am using the mscomm1 control I tell the scanner to send the data. I have a [B]OnCom[/B] … | |
Hello friends, I need procedure for continous accessing oracle database using visual basic. Follwing i am giving coding use by me but some time it give disconnection error Please help for continous connectivity. [code] dim db as new ADODB.connection dim rs as new ADODB.recordset db.open "Provider=MSDAORA.1;User id=ourpro;Password=ourpro1;Persist Security info=False" [/code] … | |
Hi, I would like to identify the patterns in a picture which is in picture box, the patterns will be of simple shape like a square, traingle etc.. I think if I can access the pixel data of the picture then a basic for next loop will suffice, the memory … | |
Hello, I have inherited an application written in VB6 that does not handle the number of print copies properly. Changing the number of copies to a number other than one(1) results in only (1) print. I am new at VB6, and would appreciate any tips on how to address this … | |
Hi, I have encripted password column in my table. I use VB6 code below to check password but it doesn't work. I think i have to call a function to decrypt it. Where and which function do i use in my sql code below with text1.text. Thanks [code] .......WHERE psw=' … | |
Can someone tell me how to add a static library file to a project in visual studio 2007. | |
hi!.. first of ol sory for my bad english.... I have a problem: I want to create a database system using MSACCESS and VB6 that will be on 3 computers connected via LAN. 1. the 2 computer will be the registration section, and the last 1 will be the payment … | |
Hi, I am unable to create a new database within Visual Studio. I can however create a database in SqlExpress and then see it in Visual Studio, but once in Visual Studio I can’t seem to do anything, e.g. If I right click the ‘Tables’ icon within a database in … | |
hi i aam trying to develop a project using vb and access i have got a problem i have 3 tables in access 1.Cust info table(fields are listed below) cust id,name,age,sex,country...etcxc(primary key cust id) 2,indate(fields are listed below) custid ,packageid,date,intime,outime(no primary key) 3.package info table(fields are listed below package id, … | |
hi pls help me to fetch the data from the following HTML source code. [code=html] <TR> <TD colSpan=2> <CENTER>[B][U]CS1304[/U][/B]</CENTER></TD> <TD colSpan=2> <CENTER>[B][U]20[/U][/B]</CENTER></TD> <TD colSpan=2> <CENTER>[B][U]49[/U][/B]</CENTER></TD> <TD colSpan=2> <CENTER>[B][U]P[/U] [/B]</CENTER></TD></TR> [/code] i want to fetch the BOLD contents (i.e CS1304,20,49,P) from the source. pls get me the code to fetch it … | |
Plz tel me where to write SET command in VB to get connect to DB ? | |
well..my problem is i cant find crystal report in my vb6. And yes..i have also checked the so famous path : common\tools\vb.. but the thing is i had to stop right after accessing tools folder..couldnt find vb itself. is there any solution to my problem? :( | |
I am at the ending part of coding for a Library software but I am unable to move forward as I can’t figure out the way to change the color for DBGrid row. I am using MsAccess as the database. I want the color of a particular grid row to … |
The End.