12,155 Topics
HI, I'm trying to import data coming from a .csv file. The .csv file contains a column of coupon codes. I have constructed a send email form made with ASP earlier. This will send a coupon code taken from the .csv file one at a time after a person completely …
If someone could tell me if there is a function or method, or some way of finding the directory that the VB project loads to when it is installed on other computers that would be great. What I want it for is so that I can save and restore a …
hey, I am looking for a means to END my application in VB6 based upon my computers clock i know the function in VB.NET [CODE]If My.Computer.Clock.LocalTime.DayOfWeek = DayOfWeek.Wednesday Then End End If [/CODE] won't work in VB 6 tho. get a run time error "404 object required" any help at …
Hi, I want to know how can we connect to the Microsoft ODBC Drivers to the VB.
Hi guys. Im a student and i have a problem in finding the right procedure to solve my problem. Giving a set of numbers that will find their combination for a given value. For example 1st digit will be the size and the 2nd digit will be the qty.: Size …
function CheckError( msg) If mci.ErrorString = [COLOR=#800040]""[/COLOR] Then CheckError = False Exit function End If MsgBox msg + [COLOR=#800040]": "[/COLOR] + mci.ErrorString mci.SendString [COLOR=#800040]"close snd" [/COLOR]CheckError = True End function Sub Record mci.SendString [COLOR=#800040]"open new type waveaudio alias snd buffer 6 wait" [/COLOR]If CheckError( [COLOR=#800040]"Open"[/COLOR]) Then Exit Sub mci.SendString [COLOR=#800040]"set …
Hi All. Does anyone know how to get the ShareName of a Local Drive? Or even if the Local Drive is shared? I know you can get the ShareName using FileSystemObject, but this only works for Network Drives (Local Drives return ""). Any help would be greatly appreciated. Thanks, Chris.
Hi I'm using Visual basic.net 2005 I've got a little problem that i help with. I've created some arrays: Dim vehicleMake() As String = {"[Select]", "Ford", "Vauxhall"} Dim vauxhallModel() As String = {"[Select]","Astra", "Corsa"} Dim fordModel() As String = {"[Select]", "Feista", "Focus"} added two Combo boxes: `cmbVehicleMake & cmbVehicleModel` and …
I'm an AP level computer science student, and I learned VB last year before touching in basic C++ techniques. Now, I was wondering as I (kinda) learn Java (I'm crap at it) what the overall net worth of having VB skills are? I mean, Java seems to be THE language …
sorry if this is really nooby but i cant seem to get pass the basics. i need to write a program that accepts a series of exam marks, ended by -1. When the -1 is entered, it should display the following results in a text box,: [INDENT]The average (mean) mark[/INDENT] …
Hello, i have been working on a VB Assignment which needs to be completed. However i have been experiencing some difficulties. I am not particularly experienced with VB, and so forgive me if these problems seem nooby.. Basically so far, i have a form where Data of a Customer and …
Greetings! Im using this format to use and open database Set ac = New ADODB.Connection Set ar = New ADODB.Recordset strconek = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\record.mdb;Persist Security Info=False" i want to use variable value in my data source. my database is record.mdb. i want to make syntax for …
greetings! anybody know how to convert the month value into word format for example date = 12/2007 month is december how to convert this 12 into "december " is there any command to get the month value into string or word format...or i make may own... thanks in advance
Ok I have just downloaded the VB 2008 Express Edition and need a BIT of help on how to print a form and how to store the values of the check boxes on END and load them on LOAD of form!! Thank you.... I know this may not be the …
I am trying to create a phone book program in Visual Basic. I have so many phone numbers, I thought this would be a neat way to handle the overflow lol. I want it to read the information from a text file with the following data: First name, last name, …
i am writing a VB 6 program, but the kill command wont work Private Sub Command7_Click() Kill "C:\Documents and Settings\HP_Owner\Desktop\server\seats.exe" End Sub when the command button ic clicked the runtime error 53 "file not found" comes up? The file exists and the path way is correct, any ideas on what …
Hi I want to know how to use vb6 visual data manager to create a database with ms access. where actually can vb6 visual data manager be located.Please help. Thank you.
How to select a particular row in MS Hierarchical Flexgrid control during coding. I m not getting the desired property.
In vb6 form I've 1 Textbox, 2 option buttons & 1 command button my need is I want to move from one option button to other by pressing Tab key. Help me out. This is customer requirement.
I am a Lotus Notes developer trying to write code in VB. I have a number of scripts running to hide rows, and it flashes whenever the code is run. Is there a way to run this code in the background so that the user does not see the flashing?
Hi, I have entered names of student under field NAME in Access, the names are like;- Mohan Chaturvedi, Deepa Agarwal, Mona Agarwal, Sohan Chaturvehi etc With the help of VB6 and Crystal report 8.5 I want to take the Report of those student within whose name the word Agarwal exist. …
Hi I have a program developed using VB5 with an Access 97 database. Just before it reached 1gig I compressed it. Now its over 1gig and keeps yelling that database has reached maximum capacity. May someone please help me on how to handle this. Thanks in advance. Guets
Ok my program is about car spare parts of a spcific car! Next to each part I have a check box that when it is ticked it indicates that the part needs replacement! Is there a way to print only the parts that need replacement?
hello. i'm searching for records of an specific item with it's unique item code but it seems that i don't see some of transactions after transferring it to a flexgrid. i'm using the movefirst movenext method so i could add it to the flexgrid. i'm using vb 6. thanks
Greetings! " Visual Basic 6 Program" I want to open the database file base on the given filename. If the database file is present all data that i want to save will be save in this database. Else, if the database is not present it will create new database to …
would some one please help me with this?? i 've got an assigment from my professor which is in a University level (p.s i am still in college, and this class suppose to be the"introduction of programmng") However, in the game we suppose to create a "BlackOut Game", which we …
Hi Pros, I am new to VB and I was asked to research about a .vbs extension file. I am supposed to use Notepad to write my codes and save it in a *.vbs extension. I would like to know if I can connect to the database using this method?
Hello, First I apologise if this isn't the right forum... I have a vbscript that is non-asp. It is run in a program called EFI-Logic that is an ERP. EFI-Logic caonnects to our MSSQL database for normal operation. The problem is that on some computers I get the following error: …
[INDENT]Hi! im a student needing help for my thesis project. im currently working on a supply chain management system. [/INDENT] [INDENT]i have created a sales form wherein you can input the customer order. adding the customer and product information and subtracting ordered product quantity works. im having problems with my …
hi all i am new to visual basic ,i am using access as frontend and writting code in vb,in the ms access form i have a combobox and a textbox box ,what i have to do is whenever i select an item in combo box the textbox will show the …
Hello, i want convert amount in text to amount in numbers in vb6. please help me
When I'm trying to update information in the database vb6 is fetching me the following error:- [B]"Row cannot be located for updating. Some values may have been changed since it was last read."[/B] what is the cause and remedies for the above error?
Hi everybody...I am having a very strange problem and hope some of you can help me as soon as posible. I am workin in a small LAN with a XP PC and a W2000 PC. I have an aplication developed in Visual basic, in the XP PC, for making a …
Hello VB forum users. I've a problem with a Book Depository I am trying to create in VB 6. Right now I have Text box's that display information about a book. I also have a list box that lists all the Barcodes of the books, that are stored in my …
Hi people, I am sort of very new to Visual C++. I got some query to ask you guys!! I am actually creating a satellite DLL for an application which has not been localized. The situation is: I need to create a new DLL with all the dialogs and string …
Hello, I'm using the following code in a EXE to open excel with vb6.0 : [code] Sub Main() Dim xlapp As Excel.Application Dim wkbKei As Excel.Workbook Dim Key As String 'Check if file exists If FExists(App.Path & "\Kei.xls") = True Then 'Open file Key="test" Set xlapp = New Excel.Application xlapp.UserControl …
Hi I am still facing problems after writing the codes for finding a record. A compile error occurs, which says "User-defined type not defined" .I don't understand what it means or even how to go about it. please i need help.The following are the codes i wrote for the program; …
Hi guys/girls, I have several links to excel files using the OLE tool. When I open each of these, it opens in it's own window. How can I make them open in one 'excel' application. Ie After I open the first file, can I make the next one open within …
how to write a programme for preime no between 2 given no. it should be display and count the np of prime no. can u send it
I am new and very lost. Any help is greatly appreciated I have an html page that I am using VBScript to redirect to another page I want to bring over data pulled to a textbox on form1 to a textbox on form2. This is what I tried This is …
I have done a vb script to map the network drives. It works fine for me. But when I checked with a couple of other PCs, it doesn't work. Could anybody tell me why this is happening? Here is the code: [CODE]Dim WSHNetwork Set WSHNetwork = WScript.CreateObject("WScript.Network") On Error Resume …
I have this routine in VB that takes one pipe delimited text file and splits it into multiple text files according to one key field. The records in the text file look something like this: WTX_2.0|O|F|1234|andre.couturier@rrs4.ca |5678|NBSID09876|O_20071121.TXT||1511:AE00001R||11152007||SAMPLE COMMENTS WILL GO HERE ||599|12 |401 WTX_2.0|O|F|1234|andre.couturier@rrs4.ca |5678|NBSID09876|O_20071121.TXT||1511:AE00002R||11152007||SAMPLE COMMENTS WILL GO HERE ||599|12 …
Can anybody help me with getting managed code to talk to unmanaged code? I'm okay coding via clr, but I don't have a clue what I'm doing when I try using the GUI interface. I'm using MS Visual C++ 2005 and I'm totally lost VB is much easier. I could …
In VB6 I'm using one Textbox & Two option buttons in a Form namely option1 & option2 I want to use Spacebar to move from one Option button to other. is there way?
I am trying to create a macro in Excel. I am trying to do a search on say summary. I have placed an * as the first character of the summary to put those at the top. After those are found, everything after the * needs to go in sort …
Hi, I have a small program that displays a number of pictures by using a timer. I don't know if this is the best way to do this, but it works. What I would like to do is add a cmdButton so that every time I hit the cmdSwing button …
I am doing an application in Vb with Access as backend and I need help with the reports. Can the reports generated in VB sent as attachments into email? If so, please help me with the procedure. Otherwise please suggest me with an alternative because these reports have to be …
Hi everyone! I have been working with VB5 for a quite while now and couple of days ago I encountered bizzare problem wiht custom toolbar. Here it is: My form has a custom toolbar with approx 10 buttons aligned in one row, with a couple of placeholders to separate groups …
Hi everybody, I want to make an app with command line parameters like: "dir *.jpg", when "dir" is the app and "*.jpg" is the parameter. Can anyone can help me.
The End.