Search results for query: *

  • Users: ridhwaans
  • Content: Threads
  • Order by date
  1. 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...
  2. 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
  3. 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...
  4. 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...
  5. 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...
  6. 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
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. R

    regex for tokenizing simple SQL SELECT string statements?

    currently I'm using vb's string functions (such as .replace, .split, .mid) to parse and process the columns and conditions of a sql SELECT statement into two listboxes It works fine, BUT, I'm trying to find a more efficient way to perform this using the regex alternative. I'm not very good with...
  14. R

    avoid flicker for panel control upon cursor mousemove

    Imports System.Drawing.Drawing2D Public Class Form1 Private myPath As New GraphicsPath Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.DoubleBuffered = True End Sub Private Sub PictureBox1_MouseMove(ByVal sender...
  15. R

    check if cursor is inside polygon (mousemove)

    what is the code to create a polygon object to refer with a mouse event? Suppose I want to create a polygon on a container in the form, and an event triggers when the user mouses over the polygon (i.e. msgbox) do I have to define an element object of Polygon class for the mousemove event? or...
  16. R

    crystal report get data from existing mysql xml dataset

    Please move or delete this thread if this is not the correct forum I am using MySQL Connector/NET 5.2.7 for visual studio 2005, and I've got a myDataSet.xsd in my visual studio project which I got from my data source connection, a MySQL Database (MySQL Data Provider) The problem is when I use...
  17. R

    Code to bind .xsd typed dataset (from SQL DB datasource) to crystal report?

    Hi, In my project, Ive got a dataset acquired from a SQL database connection here is a picture The dataset is fairly small, and it has got four tables (i.e. table1, table2, table3, table4) Now the case is that I am trying to bind that dataset to one of my crystal reports 'crReport.rpt'...
  18. R

    how to pass application setting by value to a public procedure or function?

    Suppose I have an application setting of type System.Collections.Specialized.StringCollection called listA. What ByVal type is needed for declaring it? (i.e. public sub saveData (byVal list as ____?) VB.net doesnt allow a particular or certain application setting to be passed or received as...
  19. R

    move multiple selected items from one listview to another listview (aka picklist)?

    Hi, I've got a listview1 and listview2 Both listviews have a number column and a name column (2 columns total) Items can be multiselected for both listviews the FullRowSelect property is ENABLED when the user clicks a button, the all items that are selected (one or multiple) in listview1 are...
  20. R

    Question crystal reports programatically grouping help

    Hi all, I am a newbie to working with crystal reports in vb.net The situation is, I've got a crystal report, a crystal report viewer, a database data source with a dataset, and a listview in a winforms application which has got a string collection as a list, something like "1234 Project One-...
Back
Top