16,916 Topics
![]() | |
hi.i have problem adding record into access database because these tables i've created has relationships.i need to add record (from a single vb form) into 2 different tables. these 2 tables refer to the same record id actually.but first i need to add record into the first table because then … | |
i need help on making a login page and register page that will be linked together using access. can anyone teach mi the step to make it? | |
Hello world on daniweb, I am clueless on how to start. It might be easy or it might not be. It might already be doable without any programming. I want to import and export equation editor objects or fields in and out of ms word documents. Mostly i want to … | |
Form1 searches table1 for a key. Go to Form2 and store key (not visible). Then read table2 using this key. If NO match, just enter new data and close Form2 to save to table2-this works ok. But if there IS a match, click on NEW Record icon at top of … | |
Form1 searches table1 for a key. Go to Form2 and store key (not visible). Then read table2 using this key. If NO match, just enter new data and close Form2 to save to table2-this works ok. But if there IS a match, click on NEW Record icon at top of … | |
I've developed a quote/order database in access 2003 for a customer, so this is primarily a VBA solution, but I'm mostly after theory today so vba or vb is irrelavant. I have of course normalized tables containing historical and current orders. Right now, I have a reminder type form that … | |
HI I want to create an Instance of Class(Object) In Visual Basic.Using "Create Object " Syntax. please refer attached CPP & header File for the class COMOutput. How can i create an object for this COMOutput Class in Visual Basic. And I need to access the Functions Defined in The … | |
Hi community members, This is an S.O.S going out to all and any in the group that can offer me help. I am still an amateur programmer using VB6. My computer has been acting up lately and I was forced to restore it to its original settings. I did back … | |
I'm attempting to emulate the pressing of the F1 key to a remote app. I can do this using sendkeys, but I need the ability to do it using the scancode command. Here is my current code: Dim objShell As New WshShell objShell.AppActivate "Calculator" objShell.SendKeys "{F1}" Anyone have any ideas? | |
I have to write an interactive program using scanf() to read in seven strings input by the user. The program should print the seven strings as a list, then sort them alphabetically and print a new list. I have to use the function strcmp() to assist in the sorting of … | |
I have a left join in my select statement which works printing all the info from tbl1 with matching info from tbl2 I also want to print true or false depending on if there is any match for each record of tbl1 in tbl2. How would I do this? | |
I need a VB code to open an exisitng excel file and sort a column and store in diff excel sheet.eg i have a column data A,B,C,D,E.the code should sort all the A in the column and store in new excel sheet..as like all B,C,D,E should be stored in diff … | |
I have the following select statement which works, I need help to adapt it adobau.RecordSource = "SELECT * FROM Liegenschaften INNER JOIN tblbau ON Liegenschaften.Rimo_Liegnr = tblbau.Liegenschaft" my adobau.recordset loops through Liegenschaften and gives me all the info of Liegenschaften that has match in tblbau, but I want some info … | |
Hi, Whenever I run SETUP file to install the programme in another computer I have to either create DSN or make the folder in the same drive with same name as is given in VB programme for connecting the database. Is there any other way so that I may install … | |
i want to load bulk data files dynamically inot mysql database by using visual basic as front end. i want to get the filepaths dynamically i.e i just enter the file name into textbox and it will automatically load the data into the database. i have written this code myCommand.CommandText … | |
[B][/B] VB6 - Generate a new/blank sheet each time I execute my program. Hello everybody, can someone show me the best way I can programatically generate a new blank spreadsheet for my report. Currently, I am populating a spreadsheet using access files (query). The spreadsheet template is located in my … | |
I need to find the 2 highest numbers on an array of numbers. I can't use the sorting fiture. Any help will be appreciated, Thanks Carmen | |
hello. my problem is, after login username and password in one form, then a new form will be appear. how to create coding to insert username in a label at new form after login. i have tried this coding but still not appear. please help me. thanks..... Public Sub loadInfo() … | |
I've recently wrote some code to update an inventory table within a database. The program works great; the problem is that many machines access this database at any given time, and I'm concerned that at one point my program will not be able to update the table because of too … | |
Hi! pls very Urgent I have a network of about 55 computers (netware & NT) all running Win98, XP and W2000 workstations. We have about 5 network printers and copiers to which a computer can print. What I'd like to do is build, if possible, a simple VB program to … | |
Hey guys, How to disable the windows key using VB6? Any input is highly appreciated Thanks in advance. | |
well i'm a bit of a beginner programmer.. i've taken a few classes but every time i look at a piece of code i get lost easily. But i do have a question.. I was reading this visual basic book and there was this thing about listing all of these … | |
I am using an Access Database through Visual Basic 6. Is there any other way to access the database excluding the following code. Set CNN = New ADODB.Connection str = "\\SYS8\DATAX\EMP.MDB" CNN.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + str + ";Persist Security Info=False" CNN.CursorLocation = adUseClient | |
Here is the code I have. I am trying to collect five scores and then print each score followed by the average score. Seems like it would be simple but I am having problems. Any suggestions? [CODE]Option Strict On Public Class frmScore Private Sub frmScore_Load(ByVal sender As Object, ByVal e … | |
hey i wonna know how to make a program to input a text and save it in *.txt as a notepad file. | |
I am using MS Access database by a vb6 program for multiuser environment. In the program I have written code for autogenerating employee_id which is primary key in the table. When entering records simultaneously from two or more workstation, It gives a problem Run time error The changes you requested … | |
Hi all, I would like to save my project's code in a text file when the project runs (so that I can keep track of any changes) I know how to open/print/write/close a text file, but how would I capture the code that is running? Any ideas/links/thoughts? Thanks. | |
Hi, I am displaying a dialogbox to the user. If the user clicks the "Cancel" button I want to show a message box, then I want to continue displaying the dialogbox. The best I can come up with is...[code]Do comdia.Filter = "*.doc" comdia.InitDir = "C:\" comdia.filename = "file01" comdia.ShowSave On … | |
ive made a multiple choice quiz that gets a random question and a random choice the problem is i cant get the correct syntax that will determine if the answer i chose is correct my form is composed of 2label(1 for the question and 1 for the score when i … | |
I dont know if this is the correct place to ask this question, I know nothing about visual basic! I have win2003 server, (new from dell, pre-installed) I am trying to install 'sage manufacturing' it worked ok on 200 server, xp & vista. when I run the program it gives … | |
Hi, I would like to use my dragon dictate to control windows by firing off macros that are voice activated, however I can only afford the version that does not do macros (over 500 pounds!). So as an alternative is there a way in VB5/6 that I can run VB … | |
Hi I have placed two datepicker and one text box in the form one as [B]dt1[/B] and another as [B]dt2[/B] if I select say [U]12/12/2007 [/U]in dt1 and [U]28/12/2007 [/U]in dt2 then in [B]text1.text [/B]the number of days elapsed between the two days should be appeared. So will any one … | |
I've been using MSHflexgrid for my last project. Now that I'm starting a new project, I was wondering what the differences are between Data Grid MsFlexgrid MshFlexgrid what are the advantages and disadvantages? | |
im new in macro programming and vb im doing a project office automation how do i open (without showing) existing excel? so i can manipulate the data most of the snipet i see in the net is like this Set oExcel = CreateObject("Excel.Application") Set ExcelDoc = oExcel.Workbooks.Open(m_strPath & "project.xls") i … | |
Hai, I'm read temperature data using MSComm.. The temperature was successfully display on vb6..but how can I update/automatically refresh the temperature on web according to current temperature? could you kindly please help me over here? thks! Below is my coding: [code] Private Sub Form_Load() MSComm1.PortOpen = True MSComm1.Output = "temp" … | |
I have a frame, inside it a few labels and text boxes. At some point while the program is running I want to move that frame to a different position. Is it possible to move it with all the lables and textboxes without moving each label and textbox? | |
The way I understand it, is that rowdata and coldata can be used to keep some data for some specific row or column. What if I want each cell to have some data go with it, how can I do this? I need this to identify what each cell contains. | |
anyone who knows how to add glitters in a web page? | |
Hi, I'm going to begin school for CS in a couple of months, and am trying to get started with some of the material on my own. I need to learn some Java; I've done a bit of C++ in the past. The prof sent me an email saying at … | |
what's wrong with this statement? adobau.RecordSource = "SELECT * FROM tblbau WHERE year(Bau_datum) => " & Jahr_beg & "AND year(Bau_datum)<= " & (Jahr_beg + intyears) | |
hi, Is it posible to print each row data from the [B]flex grid [/B] to data report. for example If 10 rows are there i want to print 10 data reports. please provide example for this. regards ummer | |
Hi all Newbie to visual basic. I need to create an application to read and write in information into database. It is a prototype that y i choose to use Access as my database. I am having problems connecting database to VB. I choose Microsoft Access as data source. It … | |
hai, me again, i would like to create a data report by adding the report labels and textboxes at runtime. Is there any ways to add the controls to a report dynamically | |
Will someone help me on how I should start this? I am trying to write a program that will find the average of a series of integers and store the result in the BX and AX registers. e.g Main array = 4, 1, 28, 11, 2, -28, -7 The result … | |
Hi Every one every body uses internet donwload manager knows it So there is a feature in it, it's that you can donwload multi files using [B]Download All Links with IDM [/B]that methodfrom registry is like that "C:\Program Files\Internet Download Manager\IEGetAll.htm" so i went to the file and i found … | |
Is there any way to edit Dreamweaver templates in Visual Studio 2005? | |
[COLOR=green]Hi,[/COLOR] [COLOR=green]I am new to C#. I have compiled and executed the following program in Microsofr Visual Studio .NET 2003 .[/COLOR] [COLOR=green][COLOR=green][COLOR=green]using[/COLOR][COLOR=green] System;[/COLOR] [COLOR=green]public[/COLOR][COLOR=green]class[/COLOR][COLOR=green] Enumdemo[/COLOR] { [COLOR=green]enum[/COLOR] Color{ red, blue, black, green } [COLOR=green]public[/COLOR] [COLOR=green]static[/COLOR] [COLOR=green]void[/COLOR] Main([COLOR=green]string[/COLOR][] args) { Color Mycolor; System.Console.Write("Enter the values: 0 for red 1 for blue … | |
Hi, this is a mathematical question, but I'm doing it in VB so I thought I'd post it here... A person is shown a total of 10 numbers. When a number appears on the screen they have to type that number into a text box and if they get it … | |
I'm currently making a program that gives the person who uses it information about the costs for a shipment. The transport company changes it numbers quite often, so in Excel the numbers are easier to change. I want to have, let's say, C3 be displayed every time in VB in … | |
Hi I am using VB6 and Crystal Report 8.5 and Access for programming. When VB form prompts me to enter the month for which report is required and if I enter say [B]January[/B] then the text should appear in the heading of the Report after my text [B]" Expenditure for … |
The End.