12,425 Topics

Member Avatar for
Member Avatar for neosonic

Hi, I am using vb6 to manipulate my word 2003 template .dot and save it into .doc. My current method is: I am creating I word class, called W. then I use: W.activedocument.SaveAs "documentname.doc", 0, 0, "". 1, "", 0, 0, 0, 0, 0 It can be used perfectly for …

Member Avatar for AndreRet
0
2K
Member Avatar for PM312

i am typing below code in each and every date text box keypress event to allow numbers and back slash keys only. can any function or subroutine be created to avoide typing same code again and again in the project. [CODE]Private Sub Text1_KeyPress(KeyAscii As Integer) Dim ch As String ch …

Member Avatar for PM312
0
68
Member Avatar for eiven_05
Member Avatar for AndreRet
0
595
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
107
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
377
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
126
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
102
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
28
Member Avatar for toast4lunch

well I followed the steps before posting and it seemed to solve the problem but here is the logs anyway: GMER 1.0.15.15530 - [url]http://www.gmer.net[/url] Rootkit quick scan 2011-01-15 13:46:00 Windows 6.0.6002 Service Pack 2 Harddisk0\DR0 -> \Device\Ide\IdeDeviceP2T0L0-4 TOSHIBA_MK1637GSX rev.DL032C Running: xrsodq7v.exe; Driver: C:\Users\Owner\AppData\Local\Temp\uwldrpob.sys ---- Devices - GMER 1.0.15 ---- AttachedDevice …

Member Avatar for crunchie
0
565
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
126
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
229
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
206
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
106
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
221
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
113
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
130
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
153
Member Avatar for raven_rainagi
Member Avatar for AndreRet
0
56
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
23
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
118
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
251
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
91
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
213
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
105
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
285
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
134
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
131
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
136
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
357
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
145
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
132
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
127
Member Avatar for omokop

[code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- saved from url=(0233)[url]http://employer.dice.com/talentmatch/servlet/TalentmatchSearch?op=201&dockey=xml/5/8/588dc5c2940163a08ac76fd58199497b@endecaindex&cskr=1&ranking=0&FREE_TEXT=oracle%2Boracles%2B&DESIRED_POSITION=%2B&RECENT_EMPLOYER=%2B&SCHOOL_NAME=%2B[/url] --> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>About Steve Peters </title> <style type="text/css"> #wrapper { width: 318px; } #btnHeader { background-image: url( /assets/images/notes_head.gif ); width: 318px; height: 36px; padding: 0; margin: 0; font-size: 11px; font-family: Arial, Helvetica, sans-serif; …

-4
85
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
113
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
103
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
122
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
81
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
620
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
95
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
180
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
241
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
114
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
69
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
105
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
116

The End.