12,425 Topics

Member Avatar for
Member Avatar for gravitywell

Hey, I dont know much about macros or about scripting, but I've got a project to do for work and I looked up some codes and spliced them togeather to fit my specific purpose. I'm pulling pictures out of folders and sticking them in an excel file. You'll understand what …

Member Avatar for AndreRet
0
121
Member Avatar for stanleyekpunobi

hi am a newbie in programming please can someone help me with how i can search a datagridview with datetimepicker using the .value property.tanks.am using access 2007 as databse

0
42
Member Avatar for abathurst

Hello, I am having trouble inserting data from a XML file into a table in a SQL data base. The worst thing is it isn't coming up with an error but nothing is being inserted into the database Here is the condensed version of the XML code I am using …

Member Avatar for abathurst
0
2K
Member Avatar for MoDy kareem

Hello. Am creating a new program, it is like a webbrowser. But I need to make my own downloader from the webbrowser(I need my downloader start instead of internet explorer downloader, Internet download manager etc.) Sorry for my bad English :S

0
75
Member Avatar for Rizvi404

Am using date time picker control in vb 6 to show time but when i try to store that in a access database it stores the default can somebody help me make it modify to store only time...

Member Avatar for hkdani
0
139
Member Avatar for Happytree

Hi everyone, sorry to bother. I am new in Visual Basic and I am using this in my final year project as a GUI. My system is an attendance tracking system which requires student to scan their rfid tags to make sure their attendance is taken. A lecturer can view …

0
48
Member Avatar for Rizvi404

With rstp If NewRecord = True Then .AddNew !slno_ID = txtslno.Text !DepartureDate = txtdate.Value !Departuretime = txttime.Text !PlaceofVisit = cmbpov.Text !ApproximateDistance = txtdistance.Text !NoofDaysofStay = Txtstay.Text !BusinessExpected = txtbusiness.Text !Remarks = txtremarks.Text .Update .Requery End With arrtime = (CCur(txttime.Text) + CCur(txtdot.Text)) fm = (CCur(txtdistance.Text) * CCur(txtmr.Text)) arrtime1 = arrtime + …

Member Avatar for debasisdas
0
125
Member Avatar for skatamatic

My boss asked me to write a PID class to control a motor today. No big deal, except that the deadline is tommorow evening. My calculus is rusty, and my vb6 is probably worse (which is the language I am to use). Anyone have a good understanding of a PID …

Member Avatar for skatamatic
0
2K
Member Avatar for Minami

I was given a task of creating a lucky draw program. 1.Total numbers of accounts are 00001 to 99999. 2.But only 131 accounts will be chosen. 3.3 sections - 1 account for 1 car, 20 accounts for 20 iPhone, 10 accounts for 10 Samsung 4.Galaxy & 100 accounts for $100 …

Member Avatar for WaltP
0
218
Member Avatar for morph214
Member Avatar for m1234ike

Hello Daniweb, I am writing a program to execute the command prompt command "getmac /v >> MACLIST.txt" using a Visual Basic form, including: 2 buttons(getmac and filter the text file) , 2 textboxes (alternate text file name and user name), and two radiobuttons (default text file name or custom name). …

Member Avatar for m1234ike
0
412
Member Avatar for zack_falcon

I've designed a C# game that makes use of an Access .mdb database file to store variables. The basic idea is that one of the players will 'host' a game, and the other player will join said game, by connecting to the database, reading and writing items into the database. …

0
95
Member Avatar for Pravinrasal
Member Avatar for brynFlew
0
120
Member Avatar for Sameyison

Hello Folks, I am trying to create a Crystal report using data from two Access 2007 tables but it only displays the data from the first table only. when I do same with Access 2003, I am successful but it does not work in access 2007. Please help me to …

Member Avatar for BitBlt
0
114
Member Avatar for SeniorAlexandro

Alright, I have a Textbox which I want to display some text, but when the user clicks on it, it should clear so he can write what he wants.

Member Avatar for SeniorAlexandro
0
997
Member Avatar for violette

I have five sheets named 'Yearly,Q1,Q2,Q3,Q4'. currently my code only update one worksheet at one time into the mySql database. i want it to get all worksheets to be done at one go. i've tried to implement 'For loop' but it just run on the active worksheet only. is there …

Member Avatar for violette
0
410
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
167
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
253
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
149
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
94
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
130
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
193
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
665
Member Avatar for harish13
Member Avatar for arthu rias
0
369
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
181
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
166
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
228
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
147
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
134
Member Avatar for Griff0527

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 Griff0527
0
1K
Member Avatar for gd740

i have a combobox and few textboxes in Form1. i inserted new item into combobox by entering new item in one of the textbox. i manage to add item into combobox in Form 1. But how can i achieve if the item i added in Form1 to be inserted automatically …

Member Avatar for codeorder
0
458
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
112
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
239
Member Avatar for awaziri

Hii everyone.. i have wanted to create a TCP/IP Lan chat program in visual studio 2005. i am a newbie to it 2005. i have already created an interface for it but no codes yet. Attached are images of the client and the server. pls helpppppppppppppp

Member Avatar for komal_gawali
0
921
Member Avatar for OblibSystems

Hey guys, I have just finished a very simplistic game where the object of the game is to move out of the way of a falling block. Still only version 1 so don't expect much but your welcome to have a go and post any feedback on this thread. Looking …

Member Avatar for OblibSystems
0
98
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
160
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
309
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
194
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
98
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
145
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
598
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
66
Member Avatar for Shodow

help me update my database.. when i click edit it will add a new record.. i want to update a record.. to edit a new record it will be base on the cutsomer's nameu [CODE]Dim conn As ADODB.Connection Dim RS As New ADODB.Recordset Set conn = New ADODB.Connection conn.ConnectionString = …

Member Avatar for Shodow
0
2K
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
945
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
291
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
100
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
243
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
337
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
217
Member Avatar for y2kshane

im creating a custom component .how to create a property that has to choose a file(lets say image) from my hard disk ??

0
105

The End.