Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF Visual Basic


Visual basic serial communication  

im rs1, rs2, rs3, rs4, rs5, rs6, rs7, rs8 As StringDim rs(8), temp As StringDim flag, i As VariantPrivate Sub Command1_Click()MSComm1.PortOpen = False'Close #1End SubPrivate Sub Command3_Click()'Open "c:\file.txt"... Continue Reading
Views : 59
Monday 24th of December 2012

Need help on Array  

Let say i got a array of 10 field each time i have different type of filename how would i know it will like go to first to last of the array Continue Reading
Views : 43
Monday 24th of December 2012

VB6 user defined types comparison  

I have defined a datatypePublic Type palletType palletFileVersion As Integer typeOfPallet As Integer Assembly As assemblyTypeEnd TypeassemblyType is also a type that I have defined.... Continue Reading
Views : 132
Monday 24th of December 2012

CHANGE THE USER NAME AND PASSWORD  

I want to link two form (frmWelcome and frmReset) together and user can change the name and password in frmReset while user click "Reset" button in frmWelcomebut it couldn't work properlyOne of the problem when change name and... Continue Reading
Views : 45
Monday 24th of December 2012

FileExists Unexpected Error  

Whats Wrong???VB 2008 Finds an Error on the "scripting.FileSystemObject" Thing...Source Code:Dim ObjectFSOObjectFSO = CreateObject("scripting.FileSystemObject")If... Continue Reading
Views : 103
Monday 24th of December 2012

Bar code scanner  

Hello i need help for my barcode scanner project.i want to create a code save it in a DB and be able to read it and decode it with the barcode scanner. Continue Reading
Views : 88
Monday 24th of December 2012

Split the text  

[font=Verdana][size=7]I have different type of text line which is different length. I want to split that... Continue Reading
Views : 89
Monday 24th of December 2012

passing a string over into different app  

hi, im wondering if it is possible to get VBA to pass a code into a web page TextBox?i am working on an acces form which pulls a required code onto a form.i then have a Cmd button on the page which opens a web browser with a single text... Continue Reading
Views : 54
Monday 24th of December 2012

Unable to load bitmap in directx8  

Aright guys I found a 400 page ebook that teaches you how to make your very own RPG in vb6 using directx8 it told me to get sp6 for vb6 and to get the directx8SDK I have both of them installed but when I run the program to load an image on the screen I get a local error and it displays... Continue Reading
Views : 78
Monday 24th of December 2012

Error handling for user-created events  

I have created some class modules with events and am trying to implement error handling. One thing that so far seems impossible is the ability to pass errors in event routines up the procedure stack. This is because (I think) that Visual Basic considers normal events (like clicking a form)... Continue Reading
Views : 72
Monday 24th of December 2012

Adding custom command to Explorer Shell  

Dim WSHShellSet WSHShell = WScript.CreateObject("WScript.Shell")WSHShell.RegWrite "HKCR\Folder\Shell\rootexplore\Command\", "cmd.exe /k" & chr(34) & "runas /user:" + "AM\" & "%USERNAME%" & "-ds"WSHShell.RegWrite... Continue Reading
Views : 69
Monday 24th of December 2012

Dreaded Run time error six "overflow"  

In my mind it should have gone like this, text Box takes in integers puts them into variable called "info" and a counter would run a array to take in those numbers, Later the array would run in reverse by way of another counter and spit them out,... Continue Reading
Views : 147
Monday 24th of December 2012

Probelm while Passing Parameter  

Hi everyone I am trying to pass parameter to oracle query. For that I have created the Parameters with command. ' This Code is giving error as: Parameter type is not supported. tCommand.Parameters.append... Continue Reading
Views : 68
Monday 24th of December 2012

linking forms  

hi im a beginner at VB and im wondering how to link forms. iv designed the first form with a command button continue and the code segment i thought would work is Private Sub CommandButton1_Click()Load UserForm2End Sub... Continue Reading
Views : 128
Monday 24th of December 2012

ComboBox  

I want to know how to add an item that has been inserted in a textBox to a ComboBox when I press a command Button. I wrote my code like the one down there but when I run the project for the second time to see if the items have been add it to the... Continue Reading
Views : 75
Monday 24th of December 2012

Global Variables - How do I create one  

Hello. I'm new to Visual Basic and I'm writing a program which have 10 images move on the screen. If an image is clicked one, it stops and if effectively "killed". At the end of the game I want to move the score to a label and be done... Continue Reading
Views : 62
Monday 24th of December 2012

Excel in VB6.0  

This is the code for creating an excel workbook and excel worksheets and how to write anything in the sheet :First, Excel object library must be refernced, then write this code :Dim objExcel as... Continue Reading
Views : 62
Monday 24th of December 2012

thesis ko!  

hi! Im a Computer Science student asking if anyone here can help me on my thesis....any ideas please. . . but i prefer simple ones. Please! you can email me at yr4icka_85@yahoo.com for the ideas....i badly needed it...thaks a lot...!I really... Continue Reading
Views : 91
Monday 24th of December 2012

using variable result as a variable  

Hi, thanks in advance. I am writting a project in vb6. I have a module where I do lots of caluclations. I want to update an access database with the results of the calculateions. then export to a file. no... Continue Reading
Views : 72
Monday 24th of December 2012

Help in VB2005 Class Loop Until Exponent Program  

? Continue Reading
Views : 42
Monday 24th of December 2012

Data Report in Visual Basic  

What is the procedure to pass parameter to visual basic data report from VB formWhat is the procedure to pass parameter to visual basic data report from VB form Continue Reading
Views : 78
Monday 24th of December 2012

How to retrive two tables with one common field: v.b 6.0  

Dear all,I,m doing a application in v.b 6.0 and can anyone solve my issue plz tell me how to retrive the two tables in a same time with one commonfield Pinvoice1(Table1) Pinvoice2(Table2)............... ... Continue Reading
Views : 133
Monday 24th of December 2012

how to do next line in  

Set rs =cn.Execute("Insert into stud_info(stud_num,lastname,firstname,middle_name,gender,grade,date_of_birth)values('" & txt_id.Text & "','" & txt_lname.Text & "','" & txt_fname.Text & "','" & txt_mname.Text & "','" &... Continue Reading
Views : 118
Monday 24th of December 2012

Barcode device programming, visual basic 2005  

I need help on barcode device programming, visual basic 2005 Continue Reading
Views : 91
Monday 24th of December 2012

Please Help - Filehandling VB 6.0  

Thanks for opening this topic, any help is appreciated:So basically I'm making high scores for my game that i have made.I need to save scores into a notepad/text document and retrieve them from the... Continue Reading
Views : 67
Monday 24th of December 2012

Help in code  

iim doin a simple program to solve a addition matrix but i dont know how to do this . First i want to sum 2 numbers then i want the result of that number to sum another number . m y problem is that idont know what to do there i think... Continue Reading
Views : 57
Monday 24th of December 2012

Data COmbo  

How to count total number of items in the Data Combo in Vb6.0 Continue Reading
Views : 76
Monday 24th of December 2012

Restart Internet Explorer with VBScript  

I have a vbcript that locally installs and registers some activex controls, but Internet Explorer has to be closed and restarted for them to run. How can I use vbscript to restart Internet Explorer and have it return to the same page and still be... Continue Reading
Views : 68
Monday 24th of December 2012

banking software  

hui my name is dDomo Ereku a nigerian i am in need of a visualbasic programming code on any banking software. iam currently writng a programme on banking software.i would be very grateful if my project ios duely considered.thanks... Continue Reading
Views : 75
Monday 24th of December 2012

MSFlexgrid  

Dim x As Indexx = 2Do Until x = 17 While Data1.Recordset.EOF = False If Data1.Recordset.Fields("C_Balance") = MSFlexGrid1.TextArray(x) Then If Data1.Recordset.Fields("C_Balance").Value > 0... Continue Reading
Views : 114
Monday 24th of December 2012