Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
E

EvoFreak

@EvoFreak
About
Posts
12
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Support team hand over plan
    E EvoFreak

    Anybody else got anything, please?

    --------------------------------- There is life outside coding.

    IT & Infrastructure collaboration

  • Support team hand over plan
    E EvoFreak

    Hi, I work on the support team (as a software developer). Thus far I haven't seen from what I have searched on the net, a good support team hand over plan. Basically I would like to know what are the key things that we as the support team members should be looking for, from the project team. Thanks,

    --------------------------------- There is life outside coding.

    IT & Infrastructure collaboration

  • VS2003. Copy and Paste row/s within DataGrid
    E EvoFreak

    Hi, I have got this issue where I need to copy/paste multiple rows. At the moment, copying and pasting a single row seems possible. And it seems to work. copying and pasting multiple rows seems to be the problem. Only the last row that was highlighted to be copied seems to be entered within ClipBoard. Here is my code: Try If e.KeyCode = Keys.C Then 'copy key c is pressed Dim counter As Integer = 0 Dim selectedItemsArrayList As New ArrayList For Each r As DataStructure.ItemsRow In MainForm.Data.Items If dg.IsSelected(counter) Then selectedItemsArrayList.Add(counter) End If counter += 1 Next Dim format As DataFormats.Format = DataFormats.GetFormat(Me.ToString) Dim data As IDataObject = New DataObject Dim row As DataRow If selectedItemsArrayList.Count > 0 Then 'if count is greater than 0, there are some rows selected For Each i As Integer In selectedItemsArrayList 'for each row that is selected to be added 'add to clipboard selectedDataGridRow = selectedItemsArrayList(i) row = MainForm.Data.Items(selectedItemsArrayList(i)) data.SetData(format.Name, False, row.ItemArray) Clipboard.SetDataObject(data, False) Next End If End If If e.KeyCode = Keys.V Then 'paste key is pressed Dim row As Object() Dim ClipData As IDataObject = Clipboard.GetDataObject Dim format As String = Me.ToString If ClipData.GetDataPresent(format) Then row = CType(ClipData.GetData(format), Object()) 'add row to datagrid MainForm.Data.Items.Rows.Add(row) End If End If Catch ex As Exception MessageBox.Show(ex.ToString) End Try I guess I need to either modify the way I add items into ClipBoard or modify the way I retrieve items from within ClipBoard. Cheers

    --------------------------------- There is life outside coding.

    Visual Basic help

  • [.net] Rich Text Box Font Size
    E EvoFreak

    If you go in to the design view of the form and go in to the property of the rich text box. You can set the font size under Font property. Or you can set the font size in the load method of that form. by:

    RichTextBox1.Font = New Font(RichTextBox1.Font.Name, 5)

    --------------------------------- There is life outside coding.

    Visual Basic csharp question discussion

  • System time range
    E EvoFreak

    http://www.dotnetspider.com/kb/Article552.aspx[^] Follow the link, it has an example on finding difference between date/time. Convert to vb.net (pretty much the same without ";") and you should be sorted. There is life outside coding!

    Visual Basic help question

  • Kebord mapping
    E EvoFreak

    Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
    End Sub

    KeyPreview

    property of a form has to be set to

    True

    Visual Basic csharp tutorial

  • Custom Renaming File
    E EvoFreak

    strings in vb have

    substring

    split

    methods. use filedirectory if needed to get hold of file names.

    Visual Basic csharp

  • i have a atm code in vb 6.0!! i'm having error plz.. help me????
    E EvoFreak

    Learning comes from experience so, try to tackle your problem with starting off with the design or the User interface (UI). After doing the buttons and so on you can then get into coding it. Try searching Google for answers.

    Visual Basic help csharp question

  • maximize form
    E EvoFreak

    I am not sure, but not everyone will give you the answers straight away. Internet research is some thing you learn to use as part of your learning experience. Google.com, Google groups are helpful. make your own method to handle maximise.

    Me.WindowState = FormWindowState.Maximized

    Visual Basic

  • Reading from text
    E EvoFreak

    I am not sure what you are trying to do here. But if you are trying to read and write from/to text files then try the first two results from this search: http://www.google.co.nz/search?q=read+text+vb.net&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official Streamreaders/streamwriters are what you are after. Make sure that streams are closed after reading/writing.

    Visual Basic csharp database

  • Reading from text
    E EvoFreak

    Mr kilany wrote:

    how i can read data from textbox (notepad) which has alot of data by form in vb.net so 1- first i need to select the file 2- reading data

    try this: http://www.vbforums.com/showthread.php?t=423925 It is coded in VS2005 but basically you need to import

    system.io

    open a stream and then make sure you close it after you finish reading. I am not sure what type of data is being read. I am unable to comment on storing/arranging part. If you want to ask the user for where the file is stored, use file dialogues. Hope that helps.

    Visual Basic csharp database

  • programming newbie
    E EvoFreak

    That might have come out wrong, but what I would have said is, be careful who you give the email address to. Especially in an age where spam is thiriving.

    Visual Basic csharp com
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups