Search results for query: *

  1. R

    defining mouseenter, mouseleave, mousehover

    Thank you jmcilhinney At the moment, a loop in the mousemove event in the picturebox control checks if the cursor is inside any of the polygons from myClass.PolygonCollection, using the isAt defined bool function of the polygon class (after the polygon shape(s) are drawn from picturebox paint...
  2. R

    defining mouseenter, mouseleave, mousehover

    With the absence of the System.windows.shapes (PresentationFramework.dll), I have defined my own polygon class with custom events handlersand constructor for a particular application. My question is, how can I code the mouseenter, mouseleave, and mousehover event definitions based on the...
  3. R

    Pass only 1-dimension of 2-dimensional array as 1-D array to arraylist.addrange

    /title 2-dimensional array declared as Public strArray(0 To 7, 0 To 118) As String arraylist declared as Dim strArrayList As New ArrayList strArrayList.AddRange(strArray(5,())) and strArrayList.AddRange(strArray(5,)) dont work
  4. R

    project crashes upon trying to add mysql view to crystal report

    For my VB.NET project, I'm using MySQL connector/NET 5.2. and crystal reports (ver 10) for visual studio 2005. Ive got a new mysql view in a database, and whenever I try to add that view to my crystal report through database expert, my VB.net project crashes. here is the problem signature...
  5. R

    datagridview export to word very slow. faster way?

    @VBobCat exporting a dgv to an HTML table using streamwriter and the stringbuilder method is really very nice, but I would like to see a fast way to export dgv to word @Dunfiddlin exporting dgv to html is fast (takes ~1-2 seconds), regardless of the table size did you a straight paste of the...
  6. R

    datagridview export to word very slow. faster way?

    In my vb application, the user can export a datagridview to a table in MS word via a button click I'm using Interop word with a MS Word 14.0 library reference to achieve this The size of the datagridview can vary; but at most it could be as large as having 20 columns and 2000 rows but with...
  7. R

    working with excel number format

    JohnH, I am using the Excel.Application class and a reference to MS Excel Object 14.0 Library Namespace import Imports Excel = Microsoft.Office.Interop.Excel Imports Word = Microsoft.Office.Interop.Word heres some code Dim oXL As Excel.Application Dim oWB As Excel.Workbook...
  8. R

    working with excel number format

    In my program, I export datagridview results to an excel document, and the cells are formatted accordingly in the process I've used the numberformat property with the value "$#,##.00" to format currency fields and "MM/DD/YYYY" to format short date fields. The formatting works, but in excel, the...
  9. R

    print full picture after graphics paint

    Thank you! The control.drawtobitmap method is what I needed
  10. R

    user control similar to VB Project Properties-> Settings?

    Thanks, an unbound datagridview is what I wanted
  11. R

    user control similar to VB Project Properties-> Settings?

    Similar to the image above Can I create a custom user control with a top to down flowdirection like the flowlayoutpanel, where the user can add or remove rows Each row is essentially a 'panel' with two comboboxes and a textbox
  12. R

    print full picture after graphics paint

    I've got a tabcontrol with multiple tab pages each containing a different picturebox these pictureboxes have large images so the tab page is scrollable when the tab page is selected, and the picturebox is displayed, a paint event triggers and e.graphics are drawn upon the picturebox image...
  13. R

    make substring bold if any listbox item contains it

    suppose I've got a listbox with a list of names as items I do a listbox search to see if any of its items contains a particular substring If the substring exists in an item, then make only the substring bold, and the rest of the string remains a normal font i.e. listbox items: ... Mark Smith...
  14. R

    vb program deployment- .NET framework SP2 install fail

    Certain aspects of my vb application needs .NET framework 2 Service pack 2 to operate. My setup & deployment prerequisites for now currently includes .NET framewrk 2 SP 2, because the core .NET framework 2 is already included in SP 2 When installing the .NET framework SP 2 DURING the vb...
  15. R

    Newbie question- deployment dependencies

    In my vb setup and deployment project, I've got a bunch of required dll files (dependencies). After I've installed the application, these dll files show up as application extensions (along with the .exe, an .ico file, and xml configuration file). How do I make vb install only the executable in...
  16. R

    yet again about combobox suggest any substring

    as you know, the combobox autocompletemode suggests items that start with the specified string, and not contain Public Class Form1 Private AllNames As New DataTable() Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load...
  17. R

    rotated e.x, e.y coordinates after Graphics RotateTransform

    Nvm I got it, my translate transform pivot point was wrong
  18. R

    rotated e.x, e.y coordinates after Graphics RotateTransform

    Sorry, it doesnt seem to be working Imports System.Drawing.Drawing2D Imports System.Math Public Class Form1 Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint e.Graphics.TranslateTransform(100.0F, 0.0F)...
  19. R

    rotated e.x, e.y coordinates after Graphics RotateTransform

    I am trying to write rotated text on the form using the e.graphics.drawstring method, and after the following e.Graphics.TranslateTransform(100.0F, 0.0F) e.Graphics.RotateTransform(90.0F) the coordinates I want to use (e.x, e.y) have changed because of the rotation, so the text appears at a...
  20. R

    regex for tokenizing simple SQL SELECT string statements?

    I've already read that article I think i'll just stick with my code :D
Back
Top