Click here to Skip to main content
16,007,126 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Scanning/Enumeration of Registry keys Pin
Steven J Jowett23-May-08 3:39
Steven J Jowett23-May-08 3:39 
QuestionHow to get more 1000 records from a active directory using ado.net Pin
Chaitanya kumar CVSS22-May-08 22:05
Chaitanya kumar CVSS22-May-08 22:05 
AnswerRe: How to get more 1000 records from a active directory using ado.net Pin
jzonthemtn23-May-08 15:58
jzonthemtn23-May-08 15:58 
GeneralRe: How to get more 1000 records from a active directory using ado.net Pin
Chaitanya kumar CVSS3-Jun-08 4:01
Chaitanya kumar CVSS3-Jun-08 4:01 
QuestionRTF Pin
the_smiths22-May-08 14:42
the_smiths22-May-08 14:42 
AnswerRe: RTF Pin
Christian Graus22-May-08 16:24
protectorChristian Graus22-May-08 16:24 
AnswerRe: RTF Pin
Steven J Jowett22-May-08 21:20
Steven J Jowett22-May-08 21:20 
GeneralRe: RTF Pin
supercat923-May-08 13:59
supercat923-May-08 13:59 
If the data already exists in a remote SQL database to which you can only connect via a 300-baud modem link, then it may be useful to have a script that can convert the RTF-formatted document into text-only. Otherwise, my strong suspicion would be that while you could search for non-RTF text within the RTF document using a sufficiently-intricately-constructed query, the performance would be so much worse than searching in a text-only field that the approach should be considered infeasible for anything but the smallest databases.

Searching for text within the RTF field would require that the server convert every record's RTF data into text format every time a search was run. The server's inherent caching facilities wouldn't be able to help much. The only way to usefully cache the converted texts would be to create a new table to hold them; if you're going to do that, you may as well hold them in the original table.

Returning to vb:

-1- What is the best way to extract the text from RTF?

-2- Is there any good way to put a huge amount of formatted text into a RichTextBox, or is that control simply unsuitable for dealing with monstrous (multi-megabyte) files? Using a StringBuilder to make an RTF string was reasonably fast, but importing a large RTF into a RichTextBox can take a really long time--there seems to be something that's O(n^3) or worse that kicks in with big files.
AnswerRe: RTF Pin
The Nightcoder23-May-08 17:51
The Nightcoder23-May-08 17:51 
QuestionLive video display in vb .NET 2005/08 express Pin
Absenm22-May-08 14:17
Absenm22-May-08 14:17 
AnswerRe: Live video display in vb .NET 2005/08 express Pin
Christian Graus22-May-08 16:57
protectorChristian Graus22-May-08 16:57 
GeneralRe: Live video display in vb .NET 2005/08 express Pin
Absenm22-May-08 19:26
Absenm22-May-08 19:26 
GeneralRe: Live video display in vb .NET 2005/08 express Pin
Christian Graus22-May-08 21:20
protectorChristian Graus22-May-08 21:20 
GeneralRe: Live video display in vb .NET 2005/08 express Pin
Absenm22-May-08 22:13
Absenm22-May-08 22:13 
QuestionSQL Image Project Pin
bapu288922-May-08 9:29
bapu288922-May-08 9:29 
AnswerRe: SQL Image Project Pin
Christian Graus22-May-08 16:44
protectorChristian Graus22-May-08 16:44 
QuestionUpdate/change Database field... Pin
CCG322-May-08 9:11
CCG322-May-08 9:11 
AnswerRe: Update/change Database field... Pin
jzonthemtn22-May-08 16:46
jzonthemtn22-May-08 16:46 
QuestionAlternate background color for column with TableStyle / GridColumnStyle Pin
Johan Hakkesteegt22-May-08 7:57
Johan Hakkesteegt22-May-08 7:57 
AnswerRe: Alternate background color for column with TableStyle / GridColumnStyle Pin
Smithers-Jones22-May-08 12:08
Smithers-Jones22-May-08 12:08 
GeneralRe: Alternate background color for column with TableStyle / GridColumnStyle Pin
Johan Hakkesteegt23-May-08 0:02
Johan Hakkesteegt23-May-08 0:02 
QuestionError using GetPrivateProfileString and GetPrivateProfileSectionNames Pin
DQNOK22-May-08 5:43
professionalDQNOK22-May-08 5:43 
QuestionZooming to a doubleclicked point in a picturebox Pin
bigbird7022-May-08 5:10
bigbird7022-May-08 5:10 
AnswerRe: Zooming to a doubleclicked point in a picturebox Pin
jzonthemtn22-May-08 16:38
jzonthemtn22-May-08 16:38 
GeneralRe: Zooming to a doubleclicked point in a picturebox Pin
bigbird7022-May-08 21:27
bigbird7022-May-08 21:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.