12,155 Topics
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 …
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 …
[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]
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 …
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 …
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.
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 …
i want to convert a file from text format to binary format using VB how can i achieve this
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 …
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 …
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 …
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), _ …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
[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. …
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 …
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.. …
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 …
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 …
[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 …
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 %> <%@ …
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 …
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 …
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.
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 <> …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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: …
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 …
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 …
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 …
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 …
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 …
Its all in the question really! My datagrids work fine! Using visual basic 2010 please help!!!
The End.