The Salty Economist

Things I Should Have Learned in High School
posts - 56, comments - 0, trackbacks - 0

April 2014 Blog Posts

MDI Child Form in DLL VB6

OK, so we're still working with VB6. Here's how to put an MDI child form in a DLL, which cannot be done right of the box. Credit for this goes to:  "!topic/microsoft.public.vb.winapi/_AL4yJTiOwQ" Step 1: Create an MDI Child forn in your main project file. The form is sparse, but does have some code: ---------------------------------------------------------------- Option Explicit Public Declare Function SetParent& Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) Public Declare Function SetWindowLong& Lib "user32" Alias "SetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) Declare Function LockWindowUpdate Lib "user32" (ByVal hwndLock As Long) As Long Public Const WS_CHILD& = &H40000000 Public...

posted @ Monday, April 28, 2014 9:09 AM | Feedback (265) |

Subtext Install - The Sage Continues

Oh, for crying out loud. I have been trying to get the rich text editor to work. It just won't. Finally, I switched from using Chrome to IE8. I hate IE, but I thought I would try it anyway. And Voila! It works. So now I have to figure out if I can get it to work with Chrome or just give up and try another blog software.

posted @ Tuesday, April 15, 2014 5:45 PM | Feedback (199) |

Subtext Install

  Well, I finally got this puppy to work. Took some effort, but we succeeded. Notes: (1) Subtext does not appear to be available on the MS Web Platform Installer. Not sure that is. Perhaps, Subtext has gone by the wayside? (2) First thing was I had to hack the web.config file to remove the whole section: sectionGroup name="system.web.extensions". Don't know why? (3) I used SQL Express (2012), but the quick way of creating the database from the .mdf file failed all over the place. So, I just created my own blank database and manually edited the web.config file as: connectionString="Server=AMAZONA-94B9DC6;Initial...

posted @ Tuesday, April 15, 2014 12:33 PM | Feedback (356) |

Powered by:
Powered By Subtext Powered By ASP.NET