473,543 Members | 3,135 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic 4 / 5 / 6 Forum

Visual Basic programming language and IDE - Ask questions about rapid applicatoin development, GUI, database access, DAO, RDO, ADO, Active X Controls, objects, Microsoft Visual Basic 4/5/6.
2
1,121
thread by: kako0000000 | last post Aug 25 '13 by: kako0000000
Hello Dear this is my first Topic i know not how this. i change .dll file not change ( Resource Editor ) how can i this Thanks
0
772
thread by: muddasirmunir | last post Aug 22 '13 by: muddasirmunir
I want to know how can we give prints using vb6 on very small pritners, like on cash machines usually used by shops or resturants. I mean machine like these http://www.shutterstock.com/pic-104659109/stock-photo-two-printer-for-fiscal-cash-register-on-a-white-background.html You can see the page has very very small width hardly few inches. So...
0
925
thread by: tsnave | last post Aug 21 '13 by: tsnave
I have VBA code for Pulling data from Word Forms for Word 2007 & 2010. However, some people that are going to be using the form have older versions of Word. When they open the .docx form, the content controls disappear. I converted the from to use Legacy Controls. I am having a hard time converting the code to get the data from the Legacy...
1
983
thread by: fresie | last post Aug 19 '13 by: Rabbit
i have a button and the command is when it is clicked it will produce a certain details .. If btnupdate.Enabled = True Then txtroute.Text = "Pasig Palengke to Market Market" txtamount.Text = Label3.Text txtbalance.Text = txtcardbal.Text - Label3.Text End If this is my code for button :)
9
20,611
thread by: javeddli | last post Aug 19 '13 by: Twinprabu
I have got a query in my MS Access database which requires 2 parameters. From my VB6 program, I need to call this MS Access Query by passing the 2 parameters dynamically. How can this be done? And, thanking in advance... ********************************************************************************* "If an experiment works fine,...
4
2,070
thread by: YuffieLM | last post Aug 16 '13 by: YuffieLM
I am very new to VB and have a simple code in Outlook to save my attachments from Outlook to the drive. I want to link them in Access from the drive but the files are sent in xlsx format and I have Access 2003. So can I edit my Outlook code to save the attachment in xls format? Here is the code: Public Sub saveAttachtoDisk(itm As...
0
915
thread by: viswanath514 | last post Aug 16 '13 by: viswanath514
There are 2 columns in my datatable. whenever the 1st coloumn is "txt" then the second column should be hyperlink to go that file. Here i am able to generate hyperlinks, but difficult to add datatable coloumn cells. Please do you have any ideas. Any idea would be greatly received
0
836
thread by: vtckierulf | last post Aug 15 '13 by: vtckierulf
What is the best topmargin and bottom margin for data report in vb 6.0 with 8.5 X 11 What is the best topmargin and bottom margin for data report in vb 6.0 with 8.5 X 11 bond paper ? Also, what is the maximum height of a data report in vb 6.0...hoping for a prompt response. Thanks!
0
905
thread by: mohammed saleh | last post Aug 14 '13 by: mohammed saleh
this my function in my windowsapplicationform Public Function getxml() As String Dim connection As String = "" Dim xml As New XmlDocument() xml.Load("C:\Users\mohammad.CATS\Documents\Visual Studio 2008\Projects\ARtrnc02\ARtrnc02") Dim xnf As XmlNode = xml.SelectSingleNode("configuration") Dim...
9
9,741
thread by: GBFD26 | last post Aug 13 '13 by: earthman
I have been writing a program in VB 2005 and all was going well until now. All the controls on the main form are locked and I cannot unlock them. When I click on one it shows the little lock icon in the top left corner. The form itself is not locked. I believe it happened when I clicked on View>Designer. I never intentionally locked anything. If...
1
1,905
thread by: eliajah | last post Aug 13 '13 by: redz
Hi! how can i print the selected record? I'm using vb6..i used combo box,texbox and listview...i just want to print the selected record however it print all the record from database?
0
896
thread by: Iain Stokes | last post Aug 8 '13 by: Iain Stokes
Hi I’m preparing a more detailed data resource (voluntary unpaid) as an independent evidence base, to a UK government agency, as to roof orientations (SsE-S-SsW) for energy capture. And the capability for transition from high Gas % to a required high Autonomy % for water heating, over a new builds enduring ‘stand-time’. (1/4 primary...
3
1,283
thread by: robertybob | last post Aug 3 '13 by: robertybob
Hi I am writing an application for download that requires a subscription in order to continue to work. My ISP says that accessing my web-based database from a desktop application is not allowed for security reasons. I now have no idea how companies monitor the use of their applications if they can't check their database whenever the...
2
1,152
thread by: robertybob | last post Jul 24 '13 by: robertybob
Sorry if the title to this question didn't really make much sense - hard to think how to easily explain this :) If I want to target a label on a form I can use dim labelname = "myLabel" Me.Controls(labelname).Text = "John" What do I use to target a variable I set for the form as, say, Private myName as String?
5
3,181
thread by: scrapcode | last post Jul 20 '13 by: jonnycakes
Hi everyone. I'm trying to write a macro to copy data from one Excel sheet to another in the same workbook when a certain criteria is met. My data table is an import from an Access DB. After the data has been refreshed to the sheet I would like to pick out all the entries where the value in column I is "High". Once the table has been filtered...
2
1,297
thread by: 66Nana | last post Jul 20 '13 by: 66Nana
I need to setup a table in 3 columns (that is fine) but in each row there needs to be radio button. I know how to insert the radio buttons. However, I need the operator to be able to select say 2 or more radio buttons, not just one. I a using Word 2010. Any help MOST grateful.
4
23,671
thread by: Hiram13 | last post Jul 16 '13 by: Killer42
Hi Am developing a school software and i have a form named Admission which i want to include the pictures of students, i have managed to upload the picture using this code: Private Sub Command1_Click() Dim pic As StdPicture dlgPicture.Filter = "Pictures (*.bmp;*.jpg)|*.bmp;*jpg|" dlgPicture.ShowOpen filen = dlgPicture.FileName...
3
2,732
thread by: Dan Effets | last post Jul 15 '13 by: Dan Effets
I looking for a example of VB export gridview to PDF , all that I can find use C# or VB.net to a web page. Using ItextSharp or PDFSharp. Looking for VB only not web or ASPX .. Please send a link..thank you
1
1,635
thread by: Olabode | last post Jul 10 '13 by: Rabbit
hello guys I am new here and in programing I have this program that I am designing am using Visual studio 2010 and ms access 2010. am using ms access as a data base i have successfully designed the form and runs it but when ever I try to save to my data base it shows me "syntax error insert into statement" and I have checked all I know. mind...
5
1,577
thread by: robertybob | last post Jul 9 '13 by: Killer42
Hi At the moment I am using centerParent to open forms in most cases but it is a mess and totally random. In most applications I use, windows appear in the same location that they were last opened even after closing everything down for days. I would like to have a form open exactly where it was last opened. Is this a simple case of...
1
1,314
thread by: LeoVBNET | last post Jul 9 '13 by: Killer42
Hi. I make an instance of a form 'B' from Form 'A'. But I need to pass two variables by reference. I do what you can see below: FORM 'B' Private Val1 As Uintenger Private Val2 As Boolean Public Sub New(ByRef _Val1 As Uinteger, ByRef _Val2 As Boolean) InitializeComponent() Val1 = _Val1
2
1,135
thread by: beginner76 | last post Jul 9 '13 by: Killer42
Hello everyone, I am trying to improve a program written in Visual Basic 6.0. The program will load data from a BL file to the database, then I found there is a bug here. The program always missing some data, especially the last data of the file. I read the program code and guess maybe the mouse pointer effects the program,so I tried to...
3
2,605
thread by: muddasirmunir | last post Jul 9 '13 by: Killer42
I am using vb6. I want to make a function that disply next day. I am using this formul date1.day= date1.day +1 but it will give error if the day is last day of the month or last day of the year.
2
3,671
thread by: prabhu kannan | last post Jul 9 '13 by: Killer42
pls help me to find the duplicate record in vb6 i'm using access 2007. and my code is.. If (rs2.Fields(0) = copnme_txt.Text) Then reset Else rs2.AddNew rs2.Fields(0) = copnme_txt.Text rs2.Update reset End If
1
1,519
thread by: gonzajm | last post Jul 9 '13 by: Killer42
Hi guys, I have a txt file that only read the first or only one line line and then skip and not scan the rest of the file. I use vb6. I use the following code: Dim cont, n_fil As Integer Dim mivariable As String n_fil = FreeFile

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.