vba x 200

12,155 Topics

Member Avatar for
Member Avatar for jemz

hello please help me on this. i have cmdadd_click()..when i click the button add,the data will display on the flexgrid at the sametime it write on the notepad..my problem is that i don't know how to make code on cmddelete_click().i want to delete the data i added on the notepad …

Member Avatar for ankush.mukherje
0
252
Member Avatar for perroned

could someone please explain to me what wrong with my do while loop. i made a pokemon game in visual basic for school. i am teaching my self C++. i just started this weekend and wanted to see if i could covert my code over. everything works perfectly without the …

Member Avatar for perroned
0
123
Member Avatar for samira1993

Create an application that will predict the approximate size of a population organisms. The user should select or enter the starting number of organisms in a combo box, enter the average daily population increase (as a percentage) in a text box and select or enter the number of days the …

Member Avatar for vipin saxena
0
125
Member Avatar for abeast18

I keep getting this message when trying to open WMP: "An internal application error has occurred." i have checked the registery for both: regsvr32 jscript.dll regsvr32 vbscript.dll both times it gives me DllRegisterServer.......dll succeeded. and yet it still doesnt work. i have windows XP home edition. i have windows media …

Member Avatar for Chris8082
0
265
Member Avatar for jemz

hello please help me on this i have txtaddress.text . it can accept number only in the beggining but not in the last i dont know how to trap in the last ...and also it will not accept special character specially the period sign..example.... this is okey...23street complexsub division example …

Member Avatar for vb5prgrmr
0
99
Member Avatar for lindsay1959

everytime I try to run run net framework 2.0 I doesnt install and throws up this message Error 25015. Failed to install assembly C:/ Windows\Microsoft.Net/Framework/v2.0.50727/Microsoft.Visual/Basic.Compatibility.ddl because of System Error 0x80131107 I wonder if anyone knows what this is or where I can find out what it is or how to …

Member Avatar for lindsay1959
0
150
Member Avatar for jemz

hello can you help me where to put the messagebox "file not found"...because if i put on else after the grd.Rows = grd.Rows + 1 only one data having this precint number will be display all i want that all of them will be display..sample ..D-314 is the precint number …

Member Avatar for vipin saxena
0
356
Member Avatar for beta911

I am doing the school project for ASP.net in Visual Basic and trying to do the updating through gridview but somehow doesn't work at all. Mind to help.....? [CODE]Dim ProductName, SupplierID As String Dim qty, price As Integer REM Dim key As Integer = GridView1.DataKeys.Item(e.RowIndex).Value Dim tb As TextBox tb …

Member Avatar for kvprajapati
0
82
Member Avatar for ankush.mukherje

Hi guys I need your help a bit. I have designed a tree view control and the user can select multiple options. Now the problem lies in: "When the user clicks on show button a msgbox appears showing all the items selected"....This is what I want to do. but is …

Member Avatar for ankush.mukherje
0
954
Member Avatar for Rubiconlwb

I have created a form with horizontal and vertical lines and text to fill in the difference cells. I need to have some of the text to be printed in landscape rather than portrait orientation. When I try to change the orientation with the following, I get an error that …

Member Avatar for vb5prgrmr
0
88
Member Avatar for kalehl

I am not sure how to accomplish this, but I am trying to take a dates from two fields and using the current date show the progress percentage in a different field. So, if past date is Jan 1st, the current date is Jan 5th, the future date is Jan …

Member Avatar for sidnei
0
105
Member Avatar for makymakaru

can anybody explain what the difference between the 2 codes below? i'm using visual basic 6 and i'm connecting access dbase. and one other thing, i'm trying to connect access 2007 with my vb6 but i can't remember the code, i know the code below works with access 2003 and …

Member Avatar for codefixer
0
161
Member Avatar for fruitcake04

Hello! I'm making an enrollment application in vb6, using Access as my database. It will be used by 2 to 3 persons (registrar and cashier). What codes do I need if I want to retrieve data from my database from one pc to where my database is? If I declared …

Member Avatar for codefixer
0
159
Member Avatar for ankush.mukherje

Hi experts Here I am with yet another problem. I want to add data in a tree viewer controller dynamically from my database. I am using ms-access as my back-end Please help me ASAP. Thank you in advance

Member Avatar for ankush.mukherje
0
288
Member Avatar for Israelsimba

im facing a challenge here peple. i will give as much detail as i can. i am trying to come up with code such that when a button is clicked it runs through a field "copiesremainng" in my subscription table and subtracts 1 from every record in that field. this …

Member Avatar for codefixer
0
168
Member Avatar for cooldude9509

I'm new here at DaniWeb, and my english suck. Does anybody know how to make a form open [B]itself[/B], just in a new window? I want to make a form, that haves a button in it. when i click the button, it opens up a "copy" of itself (the old …

Member Avatar for vb5prgrmr
0
2K
Member Avatar for zulfahmi

Hi there, i am new in VB.Net and i have problem with my VB.Net project. I want to create an application where it capable to print a report like we normally do in word and save it in the pdf format. But the problem is i dont know how to …

Member Avatar for Psychoticus
0
110
Member Avatar for Civil Eng

OK, so I am attempting to create a workbook which when opened has only a main page with several buttons for the user to use. When a button is activated, it takes a hidden sheet and copies it into the document with certain fields altered. Each sheet has its own …

0
55
Member Avatar for Member #53442

Hi community, I have the weirdest error happening in my VB6 program when I try to execute an "INSERT INTO" query. Here are the premises: [code=VB]Public conn as ADODB.Connection Public rs1 as ADODB.Recordset[/code] - the database is Access 2003 this will be migrated to SQL server later. - conn has …

Member Avatar for Abhi1443
0
3K
Member Avatar for JaceDBN

Hi, Im building a database in Access with the use of VB. If I have 2 tables, both of which will be used as a subreport/form: 1 - Invoice Details a - Invoice Number : Integer b - Item: String c - Quantity - Number d - Rate/Cost/Wateva - Currency …

Member Avatar for enelra
0
334
Member Avatar for Usama El-Mokade

[CENTER][url]http://www.4shared.com/file/199140856/ed929f06/SendEmail20.html[/url][/CENTER] [URL="http://www.4shared.com/file/199140856/ed929f06/SendEmail20.html"]SendEmail[/URL] SendEmail tool and 20 examples (C++ - C# - VB6 - VB.Net - Delphi - MSSQL - MSAccess - ASP - HTML - PHP - VBS) [LIST=1] [*][B][U][COLOR="indigo"]Prosperities:[/COLOR][/U][/B] [LIST] [*][B]From[/B]: (Optional) Set sender email, string [*][B]FromName[/B]: (Optional) Set sender display name, string [*][B]To[/B]: Set send-to email, string [*][B]ToName[/B]: …

0
79
Member Avatar for johnsamuel1

I am a beginner in visual basic programming.I need guidance for the approach needed to make a program.Its part of my study. I have a song book(in paper) containing hymns in various languages.I want to make a program that displays the hymns when given a search query like the beginning …

Member Avatar for ankush.mukherje
0
142
Member Avatar for plusplus
Member Avatar for Bob1256

You can make a os in vb. But a os need's medim or high level coding e.g c++ or c I'm am working on a os in vb it is going pretty good I have the main menu sorted out the log in nd user and login and shutdown and …

Member Avatar for QVeen72
0
128
Member Avatar for Israelsimba

Ladies and gentlemen i thank you for your assistance in my system that i have been developing. my organisation is very impressed by it. i was thinking of a situation whereby my system could give a notification when a person's copies he subscribed run out. i mean when the copies …

Member Avatar for Israelsimba
0
141
Member Avatar for Robinson chris

Am trying to make a form with a hole at the centre of the form.please help me with the code

Member Avatar for ankush.mukherje
0
86
Member Avatar for nayef

Hi , I am in a big trouble , I am student ( electrical engineering ) in freshman year who has a course in c . I need your help in writing my project which is going to be submitted on Saturday 23 Jan and I am not familier with …

Member Avatar for jonsca
0
155
Member Avatar for aneeka

Is there anyone knows how to display a blob datatype from MySql database to the RptImage in Visual Basic 6.0 Data Report? Help me, please!!:-/

Member Avatar for aneeka
0
82
Member Avatar for spongie

Hi. I would like to create those checked rows in gridview with a button click. For example, an user checks 2 rows in the gridview, and clicks on the create button. I would want the selected row/s to be created to the database. How would I go about doing this? …

0
65
Member Avatar for Demeyes

Hey, I've been looking around here for a while but its my first post, I think this might be the right place for this question, if not please move it. I have a few folders with different file types in them. I want to make a search tool that I …

Member Avatar for SCBWV
0
233
Member Avatar for ankush.mukherje

[CODE]Private Sub cmdgetdata_Click() For i = 0 To lstsoftware.ListCount - 1 If lstsoftware.Selected(i) Then sSQL = "select * from Master_final" With adorsRAM .ActiveConnection = cn '.CursorLocation = adUseClient .CursorType = adOpenDynamic .LockType = adLockOptimistic .Open sSQL End With If Not adorsRAM.EOF Then Set msh.DataSource = adorsRAM msh.Refresh Else MsgBox "No …

Member Avatar for ankush.mukherje
0
525
Member Avatar for ankush.mukherje

How can we add data from multiple columns of an access table in a list box. Please explain with the help of a code. Thanks in advance.

Member Avatar for ankush.mukherje
0
130
Member Avatar for ama_trig

Any one have any working source of a yahoo messenger, that is capable of Logging in & sending PM? I googled a lot, but noting came true working, many of them are very old.

Member Avatar for debasisdas
0
101
Member Avatar for SpectateSwamp

On another forum. This guy warns me to not bump a thread. [url]http://www.dropshots.com/spectateswamp#date/2010-01-14/06:06:14[/url] Then he makes his post disappear. Then I get banned. A couple other of my fav threads had him as the final respondant. Does he bully others there. Good thing I do screen captures of my posts …

Member Avatar for SpectateSwamp
0
254
Member Avatar for PoisonedHeart

Hello to All, Good day :) I have developed a vb6 project with Ms Access as it's database. When I use Ms Access as a database, during the package and deployment, I will just have to add the file ".mdb" then all is done... -Ready to install in the client's …

Member Avatar for PoisonedHeart
0
205
Member Avatar for xuexue

hi there, wanna ask for your help guys, i know how to connect MS Access to Visual Basic, now, my problem is that, how can i connect MySQL to VB 6? could you give me some helpful code.. i have MySQL 5, MySQL Connector, MySQL ODBC installed in my computer.. …

Member Avatar for xuexue
0
99
Member Avatar for nilay.sood

hi! i have to connect a thumb imression device with my project for attendence of students. how can i capture an impression & compare it? can anybody help? it's urgent..

Member Avatar for vb5prgrmr
0
125
Member Avatar for beaheath

Please tell me how to attach an Excel document to an email. I am OK sending a word document as an attachment but don 't know what I should do differently to send an Excel document. Help!

Member Avatar for Salem
0
38
Member Avatar for geethailango

How to customise the paper size to 6 inch by 10 inch I tried the following, giving problem printer.height = 600 printer.width = 15100 while running it will eject full sheet of a4 after printing Kindly help me to solve this problem (any code example is better)

Member Avatar for abu taher
0
204
Member Avatar for thedante

Hi All, I am new with the send keys in VBA. Basically I'd like to send a bunch of sendkeys. I don't have problem with the synthax but the problem is that excel only execute the 1st sendkeys I have written. [CODE]Sub test() SendKeys ("^+F") Wait SendKeys ("^+L") End Sub[/CODE] …

Member Avatar for QVeen72
0
88
Member Avatar for raghebm

Please help, I want to write a macro to use the content of a cell in worksheet as file name and save the file at the desktop

0
91
Member Avatar for neosonic

I am using line function to draw line in the picturebox from the x1,y1 to x2,y2. I can draw it, but I also want to write a string on top of the line. My application is drawing a cable across with corresponded voltage, Something like 110 ------------------------------------------- but the line …

Member Avatar for neosonic
0
152
Member Avatar for kdee

Dear friends! Can anyone tell me how can I connect an additional data query I created inside the tableadapter (inside dataset-editor) to a combo box list? So I will actually see the data in list. I managed to create a query inside tableadapter, which only contains data from one column …

Member Avatar for hunainbutt
0
241
Member Avatar for SimonLeefe

I have an Excel workbook containing named variables across several worksheets. In one of these worksheets I have a "run solver" button, which kicks off a VBA routine. The first thing this routine does is allocate values of variables picked up from the workbook to local variables inside the VBA …

Member Avatar for SimonLeefe
0
581
Member Avatar for shizu

Hi All.. I am using MsFlexGrid in my program.. normally after I double click, enter value, KillFocus then press OK to close the dialog.. now I would like to add a message box once I enter value. Then I found out that, after message box prompt out and I click …

Member Avatar for mitrmkar
0
150
Member Avatar for janinejams

i was just wondering can anyone here give a concise explanation of how the statement : For Random As 1 executes and what is the syntax for this. Thanks

Member Avatar for debasisdas
0
55
Member Avatar for bdrkb

How can i find the difference between two date like '01/01/2008' and '01/01/2010' my date format is "mm/dd/yyyy"

Member Avatar for SCBWV
0
115
Member Avatar for ankush.mukherje

Hi all I want the data shown in MSH flex grid to be shown in crystal report. I am using Crystal report 8.5 If the value in the grid changes then the crystal report must be updated accordingly. Is this possible to do?

Member Avatar for sidnei
0
116
Member Avatar for ankush.mukherje

Hi experts I am supposed to design a VB application wherein the following requirement is needed: The user will select the type of software and information about who uses the software available in my database to be shown in flex grid. Now the user can choose one, two or all …

Member Avatar for ankush.mukherje
0
152
Member Avatar for Learning78

Hi; I have made a MCQ based game in Visual C++ using MFC. It runs fine but it shuts down when some key is pressed unintentionally. Like, if you click the options with mouse click, it works fine but even if you press ENTER key during the game, it quits …

Member Avatar for Learning78
0
220

The End.