Ĺadny brzuch
Zastanawiałem się czy można załadować plik doc do memo, może ktoś próbował lub zna jakiś alternatywny komponent aby tego dokonać ?
opis formatu doc w łapę i jedziesz :)
Przepraszam, moze nie wyrazilem sie zbyt jasno. Zaladowanie tekstu nie stanowi problemu, chodzi mi o mozliwosc wyswietlenia calego dokumentu np. z wykresem mala grafika itp. Domyslam sie, ze memo az takim mozliwosci nie ma, ale czy istnieje jakis komponent, ktory umozliwia wyswietlanie calych dokumentow, przykladowo z worda lub pdf-a. I czy ktos probowal cos takiego tworzyc. Mala wskazowka ograniczylaby czas spedzony na google :)
mozesz uzyc mime zeby uzyc samego worda do otwarcia tego pliku - oczywiscie zadziala to tylko jelsi user bedzie mial zainstalowanego worda. mozna tez wymusic zeby ie otworzyl plik .doc (wystarczy go otworzyc jak strone i wziasc otworz) - ale nie wiem czy jest to renderowane silnikiem worda czy ie sam to robi (kiedys na pewno ie sam odczytywal dokumenty office'a)
Wskazowka: nie interesuje Cie memo...
Z darmowymi komponentami moze byc problem. Polecam rowniez przeszukac forum, bo cos dla delphi kiedys ktos podawal...
Wskazowka: nie interesuje Cie memo...
Tak myslalem, ze to zbyt powazne dla memo. Probuje zamienic pliki doc na html i wyswietli z pliku w webBrowserze mam tylko taki problem. Dodalem kontrolke ActiveX z Microsoft Internet Controls. Dodalo mi na pasek TCppWebBrowser_V1 i TCppWebBrowser. Ale przy kompilowaniu pojawia mi sie blad linkera jak nizej. Dodam tylko ze uzywam Bcb 6
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::BeforeDestruction()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::InitServerData()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::Connect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::Disconnect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppCScriptErrorList::BeforeDestruction()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppCScriptErrorList::InitServerData()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppCScriptErrorList::Connect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppCScriptErrorList::Disconnect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::BeforeDestruction()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::InitServerData()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::Connect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::Disconnect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellUIHelper::BeforeDestruction()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellUIHelper::InitServerData()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellUIHelper::Connect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellUIHelper::Disconnect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::BeforeDestruction()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::InitServerData()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::Connect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::Disconnect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::BeforeDestruction()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::InitServerData()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::Connect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::Disconnect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::BeforeDestruction()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::InitServerData()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::Connect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::Disconnect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ
zanotowane.pl doc.pisz.pl pdf.pisz.pl zsf.htw.pl
opis formatu doc w łapę i jedziesz :)
Przepraszam, moze nie wyrazilem sie zbyt jasno. Zaladowanie tekstu nie stanowi problemu, chodzi mi o mozliwosc wyswietlenia calego dokumentu np. z wykresem mala grafika itp. Domyslam sie, ze memo az takim mozliwosci nie ma, ale czy istnieje jakis komponent, ktory umozliwia wyswietlanie calych dokumentow, przykladowo z worda lub pdf-a. I czy ktos probowal cos takiego tworzyc. Mala wskazowka ograniczylaby czas spedzony na google :)
mozesz uzyc mime zeby uzyc samego worda do otwarcia tego pliku - oczywiscie zadziala to tylko jelsi user bedzie mial zainstalowanego worda. mozna tez wymusic zeby ie otworzyl plik .doc (wystarczy go otworzyc jak strone i wziasc otworz) - ale nie wiem czy jest to renderowane silnikiem worda czy ie sam to robi (kiedys na pewno ie sam odczytywal dokumenty office'a)
Wskazowka: nie interesuje Cie memo...
Z darmowymi komponentami moze byc problem. Polecam rowniez przeszukac forum, bo cos dla delphi kiedys ktos podawal...
Wskazowka: nie interesuje Cie memo...
Tak myslalem, ze to zbyt powazne dla memo. Probuje zamienic pliki doc na html i wyswietli z pliku w webBrowserze mam tylko taki problem. Dodalem kontrolke ActiveX z Microsoft Internet Controls. Dodalo mi na pasek TCppWebBrowser_V1 i TCppWebBrowser. Ale przy kompilowaniu pojawia mi sie blad linkera jak nizej. Dodam tylko ze uzywam Bcb 6
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::BeforeDestruction()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::InitServerData()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::Connect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::Disconnect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppCScriptErrorList::BeforeDestruction()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppCScriptErrorList::InitServerData()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppCScriptErrorList::Connect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppCScriptErrorList::Disconnect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::BeforeDestruction()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::InitServerData()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::Connect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::Disconnect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellUIHelper::BeforeDestruction()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellUIHelper::InitServerData()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellUIHelper::Connect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellUIHelper::Disconnect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::BeforeDestruction()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::InitServerData()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::Connect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::Disconnect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::BeforeDestruction()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::InitServerData()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::Connect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::Disconnect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::BeforeDestruction()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::InitServerData()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::Connect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ [Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::Disconnect()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ