16,916 Topics
![]() | |
I am unable to insert data into database, plz help me out. This is my code using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace labsoft { public partial class test_group : Form { Form opener; public test_group(Form parentForm) { InitializeComponent(); opener … | |
Can't Update my User Table "Hours" "Minutes" "Seconds" from the current value of the timer where it has stopped I used button to stop the time Imports System.Data.OleDb Public Class frmMain Public hh As Integer Public mm As Integer Public ss As Integer Public totalsec As Integer Public timercount As … ![]() | |
## Hey Guys ## , I've recently stopped doing some of the projects which I wanted to do and took a look at SQL and came across Microsoft SQL and i was pretty pleased with wha tit can do so i downloaded the program and watched some basic MSSQL tutorials … | |
Hello, thing is Im doing my systems engineering internship in the systems department of a mall... the manager told me about a project they have in mind... and intranet were store owners can communicate with the mall to report problems and inform of payments. On this intranet, different departments of … | |
I have started a program that should be able to do basic cryptography functions such as reassigning letters to different letters. How I did this was by coverting each letter to an ASCii value and then storing them in an array. I am working with only the lower case letters … | |
Compute the Sub total ( Beginning Balance + Deposits – Withdrawals) d. Compute the Interest Earned. If the Subtotal is greater than 5000.00 the interest rate is 2 percent otherwise 1 percent. e. Compute Endin g Balance (Sub Total + Interest EarneD) Display the Interest Earned and Ending Balance in … | |
Is it posible to connect my vb6.0 program to a wamp(mysql, myphpadmin) server on my pc. If i use my program to other part of our country, can i still connect to the wamp server? This is my challenge for a job, the IT personel from a company i am … | |
good day.. i have a slight problem in my enrolment sytem. im new in vb programming, and this problem perfectly work in stressing out and pressuring me as begginer. i have a listbox that contains all filtered data from my database. and i want it (all entry in the filtered … | |
how to insert data into datagridview from sql table using recordset in vb6.0 | |
I am making a login system that records time in and time out for students.. but the student can't sign in if already "Signed In" and student can't sign Out if already "signed out" that is why i have three form. **THE CONCEPT OF THE PROGRAM: When i log in … | |
Hi all, I have installed SAP Crystal report for Visual Studio 2010 successfully on PC(.NET4.0, Windows Vista, Visual Studio Ultimate 2010). Now When I am going to add rpt file in my existing project, It automatically create .mht file and not .rpt file, that .mht file containing instructions and link … | |
please explain me how to get database server name in VB6 applications | |
I am new to classes and was trying to create an elmentary program to understand classes and objects. I ve created three files 1) header file for class declaration 2) class definition .cpp file 3) class implementation main .cpp file I cannot understand the error I am getting. Please help. … | |
i want to print my form that fit to my letter size paper but everytime i print the form its incomplete at the lower part, i mean the printer stops printing when it finished printing the 3/4 of the form. i always set the scale width and height and set … | |
THIS CODE IS WORKING,, BUT WHEN THE SECOND TIME LOGGING IN IT DOUBLE CHECKED LIKE 2 FORMS OPEN and 4 MESSAGE BOX APPEAR Private Sub btnSign_Click(sender As Object, e As EventArgs) Handles btnSign.Click Dim connectionString As String connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Renz\Documents\Visual Studio 2012\FINAL\Database\AuditDB.mdb" sql = "Select ID, LASTNAME, FIRSTNAME, LOGINSTATUS … | |
I am using following where it replaces entities like < with <, > with >, &alpha wth α but i need replace "<", ">", "@"......with unique codes like < , > .......... Public Function QuickRead(FName As String) As Variant Dim i As Integer Dim res As String Dim l As … | |
I am currently trying to make a simple file uploader using http://msdn.microsoft.com/en-us/library/w3kksch7.aspx and its pretty straight forward except I keep getting the error Access To the path 'E:\Temporary' is denied I tried running visual studio 2012 as admin I already change the directory (It was at C: earlier) Help and … | |
Well, I do not find solution, if any help me would be great, here the code and where the error log is visual c + + 2012 // ver1.1.cpp: define el punto de entrada de la aplicación de consola. // #include "stdafx.h" /* examples/standalone_example_docs1.cpp */ /* Standard C++ includes */ … | |
Hi guys, I Make a simple program with VB6, it's OK if i'm running in windows xp or server, but in vista i'm get error message : "Component 'comdlg32.ocx' or one its dependencies not correctly registered: a file missing or invalid" Any body have solutions for this problem, because i … | |
My client's pc is missing comdlg32.ocx. He recently formatted his hard disk. Due to this my program's installation file is not working and its giving message : 'ComDLG32.ocx or one of its dependencies not correct registered i dont want the user to type command manually in to register the control … | |
Im using Microsoft Visual Studio 2012 and Microsoft Access What code/sql will I add to check whether User is an admin or a regular user? so it can load to a Admin form or Regular user form. My professor told me to use a FieldName "LoginType" in my database.. but … | |
good day... did any anyone know how to put the filtered items in listview into a data report? TIA | |
I am using Windows 8 and visual studio, it used to work good never had a problem, yesterday started to give me this problem everytime i run a website it gives me this message, and i know did not change anything on configuration, Error 403.14 - Forbidden The Web server … | |
Dear all, i have alreay created a small program which is used to store input data in textbox in database. the program is consist of two buttons and one text box . Private Sub add_Click() ''' when i click on this button i can add any thing in textbox Data1.Recordset.AddNew … | |
I'am trying to make a color mix program and is giving me this :Error Invalid Use Of Property. I guess is because i have to put some values for colors, but i don't know how. This is the code, hope somebody help me: Private Sub Command1_Click() Picture1.BackColor RGB(Text1, Text2, Text3) … | |
![]() | hello programming gurus Am a newbie in visual basics,need some ideas on how to go about my project stated above. it should be able to: 1) allow me to see random generated line and shape patterns 2) choose a list of numbers the ratio of the width to the height … ![]() |
i want help guys, very soon we will be asked for projects at our college, so please help if you know any that does not require peripheral equipment but a computer. a system that is very usefull | |
Hello peeps! I need some help to decrypt my text file and make it able to read in my program.. What I have programmed so far is to read the encrypted file, create a new file, decrypt it and read the newly created file.. I need to decrypt the encrypted … | |
Hye there Plz help me to print the Column of ListView as a receipt.I have no idea how to print ,i have to use datareport of VB6. or what? this is an VB6 project. waiting for reply zeb noon | |
i HAVE an excel file . and on sheet 1 i have some data in column A. i want to all the data from column A to list box 1 on form 1 in visual basic 2008 but how? Regards Mahaveer | |
How to use a loop and an update query to update all the records of a column? | |
i need to develop a software in which i can connect to a handpunch1000 throug vb.net and collect data , i am using visual studio 2010 any help ? | |
I am using the following code which creates a toolbar button on excel menu. On button click it executes a macro Private Sub Command1_Click() ' Start Word Dim wdapp As Object 'Excel.Application Set wdapp = CreateObject("Word.Application") ' Make it visible... wdapp.Visible = True ' Add a new workbook Dim xlbook … | |
Im suppose to write a program that accepts five input values and stores them into an array. The program should then display the average of the five numbers. Finally, the program should display all the numbers in the array that are larger than the average of the five numbers. I … | |
Hi all. I am using Microsoft Visual Studio 2010 and am using ASP.net/C# as the environment. I have installed Crystal reports. I am using 2 fields: business name and number of emails received I have created report to show a graph and have created a connection and everything. Now it … | |
hello guys.. just a new member here.. and also a beginner at VB6.. i would like some help on how to connect my system with a database? because i cannot see the basic of connecting my system to a database.. thank you very much.. | |
I want to create a template file in which I want to create my own styles programatically(in VBA) I have following code Sub Style() Dim myStyle As Style Set myStyle = ActiveDocument.Styles.Add(Name:="Abbreviations", _ Type:=wdStyleTypeParagraph) With myStyle.Font .Name = "Calibri" .Size = 12 .Color = wdColorBlue End With Selection.Range.Style = "Abbreviations" … | |
Hi I am starting my final year project and was wanting to know how to connect visual studio to my database. I am using phpmyadmin which is on the uni's server so I can work on it at uni and at home but I am having trouble finding out how … | |
the Visual Studio 2010 have 1 way for build properties, in class's. but isn't a portable code:( i'm using GNU\GCC\G++. so don't belive that isn't possible do it in C++;) so anyone can advice me? i was testing these code, but i get problems with char* and i can't use … | |
hi every one I have this msg: run-time error '380' invalid property value the error showing in this pic http://im33.gulfup.com/yuIaW.jpg | |
I will make the process of looping the data to save data into SQL Server database, but field data that must be stored is retrieved from the database access, data taken later not only a record, but a lot of records, so it takes a process of looping in it, … | |
Guys i need help it says there is a data mismatch in criteria expression need help fast!! Dim statement2 As New OleDbCommand("select * from Student_registration where Student_code = '" & studentnotextbox.Text & "'", conn) Dim statement2 As New OleDbCommand("select * from Student_registration where Student_code = '" & studentnotextbox.Text & "'", … | |
Private Sub cmdfind_Click() Dim search As String search = txtfind.Text Con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\HOSTEL STUDENT.mdb;Persist Security Info=False" Rs.Open "SELECT * FROM STUDENTS WHERE [REG] LIKE" & "'" & search & "'", Con, adOpenStatic, adLockOptimistic Do Until Rs.EOF Rs.MoveNext Loop If Rs.EOF = True Or Rs.BOF = True … | |
hi, everytime i print a form with "printform" it always on print into left side of the printer paper and im using a left feed printer. What if the printer's feed is center and my printer paper is small how can i make it the printing of the form is … | |
i need to know if there is way to open a file from groove directory using common dialog ?? more details i have a workspace and many accounts all connect to a server i need to make them upload and open the file using Groove path ?? any help | |
can you help me code in VB6 a return command in returning the book that had been borrowed..tnx..need it asap. :(. a very simple code will do.. | |
Right off the bat I will say this has absolutely nothing to do with Microsoft Visual Basic. Recently I've been practicing language design and development and I've written a few basic interpreters for calculator languages and such and I've decided for some more practice I want to write a basic … | |
I need to finish a program, i found it in a book but the for statement is now finised. I don't know to finish it, anybody can help me, please? Private Sub Form_Load() For i = 1 To Screen.FontCount - 1 Combo1.AddItem Screen.Fonts(i) Next For i = 5 To 300 … | |
hi my name is vishal. i have been trying long to figure out to export data from vb6 using join queries in sql to ms word. here is my sample code i have tried: Option Explicit Dim dIsVisible As Boolean Dim inst As String Private Declare Function ShellExecute Lib "shell32.dll" … |
The End.