How Can I view all the Text in a User_Views

I am using vb.net 2012 and I am trying to display the text from the built in User_Views from an oracle database. When I try to display the Text field, it only shows me the first 1000 bytes.  The Text field has a datatype of Long.
Here is an example of my code
imports System
Imports System.Data
Imports System.Data.OleDb
Private Sub btnViewSource_Click(sender As Object, e As EventArgs) Handles btnViewSource.Click
Dim ConnString As String
Dim Conn As OleDbConnection
Dim Cmd As OleDbCommand
Dim OleDBAdapter As New OleDbDataAdapter
Dim DtaRdr As OleDbDataReader
Dim sql As String = ""
Dim TblNm As String
TblNm = lstAllViews.Text
If TblNm = "" Then
Exit Sub
End If
ConnString = modFC.GetConnectionString(DBType)
Conn = New OleDbConnection(ConnString)
Try
Conn.Open()
Catch ex As Exception
MsgBox(ex.ToString)
Exit Sub
End Try
sql = "Select View_Name, Text_Length, Text FROM USER_VIEWS where View_Name = '" & TblNm & "'"
Try
Cmd = New OleDbCommand(sql, Conn)
DtaRdr = Cmd.ExecuteReader()
If DtaRdr.Read = True Then
Dim frmtb As New frmTextBox
frmtb.TextBox1.Text = DtaRdr("text").ToString
frmtb.Text = DtaRdr("view_name").ToString
frmtb.Show()
Else
MsgBox("no record", vbExclamation)
End If
Catch ex As Exception
MsgBox(ex.Message & vbCrLf & sql)
Exit Sub
End Try
Conn.Close()
End Sub
John Schultz

I was able to find the reason I could only get the first 1000 characters.
Since I am using the Provider=OraOLEDB.Oracle.1 as my data source, one of the parameters was ChunkSize=1000.  Once I changed this to ChunkSize=32000, I was able to retrieve the entire Text from the User_Views.  Thank you for your help, I would
not have even looked there, except you mentioned the ODP.Net and in trying to implement that into my software, I noticed the connection string in my existing code was only 1000 bytes.
Thank You - John
John Schultz

Similar Messages

  • I was in a Pages Doc and inadvertently had the Caps Lock on. How Can I change all the text I typed from Upper Case to Lower Case?

    I was in a Pages Doc and inadvertently had the Caps Lock on. How Can I change all the text I typed from Upper Case to Lower Case?

    Several protocols may be used.
    Here I describe two of them.
    (1) the one which I use : install and use the "Convert to Lowercase" service available in the free WordService
    (2) copy your text, paste in TextEdit and enter the Edit menu.
    I guess that you will recognize the items in your English menu.
    I apologize but I don't know the English items.
    Yvan KOENIG (VALLAURIS, France) jeudi 16 février 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • How can I delete all the text in one story?

    Yeah, it's a dumb question. I've done some pretty complex things using ExtendScript, yet I can't seem to figure out how to remove all of the text in one story.
    Any help would be greatly appreciated.
    -Dan.

    myStory.contents = "";
    myStory.texts[0].remove();
    either should do the job.
    Dave

  • How can i view all the missing files in elements 12?

    I have a very large catalog and there are now a few hundred files missing due to me moving or deleting them outside of elements.
    Is there a way to display only the missing files in elements so i can work through them and decide to search for them manually or delete them from my catalog?
    thanks for any help
    Lee

    If you are in Elements Organizer12, go to Find > All Missing Files
    It will show all the missing files present in your catalog.
    Thanks,
    Anwesha

  • How can I view all the videos available on the iTunes store?

    I am trying to "select all" somehow that will let me see the whole library of videos available. From the main window I cant find a way to do this-just the 3 categories of "hot" "staff favs" etc.
    -todd

    Ok, go to your downloads in itunes and right click on what you wish to remove and click delete, then confirm the dialoague box and it should remove it.  I did this with a free tv episode to test it out.  Just now worked.  If you have problems try updating itunes and then try again.

  • I got the new iPhone5 back in Dec, I hooked it up to my computer for the 1st time this wk.  It deleted all new data added since Dec (notes,contacts,texts,pics, info in apps) and reverted back to all my old data.  How can I retrieve all the lost data??

    I got the new iPhone5 back in Dec, I hooked it up to my computer for the 1st time this wk.  It deleted all new data added since Dec (notes,contacts,texts,pics, info added to apps) and reverted back to all my old data (literally uploaded all of my old texts and 1400 old pics and deleted anything new).  How can I retrieve all the lost data?? Please help!!

    SkyDaughter29 wrote:
    My current situation: I have soooo many texts on my iphone and I haven't deleted many because I need the information contained in them for future reference and for legal purposes.  I would really like to find a means and way to save them other than on the phone itself. I've done searches for various apps yet I'm not finding what I think I would need.  It appears Apple does not sync the texts between the iphone and my MacBook Pro.
    Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
    http://www.ecamm.com/mac/phoneview/
    http://www.wideanglesoftware.com/touchcopy/index.php
    Best of luck.

  • HT201269 hi, my new device was set up in the store that I bought it from. How can I transfer all old text messages over to my new device? I have followed the icloud back up steps on this page. Please help, thank you.

    hi, my new device was set up in the store that I bought it from. How can I transfer all old text messages over to my new device? I have followed the icloud back up steps on this page. Please help, thank you.
    Its an iPhone 4
    Message was edited by: zzziggy85

    Here is how
    http://support.apple.com/kb/HT2109

  • How can I get just the text to resize, rather than the entire web page?

    I used to be able to re-size just text on a webpage by typing Ctrl + +. Today, the entire webpage re-sizes, and when I move to another page it reverts. (I see this mostly in Facebook.). Why did this change, and can I go back to having just the text re-size?

    ''How can I get just the text to resize -- zoom text only''
    steps
    #"Alt" if no menu bar, then
    # View > Zoom > Zoom Text Only
    Zoom text of web pages - MozillaZine Knowledge Base
    :http://kb.mozillazine.org/Zoom_text_of_web_pages
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • Can not view all the thumbnails in version 9 adobe standard

    Hello,
    I recently installed adobe standard 9 running parallel with adobe standard 5.
    My end user is claiming of the view setting for patient data. She can not scroll all the way to the bottom
    as she could in adobe 5. She can see all the thumbnails minus the last row. I have changed the prefereces to show the same
    as adobe 5. However I can not get the correct settting to make it right for her.
    Any adivse or trouble shoot steps would be appreciated. Adobe said to update the product, I have done that last night.

    How do I do that?
    Date: Tue, 14 Dec 2010 10:10:01 -0700
    From: [email protected]
    To: [email address deleted by host]
    Subject: Acrobat Windows Can not view all the thumbnails in version 9 adobe standard
    Change the size of the thumbnails, change the size of the thumbnails window, or upgrade Acrobat X.
    >

  • How can I copy all the comments from my picture/s in fotostream to my picture/s in my library?

    How can I copy all the comments from my picture/s in fotostream to my picture/s in my library?

    Hi, first, you should prevent the iTunes library auto sync with iPhone: Launch iTunes > click Preferences... > click Devices. In the window, check the option 'Prevent iPods, iPhones, and iPads from syncing automatically'. Next, connect your iPhone with your computer via the USB cable. Click the mini menu for iTunes on the very top left and click the option 'Show menu bar'. After then you can see iTunes File, Edit, View, Control, Store and Help menus on the ribbon. Click File > Devices > Transfer purchases from (your iPhone name). You can also access to the File menu by holding down Alt (Option on Mac), Shift and F keys. This is how to get your iPhone purcahsed song transferred to iTunes Library.

  • How can I view all my apple map pushpin Points of Intrest and pictures at once?

    Been trying to find a way to view all my Apple Maps Points of Interest pushpins all at once on the map screen.  As I drive along routing, or when I zoom in and out of map areas.  Saved bookmarks shows a long list, but I can't figure out how to just view all the pushpins on the map, so I can access my favorite locations and notes as I drive or plan a trip. 
    Maybe create a map pushpin folder to save only pictures related to the saved map bookmarks.  And save on phone or skydrive?  I still just go by memory.  But the list, notes and scenes are getting really numerous.  RV campsites, fishing, biking, skiing, services, phone signal, shopping, wifi, laundry, jobs, pictures, and much more. 
    I have an old HP mini that I like and use with my iphone 4.  Have no interest or extra money to be upgrading my devices every time the software/bloatware updates overload otherwise perfectly good phones and laptops.  Hope to be able to share with others how to have their phones and computers work for them, instead of the other way around. 
    Might stay with iPhone and even buy an ipad if they become more univerally compatible, or switch to all windows devices.  Not too happy with PCs bloatware programming these days either.  My old windows 98 laptop runs some really powerful programs.  Wonder how many people would buy Jeeps and such vehicles, if they could not easily drive them on regular city streets or highways?
    first posting in online support community in 15 years.  Home powered by Solar these days.  Can even park next to a street light and charge batteries.
    Thanks for reading and any useful info.  will try not to lose my login info

    Been trying to find a way to view all my Apple Maps Points of Interest pushpins all at once on the map screen.  As I drive along routing, or when I zoom in and out of map areas.  Saved bookmarks shows a long list, but I can't figure out how to just view all the pushpins on the map, so I can access my favorite locations and notes as I drive or plan a trip. 
    Maybe create a map pushpin folder to save only pictures related to the saved map bookmarks.  And save on phone or skydrive?  I still just go by memory.  But the list, notes and scenes are getting really numerous.  RV campsites, fishing, biking, skiing, services, phone signal, shopping, wifi, laundry, jobs, pictures, and much more. 
    I have an old HP mini that I like and use with my iphone 4.  Have no interest or extra money to be upgrading my devices every time the software/bloatware updates overload otherwise perfectly good phones and laptops.  Hope to be able to share with others how to have their phones and computers work for them, instead of the other way around. 
    Might stay with iPhone and even buy an ipad if they become more univerally compatible, or switch to all windows devices.  Not too happy with PCs bloatware programming these days either.  My old windows 98 laptop runs some really powerful programs.  Wonder how many people would buy Jeeps and such vehicles, if they could not easily drive them on regular city streets or highways?
    first posting in online support community in 15 years.  Home powered by Solar these days.  Can even park next to a street light and charge batteries.
    Thanks for reading and any useful info.  will try not to lose my login info

  • How can I view all photos from a specific year?

    How can I view all photos taken in one calendar year like 2010? Is there a way to filter this way?

    Yes, create a smart album or a search with a "Date" rule or a Calendar rule.
    For example: New > Smart Album
    Add Rule:  Date
         Capture year is 2010.
    or: Add Rule: Calendar
    and click-step  the year back to 2010:
    In the Calendar it is a bit cumbersom to select a whole year, because it will only show 3 month at once. Select the first day and then scroll to to the end oft the year.

  • How can i access all the objects of one schema from another schema

    Dear All,
    How can i access all the objects(Tables,Views,Triggers,Procedures,Functions,Packages etc..) and do the modifications of one schema from another schema (Without using synonyms concept).
    Thanks in advance,
    Mahi

    First of all, synonyms only help you easy reference the object. It doesn't have any implication of object privilege.
    As long as you have proper privilege on target object. You can access it with or without synonyms.
    Assuming you have proper privilege of objects, you can use following command to assume schema owner.
    ALTER SESSION SET CURRENT_SCHEMA = Schema_owner

  • Can't view all the computers in my network on WSUS Console

    Hello Everyone,
    Windows Server 2008 R2
    WSUS 3.0
    The issue is: Can't view all the computers in my network on WSUS Console
    1/ Installed Windows Server Update Services (WSUS)
    I followed the steps how to install Windows Server Update Services ( WSUS ) correctly by following steps on technet.microsoft.com
    2/ Edit Group Policy Management (GP)
    Open "Group Policy Management" Console
    by right click "edit" the "Default Domain Policy" and It took me to "Group Policy Management Editor"
    I changed the "Windows Update" Setting under "Group Policy Management Editor"
    by doing to "Computer COnfiguration > Policies > Administrative Templates > Windows Components > Windows Updates"
    ------------------------------------------------------------------------------------------------------|
    |Enable |
    |-----> Configure Automatic Updates
    |
    | ------>
    4 - Auto download and schedule the install |
    | |
    |Enable |
    |-----> Specify intranet Microsoft update service location
    |
    | ------>
    http://ServerName.DomainName.net |
    | (Address of the server where WSUS updates are downloaded to)
    |
    | |
    |Enable |
    |-----> Automatic Updates detection frequency
    |
    | ------>
    22 |
    | (hours)
    |
    |Enable  |
    |-----> Enable Client-side Targeting
    |
    | ------>
    Win7; Server |
    | (Name of the Computer Groups)
    |
    |------------------------------------------------------------------------------------------------------|
    FYI: go to CMD and type "gpupdate" to apply the updates right away without waiting for the automatic one
    3/ Launch Windows Server Update Services (WSUS)
    a/ Run the WSUS Wizard
    I ran the WSUS Server Configuration Wizard under Option on the left panel and followed it by running the 
    synchronization.
    ------------------------------------------------------------------------------------------------------|
    |Choose Upstream Server |
    |-----> Synchronize from Microsoft Update and press on next
    |
    | |
    |Specify Proxy Server |
    |-----> Left blank ( I won't be using a Proxy server) and press on next
    |
    | |
    |Connect to Upstream Server |
    |-----> Press on "Start Connecting" and wait until it's done, press on next
    |
    | |
    |Choose Product |
    |-----> Select the product needed and Press on next
    |
    | |
    |Choose Classifications |
    |-----> Select classification needed and Press on next
    |
    | |
    |Configure Sync Schedule |
    |-----> Synchronize automatically and press on next
    |
    | |
    |Finished |
    |-----> Check "Begin initial synchronization" and press on next
    |
    | |
    |What's next |
    |-----> It open the Help menu if you click on one of the four links
    |
    | ----->
    Press on Finish |
    |------------------------------------------------------------------------------------------------------|
    FYI: The synchronization might take hours if it's run for the first time
    b/ Computer Group Settings
    Go to "Options" under "Update Services" and click on "Computers"
    Change the option to "Use Group Policy or registery settings on Computers."
    And click on "OK"
    Final Result:
    (only 4 computers are showing) all being under the same operating system, missing about 7 computers used as hosts with Windows 7 running on VM

    Hi
     You have to apply the WSUS Gpo policy to your computers OU(or which OU computers incelude).

  • How can I view all downloads?

    How can I view all downloads in Yosemite? I just get sent to Terminal.

    ProfDWD wrote:
    Thanks for your suggestions about viewing downloads, but I'm afraid none of them worked. Whatever I tried, it always defaults to Terminal. You said the downloads folder can be found in the root, but I don't know how to get to get there. Presumably some command in the Terminal program?
    No. You do not want to be using terminal for viewing files. Terminal is a command line interface and best not to be messed with by the uninitiated.
    There is some glitch or problem or bug you are experiencing, If clicking the Downloads folder opens Terminal.
    You can try deleting the downloads folder off the Dock and drag a new downloads folder from your user home folder,  back to the right side of the Dock. The right side Dock icons are simply alias pointing to the parent folder.
    If that does not work My best advise would be to simply try re-installing the OS X on top of your existing OS X,  I suspect this will sort the problem.

Maybe you are looking for

  • SAP XI 2.0 and SAP XI 3.0

    can any one differentiate the feautures of SAP XI 2.0 and SAP XI 3.0??

  • Can I use two audio devices simultaneously ?

    I have Mackie Onyx 1620 with firewire card and I have also MOTU 828. Both devices are linked together. When using Logic Express 8 there is list on preferences/audio/devices and on that list there are both Mackie and Motu. But I can choose only one de

  • .MOV files play audio but no video

    hi, does anyone know why that when i open a .MOV file from my digital camera in quicktime, the audio plays fine but the picture however is a fuzzy green and purple mess? i have tried re-installing quicktime and everything but it makes no difference.

  • How to setup permanent data , temperary data ?

    Hi Chris I'm not familiar to Unix With Unix 16GB RAM, Could you show how to config permanent data , temperary data by only real memory (not virtual memory) ? # swapinfo Kb Kb Kb PCT START/ Kb TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME dev 83886

  • Only getting french unable to access menu to change back to english

    only getting french on opening apple tv unable to access menu ? to change back to english