370 Posted Topics

Member Avatar for sinatra87

I am not sure why you have declared input and i as arrays, this seems wrong. and the * before i in two spots on line 11 should not be there. an int is a primitive of the language and not referenced with a pointer.

Member Avatar for sinatra87
0
393
Member Avatar for android45

I presume you are talking about IOS,you need to investigate core-location and map kit however as of the release of IOS 6 a few days ago Apple is using its own mapping not Google.

Member Avatar for ChrisPadgham
0
72
Member Avatar for webseller
Member Avatar for ss123456

you could perhaps add another column called "selected" to your employee table which is a Yes/No value that users can check. Then have a piece of SQL to insert the employee ids of the selected values into the other table, somethings like INSERT INTO newTable (EmployeeId) SELECT EmployeeId FROM Employee …

Member Avatar for ChrisPadgham
0
858
Member Avatar for tokipot

If you don't know how to create a module, I suggest you take a tour of vb first and get an understanding of how VB works prior to commencing such an abitious program.

Member Avatar for AndreRet
0
954
Member Avatar for dinzky0307

the if statement does not make a lot of sense it probably should be something like if not isnull(datagrid1.col(0)) then or if datagride1.col(0) <> 0 then

Member Avatar for ChrisPadgham
0
1K
Member Avatar for abelingaw

if there are 7 rows there is going to need to be 7 addnews one for each row with an id of 1 2 3 etc and scores from each text box. also you might like to consider using SQL INSERT statement to insert the rows rather than an addnew.

Member Avatar for ChrisPadgham
0
134
Member Avatar for utsav91292

You could do this but you probably won't want to. Word is not designed for storing data and really excel isn't either. Store your data in a database and use word or excel to display it.

Member Avatar for ChrisPadgham
0
78
Member Avatar for llian21
Member Avatar for compulove

I think you are jumping the gun here, for example the decision to save your records is a decision for the technical design. At this stage you don't really even have functional requirements tied down, let alone a functional design. Start with a needs analysis, ie a detailed understanding of …

Member Avatar for ChrisPadgham
0
156
Member Avatar for habenero

If you just want a csv file you don't need excel. open "c:\datafiles\homers_lineup_wk_1" for output as #1 write #1, var1, var2, var3 close #1

Member Avatar for AndreRet
0
281
Member Avatar for neolyte120109

This is set up in your SQL at line 9 above. SQL = "SELECT * FROM someTable WHERE Field1='" & textbox.text & "'"

Member Avatar for ChrisPadgham
0
3K
Member Avatar for TheMorphinator

I presume you have solved this by now, but you need to shift the declaration of the object from the button press event to the .h file. Also declare it as a property if you want it a publically accessible object.

Member Avatar for ChrisPadgham
0
226
Member Avatar for saphiro

if you want all of the dates between two dates you will need an array or collection to house them, a single variable will not do. use the DateAdd function to iterate through the dates aDay = dateadd("d",1,datehired) do until datediff("d",aDay, dateend) <=0 'add date to array or collection aDay …

Member Avatar for Reverend Jim
0
161
Member Avatar for SANJAY26

Have you tried something like below > frmDisplayLockerInfo.TextBox5.Text = DataGridView1.Item(7, i).Value & "" I am not on a PC with a .NET environment so you may need to test it but it is the way I usually address this problem in VB

Member Avatar for ChrisPadgham
0
220
Member Avatar for hericles
Member Avatar for hericles
0
158
Member Avatar for tjamesp

Just at a glance I think you should move msgbox "Report Complete" to the next line. Generally speaking in VB if you have it on one line it is viewed as a complete statement hence the first else if is not considered part the statement. Alternatively move the ElseIF to …

Member Avatar for hectop
0
143
Member Avatar for andyhesslera
Member Avatar for Acidburn
Member Avatar for Skate Bart

if [Tour Id] a number, if it is you should not have the single quotes in the the expression > strSQL = "Delete From Tour Where [Tour ID] = '" & fgdTour.TextMatrix(fgdTour.Row, 1) & "'" ie strSQL = "Delete From Tour Where [Tour ID] = " & fgdTour.TextMatrix(fgdTour.Row, 1)

Member Avatar for Skate Bart
0
406
Member Avatar for vaironl

the view out of MVC is the GUI. it is basically about separating the data model from the user experience, with the controller managing the interaction between the two.

Member Avatar for Dean_williams
0
180
Member Avatar for rokokmalboro
Member Avatar for sanket044

check to see if you have a default value specified, both for the textbox and for the field in the database

Member Avatar for AndreRet
0
95
Member Avatar for mandar2886
Member Avatar for idomarko

Here is a link to some free unicode controls for VB6 they may help, [Click Here](http://www.vbforums.com/showthread.php?p=3261531#post3261531)

Member Avatar for ChrisPadgham
0
314
Member Avatar for omoayan

if may work for the first 14 days of the month but if it is currently 20th of June then adding 15 will give you 35th of June which not many people have as a birthday. Try adding 15 to the getdate with the dateadd function before using day function …

Member Avatar for poojavb
0
94
Member Avatar for vanesh

see an example here [URL="http://www.codeproject.com/Articles/24234/ActiveX-Control-to-Use-DataGrid-in-VB6"]http://www.codeproject.com/Articles/24234/ActiveX-Control-to-Use-DataGrid-in-VB6[/URL] once you are underway with your code, if you have a specific problem post it and someone will help you.

Member Avatar for mustaffa hasan
0
328
Member Avatar for twistercool

Just map the drive with the database on it to each computer. Link the tables from that database into your application.

Member Avatar for twistercool
0
236
Member Avatar for ganges
Member Avatar for ganges
0
104
Member Avatar for sanket044
Member Avatar for debasisdas
0
103

The End.