Ionut's Profile User Rating: -----

Reputation: 385 Architect
Group:
Expert
Active Posts:
1,053 (1.01 per day)
Joined:
17-July 10
Profile Views:
7,787
Last Active:
User is offline Mar 06 2013 07:47 AM
Currently:
Offline

Previous Fields

Country:
RO
OS Preference:
Windows
Favorite Browser:
Internet Explorer
Favorite Processor:
Who Cares
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0
Expert In:
VB.NET, Databases

Latest Visitors

Icon   Ionut .Invoke(Chillin)

Posts I've Made

  1. In Topic: Check if SQL Server Job already running?

    Posted 1 Mar 2013

    SMO may be the answer.
    Job class seems to be what you need.
  2. In Topic: Can't cast unknown type to iOrderedEnumerable(Of TYPE)

    Posted 26 Feb 2013

    Well, you cannot. A Linq statement(query) doesn't inherit IOrderedEnumerable. You can use extension methods OrderBy and OrderByDescending of the type returned by the query(which, if I'm not mistaken, is of type IEnumarable(of T)). These two functions return an IOrderedEnumerable(of T) object.
    Example
            If SortAscending Then
                Sorted = (From MusicCard As SongCardNFO In SongCard Select MusicCard).OrderBy(Function(music) music.SetProperty1)
    
            Else
                Sorted = (From MusicCard As SongCardNFO In SongCard Select MusicCard).OrderByDescending(Function(music) music.SetProperty2)
            End If
    
    
  3. In Topic: Read each line of comma-delimited file into separate array

    Posted 24 Feb 2013

    put the code in a while -> while not end of file, read a new line
    
            Dim EeErString() As String
            If EeErTextFieldParser.EndOfData Then
               MessageBox.Show("No records to display.", "End of Data")
            Else 
               while not EeErTextFieldParser.EndOfData
                 EeErString = EeErTextFieldParser.ReadFields()
                 EmployeeLabel1.Text = EeErString(0)  ' First field.  
                 EmployerLabel1.Text = EeErString(1)  ' Second field.
                 EmployeeLabel2.Text = EeErString(2)  ' etc
                 EmployerLabel2.Text = EeErString(3)
               end while 
            End If
    
    
  4. In Topic: import data from excel 2010 to sqlexpress(vb.net windows application)

    Posted 22 Feb 2013

    well, do you want to use Excel VBA or VB.NET? If you want VBA , move the question in VB6 section.
    For VB.NET:
    -create a new Windows Forms Application
    - add a button to the form
    - double click the button
    - write the code

    Next step:
    - get the path of the Excel file
    - use TheKirk's link to read from Excel
    - look in tutorial section for a basic example of working with ADO.NET.
    - if you get stuck with a piece of code, come back with a question and we will help you from that point.
  5. In Topic: Visual Studio 2012 SQL CE 4 Error!?!

    Posted 22 Feb 2013

    What assembly does your application uses? If you go to C:\Windows\assembly, probably you will have two versions of System.Data.SqlServerCe: 3.5.1.0 and 4.0.0.0(or whatever version is Ce 4). You said you use the code that worked with VS2010, have you changed the reference to the right assembly? It appears to be a compatibility issue.

My Information

Member Title:
D.I.C Lover
Age:
25 years old
Birthday:
August 27, 1987
Gender:
Location:
Bucharest
Full Name:
Ionut Dragu
Years Programming:
2
Programming Languages:
Delphi, C#, VBA, SQL

Contact Information

E-mail:
Click here to e-mail me
MSN:
MSN  ionut.dragu
Yahoo:
Yahoo  dragu.ionut
Skype:
Skype  ionut_dragu

Comments

Page 1 of 1
  1. Photo

    Bluezap Icon

    17 Jul 2012 - 08:05
    Could you please take a look at this if it isn't any trouble? Thnx!
    http://www.dreamincode.net/forums/topic/285850-read-file-in-ftp-server-and-execute-a-fuction/
  2. Photo

    Bluezap Icon

    15 Jul 2012 - 02:36
    Can you please help me out with this. Thanks
    http://www.dreamincode.net/forums/topic/285850-read-file-in-ftp-server-and-execute-a-fuction/
  3. Photo

    nK0de Icon

    17 May 2012 - 10:48
    having seen your sig, check this out. http://theoatmeal.com/comics/tesla
    thought it would be interesting! :)
  4. Photo

    giorgospsk Icon

    02 Jan 2012 - 07:59
    hello. Have you seen the database i posted?
  5. Photo

    smohd Icon

    02 Sep 2011 - 11:31
    Congratulation and welcome to VB.NET experts
  6. Photo

    Tareshukla Icon

    26 Feb 2011 - 09:06
    Thanks for your kind suggestions.
  7. Photo

    cornetto456 Icon

    16 Feb 2011 - 08:49
    can you help me please :http://www.dreamincode.net/forums/topic/215826-how-to-show-people-that-are-online/page__p__1249970__fromsearch__1&#entry1249970
  8. Photo

    cornetto456 Icon

    13 Feb 2011 - 09:55
    Hi can you help me with my question http://www.dreamincode.net/forums/topic/215826-how-to-show-people-that-are-online/ Thanks :D
Page 1 of 1