Click here to Skip to main content
15,921,467 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Explorer Integration Pin
Dave Kreskowiak7-Apr-10 4:51
mveDave Kreskowiak7-Apr-10 4:51 
Questionvb.net graphics, hue overlay? Pin
lilx2k6-Apr-10 20:50
lilx2k6-Apr-10 20:50 
AnswerRe: vb.net graphics, hue overlay? Pin
Dave Kreskowiak7-Apr-10 4:33
mveDave Kreskowiak7-Apr-10 4:33 
QuestionHelp needed saving an XML document from a VC++ 2008 .NET app Pin
Ger Hayden6-Apr-10 6:19
Ger Hayden6-Apr-10 6:19 
AnswerRe: Help needed saving an XML document from a VC++ 2008 .NET app Pin
Not Active6-Apr-10 8:46
mentorNot Active6-Apr-10 8:46 
AnswerRe: Help needed saving an XML document from a VC++ 2008 .NET app Pin
Estys7-Apr-10 1:25
Estys7-Apr-10 1:25 
GeneralRe: Help needed saving an XML document from a VC++ 2008 .NET app Pin
Ger Hayden7-Apr-10 23:24
Ger Hayden7-Apr-10 23:24 
QuestionSave Listview by Groups Pin
CeremBeyazit5-Apr-10 7:18
CeremBeyazit5-Apr-10 7:18 
Hi,

I was working a To-Do-List project. Notes adding to groups. Everything is fine, but, program not saves list in group view. Before restart program, list loading without groups. How to load with groups?

This is my code:

To Load List
On Error Resume Next

Dim FS = New System.IO.FileStream(AppDataFolder() & "\iNotes3\Me.int", IO.FileMode.Open)
        lHeaders.Items.AddRange(BinFormatter.Deserialize(FS).ToArray(GetType(ListViewItem)))
FS.Close()


To Save List
On Error Resume Next

        Dim FS As New System.IO.FileStream(AppDataFolder() & "\iNotes3\Me.int", IO.FileMode.Create)
        BinFormatter.Serialize(FS, New ArrayList(lHeaders.Items))
        FS.Close()


Add Note to List

Dim TodayDate As String

        TodayDate = Date.Today
        On Error Resume Next

        If tHeader.Text = Nothing Then
            tHeader.Select()
        Else


            Label1.Visible = False
            lHeaders.Visible = True


            Dim lvi As ListViewItem

            lvi = lHeaders.Items.Add(tHeader.Text, 0)
            lHeaders.Groups.Add(TodayDate.ToString, TodayDate)

            lvi.Group = lHeaders.Groups(TodayDate.ToString)

            lvi.UseItemStyleForSubItems = False
            lvi.SubItems.Add(Date.Now, Color.Gray, Color.White, New System.Drawing.Font("Segoe UI", 8))
            tHeader.Items.Add(tHeader.Text)

            SaveHeaders()


        End If


Thanks.
QuestionGDI+ Architect Alternative? Pin
Som Shekhar3-Apr-10 8:36
Som Shekhar3-Apr-10 8:36 
Questionhow to programmatically get a list of resource file names in solution explorer [modified] Pin
fjparisIII2-Apr-10 23:46
fjparisIII2-Apr-10 23:46 
AnswerRe: how to programmatically get a list of resource file names in solution explorer Pin
Alan N3-Apr-10 10:21
Alan N3-Apr-10 10:21 
GeneralRe: how to programmatically get a list of resource file names in solution explorer Pin
fjparisIII3-Apr-10 10:46
fjparisIII3-Apr-10 10:46 
GeneralRe: how to programmatically get a list of resource file names in solution explorer Pin
Alan N3-Apr-10 13:32
Alan N3-Apr-10 13:32 
GeneralYour code works (SOLVED) Pin
fjparisIII4-Apr-10 14:36
fjparisIII4-Apr-10 14:36 
AnswerRe: how to programmatically get a list of resource file names in solution explorer Pin
Luc Pattyn3-Apr-10 10:35
sitebuilderLuc Pattyn3-Apr-10 10:35 
GeneralRe: how to programmatically get a list of resource file names in solution explorer Pin
fjparisIII3-Apr-10 10:56
fjparisIII3-Apr-10 10:56 
GeneralRe: how to programmatically get a list of resource file names in solution explorer Pin
Luc Pattyn3-Apr-10 11:06
sitebuilderLuc Pattyn3-Apr-10 11:06 
GeneralRe: how to programmatically get a list of resource file names in solution explorer Pin
fjparisIII3-Apr-10 11:45
fjparisIII3-Apr-10 11:45 
GeneralRe: how to programmatically get a list of resource file names in solution explorer Pin
Luc Pattyn3-Apr-10 12:08
sitebuilderLuc Pattyn3-Apr-10 12:08 
GeneralRe: how to programmatically get a list of resource file names in solution explorer Pin
fjparisIII3-Apr-10 12:55
fjparisIII3-Apr-10 12:55 
QuestionError: Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized. Pin
Nafiseh Salmani2-Apr-10 22:51
Nafiseh Salmani2-Apr-10 22:51 
AnswerRe: Error: Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized. Pin
Luc Pattyn3-Apr-10 11:30
sitebuilderLuc Pattyn3-Apr-10 11:30 
Questionstrange error "could not load devenv.exe or some of its dependencies" ( Unit testing /unit testing framework/NServiceBus.Testing.Test ) Pin
Tiju John2-Apr-10 3:30
Tiju John2-Apr-10 3:30 
AnswerRe: strange error "could not load devenv.exe or some of its dependencies" ( Unit testing /unit testing framework/NServiceBus.Testing.Test ) Pin
Luc Pattyn2-Apr-10 4:02
sitebuilderLuc Pattyn2-Apr-10 4:02 
AnswerRe: strange error "could not load devenv.exe or some of its dependencies" ( Unit testing /unit testing framework/NServiceBus.Testing.Test ) Pin
Tiju John6-Apr-10 21:04
Tiju John6-Apr-10 21:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.