vba x 200

12,155 Topics

Member Avatar for
Member Avatar for lance7tour

Have the following code but can only get it to work when I enter nothing into the answer box then it says sorry..... but if i enter any# or a letter it doesnt do anything.. wordpad will not accept all the end if's and else statements either. only one it …

Member Avatar for WaltP
0
208
Member Avatar for Shodow
Member Avatar for azzu khan

i m using two list box one(check style list box) is for food item another(simple list box) is for cost.when i selects any fooditem then a input will occour for entry of food quantity.and after selecting all items and entry of their quantity they will store in ms access databse. …

Member Avatar for AndreRet
0
799
Member Avatar for maheshsayani
Member Avatar for AndreRet
0
1K
Member Avatar for prajana

hello! I am designing an attendance system and i have a problem regarding marking the attendance. I don't want to use datagrid as i cant mark the attendance there ie i want to use checkboxes to mark the attendance. I'll provide a screenshot of how the form should look like. …

Member Avatar for AndreRet
0
892
Member Avatar for Jaseem Ahmed

i m here to ask u a importnt question... is there any way to scroll down or up the text boxes on frames... i mean to say, i have one form, and a frame, and so many text boxes on frame, that all can not b shown at a time, …

Member Avatar for AndreRet
0
244
Member Avatar for rohit2

I am developing a tool using java swing. In it I have to read a .vbs file. I have used the following code for it. Scanner fileReader1 = new Scanner(new File(fileName),"US-ASCII"); while (fileReader1.hasNext()) { System.out.println(fileReader1.nextLine()); } where fileName is valid .vbs file path This is working only for .vbs files …

0
78
Member Avatar for abu taher

A text box show current date(like 24-03-2009). I write in other textbox 3. I want when I write 3 then the textbox (24-03-2009) automatically increase month like 24-06-2009. how it possible?

Member Avatar for abu taher
0
120
Member Avatar for Jollyyy100

I have a form on my vb 6.0, i need to change the appearance. In the sense that, i can change its transparency or opacity of the way how the form looks. Is there any way possible i can do that ?

Member Avatar for Jollyyy100
0
396
Member Avatar for abelingaw

I want to load values from a lstview column to a combobox in another form. The problem is that, my combobox style is 2 - Dropdown List and the values in it are from my database field. That's where the error occurs. Saying [ICODE]Text property is read only.[/ICODE] I could …

Member Avatar for AndreRet
0
870
Member Avatar for _Zak

Hey everyone, I just registered here and I am really interested in learning and practicing coding as I want to make a career out of it when I am older. I am currently a sophomore in high school at the age of 16! I have taken a few computer classes …

Member Avatar for AndreRet
0
130
Member Avatar for DarknessVB

I am a 30 year old programmer with 12 years of experience. Primarily the company I work for develops in Alaska Xbase++, but I started my programming career with VB6 and CA-Clipper. I am transitioning back to VB after a ten year hiatus to find many many changes since the …

Member Avatar for AndreRet
0
27
Member Avatar for memory100

here is the current code i have : [code] Sub Remove_Blank_From_PivotTable1() ' The purpose of this macro is to remove the word (blank) from apprearing ' on any pivot table report.' Dim counter As Integer ' setting up a counter to loop through the worksheet Dim lastRow As Integer, lastColumn …

Member Avatar for AndreRet
1
130
Member Avatar for xXEJEarlXx

please help me. i need codes. How to Convert Dotted Decimal to Binary and Vice Versa in VB6. and a short explanation for the code.. please...

Member Avatar for AndreRet
0
397
Member Avatar for princess_ann

Hi, i'm ann from philippines:p and i just want to ask how to install the program i made in visual basic 6?:?: do i need to make an installer?:rolleyes: can anyone teach me how? :sad: Pleaszzzzzzzzzzeeee...:cheesy: thanks...:lol: Note: please be specific.:!:

Member Avatar for azizmuda
0
260
Member Avatar for xXEJEarlXx
Member Avatar for Member #857553
0
201
Member Avatar for robergto

Hi there! And Thanks for your help.- I've installed VB 5 Enterprise edition, and amn trying to begin self-guided studies of this language. When trying to use "Microsoft Common Dialog Control 5.0", as told in a book, cannot find it -> CTRL + T and Componets. Instead, have a "Microsoft …

Member Avatar for robergto
0
162
Member Avatar for lance7tour

Am trying to get this code to work where the user enters n rock,paper,or scissors and the computer randomly picks as well, it then states what each choose, once u click ok it tells who won the match but my code once it shows the 1st winner result have to …

Member Avatar for Ezzaral
0
343
Member Avatar for JD69

i am creating a program that will log into a copier's web interface and automatically enter information without the user seeing. I found a code that will log into yahoo mail and click the submit button WebBrowser1.Navigate(TextBox1.Text) WebBrowser1.Document.GetElementById("Admin").SetAttribute("value", TextBox3.Text) WebBrowser1.Document.GetElementById("PASS").SetAttribute("value", TextBox4.Text) WebBrowser1.Document.GetElementById(".submit").InvokeMember("click") this code does not work on the copiers …

0
71
Member Avatar for JordanHam

I am just having trouble with the beginning stages here. I am just very confused on different syntax terms. I have a book here "Microsoft Visual C++.net" with all the installation and whatnot with it. It doesnt use the normal cin and cout but used Console::WriteLine and what not. Is …

Member Avatar for JordanHam
0
155
Member Avatar for spmg_092

Hi guys. I am having a bit of trouble with the listview control at the moment. I am trying to change the position of an item in the listview but I have no idea how to do so. I am also trying to set a command button which can "click" …

Member Avatar for barriegrant1
0
140
Member Avatar for lance7tour

Am trying to get this code to work where the user enters n rock,paper,or scissors and the computer randomly picks as well, it then states what each choose, once u click ok it tells who won the match but my code once it shows the 1st winner result have to …

Member Avatar for codeorder
0
664
Member Avatar for PinoyDev

Hello guys and Good day! I just want a little help on how to get the total number of space from the left until the word starts and display the total space in msgbox.. Example: [Code=vb] combo1.AddItem = " Bank " [/code] In this example the total number of space …

Member Avatar for PinoyDev
0
182
Member Avatar for Shodow

can you help my with the code for my cmdDone to add a new record into my database, i can't seem to get it here is my project [URL="http://dl.dropbox.com/u/9153815/Unknown.rar"]http://dl.dropbox.com/u/9153815/Unknown.rar[/URL] no luck even with tutorials

Member Avatar for Shodow
0
146
Member Avatar for piyushseven

Dear Daniweb Team I am new to vb.net and doing some experiments with it. Trying to make a small application for personal use. I have some WORD files, which are formatted using bold, italic and colors etc. I want to copy entire content of word file into SQL Server table …

Member Avatar for lolafuertes
0
108
Member Avatar for maichy

hi guys, does anyone have an idea how i could generate a monthly,daily or annual report using sql statement since i have tried with the one for daily and i keep getting the error 'now' is not a recognized function name. i want to get the total of Amount column …

Member Avatar for muthukumarbe
0
225
Member Avatar for murnibta

Hi all. I have error with script below : Dim sql as string sql = "select * from [table] where [field] like '%" & text1.text & "%'" how must I write "%" after "like"?

Member Avatar for alamnaryab
0
3K
Member Avatar for sspatriots

Hi, I'm new to Access and have only had one online course in it recently. I want to try and build a Home Inspection database that would allow me to add images for the findings during a Home Inspection. I've found a lot of bits and pieces of information on …

Member Avatar for debasisdas
0
151
Member Avatar for aquamarine_kath

I got a runtime error 3705 "Operation is not allowed when the object is open". When I click debug, it highlights the connection object I made in the module. I have a form named frmUser. When I click mnu_User from the mdiForm, I got a runtime error 3705, but when …

Member Avatar for aquamarine_kath
0
1K
Member Avatar for sk8rock_15

[B][COLOR="Red"]how do i add the numbers in label1 and label2 and i want it to appear at label3?[/COLOR][/B]

Member Avatar for jhai_salvador
0
139
Member Avatar for masterfact18

[CODE]Private Sub cmdDeduct_Click() Dim sConn As String, xQuantity As Integer, xStockTotal As Integer, xPre As Integer Set oConn = New ADODB.Connection Set rsDeduct = New ADODB.Recordset sConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\inventory.mdb;Persist Security Info=False" oConn.Open sConn If LenB(cmbItemName.Text) = 0 Then MsgBox "You have to select an item …

Member Avatar for AndreRet
1
105
Member Avatar for karlosekevin

i am using floppy as ATM card.. am thinking that using the serial number of the floppy, i can check with the database and confirm it and loging the user.. but i have problem in getting the code for getting the code for getting the serial number of the media.. …

Member Avatar for sapan gupta
0
131
Member Avatar for dre-logics

I have an official version of Visual Studio 2008 Team System. I use Visual Basic 2008 from Visual Studio 2008 Team System. With Visual Basic 2008, I built several Windows application. [B][COLOR="Green"]I want to use Visual Studio 2010 Premium [/COLOR][/B] [COLOR="Red"]Upgrade scenario[/COLOR] I have three Upgrade questions: 1.Can I upgrade …

0
102
Member Avatar for sirlink99

I would like to make it so that when a character (picture or shape) moves it leaves a trail behind it that keeps getting more transparent. how would i start. If you jump the trail should follow up then down. Can anyone help me? Thanks

Member Avatar for sirlink99
0
105
Member Avatar for plusplus
Member Avatar for weasel7711

I have a small company Database that tracks our repair orders. I have a query that I would like to execute based on criteria that the user inputs. I am new to VBA so most of my code is based on google research. I took a technique of wrapping my …

Member Avatar for weasel7711
0
267
Member Avatar for PM312

How can i add treeview control to my project. I cannot find this in components.

Member Avatar for AndreRet
0
251
Member Avatar for masterfact18

[CODE] Private Sub cmdAdd_Click() Dim sConn As String, xQuantity As Integer, xStockTotal As Integer Set oConn = New ADODB.Connection Set rsAdd = New ADODB.Recordset sConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\inventory.mdb;Persist Security Info=False" oConn.Open sConn If LenB(cmbItemName.Text) = 0 Then MsgBox "You have to select an item from the …

Member Avatar for AndreRet
0
202
Member Avatar for docfnt

I'm writing a text editor for my own use ( I'm "home learning") where I want to be able to leave comments for myself, like in code section of the VB express IDE. I have figured out how to get the Integer Location of the apostrophy, but can't get it …

Member Avatar for GeekByChoiCe
0
188
Member Avatar for Senefelder

I hope that this question is not out of place here. I have an access 2007 database for which I made a perfectly functioning simple "front end" program in VB6. That was back in XP or Vista days. I hadn't used it since the switch to Windows 7, and when …

Member Avatar for AndreRet
0
138
Member Avatar for seenivasaperuma

i want code for search in vb6.if i give see it will search seeni,seenivasan,seetha,mooseetha,etc

Member Avatar for AndreRet
0
65
Member Avatar for jcmartin

Hi all, My name is Jeremy. I am a 31yr old, part time student hoping to get into an IT job while earning my CS degree. I got a late start in life due to a rough upbringing, and I need some advice on how to break into the field …

Member Avatar for rbross
0
323
Member Avatar for GrexP

Normally, when populating controls with data from a database I create a connection and then pass a SQL statement to create a DataReader. I then loop through the DataReader and populate the controls. Because I am creating the SQL statement on the fly I can query the database joining on …

0
133
Member Avatar for masterfact18

problem is in form5 when i add stock it didn't refresh... just download my attach file "datagridprob.zip" and try to correct my code in "add_stock form" then if you got it right kindly post your code here...thanks...

Member Avatar for masterfact18
0
173
Member Avatar for martin11ph

Hi again, sorry for yet another thread. I am using the KeyDown function in my form and it is not able to perform because of the other controls. For example, there is a text box in the form. Once the form has loaded, when I press vbKeyRight, my code does …

Member Avatar for AndreRet
0
2K
Member Avatar for emongs
Member Avatar for masterfact18

[CODE] Private Sub Command1_Click() Dim xSold As Integer Set db = New ADODB.Connection db.CursorLocation = adUseClient db.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\inventory.mdb" Set rs = New ADODB.Recordset rs.Open "SELECT * FROM storage WHERE Current Stock = '" & Text1.Text & "'", db, adOpenStatic, adLockOptimistic If rs.BOF = True …

Member Avatar for AndreRet
0
191
Member Avatar for daniwaber

Hi, Can anybody help. How to scroll data in DataList by using mouse scroll. DataList have no Scroll method.

Member Avatar for AndreRet
0
1K
Member Avatar for AWPROGRAMMER

I have multiple projects in the same database that use the same dll code. Currently I have to define in the dll what the project names are and what the unc path is that each particular project needs to reference for it's excel file. The excel file contains notes that …

Member Avatar for AndreRet
0
179
Member Avatar for abelingaw

[URL="http://www.daniweb.com/forums/thread341763.html"]http://www.daniweb.com/forums/thread341763.html[/URL] Regards to that, i also wanted the system not to be able to delete Administrator Accounts via my code also posted there. Here's the code again: [CODE] Private Sub cmdDelete_Click() ' On Error GoTo err Dim intYN intYN = MsgBox("You are about to delete a record." & vbCrLf & …

Member Avatar for AndreRet
1
162

The End.