Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Kenny62
  • Content: Threads
  • Order by date
  1. Kenny62

    AddNew databinding problem

    Addnew databinding problem: Hi - i have databinding problem, i wonder if someonecan help: Briefly, i have table with the following fields ID (identity, not NULL) ClientID (integer, not NULL) ProgramID (integer, not NULL) StartDate (datedtime, not NULL) EndDate (datetime, nullable) Databind is...
  2. Kenny62

    Moving node on treeview causing app to stop responding

    Hi Guys, if i've implemented dragdrop code on a treeview to re-arrange the nodes. I validate the node that i'm attempting to move in the DragOver event. In final phase of validation, we must ensure that the TreeNode under the cursor is not the TreeNode that is being dragged or a child of that...
  3. Kenny62

    XML formatting

    Hi - I've written a recursive routine to save the contents of a treeview to XML file. This works - but only the root node is correctly formatted. All other nodes are on the same line: Any idea whay this happens and how can i fix it. Thanks in advance for any help. Code sample: Private Sub...
  4. Kenny62

    Error opening ASP.NET project

    Hi, I'm new to ASP.Net and i've been following course work and projects supplied on a CD-ROM. I've copied a project to my C:Drive and and changed the folder and file properties to read/write. However when I try opening the .sln or .vbproj file it gives an error message "Unable to get the...
  5. Kenny62

    Embedded word docuemt to a .Net form ::RE

    Hi - I have a web-browser control on a form - the browser control displays a word document via a .navigate method. I would like to be able to click any where on the document and 'click event' or similar is fired - so that i can do my stuff - in this case play an audio file. Presently clicking on...
  6. Kenny62

    Webbrowser - disable page links

    Hello - is there a simple way to configure the web-browser control such that all links on a displayed web page are disabled. (Only the URL set in the .Navigate method is displayed - users can't go to other sites). Thanks for any help in advance, Ken.
  7. Kenny62

    WebBrowser - Word Documents

    I'm using the WebBrowser control to open Word, Excel files. I want the loaded documents to be in a "read only" mode. However, the WebBrowser allows edits, context menus, etc. I've tried SubClassing the control, but have determined that this is impossible thru normal methods. Any ideas. Note: If...
  8. Kenny62

    Print web browser control within vb.net form

    Hi - i'm trying to printing the contents of a web browser control. Users want the prompt dialog displayed before printing. I done something like this: AxWebBrowser.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINT, SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_PROMPTUSER, 0, 0) If i on clicking the cancel button...
  9. Kenny62

    Embed word docuemt to a .Net form

    Hi - i've followed guidelines on HOWTO: Use the WebBrowser Control to Open an Office Document in Visual Basic .NET http://support.microsoft.com/?kbid=304643 Now i want the the docment to be displayed in Print layoutview mode, with no ruler and readonly. I've got hold of the document object...
  10. Kenny62

    Dynamic button creation - no handler for gotfocus - workround?

    Hi, I've created a number buttons on a form dynamically. I then setup handlers for MouseHover,MouseLeave, Click etc: See below: Private Sub CreatebtnControls() Dim answer As String Dim index As Integer answer = 5 For index = 1 To CInt(answer) '...
  11. Kenny62

    Setup and deployment - creating sub folders

    Hi Guys, i'm building a setup and deployment project. I need to create subfolders under "\Documents and Settings\All Users" such as \MyCompany\MyProductName\ - how do you do this? In my application i do the following - to read this folder: AU_Path =...
  12. Kenny62

    BindingManagerBase issue/Data binding

    BindingManagerBase issue I have a strange problem in using databinding - i wonder if anyone can help. Briefly - i have a class with a dataset and all associated code to update the DS. The UI form gets a reference to the DS and controls are bound to the fields in the DS. When i add a new record...
  13. Kenny62

    Read XML config file

    I have a large config XML file that uses simple tags: e.g <tag1>"Data1"</tag1> <tag2>"Data2"</tag2> I read this file into a dataset then process the only row. This works very well - also updating the xml file is a breeze. However some tags really need attributes so that further process may be...
  14. Kenny62

    vb.net resource kit

    Hi - i've installed MS VB.Net Resource kit - however when i open the welcome page(http://localhost/vb.net resource kit/welcome.aspx) vs.net 2003 pro displays the code instead of starting up the asp application. How do i get this to work.(The local web server is up and running - i'm using XP pro)...
  15. Kenny62

    Button double click

    I have a event handler for a command button double click event. When the app runs - the code in the event handler never gets executed. Why? I've had a look at the MSDN help and the double click event is not listed for a command button - however it is available from the drop down list. Is there...
  16. Kenny62

    Connection for pubs DB failure

    Hi - i'm trying to connect to the a local pubs DB (SQL7). Connection string is: Public OledbPubsConnString As String = "Provider=SQLOLEDB.1;Data Source=(local);" _ & "User ID=sa;Password=sa;Initial Catalog=pubs" ' The connection to the Pubs database. Dim cn As New...
  17. Kenny62

    Reading db picture field via oledbreader

    Hi - does anyone know the sequence to read a Access DB picture/image field using the oleDbReader and getbytes method. (I know how to stuff the resulting byte array on a picture box...). Secondly - what is the correct syntax to use when you want to write/clear an image back to the database. Do i...
  18. Kenny62

    Strongly typed dataset issue

    Hi - i'm using a strongly typed dataset called say, CategoryDS - which links to a table Category in a DB. Category table has the following field: CategoryID , int, (key) CategoryName, string Description, string VB.Net has created all the methods and properties for CategoryDS - great. I'm have...
  19. Kenny62

    Apostrophe escape in SQL statement

    HI - how do you escape the apostrophe and quote symbol in a text field when used in a sql statement. i.e. SELECT name FROM mytable WHERE names='qwerty's' Will this escape sequence work against an Access DB? Thanks in advance. Ken
  20. Kenny62

    Access/SQL insert problem

    Hi - i have a text field in a access DB which can accept text upto 255 chars (the max size of path+filename) When i write to this field via VB code (INSERT ...statement) i get the following error message: "Message=The field is too small to accept the amount of data you attempted to add. Try...

Part and Inventory Search

Back
Top