12,155 Topics
Hi all, If I want to read an image and split them into pixel of rgb(red green blue) regarding their color. Is it possible to do it in vb? Or I need to use the different program? if you have any clue, please let me know, thanks.
ex : Set ie1 = CreateObject("InternetExplorer.Application") ie.Navigate "http://www.gmail.com" the above code opens the gmail.com page but the url will be something like [url]http://www.google.com/accounts/[/url]......... I want to get the url , whats the code for it and how to get ip address of an website Please HELP
I have .txt files saved as their date in yyyymmdd.txt format. I need to be able to open these files based on today's date or a cell value and use the info to paste into an existing excel file. I can handle the pasting of the info but do not …
visual basic ,Chapter 6, Programming Challenge 6: Password Verifier, Page 407. I keep getting errors
I have to write a program to get traffic lights to work - how do i get it to show green and amber at the same time? any suggestions?
Hi, I have this form which so far displays data if its there or lets you enter new data in the form. I have a combo box which at present inserts whatever is selected into my table. How can I make it so the id of the item in the …
Hi I'm currently stuck in an infinite loop because of the code I've written and i can't stop the code, close excel etc. Basically the code runs after a cell change, displays a msgbox and then causes itself to run again, and while this is happening i can't do anything …
please help anyone.. i have MDE made with MS ACCESS 97 and i want it to work in MS OFFICE 2003, but have some errors... Can anybody help me with this problem???
hi I have developed a project using vb dao. Now I want to generate report by using crystal report 9. can anybody help me with the coding of the same.
Hi, I have written an application in VB6 that grabs an image from a webcam and writes it out to the hard drive. Before writing it I would like to add a text line listing which camera it is and the date and time. I have no problem sorting out …
Hi, i'm actually trying to display records from 3 tables in a Data Report using an InputBox. That is whatever information i enter in the inputbox the data report should display its appropriate records from the tables. i can display records from 3 tables in the data report, but how …
Calculate the number of years worked to date. (Fraction of year, cut waste) as well as to receive a salary. (An integer). If working conditions and less than 3 years will receive 1% salary increase. If work has been 3 years but not more than 5 years will receive salary …
In een programma waarin een bepaalde code en database al jaren zonder problemen gebruikt is krijg ik bovenstaande fout. Als ik stap voor stap door het programma ga, loopt het zonder fouten door het instellen van de databasename en de recordsource. Deze recordsource is de recordsource van een data control …
Okay, I am hoping someone here can help me. I have figured out how to double click a cell in my excel worksheet to pull up the userform used to populate the data for each record (in columns C through DA) and repopulate the userform BUT when it repopulates the …
I need help with code to find the sum of several different subtotals that may vary in the amount of data. I have to pull from columns that may vary from report to report (the heading will always be the same but the columns may be different lengths) Ex: Category …
I have a code: [CODE]Private Sub OK_Click() Dim Username As String Username = InputBox("Username") If Username = "Martyna" Then MsgBox "Welcome, " & Username Else: MsgBox "Sorry, access is denied, please Check your username and try again" End If End Sub[/CODE] and it should ask 3 time for username then …
One of the requirements in a new project in VB is that 'it should good look'. Naturally the client doesn't have any clear idea about 'good looking apps' but wants it to look 'real good'. I can give it a XP style look using manifest, but I was wondering if …
1,a,Summarise the rules that apply to naming variables in visual basic b, i.) Define a multi-component user-defined data type called AirHandler having the ff components: colour (string) MachineNo (long integer) Length (single-precision real) Breath (single-precision real) Height (single-precision real) Cost (single precision real) ii)Declare a variable called AC_For_Barclays of type …
I created a install package on an XP machine using the VB6 package and deployment wizard. I can use that package fine on one of my Vista boxes, but another Vista box gets the error -- "Visual Basic 6.0 Setup Toolkit has stopped working" It starts the install, asks for …
I have a time values in MS Access database 4:30 2:15 3:20 4:45 I want to sum the time using VB code .The sum of the time should be 14:50 hrs not 14:10 hrs. Please help
for our class project in my school we made a robot software and it is awesome i was on the math class and it was a lot of fun... i just finished the last part again last night cuz someone lost everything any way.. we have time to kill and …
To All Daniweb users, I have just started the programming trail of learning, i recently got courses from E learning center on how to use C++. The first Code (the hello world project) is where I'm having a problem. On Visual Basic 2010 Beta2 which is the only one that …
hi guys does their any software that do the followings: suppose you have two different sheets of Microsoft excel 2007 like sheet 1 and sheet 2 in sheet one their are three columns A, B and C on other hand we have sheet 2 that contains only two columns like …
Hello guys, I just want to ask for a refresher tutorial on VB 6, Because I'm gonna need it to jog my memory in programming in VB 6 platform. Thanks for any reply in advance.
hi, i want to communicate with a slave device (temperature controller) using ModBus with RS 485 using VB6, but dont have knowledge of the same. Can you help me by guiding how to move forward..plz suggest some tutorial..or provide some sample program where data from a remote device has been …
I have a problem when I ran report from vb6. I use Crystal Report 8.5 as reporting tools and MySql as database for my program. When I tried to run the report in Crystal Report, it worked. But when I ran it from vb6, it showed an error: "Server has …
I'm from Belgium. I'm a 46year old accountant. Newbi in VBA applications. I like to develop small programs helping me creating ad hoc reportings for my job as an accountant. My hobby's are music (ebm - gothic - industrial), watching soccer games (I'm a supporter of kv mechelen), fitness, running.... …
We have several legacy "Windows" applications built in Visual Basic 6 that until Windows Vista displayed normally. Now we have random textboxes that display with a black background, even before any records are brought into the form (and after as well). Some forms in one application have one or two …
How to code for a 3D rectangle and how to scale or translate in visual C++ ?please someone help...
[B]For school, using Visual Basic 9.0 (2008)[/B] Write a program called Histogram that reads data from a file (allow the user to input the file name) and produces a horizontal histogram. The first line of the file should contain he title of the histogram, and each subsequent line should contain …
I finished a VB6 app on Vista and packaged it there. But, when I try to install it on an XP machine, it says there are system files that need to updated. Is there some docs or help that would help with this... says what the developer should do to …
Hello frnds, I have created a b'day reminder application in VB 6. I want to that application will remind us every two hours in small icon like when small pop window. and i also want that my login form should be displayed at that tima when system booting complete. can …
How can I SWITCH the contents of 2 textboxes by clicking on a command button? I tried to solve it this way : [CODE]Private Sub Command1_Click() Text1.Text = Text2.Text Text2.Text = Text1.Text End Sub [/CODE] But it didn't work out and it only changes the content of text1 Thanks in …
Hello, Can anyone tell me how can i use Unicode Text from a file in a String or in a TextBox? Please Help Thanks
Hello all... My name is Timothy. I am a senor in high school, but I've been doing web design and visual basic programming for about 5 years now. I'm happy to be around so many different people who are into the same stuff I am and I hope to do …
Hey guys, Im in a basic programming class. Mainly using VBS scripting nothing else on Windows XP. All of the sudden my prof gave us this assignment for shell scripting. I don't know hardly anything about this. Objective: Create a single shell script in Windows/Linux that will do (all) the …
I am researching how to create a dll in VB..can it even be done? Does anyone know of any sites or books that can help me through this process?
Hello I have an application in vb6 that works on MSAccess 2003. And now I have to change connection to SQL Server 2005. I changed connection string to: conn.Open "Driver={SQL Server}; Server=server; Database=Base; UID=ID; PWD=pwd" I open recorset like this Set rs = cnServer.Execute("SELECT * FROM tbl") and it is …
I want to process data entered into an Access 2007 form and then append the data to a table within the database. I started with a simple form with a button running a macro which ran an APPEND query, and this was fine until we needed to add some conditional …
First off, i would like to introduce myself. My name is Ryan, im 18 and a professional gamer. About the client! Well this client is for my clan members, they can login and retrieve updates, news, ect through a webbrowser Help! Okay, so i have set a webbrowser, two texboxes …
cud ny1 plz tell me,how 2 connect to mysql via VB6.0 without d help of mysql connector as 1 user said. i don't think there is ny need of such in VB6.0 i just wanna know how to set connection string through coding an fire sql query in VB its …
Good day! I just need some help/solution on how to prevent the user to resize the form when the width of the form is less than 8,220. Thank you guys for giving time. God bless
Can anyone help please? How can I give focus to a textbox (for example we have two) by defining a shortcut key as alt+m ? Thanks in advance Btw, I'm a beginner so please tell me in the simplest way. :)
Hi all, I want to convert 1 to 000001 in Visual Basic 6 example: 1 = 000001 2 = 000002 thanks
i have a combo box in vb6.0 which i need to get a column of data from oracle database, how can i extract a perticular column of data to a combo box
Dear sir, I doing one school project in VB6 with Access database. here I use Data bound grid control for view. and I want know how to calculate hours in DBcrid pls help me.
Hello! I wonder if someone can help me. I'm trying to create a Macro that would copy a line of text from one Word doc into a specific position of another Word doc, and then use the content of the clipboard as the Filename. From recording various Macros and researching …
I want to store multiple usernames and passwords in the oracle 9i and connect with VB. I am new with this. Kindly send me reply. Smitha
how can i execute a loop (a series of natural numbers from 1 to 100) in dos shell ? code:- [ dim a as integer,dim b as integer for b=1 to 100 step 1 for a =1 to 100 step 1 print a,b next a next b ] it is …
hello i read [URL="http://www.daniweb.com/forums/thread111692.html"]this [/URL]topic and i use the source to learn how to use option and i have Problime with it this the Form : [CODE] Private Sub Command1_Click() If Option1.Value = True Then SetStringValue "HKEY_CURRENT_USER\Software\yahoo\pager\ETS", "String Value", password.Text ElseIf Option2.Value = True Then SetStringValue "HKEY_CURRENT_USER\Software\yahoo\pager\EOptions string", "String Value", …
The End.