markusn00b, thanking you kindly! useful post and i think its exacly the bit of code i asked for, ill test it in a bit :)
Thanks !!!!!
User Profile
Collapse
-
grabbing html data from sql database and displaying as html
Hey guys,
Im making a stupidly simple CMS and i guess the best way to save data for each page is within an sql database. The only thing is, from past experience, when you echo data from a database it usually just echos the text (i.e. <font color="#FFFFFF" >Hello</font> instead of echoing Hello in white.
Anywho, if you think im going the wrong way about it please prod me in the right directions.... -
i think thats what im trying to do, because it works in one project but not in the other, could you give me a few quick steps on how to do this thanks :)Leave a comment:
-
how do i register it in the project :) theres a setting in the menu somewhere as it works in one project but not in the other.Leave a comment:
-
hate to bump but this is a really easy question, im just being dumb, please help :$Leave a comment:
-
also note if you are searching for FirstName in the database and the field is actually firstname then you need to change the capital letters :)Leave a comment:
-
I think you need to be a little more specific than that...
Try: http://en.wikipedia.org/wiki/Visual_BasicLeave a comment:
-
when building the executable make sure you include any DLL's and bits the program says it needs, your client wont have them on his pc (especially if he hasnt got access) so you'll need to include them on the install as you have them on your pc because you have vb6 !Leave a comment:
-
Error 424 (I know the problem, i forgot, how do you register a class?)
Basically im taking an example out of one project and putting it into a new one, ive included the class and module but when i run its giving me an error 424, i know its because i havent registered something within the project (but ive forgotten how to do this) because on the demo project if i type pngclass. it gives me a list of things i can do but in my new project it doesnt.
Cheers guys -
Word mailmerge from VB6
Hi Guys, ive got to deliver some software in ONE hour and im not as finished as i thought id be!!!....
Basically is Mail Merge.
I have a word template with <<firstname>><l astname>> and the rest of it waiting.
i have a dataset sat in a VB6 program waiting to be exported to this document, (multiple records)
Could please someone post some simple code that will use the template... -
this refers toa routiene you have called Member, find it change the name and change where you call it from.
The Dimming is correct :)...Leave a comment:
-
-
Assuming a couple of things ...
...Code:'Delete the record you want then ... dim cc as integer dim SQL as string SQL = "SELECT * FROM tablename ORDER BY fieldname ASC" datdata.recordsource = SQL datdata.refresh for i = 1 to datdata.recordset.recordcount cc = cc + 1 datdata.recordset.edit datdata.recordset!fieldname = cc datdata.recordset.update
Leave a comment:
-
just arrange them in number order then go back to the beginning, start from 1 and re-number them from 1 to x until you get to the end of the records. Are you using a data control with a db? .. if so ill chuck up an exampleLeave a comment:
-
How do you control an RTF Box? (bold, colored text etc)
Im making a report writer for a program ive spent months making, during this time ive written a logger, that logs every action that is made while running the program (so if someone deletes a user or edits something etc) and this report writer looks in the log between 2 dates and pulls out anything that meets criterias. which is then shoved into an RTF Box line at a time (All happening super fast)
how do i make one bit of text bold... -
-
right at the top of your code out of any routiene put this:
in your module code put thisCode:dim userxit as Boolean
then on the command button put thisCode:if userexit = true then exit sub
That will do it :)...Code:userexit = true
Leave a comment:
-
-
Surely you'd just set a flag?
at the top of your project set userexit as boolian
then in your loop check if userexit = true is so then exit the loop
then on the command button (user input) just set userexit = true.
in 'theory' that would work, try it :)Leave a comment:
No activity results to display
Show More
Leave a comment: