|
-
Feb 15th, 2005, 08:59 PM
#1
Thread Starter
New Member
Need some help with .CHM file (or alternative)
Hey guys, I could use a little help with a project. I'm just learning VB, so I'm noe even sure if its possible. What I'm trying to do is to, from Form1(Parent, mdi), is open another form/file in which data for this particular part of the project is accessed. I have all my other forms set to open maxamized, docked to the parent. The problem is that I'm trying to use a CHM file to access my data, as a CHM file has everything I'm looking for, but when opened is does so as a free floating file. As I'm trying to keep everything looking the same, is there anyway to open a CHM file to that it docks to the parent(Form1)?
The reason I tried to do this with a CHM file is because of the type of data I'm trying to access and the way in which it is accessed. If what I'm trying to do is not possible, can you offer up an alternative to using a CHM file?
Data/Structure: Looking for a two pane form(tree and viewing panes). The tree should be hirerarchial and able to be expanded. The pages that will be displayed in the viewing pane will range anywhere from several lines to a book page in length, with formatting. I would also like to keep everything in this data source (tree+pages) in one file... which is why a CHM file would work out great. The data will look something like this:
----------------------------
GUIDE 133 - FLAMMABLE SOLIDS
POTENTIAL HAZARDS
FIRE OR EXPLOSION
• Flammable/combustible material.
• May be ignited by friction, heat, sparks or flames.
• Some may burn rapidly with flare burning effect.
• Powders, dusts, shavings, borings, turnings or cuttings may explode or burn with explosive violence.
• Substance may be transported in a molten form at a temperature that may be above its flash point.
• May re-ignite after fire is extinguished.
HEALTH
• Fire may produce irritating and/or toxic gases.
• Contact may cause burns to skin and eyes.
• Contact with molten substance may cause severe burns to skin and eyes.
• Runoff from fire control may cause pollution.
PUBLIC SAFETY
• CALL Emergency Response Telephone Number on Shipping Paper first. If Shipping Paper not available or no answer, refer to appropriate telephone number listed on the inside back cover.
• As an immediate precautionary measure, isolate spill or leak area for at least 25 meters (75 feet) in all directions.
• Keep unauthorized personnel away.
• Stay upwind.
• Keep out of low areas.
PROTECTIVE CLOTHING
• Wear positive pressure self-contained breathing apparatus (SCBA).
• Structural firefighters’ protective clothing will only provide limited protection.
EVACUATION
Large Spill
• Consider initial downwind evacuation for at least 100 meters (330 feet).
Fire
• If tank, rail car or tank truck is involved in a fire, ISOLATE for 800 mete (1/2 mile) in all directions; also, consider initial evacuation for 800 meters (1/2 mile) in all directions.
----------------------------
Thanks,
Mike
-
Feb 16th, 2005, 01:18 AM
#2
Re: Need some help with .CHM file (or alternative)
In VB6 we had the API SetParent which will take a window, like your helpfile, and make it a child window
of another window, like your MDI parent. You can download the API Viewer from allapi.net.
HTH
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|