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

.NET (Core and Framework)

 
GeneralRe: Load a Page Object from a filename Pin
Guffa6-Mar-06 0:04
Guffa6-Mar-06 0:04 
QuestionGDI+ Pin
badge19865-Mar-06 13:12
badge19865-Mar-06 13:12 
AnswerRe: GDI+ Pin
Guffa5-Mar-06 22:16
Guffa5-Mar-06 22:16 
GeneralRe: GDI+ Pin
badge19865-Mar-06 23:46
badge19865-Mar-06 23:46 
GeneralRe: GDI+ Pin
Guffa6-Mar-06 0:00
Guffa6-Mar-06 0:00 
GeneralRe: GDI+ Pin
badge19867-Mar-06 0:52
badge19867-Mar-06 0:52 
QuestionPropertyGrid - Replace "Property value is not valid" message Pin
nick_xenacom5-Mar-06 12:53
nick_xenacom5-Mar-06 12:53 
QuestionHow to get Open button event of Word in addin Pin
Anil_gupta5-Mar-06 5:14
Anil_gupta5-Mar-06 5:14 
QuestionHow can I use a native DLL in .Net 2005? Pin
a_kiani5-Mar-06 3:15
a_kiani5-Mar-06 3:15 
AnswerRe: How can I use a native DLL in .Net 2005? Pin
soma42011-Mar-06 6:54
soma42011-Mar-06 6:54 
AnswerRe: How can I use a native DLL in .Net 2005? Pin
liRetro3-Apr-06 5:37
liRetro3-Apr-06 5:37 
QuestionSerialization Doubt Pin
manivannan.p5-Mar-06 1:20
manivannan.p5-Mar-06 1:20 
AnswerRe: Serialization Doubt Pin
Guffa5-Mar-06 2:07
Guffa5-Mar-06 2:07 
QuestionHow does StringBuilder Work? Pin
manivannan.p5-Mar-06 1:13
manivannan.p5-Mar-06 1:13 
GeneralRe: How does StringBuilder Work? Pin
Guffa5-Mar-06 2:08
Guffa5-Mar-06 2:08 
AnswerRe: How does StringBuilder Work? Pin
Vasudevan Deepak Kumar6-Mar-06 22:24
Vasudevan Deepak Kumar6-Mar-06 22:24 
QuestionUse sytem icons Pin
Viktor Nilsson4-Mar-06 1:49
Viktor Nilsson4-Mar-06 1:49 
AnswerRe: Reading data samples from sound card Pin
Dan Neely3-Mar-06 6:42
Dan Neely3-Mar-06 6:42 
QuestionActive X in a Smart Client (is it Possible) Pin
mark_e_mark3-Mar-06 5:15
mark_e_mark3-Mar-06 5:15 
AnswerRe: Active X in a Smart Client (is it Possible) Pin
Vasudevan Deepak Kumar6-Mar-06 0:41
Vasudevan Deepak Kumar6-Mar-06 0:41 
Questionauto update a windows service Pin
mweber26@hotmail.com3-Mar-06 4:51
mweber26@hotmail.com3-Mar-06 4:51 
AnswerRe: auto update a windows service Pin
Dave Kreskowiak3-Mar-06 13:46
mveDave Kreskowiak3-Mar-06 13:46 
Questionpocket pc application Pin
bhavz693-Mar-06 4:01
bhavz693-Mar-06 4:01 
hi im having a problem with my application..
basically i want to store values of my textboxes when i click on the add button..at the moment
what i have is when i load the application the below code is generated.....



Private Function LoadProject(ByVal ProjectID As Integer) As Boolean
' Simulate having retrieved project data
' from a database. Here, we'll use our
' Project and Task data structures to
' hold the data.
With theProject
.strProjNo = 1
.dateProjStart = DateTime.Today.AddDays(-100)
.dateProjTime = DateTime.Today.AddDays(100)
End With




theTasks.Add(New Task(0, "Go To Computer Graphics Lecture", _
DateTime.Today.AddDays(-17), _
DateTime.Today.AddDays(22), _
"make sure i print off lecture slides before lecture starts"))
theTasks.Add(New Task(1, "Go to Lab ", _
DateTime.Today.AddDays(-11), _
DateTime.Today.AddDays(19), _
"complete lab six and get it signed"))
theTasks.Add(New Task(2, "see tutor ", _
DateTime.Today.AddDays(-11), _
DateTime.Today.AddDays(19), _
"complete lab six and get it signed"))

Return True
End Function


.....and when i add a new task the new values are stored but only temporarly..i need it to store forever..


Private Sub btnAddTask_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAddTask.Click
' Unbind the Tasks array list from
' the dropdown ComboBox.
cboxTasks.DataSource = Nothing


' Add the task to the Tasks array list.
theTasks.Add(New Task(txtTaskNo.Text, txtTaskName.Text, _
txtTaskStart.Text, txtTimeStart.Text, _
txtTaskActual.Text))
With cboxTasks
.Items.Add( _
CType( _
theTasks(theTasks.Count - 1), Task).strTaskName)
.SelectedIndex = theTasks.Count - 1
End With
' Cleanup the form and re-select the old task.
AfterNewTaskCleanup(ixTaskPrev)
End Sub



.....i want to use xml as my datastorage but dnt no how to implement this..would be grateful if any 1 could help
p.s. i am using vb.net 2003 - smart device application for pocket pc

thanks
QuestionNet 2.0 and COM Interop (Winword) Pin
gill3-Mar-06 3:28
gill3-Mar-06 3:28 
AnswerRe: Net 2.0 and COM Interop (Winword) Pin
Douglas Troy3-Mar-06 6:20
Douglas Troy3-Mar-06 6:20 

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.