12,155 Topics
Is there a way i can write this into a command button? In a CMD Prompt if you type: nslookup set type=mx set timeout=30 emailaddressdomain.com it will give you the outgoing mail server address is there a way i can write that into a command button and display the results …
Here is the error i get Object reference not set to an instance of an object and also index 0 is out of range parameter name: index [CODE]Public Class Form1 Dim int As Integer = 0 Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoBack() …
I had no idea what to title this, so please excuse the stupidity of it. I've written a WPF application that runs as an xbap on my intranet server. What I want to be able to do is have the IT staff update users credentials and have it save to …
i have the same problem but nit that similer the other function works ok and no error only this function of ftp. pls help me [code]Private Sub Form_Unload(Cancel As Integer) Timer1.Enabled = False FtpHDB.CloseConnection FtpPDB.CloseConnection FtpPRD.CloseConnection FtpRDB.CloseConnection FtpMID.CloseConnection Set FtpHDB = Nothing Set FtpPDB = Nothing Set FtpPRD = Nothing …
I need help with my maze game. I just need to know how to use an array to map out my 500 x 500 form into a 25 x 25 without actually making it 25 x 25 in the properties window.
I want to make a countdown time that will basically let you click one of the buttons and the countdown will start. But I don’t want the countdown to be shown in seconds but rather in Hours/Minutes/Seconds. There will be multiple buttons that will trigger the countdown. The only hiccup …
Hi I used VB6 to create an EXE file that uses MSComm1. The program runs OK in my XP computer and also in my Win7 computer (that has VBE installed). It would not run on my Vista laptop. I installed the VB runtime files (even though Microsoft says they are …
hello coder, could anybody can share an idea on making attachment files. on my cms software. i wanted to have an attachment portion. where my doc,jpg,xls files can be attach. im planing to stored it on my app.path by copying the files. but my problem is when opening on the …
Hi, i am developing a software using microsoft visual studio basic 2010. I used a datagridviewcontrol to display a list of data from product table. What I want to do (actually i am not sure how to do it, or is there a way to do it), when i choose …
Hi I used VB6 to create an EXE file that uses MSComm1. The program runs OK in my XP computer and also in my Win7 computer (that has VBE installed). It would not run on my Vista laptop. I installed the VB runtime files (even though Microsoft says they are …
is there possible to save two picture box at the desame time in one command button?
Hi! i just want to ask about having two decimal places in a text box using a visual basic 6.0. :[
Hi.I am working on a project(patient management system).I want a code for this. Once I enter the name of the patient whose details want to know, I want the next form to be loaded and those specific details of that particular patient(already stored in a database) to be displayed in …
Okay, so I'm working on this Application which will find it's way to the User's AppData folder and find a specific File .prefs File. It should then read that File and find specific Sentences/Names/Whatever pleases you. If it finds a Sentence/Name in that File which matches the one it's supposed …
I m creating a software in vb (Laboratory management System using ADO as connection) .bt, Nw I m facing a problem..The laboratory's result page should contain a DB Grid control..It has 4 fields namely ITEM CODE,INVESTIGATION,OBSERVED,NORMAL. Here I want to display the values in ITEMCODE,INVESTIGATION and NORMAL automatically in DB …
can how to rotate a picture in picture box? just a simple code to rotate a picture?
Private Sub txtsearch_Click() with data3.Recordset a = txtidno.Text .FindFirst "[id]'" & a & "" ' If .NoMatch Then MsgBox "Record Not Found", vbInformation, "Search" Else txtborrowname.Text = .Fields("borrower's name") txtcourse.Text = .Fields("course") txtyear.Text = .Fields("year") End If End With End Sub ("what is the lacking of my code of command …
I need to link an access database to my visual vasic express 2008 class i have made (as been set an object orientated project) but am struggling to link the database and get it to show the information from the database through the class to the product form. I'll attach …
Im getting this error: [ICODE] Arguments are of the wrong type, out of range or are in conflict with another [/ICODE] Here's my code: [CODE] rivate Sub cmdPrintSel_Click() Call Con("Database.mdb") RecSet.Open "Select Payroll.EM_ID, Payroll.EM_Name, Payroll.EM_Dep, Payroll.Monthly_Rate, Payroll.dDate, Payroll.xBonus, Payroll.xOT, Payroll.GSIS, Payroll.PH, Payroll.InTax, Payroll.Others, Payroll.absences, Payroll.Advances, Payroll.NetPay " & _ "From …
Hello all, working in VB6 I want to pull all records from Access table named Answers that in a field named Color have "White". Within that record there are 10 fields of various numbers that I want to sum and average. In short I want to pull all records with …
i already figured out how to send an email using VB, using GOOGLE SMTP. but i wanna find out how to send a text message using vb.
I am using streamreader to read and streamwriter to write, i have put the lines into an array [text file contents] ********** Remove [ ] ***************** blah blah blah ;this is blah blah blah ;this is another blah [end of example file] i want to remove the lines that start …
I am a young computer programmer. I do my development in visual basic. I currently have a project to develop a software that is internet based. What i want to know is; 1. It is possible to achieve this through vb? 2. What do i have to do to get …
I'm trying to write a small app and I want it to show the OS Install key. How can I pull this? I'm using Visual Basic 2008.
Hello guys, I hope you are all well! I am creating a game in Visual Studio using picture box's, but I cannot for the life of me figure out how I can have a nice picture in the background, as when I do put one in there it is constantly …
Pls give us some stored codes in you involving saving records,
Hello guys I am a newbie so please don't freak if you find this question stupid or easy I have some data in CSV format, which I want to bring into Excel, and based on that data, I have to create graphs in PowerPoint. I searched on Google and everywhere …
I have been trying to make images appear in a table from a database i have created in MS Access this code [CODE] <td><%=(Recordset1.Fields.Item("Image").Value)%></td>[/CODE] is the code that is original used that shows the path, i was told to replace the code with the one below the original but i …
Dear all, I want to determine the frequency of numbers in ranges. So, instead of just determining the frequency of numbers with the elements 1-10 (see example below), I would like to determine the frequency of number that have been created between 1-5 and 6-10. An example result would be …
In the following code snippet, I am using the same two expressions in two places. In the first everything runs fine, but the second generates a run-time error '424' Object required. I have tried retyping the code in case there is a hidden character somewhere, I have rebooted, cleaned the …
hi same week and am here again with another problem lol and yeah its my homework and am stuck somewhere as 95 % has been finished. Windows Form Application--- using C sharp and SQL server 2008 i made database in SQL server 2008 and using visual basic 2008 C sharp …
Ok, my code for my Backup module works well via Copyfile. Here's what it can do (current): [COLOR="Red"]Backup my Database but using the date function as its filename Restore my backup file only if the filename is Database.mdb[/COLOR] Here's a screenshot of the prog: [URL="http://img262.imageshack.us/i/restore.png/"]http://img262.imageshack.us/i/restore.png/[/URL] and the backup files: [URL="http://img152.imageshack.us/i/backups.png/"]http://img152.imageshack.us/i/backups.png/[/URL] …
Having trouble with my code. You can see the values of the list in the code. Here's my code: [CODE] If cboGender.Text <> "Male" Or "Female" Then MsgBox "Please select from the list provided.", vbExclamation, "Error": cboGender.SetFocus: cboGender.Text = "Male": Exit Sub If cboGender.Text = vbNullString Then MsgBox "Please select …
Dear Experts please help and support: Scenario: 1. 4 excel sheet (same structure) stored on 4 different computers attached to a network… 2. 1 master sheet (same structure) as other 4 sheets stored in my PC... Objectives: 1. Want to consolidate into one master sheet that is stored in my …
Hi, cancan someone help me with my problem? I am using vb 6.0 and MS Access 2003. I have a form where all the data in the database should display. The problem is, I don't know why my code is not working. here it is: [ICODE] Private Sub Form_Load() Dim …
hi can someone tell me how can I search the database using dtpicker. I am usinf vb6 and ms 2003 and I need to display the date of birth of a on 3 textboxes,namely the firstname, lastname and middlename and also in a listview. please help me. this is my …
Please help me, am new to VB6.0 im doing database wherein in my ms access i have 12 tables, and i have to connect it to vb6.0 and display its contents... is it possible to connect 2 to more than two tables in vb6.0? please show me how to do …
Can you help us for our project in creating a daily record transaction? Do you have any codes out there or samples, and help us in connecting it to the database thru Microsoft Access. Your feedbacks are highly appreciated ASAP.
i want to generate crystal report using vb6.0 using invoice table which have rate column and total should round up like 63.7 to 64.00 invoice table is in sqlserver 2005
Hi All, I has a question how can i insert a image into a specific cell in excel using the vb6. I already store the image(jpg) in a specific location then i want to display it at excel Can you all teach me what the method i should use? Or …
Hello can you help me please i got problem in making the crystal report 9,i have form which is inquiry of customer no. if i will input 0001 keydown this will display the data and i want to print it to have hard copy...can you help me please how to …
Hi, The following program takes all the items off of an excel sheet that are selected and puts them in a single file. I would like all of the items in a column to go to a single file, and then put all of the items in the next column …
Hi Can anybody explain, How to copy folder in VB6. All the files in that folder should be copied. Please help
Hi friends, Please tell me the process of creating and use of module.
Hello, How do you determine the frequency over ranges, i.e instead of returning the frequency of each of the 40 values, how could we find the frequency from 1-10, 11-20, 21-30, 31-40 ? Cheers. Zander
Today I tried to write a vba macro with the vba editor in excel to perform some stupid and time-consuming job. but then ,after 2 hours trying to write the macro in vba, I found that I don't know how to write vba, and the tutorials is not completed in …
I'm new in VB6, and i'm having an error message while debugging...after the login checking, I need to open the form to select a project code from my Access db. The error was stop at RS.OPEN. and prompt the error message "Method or data member not found". Now, when I …
I have form name FRMABC with msflexgrid Msflexgrid get populatd by data from table msaccess database on form load event of FRMABC There is one command button on FRMABC which opens another form say FRMPOR where new data is added on to database table There is subprocedure (Public) SubRefresh on …
The End.