370 Posted Topics
Re: 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. | |
Re: 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. | |
Re: so what has this to do with VB6 | |
Re: 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 … | |
Re: 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. | |
Re: 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 | |
Re: 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. | |
Re: 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. | |
Re: post some code and the error you are getting | |
Re: 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 … | |
Re: 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 | |
Re: This is set up in your SQL at line 9 above. SQL = "SELECT * FROM someTable WHERE Field1='" & textbox.text & "'" | |
Re: 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. | |
Re: 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 … | |
Re: 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 | |
Re: barcode fonts are quite tall are you sure your UILabel is tall enough | |
Re: 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 … ![]() | |
Re: you usually use Touch Up Inside for a button press event. | |
Re: 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) | |
Re: 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. | |
Re: I think you will need two "End If"s, as one is missing that matches line 15 | |
Re: check to see if you have a default value specified, both for the textbox and for the field in the database | |
Re: please start your own thread if you have a question. | |
Re: 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) | |
Re: 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 … | |
Re: 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. | |
Re: Just map the drive with the database on it to each computer. Link the tables from that database into your application. | |
Re: don't think so. if you only have the exe you are in trouble. |
The End.