12,155 Topics
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.
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
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
I want to know that what is scope of visual basic in professional field now a days?
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
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 …
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 …
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... …
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
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 …
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?
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
hi everyone i need to show the form in taskbar , i set the Property ShowInTaskbar to true but the form didnt show , any help ??
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 …
can i have an abstacr for human resource management system please..
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, "'", "''") & "', '" & …
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
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
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 …
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 …
[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 …
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 …
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 …
Explain me what is meant by form level variables in visual basic? and how to declare these variables?
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 …
'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 …
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 …
'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 …
[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]
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.
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
what code should i write in VBA if i want the textbox to show the same as my label caption?
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
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 …
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!
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 /> …
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 = …
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 …
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
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 …
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 …
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 …
The End.