vba x 200

12,155 Topics

Member Avatar for
Member Avatar for uhgarrett24

How do I take the information I type in a text box and then store it into an array. For example I have array(6). I have text box lastName. I type the name 'Smith' into lastName and when I click buttonSubmit, that text box information is stored in array(0) and …

Member Avatar for BitBlt
0
182
Member Avatar for thetechlady21

I can not seem to delete a record from the text file taken from a datagrid. Please see below. I know I need to bind the data and at the same time I need to delete the file in the current directory. I have tried a few methods but can …

Member Avatar for BitBlt
0
269
Member Avatar for SmokeyCannon71

[COLOR="red"]I'm making a program like Notepad but better! But i don't know the code for the Open and Save buttons! Can someone please tell me the code? (I'm using VB6)[/COLOR]

Member Avatar for SmokeyCannon71
0
168
Member Avatar for uhgarrett24

I have an array of size 6 called apparray(6). I have stored several strings into this array from textboxes. Two of the text boxes, lastName and firstName, has the value of 'Smith' and 'John', therefore apparray(0) and apparray(1) have the same values. How do I now display these values on …

Member Avatar for hkdani
0
98
Member Avatar for Mac Mac Gregor

Hi I have developed a vb document generator that creates MSWord RTF documents based on certain rules, user inputs and text passages also held in MSWord RTF format. The system selects passages from the text passages and build the output MSWord RTF document. This has worked perfectly well under MSWord …

Member Avatar for hkdani
0
139
Member Avatar for pratik sagar

I am developing a desktop application like address book etc. I want to generate a serial key(setup key) using serial number of hard disk, ram, motherboard. So please help me How can i get serial number of hard disk, motherboard, ram.

Member Avatar for hkdani
0
206
Member Avatar for Kayano

Hey guys just wanna tell you now that I chose to do a minesweeper game or attempt to do one for a class project in VB. Now I'm not that experienced of a programmer so this is fairly difficult and I can tell you that I'm in way over my …

Member Avatar for helix777
0
682
Member Avatar for harish13
Member Avatar for arthu rias
0
388
Member Avatar for deceivingrakesh

Guys i have a question !! lets say that i code something in java-script for client side and vb-script in the back-end, now is it possible to execute vb-script in the back-end only once java-script gets executed!! there's an asp button on click java-script should get executed then the vb-script …

Member Avatar for Member #905211
0
86
Member Avatar for thetechlady21

I am having trouble with this code and realizing that my flags are not work. I am referring to a list box with US states inside. See my code below and tell me what I am doing wrong. I can not output the state with first two letters. A simple …

Member Avatar for WaltP
0
186
Member Avatar for violette

I want to consolidate data from multiple worksheets however it only copies the value without copying the format. i need it to copy the format as well because there is one field need to have number in the format 0013. but when i run this code, the number will display …

Member Avatar for urtrivedi
0
177
Member Avatar for y2kshane

im creating a custom User Control. its a custom picture box . i want to user to select the picture file from file system. so i use following code(i found it on a forum) . but vb says that code has a error . help me :'( [CODE] <EditorAttribute(GetType(System.Windows.Forms.Design.FileNameEditor), _ …

Member Avatar for y2kshane
0
256
Member Avatar for violette

I need to insert data from cell 'B1' into a column that has 500 rows. how to make the data repeated on every row using macro VBA?i want to make it copy to multiple sheets? below is my code: [CODE]Sub Copy() Dim wbkFirst As Workbook Dim wbkSecond As Workbook Dim …

Member Avatar for violette
0
167
Member Avatar for jadzrev13

Hi there, Currently I am making an payroll system using VB6. There is a form where it is used as a search form. We will input the name in the search bar. So what I want to ask is that, is it possible that without clicking the search button and …

Member Avatar for WaltP
0
143
Member Avatar for Member #740484

I would like to start this post off with, I am not looking for someone to do my homework for me. If I was looking for someone to "do it for me", I would go to one of the sites where you can pay someone to do your work for …

Member Avatar for Member #740484
0
1K
Member Avatar for BroncoTrojan

Has any one successfully implemented adding additional voices to system.speech in Visual Basic 2008 or 2010 with Windows 7 64 bit? The support documentation is very old and I am not sure I will be pulling my hair out working on the newer hardware and operating systems. Thank you for …

0
116
Member Avatar for m1234ike

Hello Daniweb, I am writing an App that uses two buttons, two radiobuttons, and a textbox to use the Windows shell command to print the "getmac" command to a text file: i.e. "getmac /v >> whatever.txt" I want to save the "wireless" MAC addresses to a text file from a …

Member Avatar for m1234ike
0
250
Member Avatar for anwar.mustafa

I am facing a problem, I have pulled some records in DataGridView from database. Now I want that when I select some rows from DataGridView and click on command button, ID's of all selected rows should be displayed through message box. By using followng code I am able to display …

Member Avatar for lolafuertes
0
173
Member Avatar for anwar.mustafa

I am developing a Windows Forms Based Application using dbo.database and Visual Basic: I populate some Orders in DataGridView1 using LINQ 2 SQL from "tbl_Orders" where OrderStatus is "Pending". I change OrderStatus Column Type to "CheckBox" in DataGridView, Now I want that when I select some records (Orders) by checking …

Member Avatar for adam_k
0
321
Member Avatar for wbexclusive

Hello, I am creating my project now and I am using Dreamweaver CS3 ASP VBScript and Access 2007. Can you teach me how to restrict the database to add only three records on the table; say, a student has a MemberNo and he can only use his MemberNo to borrow …

Member Avatar for jcarbillon
0
156
Member Avatar for thetechlady21

[COLOR="Green"]I am trying to select a row in my datagrid. There are two columns only. The row displays into two text boxes. I am trying to figure out how to select the next row in my datagrid. I have tried looking at your examples but I am still having trouble. …

Member Avatar for Reverend Jim
0
209
Member Avatar for MichaekMagdy

Dear All, I'm New in this forums and hope to have a good time in. The below link is simpaly has two combo and when to fill the both combo and click add it's OK but when to select any record and write then press edit I got a problem …

Member Avatar for WaltP
0
105
Member Avatar for ruelzkie03

hi... can someone help me with the codes..... when i search for the person only the data of that person appears on the form... i want also to show the picture of the person being search... how can i do that?.... can it be save within the adodc connection?... BTW.. …

Member Avatar for MichaekMagdy
0
159
Member Avatar for violette

I got an error when i run my program. it says; you have an error in your sql syntax;check the manual that corresponds to your mySQL server version for the right syntax to use near 'VALUES ('2011',5,5131,678,'342',809 at line 1 what does it mean? here's my code. can someone point …

Member Avatar for WaltP
0
605
Member Avatar for kurohige

so i'd being working on an access app, VBA and i need to restart it, the application usually goes stops running when error 3043 or internet connection goes down.. is there any way i can restart this application without having to build another app to check if is running.. thanks …

Member Avatar for kurohige
0
967
Member Avatar for kurohige

[CODE]980 Set rs = db.OpenRecordset("0 - Supplier List") 990 RptLoc = 0 1000 If rs.EOF = False Then ProcessCount = ProcessCount + 1 1010 Do While rs.EOF = False [COLOR="Red"]1020 XL.Sheets("Supplier").Copy Before:=XL.Sheets("Supplier") 1030 XL.Sheets(2 + RptLoc).Name = rs!Supplier[/COLOR] 1040 RptLoc = RptLoc + 1 1050 rs.MoveNext 1060 Loop 1070 XL.DisplayAlerts …

0
87
Member Avatar for jcdisciple

I have an application that I modified from [url]http://offbeatmammal.com/upload_resize.aspx[/url] Can someone show me how to convert the vbscript UPDATE Query at the end to a DOT NET????? [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <%@ Page Trace="False" Language="vb" aspcompat="true" debug="true" validateRequest="false"%> <%@ Import Namespace=System.Drawing %> <%@ …

Member Avatar for hericles
0
226
Member Avatar for Pari13

Hello App/Machine Coder.... How are you all?? I am trying to developing Macro Excel VBA Application. but when i am trying to run/compilie it shows me an error called "compile error can't find project or library" and when i'm click ok it redirect me to Refernce page and shosw me …

0
74
Member Avatar for Mocabilly

Hi all, I wrote a .hta script (with vbscript - no jscript, in it) and put it on a fileserver. The people who use this script, start the script by clicking on a shortcut on their Desktop that leads to the .hta script on the fileserver. The .hta script reads …

0
184
Member Avatar for Estella

Hi Masters... I want to hide folder or drive with vb6, but i don't have idea how to do this. any one know how to solved this? Please Help. Any suggestion will appreciated much.

Member Avatar for Lesbassnett
1
970
Member Avatar for v_janssens

I am trying to call a C++ program for a Windows Forms App and to subsequently wait until the exe finishes. So far here is what I have: [CODE] Dim ProcessID As Integer Dim ProcessHandle As Integer ProcessID = Shell(filepath_exe, AppWinStyle.NormalFocus) ' Check the Shell command worked If ProcessID <> …

Member Avatar for BitBlt
0
302
Member Avatar for kanyonb38

I am making a invoice program and I tried multiplying the number of times clicked which is in a text box and the price of the item which is is my resources. I already have the code to count how many times the button is clicked. Please Help!! Thank you …

Member Avatar for BitBlt
0
117
Member Avatar for Tylerp14

As the title says, I need to know how to put a "Credits" or "About" tab in my form, so people know that its from me. (I made a little Halo Reach Music Player with music, I just started programming yesterday and the app is finished, it just needs the …

Member Avatar for Tylerp14
0
261
Member Avatar for razamughal67

How to delete Temporary Internet Files using visua basic 6.0 Hello everybody I think all is well. I want to delete all files and folders in local settings folder in c: drive Using Visual Basic 6.0 Example: C:\Documents and Settings\RazaMughal\Local Settings\Temp C:\Documents and Settings\Don't Worry\Local Settings\History C:\Documents and Settings\Razamughal\Local Settings\Temporary …

Member Avatar for debasisdas
0
350
Member Avatar for chamnab

hey everyone last week i got an assignment from my teacher.He want me to create a program that have the same interface like tuneup 2011.He told me to use ActiveX Control but i don't understand what he mean ! can you help me how to do it ? i try …

Member Avatar for chamnab
0
234
Member Avatar for rtr88

We use a program that checks number between many different screens. We check them against documents to make sure they are correct. I know that a program could be created to do this instead of a human. How do I go about getting someone to write a program to do …

Member Avatar for rubberman
0
141
Member Avatar for tgreer

I have a C# Class Library which I want to use as a COM object in VBScript. I'm using Visual Studio C# 2010 Express. Here's the class code: [code] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace PB_GUID { class PB_GUID_Encode { private Guid _myGuid; private string …

Member Avatar for tgreer
0
206
Member Avatar for pratik sagar

hi, i am a vb6.0 user and i would like to know how to get unique serial no. of hardware like RAM, MotherBoard, Harddisk. and after getting this code how do work like when i make a setup than it will display this serial no on screen and when i …

Member Avatar for alanlawson123
0
77
Member Avatar for Arun Vir Singh

Hi, i want the difference of time between clicking two buttons in a label. i tried most of the things but not working for me. could anyone provide me the exact coding for this. There are multiple coding already there for those buttons however i want to use it to …

Member Avatar for WaltP
0
153
Member Avatar for dre-logics

I have a simple question. [COLOR="Green"]Do while loop[/COLOR] to check each record in a MySQL Table, see code [COLOR="Red"] But i want certainly not just want not use recordset or MySqlDataReader.[/COLOR] I Is that possible? Information: I use Visual Basic 8.0 and Mysql 5.0 I have one table: Articles Article …

Member Avatar for SamR44
0
5K
Member Avatar for dewaal99

Hi There experts... i am hoping that someone will be able to help me with a problem... I have the following vba code.. some of you that are clued up with vba will know... it is a code i got from the net that allows me to choose dates before …

Member Avatar for adam_k
0
166
Member Avatar for PutingPanday

Help in my Visual Basic Program...just got stuck I'm creating a Multiplayer LAN game in VB 2008 here is what I wanted to do I created a textbox named txtbuttons.text. If I inputed a value, for example 23856 in the textbox.The Values will be distributed in different textboxes. example Value …

Member Avatar for PutingPanday
0
232
Member Avatar for Resentful

This thread was meant for the VB.Net section. If someone could move this, I would appreciate it. I know this may be the wrong section, but I couldn't decide which was best. I understand VB.Net quite well, but Actionscript throws me off most of the time. I am needing a …

0
87
Member Avatar for whitejava

Question is: [B]How can I send two strings using SendData in different packets?[/B] Because when I try to send two strings one after another, winsock joins them in a single packet thus making one string received from client/server. For example: [CODE]Winsock1.SendData "String1" Winsock1.SendData "String2"[/CODE] The final received data will be: …

Member Avatar for whitejava
0
2K
Member Avatar for adamfhs

Im 16 and have been working with Vb for a few months when i have time. I am trying to make a text box that when the user of the program types into it what they have typed will be sent to [B]my email [/B]with a push of a button...Im …

Member Avatar for Member #907664
0
163
Member Avatar for Ryujin

Folks, I'm part of a team of advisors at a school. Students go to a central office to physically sign up to see us. The office is far from most of us, so we all need to make a once-daily trip over there to learn who's coming and when. The …

Member Avatar for tjaank
0
454
Member Avatar for Misbah khan

have two form in one form i salect some thing and click on done button a mesage box prompt me that u selcet this and this and on the other form a button result is place.. when i click on it a new form appears and the msg box text …

Member Avatar for hkdani
0
172
Member Avatar for projecttoday

I'm trying to make a form in VB.Net that takes speech input (not text-to-speech) on my Windows XP Pro computer. I've tried to install Microsoft Speech SDK 5.1 according to [URL="http://support.microsoft.com/kb/306537"]http://support.microsoft.com/kb/306537[/URL]. The problem is my Office 2007 does not have an Alternative User Input feature, as it says in the …

Member Avatar for Micro_2001
0
467
Member Avatar for AT--O

Using VB Express 2010 in windows XP Pro 64. A ListBox shows the project forms names. On ListBox_DoubleClick [CODE] For Each F As Form In xFormCollection If F.Name = ListBox.SelectedItem.ToString Then Try F.Show() Catch ex As Exception MsgBox(ex.Message) End Try End If Next [/CODE] Works fine the first time but …

Member Avatar for AT--O
0
1K
Member Avatar for Kalys3

The End.