vba x 200

12,155 Topics

Member Avatar for
Member Avatar for Mafiamanandre

Hi all. I would like to know how can I code form1 to open form2 immediately when form1 loaded in Visual Basic? eg. Form1 opens and immediately form2 opens. This is almost like website redirection. Thanks.

Member Avatar for DM Galaxy
0
539
Member Avatar for mbf97316

How can I save the data comes from my flexgrid and save it to my access using vb6? Private Sub Command2_Click() opendata With save .AddNew !product = fg.Col = 1: !quantity = fg.Col = 2: !price = fg.Col = 3: !total_price = fg.Col = 4 .Update End With End Sub

0
87
Member Avatar for prettyboy

dear all, i'm doing a project which involve shape (arc, circles and rectangles) i'm a newbie on VB6, done the easy shapes but problem on drawing the arc on the form to form a half-moon shape. any help or link on this will be great and appreciated. thnx in advance

Member Avatar for Bruce52
0
1K
Member Avatar for Saboor880

I want to know that what is scope of visual basic in professional field now a days?

Member Avatar for ddanbe
0
69
Member Avatar for Yani18

lright, I have a combobox with a list of Food names, and the user can also add food names. How would I make this print or go to a print preview page

Member Avatar for Mr.M
0
104
Member Avatar for duke2303888

Ok this may sound strange but I have an app that pulls records form a DB then puts them in a string ready for me to send out :) yay works fine but now i want to add 2 records at the top of the report every time so record …

Member Avatar for Reverend Jim
0
127
Member Avatar for baabjitvk
0
76
Member Avatar for mavtcr

Friends, I have a Database in Access, Table Name- Master . Structure is given below Mno=Membership no in digits Name=Member's Name Fno=Family number in digits Fname=name of the family Faddress=Address of family Fphone=Telephone of Family The database contains several records where some members come under the same family.In other words,Suppose …

Member Avatar for mavtcr
0
259
Member Avatar for Yorkiebar14

Hello, I have been using StreamWriters for a long and time and it has always worked but now I seem to be getting an Access Denied error while trying to save to the current users Desktop... Dim savePath As String = "C:\Users\Josh\Desktop\EpiPhone\029.csv" Using sw As New StreamWriter(savePath) '...Rest of code... …

Member Avatar for Jamblaster
0
816
Member Avatar for nitos

hi i have msflexgrid with 4 columns; date, Name, Agent and Amount. Am looking for help on how i can show totals on the amount column to show below the last figure on the amount column.. i will appreciate any suggestion or help thanx

Member Avatar for Sunil_11
0
1K
Member Avatar for willie.lemaitre.9

Good day all, and thank you for this awesome site! Please could you help? I have an app that I regularly improve, and have sold to many clients. Until just befoire Windows 7 all was fantastic, but now I am running into security / access errors! My app would check …

0
188
Member Avatar for willie.lemaitre.9

Good day all! And thank you for a great Site :). I have developed an applcation that also now has to print barcode stickers, using VB6. Is there anyone here that has done that before please?

0
192
Member Avatar for vikashpatel

Hi, I want to make my application for online registration based software,any customer register my applcation from anywhere. actually my applcation made in vb 6.0 and sqlserver 2005

Member Avatar for willie.lemaitre.9
0
312
Member Avatar for SaRa Ahmad

hi everyone i need to show the form in taskbar , i set the Property ShowInTaskbar to true but the form didnt show , any help ??

0
76
Member Avatar for CorpsMarshal

Paying Off Credit Card Debt Each month, a credit card statement will come with the option for you to pay a minimum amount of your charge, usually 2% of the balance due. However, the credit card company earns money by charging interest on the balance that you don't pay. So …

Member Avatar for Reverend Jim
0
413
Member Avatar for bhavya nomula
Member Avatar for debasisdas
0
93
Member Avatar for styleest

Please help, I am trying to insert but it is saying syntax error con.Execute ("INSERT INTO Contacts VALUES('" & lblRecordID.Caption & "', " & Replace(UserID, "'", "''") & ",'" & Replace(txtfolio.Text, "'", "''") & "','" & Replace(txtsname.Text, "'", "''") & "', '" & Replace(txtfname.Text, "'", "''") & "', '" & …

Member Avatar for debasisdas
0
117
Member Avatar for thomale

i have the following fields in my access application. 1.studentid 2.grade e.g A,B,C..... IN COMBOBOX 3.GRADING SYSTEM E.G A= 4.00,A- = 367 IN COMBOBOX I WANTED IF ICHOOSE A , I GET 4.00 AUTOMATICALLY QUICK REPLY WILL BE APPRECIATED

Member Avatar for Member #949455
0
249
Member Avatar for thomale

i have trancript generating application in access. these are the fields 1. studentid 2.grade in combobox(A,B,C---) 3.grading system IN COMBOX(4.00,3.67---) I WANTED IF I CHOOSE A,I BE ABLE TO GET 4.00 AUTOMATICALLY IN GRADING SYSTEM COMBOBOX. quick reply will be appreciated

Member Avatar for Member #949455
0
212
Member Avatar for thomale

I I have an application in access 2010 which is mainly for generation of tranascripts. i have the following fields. 1.Grade(A,B,C-----) IN combo box 2.grade points e.g (4.00,3.67......) IN combo box 3.credit hours e.g(3,2,1,0) in combobox I wanted if i choose A(grade) for example from the combobox, i be able …

Member Avatar for Member #949455
0
231
Member Avatar for robert.knighton.79

I tried using a solution to a very similar question here but it doesnt work for large files like the one I'm using. http://www.daniweb.com/software-development/vbnet/threads/320160/visual-basic-reading-text-file-into-array The code from that question: Dim OpenAnswerFile As New OpenFileDialog Dim strFileName() As String '// String Array. Dim tempStr As String = "" '// temp String …

Member Avatar for Reverend Jim
0
4K
Member Avatar for limesight18

[CODE]dim H, M, S, AMPM as strings DTPicker1.Hour = H DTPicker1.Minute = M DTPicker1.Second = S DTPicker1.?????? = AMPM [/CODE] im having a problem on how i can change the DTpickers AM/PM in codes im trying to load a time from a database to DTPicker, ive Split the (field loaded …

Member Avatar for ricardo.driju
0
1K
Member Avatar for Sneaky Pete

Hello, I've got a question about vba in excel. I hope you can help me with this issue. In a sheet, I want to loop through column G to check if het value is "Yes" or "No" So for, no problem, but... When a cell in the loop has got …

0
68
Member Avatar for archangel1177

Hi all, I have an interesting challenge that so far I have not been able to correct. What I have is a workbook that tracks orders and when they are recieved the sheet then copies the row that was completed and then it moves it to a second sheet for …

0
110
Member Avatar for Saboor880

Explain me what is meant by form level variables in visual basic? and how to declare these variables?

Member Avatar for tinstaafl
0
60
Member Avatar for whatthebobo

I have an assigment where I am to create a program to calculate BMI. I wrote the program and would like to have someone check it to see if there are any mistakes I need to correct. //Declare variables double weight, height, bmi = 0; //Prompt user for weight in …

0
219
Member Avatar for jomared145

'I have a problem in database Program in VB 6.0 that connects to Ms access which the field datatype is OLE object. ' here is my problem 'when i tried to run my program i always got this error message '"System Error &H80040E00 (-2147217920)" 'here is my code for uploading …

Member Avatar for nkwuda.mathias
0
279
Member Avatar for DM Galaxy

As I watch one of the videoon net on screen recorder. I watch that by adding reference > com > hycam2 is visible. (this is the important else I can't create my app) So I browse the hypercam2 Directory. And try to add the file: hycam2.tlb But pop up msg …

Member Avatar for DM Galaxy
0
378
Member Avatar for Mr.LK

'I have a problem in database Program in VB 6.0 that connects to Ms access which the field datatype is OLE object. ' here is my problem 'when i tried to run my program i always got this error message '"System Error &H80040E00 (-2147217920)" 'here is my code for uploading …

0
67
Member Avatar for xirosen

[CODE]Hi.... can everyone help me pls in how to make program using visual basic that can Preview documents before printing.. Help me pls.. thanks...[/CODE]

Member Avatar for babrad
0
2K
Member Avatar for EXTRA_RICE

i am using vb2010 express. can u pls tell me wat is the code for delete?bcoz when im doing delete my database is not updating after i exit.i can add item in database but i cant delete it.any help?thanx guys? hope u understand my problem.

Member Avatar for Reverend Jim
0
172
Member Avatar for alina.nazchowdhury

I get lots of error in my program like: Warning 1 WithEvents variable 'Close' conflicts with sub 'Close' in the base class 'Form' and should be declared 'Shadows'. C:\Documents and Settings\Alina\My Documents\Visual Studio 2008\Projects\WindowsApplication1\WindowsApplication1\Form1.Designer.vb 321 23 WindowsApplication1 Error 2 Expression is not a method. C:\Documents and Settings\Alina\My Documents\Visual Studio 2008\Projects\WindowsApplication1\WindowsApplication1\Form1.vb …

0
118
Member Avatar for chumz.delossantos

hi PL masters can you pls help me with my codes for my thesis about combo box i'm a BSIT4 student in Leyte. i have a combo box named "category" the list below the box are "date" and "name" if i click date then two text box would appear text1 …

0
65
Member Avatar for bullet_1

I am using the following code to create a log file but getting an error "User-defined type not defined" Help me Thanks in advance Sub main() Dim dDate As Date Dim boDP As busobj.DataProvider 'error occured Dim sLast As String Dim sFileName As String Dim sDir As String Dim dTime …

Member Avatar for bullet_1
0
281
Member Avatar for Mafiamanandre

Hi all, I have a form in visual basic with about 62 textboxes. On this form is two columns of textboxes. Textbox 61 -62 is a total textbox for each column. When the user types in digits to 60 textboxes the program must add it up automatically to textbox61/62. My …

Member Avatar for Reverend Jim
0
994
Member Avatar for Sharad_2

cnsrvlist3.open "Provider=SQLOLEDB.1;Data Source="& strDrserver &";Integrated Security=SSPI" msgbox("ABC") msgbox(cnsrvlist3.state) cmdsrvlist3.activeconnection = cnsrvlist3 I am trying to check the state of connection, The code works fine if the connection is fine but when any Database server is down then in that case the state should come as 0 instead of that it …

0
49
Member Avatar for SpectateSwamp

Do you use it. I do. All the time. My main program is made to be killed and restarted lots. With the short-cut link in the upper right I can start and stop the prog with little movement. When you use just one app for everything. It should reside at …

0
144
Member Avatar for sonunclejalil

my problem is i want to save a date from label in vb to field in ms access but i do not know that problem with my coding, the error appear is run-time error 91 object variable or with block variable not set, can anyone check my coding? Dim Con …

Member Avatar for sonunclejalil
0
550
Member Avatar for Abhishek_Singh

Hi there, This is the code for opening various files using vb applicaton but here i need to provide the path for file. i want to open any file using vb app using Open Dialog control. Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation …

Member Avatar for bullet_1
0
317
Member Avatar for tipdarath.phal

what code should i write in VBA if i want the textbox to show the same as my label caption?

Member Avatar for Reverend Jim
0
166
Member Avatar for carolyn85

please help write a program which displays a multiplication table using visual basic 6.0 can someone send me database tutorials of visual basic 6.0

Member Avatar for Stuugie
0
85
Member Avatar for DM Galaxy

I am in wonder. I just make a slideshow form and add the context menu strip as when the user click on download image then current image get copy and paste on the desktop. I use path and destination method in this but they say bitmap cannot be converted into …

Member Avatar for DM Galaxy
0
497
Member Avatar for amitash

Hi, I want to write a VBA macro in Word that open an Excel file, save that Excel file to another file (to another name), and then clear all content of the original Excel file. How to do that? Thanks!

Member Avatar for Dieter123
0
510
Member Avatar for jakub.peciak

Issue to read some part of XML file. Here is my XML file: <Report> <orders> <order savedby="manager" time="12:33:09"> <header saledate="04/Oct/2013" saletime="12:33:09" reqtime="12:33:09" /> <customer name="-" accname="123465" /> <payments> <payment transid="1" method="7" vposuser="manager" cardtype="" value="2.95"></payment> </payments> <totals deliverycharge="" splitdelchgstore="" splitdelchgdriver="" sercharge="0.00" /> <products> <product type="cookbook" qty="1" prodid="10000564" listprice="0.00" sellprice="10.00"> <stock /> …

Member Avatar for ravikash123
0
184
Member Avatar for jared.geli

hi I'm having problems in my crystal report where all the selected rows in my datagrid will show up in my crystal report but instead it showing me an exception selectcommand.connection has not been initialized here's my code in my form where the datagrid is: Dim cmd As OleDbCommand = …

Member Avatar for jared.geli
0
363
Member Avatar for locsin

greetings! When i First start my VB6 program with data report it works fine. The report displayed directly. but when i try to open other programs in other directory and then when i re-run my program in data report operation a msgbox appear "Please Enter MS Jet OLE DB Initialization …

Member Avatar for yokoshima.mur
0
3K
Member Avatar for bullet_1

I can search and find text in word doc through vba but I dont understand how to search images Its a big problem to me Can anybody help me thanks in advance

Member Avatar for Zephaniah
0
137
Member Avatar for alina.nazchowdhury

i made on screen keyboard program with visual basic 2008, i run it, its working great, i save it and then i wanted to open it again to review it, but its only showing me the code, i can not run it anymore. Anybody give me an answer to my …

0
124
Member Avatar for Abhishek_Singh

Private Sub Command1_Click() Shell ("cmd.exe") End Sub Private Sub Command2_Click() Shell ("calc.exe") End Sub Private Sub Command3_Click() Shell ("explorer.exe") End Sub Private Sub Command4_Click() Shell "winver.exe" End Sub Private Sub Command5_Click() Shell "C:\Program Files\Windows Media Player\wmplayer.exe" End Sub above code is able to open the pre-installed windows programs. But now …

Member Avatar for Assembly Guy
0
200
Member Avatar for ikocrush

I have problem connecting vb 6.0 to wamp(mysql, myphpadmin) server on my LAN. It connects to server on the same laptop using localhost but cannot be accessed by other Pcs using ip address. What could be the problem? Please, i need your help on this. OS=windows 7. below is my …

0
81

The End.