vba x 200

12,155 Topics

Member Avatar for
Member Avatar for eiven_05
Member Avatar for AndreRet
0
608
Member Avatar for abelingaw

How do i populate a combobox with values from a certain field on my database when i click the control? My combobox control name :cbodept Dbase table: Offices and Dbase Table field is: Office Preferably code. Thanks

Member Avatar for AndreRet
0
121
Member Avatar for MrCapuchino

Hi, I have a form which has the property StartPosition set to Center Screen It works, but if I change the property FormBorderStyle to something, the Center Screen property stops working? Why is this happening? Thanks in advance

Member Avatar for darkagn
0
202
Member Avatar for game4tress

Hi I need to migrate an application from MS Access to SQL Server (2005), and i'm using the code bellow, but i'm getting an error when the compiler reaches the AddNew instruction. It gives me "Run-time error '3027': Can't update. Database or object is read-only". [code] Dim DBTesteSQL As Database …

Member Avatar for AndreRet
0
402
Member Avatar for srinivasan12345

hi, i want to receive a ascii value from rs232 port and then it should be displayed in terms of decimal.. i am using VB for programing... the ascii value comes from a micro controller.. can anyone help me...

Member Avatar for AndreRet
0
139
Member Avatar for eiven_05

when you type a last name on the textbox then on the datagrid,for example i ype letter "S" then the datagrid will show all the las names that starts with letter "S" how it is???

Member Avatar for AndreRet
0
114
Member Avatar for virl2806

i'm using checklistbox, i want to display data from sql database in checklistbox with check when particular id number inputted in textbox. Please Help...I'm new with visual basic... thanks..

Member Avatar for kvprajapati
0
33
Member Avatar for jhudielpeco

Please help me on my project. I used this for my log in form. The registration form worked well and its easy for me. There are many errors almost 3. The errors are on the first 3 statements. line 1: syntax error (missing operator) in query expression 'ID Number = …

Member Avatar for jhai_salvador
0
138
Member Avatar for basma.lm

hi, i'm using visual csharp 2008 express edition which doesn't contain the Report viewer control. i downloaded Microsoft Report Viewer Redistributable 2008, i install it and i try to add it to the toolbar by clicking on( Tools/ choose toolbox items) but i can't find it in the list of …

Member Avatar for kickingbird
0
136
Member Avatar for neosonic

Hi all, Please give me some inputs about my situation, because I know that you have more experience than me. I have a program that is written in vb6, which is near to the completion. I would like to start selling the program at the beginning of next year. My …

Member Avatar for AndreRet
0
239
Member Avatar for gingank

Ho guys i got question need to ask about the if else statement: Can i write like this IF CUST= "A" OR CUST = "B" OR CUST = "C" THEN CUST = "A , B ,C " Then statement i pal is if i key either A , B or …

Member Avatar for AndreRet
0
223
Member Avatar for EddyLLC

Using the following code I have a questions. .Fields(intFldCntr) = 2.66666666666667 yet after loading it into arrWhite(intIndex), arrWhite(intIndex) = 3. I'm working to get some weighted averages so I want the actual number. How can I prevent it from being rounded when I load it into the array? Thanks. Dim …

Member Avatar for ChrisPadgham
0
119
Member Avatar for xtianenikkian

i have a student maintenance form in my program im using this code to update the database Adodc1.Recordset.Update Adodc1.Recordset!StudName = txtStudName.Text Adodc1.Recordset!StudId = txtStudId.Text Adodc1.Recordset!Course = cboCourse.Text Adodc1.Recordset!Section = cboSection.Text Adodc1.Recordset!first_day = cbo1day.Text Adodc1.Recordset!FDlogin = cbo1.Text Adodc1.Recordset!FDlogout = cbo11.Text Adodc1.Recordset!second_day = cbo2day.Text Adodc1.Recordset!SDlogin = cbo2.Text Adodc1.Recordset!SDlogout = cbo22.Text Adodc1.Recordset!third_day = …

Member Avatar for xtianenikkian
0
235
Member Avatar for dre-logics

I have an application X version 1.0 in Visual Basic 2008 and forwarded through setup installed on a user's PC. In this application was in these settings: Imports System Imports MySql.Data.MySqlClient Now you have a link to webshop and uses HttpWebRequest. There fore I added the following settings : Imports …

Member Avatar for Teme64
0
125
Member Avatar for PM312

i have created a user control for text box to enter date. I have saved time and effots to type for each text (date) box code to check date validity and key typed. but i have lost text and locked property of text box as it is not available on …

Member Avatar for AndreRet
0
145
Member Avatar for eiven_05

hi there i want to ask if how to transfer data from datagrid to textbox using vb6.0!i'm using Ms Access 2007!!!the code that i have are already ok when saving the information on the Access my problem is i dont know the codes to transfer the data from datagrid on …

Member Avatar for peter_budo
0
163
Member Avatar for raven_rainagi
Member Avatar for AndreRet
0
65
Member Avatar for theweakestlink

plz help me to make media player in vb6 or vb2010.. not using windows media player.. need in my finals project plz help me... thank you..

Member Avatar for AndreRet
-2
30
Member Avatar for hachikocares

uhm, hello, i was hoping if anyone here can help me with my project its due on next week, im gonna fail if i dont submit this one, problem is i dont really understand visual basic, so im seeking for help here.. well here it goes.. i was asked by …

Member Avatar for AndreRet
0
126
Member Avatar for 3d0army

I noticed in vb 2008, you can right click a text box, and in that menu it says, "Text" or something of that variation. You can paste all of the text right there, and your program will start with that text in it. I was wondering if there was a …

Member Avatar for AndreRet
0
317
Member Avatar for cindy s

hey guys, Im having a bif of a nightmare. I was up late last night finishing a project in VB6 but when i try to open it today it wont open, well at least the form design window. If i click the play button i can see the interface of …

Member Avatar for AndreRet
0
96
Member Avatar for Bala14726

Respected Friends.. I need help from your side.. Im using Visual Basic 6.0 with MS Access, I wish to create a automatic serial number for my program, It will show HITE001.. HITE002...HTTE003... same time it will show in form load stage it will automatically show in combo box( last record …

Member Avatar for AndreRet
0
221
Member Avatar for stevelll

I am a total Visual Basic (VB) novice & am thinking about learning VB; but, before I do expend the time, there’s three question that I need answered first: Can anyone tell me if a VB program can control mouse clicks & program options in a PhotoImpact (a non-Microsoft photo …

Member Avatar for AndreRet
0
119
Member Avatar for frexyang

Hi, Need help in creating backup/restore on database using SQL Server 2005 with VB6.0 code when the database is on the network. Please Help. frexyang

Member Avatar for AndreRet
0
2K
Member Avatar for ColMatrix

Hello, I would like some help if anyone can. I have researched, research and I just cant do it anymore - I have to ask. Before I do, I know this is probably a simple answer, and your fed up of explainng it but from my research (lots) the example …

Member Avatar for erezschatz
1
302
Member Avatar for PM312

i am using font style [B]Bookman Old Style [/B]and size 12 for my Project but the default font type is Ms Sans Serif and size is 8. Can default size be set to Bookman Old Style and font size 12. Thanks

Member Avatar for PM312
0
162
Member Avatar for martin11ph

Hi, I have a WebBrowser control that accesses an IP cam on the same network on form load. The camera has a login interface that I don't want to be seen. Is it possible to autocomplete the form once it pops up? Attached is a screen shot.

Member Avatar for martin11ph
0
141
Member Avatar for ashwin149

thanks a lot I need another code where once I enter a text into a text box i need the data to be transferred to MS access without erasing any data(a new record is to be created)

Member Avatar for AndreRet
1
146
Member Avatar for abelingaw

Is it possible to print a report in VB using only Data Environment. I mean setting the textboxes only to datasource and datafields in the record I really dont want to use codes (RS, things like that) cause you see, I'm kind of a rushing so i don't have much …

Member Avatar for AndreRet
0
370
Member Avatar for arvin2006

hi everyone. i have problem with SQL UPDATE command, with Add and Save Record, Delete Record and Search record, it works well, I have this code: for SAVE Command button squery = "": squery = "SELECT * FROM tblEmp WHERE EmpID=" & txtEmpID.Text & "" Call ExecuteCommand With rs .Open …

Member Avatar for danmae
0
165
Member Avatar for simonfoley

Hi there More noob questions from yours truly! As part of the application I'm writing in Visual Basic, I have written code to display records in text boxes and cycle through each of them one record at a time. I'm having trouble getting the code I've written to update records …

Member Avatar for ShahanDev
0
141
Member Avatar for riiseuk

Hi there, I'm a bit of a newbie when it comes to C# and only had previous experience with Visual Basic. The problem i'm having revolves around a program I need to create too look at Students marks, the idea is the user inputs the marks and to end the …

Member Avatar for riiseuk
0
135
Member Avatar for ruudmu7

Hi, I'm currently using vb6. i need help. How can I increment a number in a textbox/label everytime when the form is loaded? Suppose company_id I want that first time when the form gets loaded Customer_id should appear in the textbox/label as C01. Second time it should appear as C02. …

Member Avatar for khan.777
0
2K
Member Avatar for JD69

hi im trying to link a browse button to a textbox when the user clicks the browse button and selects a destination the selection is displayed in the textbox thanks for your help

Member Avatar for nytro
0
132
Member Avatar for problematic:)

hi :) can anyone tell me how to pass data from datagrid to several textboxes. I have a textbox where the user can search a data. The data searched would display in the datagrid, so when I clicked on a data from the datagrid, it will be distributed to their …

Member Avatar for AndreRet
0
111
Member Avatar for PM312

i am trying to trigger tab key in keypress event of text box If KeyAscii = 13 Then SendKeys "{tab}" End If [U]but getting error[/U] Run time error 70 permission denied any help

Member Avatar for AndreRet
0
1K
Member Avatar for JD69

I have a form that has 5 text fields... TextField1 TextField2 TextField3 TextField4 TextField5 I need to automatically input those fields into a website via a button. The Website link is [url]http://192.168.2.23[/url] -Next i have to click login -enter a password Admin00 and select ok -Click on Basic -Click on …

Member Avatar for codeorder
0
128
Member Avatar for JD69

Visual Basic 2008 here is a code that will show you your smtp server Dim info As New ProcessStartInfo("nslookup", "-type=mx -timeout=30 sendmail.org") With info .RedirectStandardOutput = True .UseShellExecute = False .CreateNoWindow = True End With Dim proc As Process = Process.Start(info) Me.ResultTextBox.Text = proc.StandardOutput.ReadToEnd proc.Dispose() but how do i link …

0
91
Member Avatar for problematic:)

hi. HAPPY NEW YEAR! :) I'm making a system that uses ms access2003 and vb6. My problem is how to search the database with two field names (namely: Lastname, Firstname) and yet I can still search them one by one. Ex. the Lastname field = "Smith" while the Firstname field …

Member Avatar for ChrisPadgham
1
631
Member Avatar for Senefelder

I have recently renovated the [B]GFWR Software [/B]site at [B]members.shaw.ca/gfwrsoftware[/B]. In former days, it easily allowed readers to download installer files for the freeware programs I write in Visual Basic 6. Now, however, [I]WHEN PUBLISHED[/I], an attempt at downloading causes an error stating "The website declined to show this page", …

Member Avatar for Senefelder
0
99
Member Avatar for Senefelder

I have recently renovated the GFWR Software site at members.shaw.ca/gfwrsoftware. In former days, it easily allowed readers to download installer files for the freeware programs I write in Visual Basic 6. Now, however, WHEN PUBLISHED, an attempt at downloading causes an error stating "The website declined to show this page", …

Member Avatar for Senefelder
0
192
Member Avatar for rajeshap

Hello, I am Using VB 6.0 . Please Help me to get the codes to Create Backup and Restore in SQL server 7.0. I request Some one to help me at the earliest. Rajesh

Member Avatar for AndreRet
0
266
Member Avatar for daniwaber

Hi, After I packaged the project and deployed it on another computer without VB6 installed on it, Every thing works properly except the Reports. when I try to call the Report it gives error "Application-defined or Object defined error" and Report does not open. If you install VB6 this problem …

Member Avatar for AndreRet
0
2K
Member Avatar for Pemike2

I am a young programmer faced with a situation. I need help in getting a vb application to be an internet based system. Please help anybody

Member Avatar for AndreRet
0
124
Member Avatar for JD69

I have the code to create a folder, does anyone have the code to share the folder and set the permission for everyone to have full control? Thank You

Member Avatar for kvprajapati
0
73
Member Avatar for jhai_salvador

Hi! I just want to share you this code snippet of mine which I use always in my application. This code snippet will help you debug your code easily. It will also help you locate where the error occurred and it also create an Error log located on your project …

Member Avatar for jhai_salvador
0
1K
Member Avatar for wewehalim

Hi, i am developing a software using microsoft visual studio basic 2010. I set up a connection string to my server and take the data from there. I am using gridcontrolview and put my "product" table in here. It contain 4 column: systemid, system, actualid, description. I want to display …

Member Avatar for kvprajapati
0
108
Member Avatar for dre-logics

I use Visual Basic 2008 I have this code : [CODE] ' this picture i want enclose in the URL '========================================================== Dim PicBuffer() As Byte PicBuffer = IO.File.ReadAllBytes("c:\picture1.png") ' ========================================================== Dim Request As HttpWebRequest Dim Response As HttpWebResponse Request = WebRequest.Create("http://api.online....nl/update.xml?type=add&tabel=groups&name=test") Request.Method = "GET" Response = Request.GetResponse Dim reader As …

Member Avatar for kvprajapati
0
149
Member Avatar for wewehalim

I use Docmd Open query to open one append query in the script that has another code in it. When I run the script, this option will opo out: "You are about to run an append query that will modify data in your table" "Yes/No" If I answered "Yes", the …

Member Avatar for ChrisPadgham
0
140
Member Avatar for JD69

Hi i've been searching everywhere to try to get this setup. I am running Visual Basic 2008 I have 1 Combo Box that Has 3 Entries, Kyocera>Konica>Toshiba I have a 2nd Combo Box that has entries for each of those manufactors...Kyocera has 3035,4035,5035....the konica has c250,c352,c452......the Toshiba has c3520, 4520 …

Member Avatar for JD69
0
120

The End.