12,155 Topics
Hi, i have a project to do in VB and its been a while i done anything in it. My problem is taxation and decimal places. How can I round 2.19 to 2.20 ? the actuall number was 2.194 and vb6 rounds it at 2.19, is this as it should …
Hi, I searched for few days, and even if I see that there are people getting this error, I can't find a solution. I have an application communicating over the serial port. The application is written in VB6 and 2 PCs, one with XP, the other one with Vista. If …
How can i connect other machine DSN with my pc without sharing using Visual Basic.....
[B][I][COLOR="Green"]Hi,[/COLOR][/I][/B] i am currently doing a project that will be used to add employees to a database. I have already designed the form and have gone ahead to do some coding. Though am stuck a bit, i can not be able to detect whether the employee does exists in the …
I am trying to search data in database at runtime.... when a user put the license no in the text box and press button this is my query but it is not working, for every search it is showing first record of the database...... Set rd = New Recordset rd.Open …
please help me.. i want know the coding searching.. how can find search coding in vb 6.0?
Hi there, Does anyone know if there is a DLL function call that will give the current CPU usage that I can use in VB6. I am running on windows server 2008 and I need to use a DLL function call unfortunately. David
suppose there is name and phone no in ms access database. i want to reterive the selected fields ie, by giving text in textbox and prompt for go command, i want to display that selected data (names or phone no) to display as table in alphabetical order.this should be done …
Hi, i'm not sure this is in the right place but here goes: I'm currently using ADO in VBScript to access a SQL Server database and one of my current issues is returning the full error message that a stored procedure generates. I can get a brief error description and …
I have two ASP pages. First one is a basic input form. The second one is just vbscript that I use to process the data. It is an INCLUDE file on the first page. What I need to do is once the second asp page is done processing or an …
pls can someone tell me how make a picture move across the screen in visual basic 6.0, i have no idea.....
I have a list of 100 values in excel. I want to use check boxes to select out the two or three of these values that apply in a specific instance. Simple enough. I create a form check box for each entity, click the ones I need and add the …
I hope this goes here. Alright, so I'm trying to write a simple program that takes the contents of a query's results and pastes them to a text file. Although I could do this manually, I'm trying to create a "user friendly" method for when I'm out of the office …
[CODE] Private Sub cmdToday_Click() Dim oConn as new ADODB.connection Dim oRs as new ADODB.recordset Dim sql as string sql = "SELECT WORD,MEANING FROM TODAY_LIST" oConn.Open "Provider=SQLOLEDB.1;Password=config;User ID=sa;Initial Catalog=master;Data Source=GAATLMDV01PSGE;Persist Security Info=True" Set oRs = oConn.Execute(sql) mfgViewData.Cols = 2 mfgViewData.TextMatrix(0, 0) = "WORD" mfgViewData.TextMatrix(0, 1) = "MEANING" mfgViewData.ColWidth(0) = 1500 mfgViewData.ColWidth(1) …
please i need help in my asignment the assignment question is: Write a functionto print the Fibonacci value at a given position in the series.you should write two versions of the function both of wich must be named Fibonacci(overload functions).the first version should be implemented using a for loop.the second …
Running a contest, who can make the most simple elevator program, dual elevators, 4 floors, emergency stop, 7 seg led for floor locations on each floor and in elevator. infrared sensor to read floor levels and to adjust speed.
Type=Exe Form=lc3.frm Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\WINDOWS\SYSTEM\STDOLE2.TLB#Standard OLE Types Reference=*\G{00025E04-0000-0000-C000-000000000046}#3.5#0#C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\DC:\PROGRAM FIL#Microsoft DAO 2.5 Object Library IconForm="frmRMsales" Startup="frmRMsales" Command32="" Name="RMSales" HelpContextID="0" CompatibleMode="0" MajorVer=1 MinorVer=0 RevisionVer=0 AutoIncrementVer=0 ServerSupportFiles=0 VersionCompanyName="zak" CompilationType=0 OptimizationType=0 FavorPentiumPro(tm)=0 CodeViewDebugInfo=0 NoAliasing=0 BoundsCheck=0 OverflowCheck=0 FlPointCheck=0 FDIVCheck=0 UnroundedFP=0 StartMode=0 Unattended=0 ThreadPerObject=0 MaxNumberOfThreads=1 frmRMsales = 95, 103, 545, 391, C, 0, 0, 0, …
Hello all, my name is Corey, I am new to DaniWeb, and new to programming. I am very interested in software and java programming, to eventually make it into my profession. I am starting college in the Fall, and want to get a head start. The following post is going …
Please tell me - Why does this not work!? [CODE]@set here=D:\STORE\movies\xfire @set there=D:\STORE\movies\xfire\pics @if not exist pics md pics for %%X in (*.jpg *.gif *.png *.bmp) do (move %%x %there%) pause [/CODE] This is sooo annoying it prints the %%x as %x and only does it once. It literally just …
Hi, Who can anyone give me the simplest method for encryption and decryption for text file? I saw a lot of methods in other website. So, I choose the simplest one, but it gives me some errors when I do it. This is the reference link. [url]http://www.vb6.us/tutorials/basic-encryption-xor-tutorial[/url] [CODE]Dim strResult As …
I need a little advice on how best to read/recognize a number plate and for a program to recognise the digits of that number plate, which it will then run through a database. I have no problem with capturing an image from a live feed but i then need the …
Dear All, I have search a lot of forum or blog for this problem and have yet come up with a solution.. Hope anyone can help me here... Thanks a lot!! I am using Ms Visual Basic 2008 Express Edition (vb.net) Here is my code: [CODE] Private Sub btnUpdate_Click(ByVal sender …
Hi all, I'm nearly finished making a blackjack game for my first year assignment in college using Visual Basic. The game is running ok, I'm happy with that but I am having one small issue! In the frmMain I have a counter set up so it counts and displays the …
hi.... i have a c++ project on dev c(with winbgim)...i would like to link it to visual basic 6......i want some clear steps to be followed for linking dev to vb
I am using Visual basic 6 I am trying to create a new txt file with the textbox (text1) contents. But instead of calling that text file "Stored.txt" as I currently am doing, I am trying to create the new .txt file with the text from the textbox. Private Sub …
Hello Sir, [INDENT]I am doing a project realted to Jewellery Valuation. I want a report generating specifically on a customer. For that i have created a query in ACCESS to group requried tables for generating report. Now if i drop down the customer name in Page Header Section (Which is …
im using fpSpread (farpoint11) for showing data . problem is:- how to display image into a cell of fpSpread 7.0 from the SQLserver 2005 database which is stored in a binary format... reply me.... vivek
I know that this topic, sending sms for MS Access, is very widely discussed and believe me for its very confusing. My question is the following. I use a MS Access Application and want to send sms messages directly from within MS Access to clients. I also use Outlook 2007 …
hello, can you help me how to put picture in my button..example i have cmdsavebutton..and i want to put beauty on my form i want my button to change to picture just like saving a document there is a square form then when you click that it will be saved...can …
I am doing an assignment that requires me to have 4 different radio button(earth, moon, jupiter and saturn) and two labels one showing the weight (on different planet) and one for the delivery price ( $5.00 for weights up to 1 kg; $10.00 for higher than 1 kg up to …
I'm graduating from the University of the Cumberlands in May and I have put together a resume and would really like some input. Attached is a doc format and pdf format. I've also posted the text version within the forum. Thanks in advance. Travis Coleman ---------------------------------------------- Travis Coleman 402 Leonard …
When you preview VB Output printed reports by going through BJ Preview, because report is quite wide the report comes out in Landscape but unfortunately shows on the screen straight down. To read the report you then need to turn your head 90 degrees, sideways, which is not the most …
hello i am Software engg student i occured some of the problem between the Data Report Connetion occured error in the code is "Run time Error '8574': the object "G1" was not Found " G1 is Taken label in Data Report On Error GoTo errhandler key = regdText2.Text Call dbConnect …
Hello, I am currently doing a VB project for a course, I have all the features working bar the datagrid, when i use the program without the datagrid it works perfectly, however if i put a datagrid in I can only add and delete, but I am unable to cancel …
hello all, i have the following VB code which is expected to activate a storred procedure from SQL DB. for some reason i recieve a msg that the procedure does not recieve the inpute parameters. the code: [code] Sub Validate_Data() 'check if data is there: If Cells(5, 6) = "" …
Hi Everyone, There are so many controls, properties, etc in VB 2008 .NET it's mind boggling. I'm amazed at how much this product can do. Does anyone know of a VB 2008 .NET book that describes in simple language and shows sample code for all of those controls, properties, etc? …
hi all I am creating a Visual basic gui which shows an databse which has been created by using the microsft access database feature within visual basic 6. here is the problem i am close to hanfing in my project when i try and use the .exe on another computer …
Hi everybody, Again, your help is highly appreciated. I have to develop a tool in Excel (VBA). I have three different worksheets. The first two are information about products, sorted by product number. In the third one, there should be a tool, which needs to calculate with information from the …
I'm doing some development at school and i have to create an app as follows: Create a Digits of a number app that accepts a two-digit number and displays the digits separately. The instructions give the #32 and the picture of the app separates 3 and 2 in 2 different …
I need help with some code for this. I've got the paddle working, but I can't figure out how to get the bricks to disappear. I've attemted to code it, but no matter how i try it it doesn't work. I'll give you my code so far. I reeealy hope …
I am trying to have a Macro save an Excel 2007 spreadsheet as a PDF (I have the Save as PDF or XPS installed.) How can I get the file name to save as 2 cells concatenated? I am working with the following code so far. Any help greatly appreciated. …
I am building a designer envinonment using IDesignerhost. I need to draw shapes in the designer. I have added, the shapes(lineshape, rectangle shape) from microsoft.visualbasic.powerpacks to the toolbox. If I click the shapes in the toolbox, it is not getting added tothe designer. Other controls are getting added. Can anyone …
Hi, I urgently need the following information and techniques on how to: 1. disable input in a field text box and automatically increment the same namely a numeric primary key field (viz. StudentID) by 1 at the issuing of a blank/new record. The Database method is DATA BINDING and ACCESS. …
Hi All, I have 2 picturebox in vb6. Both of them has the same dimension and the slightly different picture. they are house plans, one for the ground floor and another one for the upper floor. I want to overlay them. But how can I do it? If I am …
Hello everyone! Please Give me some guidance if u have any idea. im doing a database using vb6 and access. im viewing my database data from access to vb using listview. each data in database have its own picture or image to display. in the form where i put the …
Hi There, i am using the shell function to execute a program that will zip 10 big data files. so my code is something like this: for n = 1 to 10 t=shell(zip data(n)) 'not the real code ' somewhere here, i need a code to test if the data(n) …
hello all, i am new to VB. i am trying to execute SQL Stored procedures from a macro in excel. but i fail to do so. i managed to write a code that imports a table, but not to execute a SP or a function. heres my code: [code] Sub …
hello- I have searched all over but haven't found anything too helpful. what i want to do is make a program that, on startup or a timer, retrevies an rss feed, and puts the text in a text box. i have looked into getting the xml text and parsing it …
I am using Data Reports throug Data Environment, and using Relational Database in MS Access.. I have prepared the query throuh SQL Builder(in data reports) and the query is running OK , but how can I pass parameter in this query to show the results on the data reports..... my …
Hi, i am using VB6 and in my project using List View Control. The checkboxes property is setted true. Now i want to implement a functionality so that to remove only those entries/items cheked by user from the list. Can anybody tell me how to implement this. ANY CODE
The End.