Click here to Skip to main content
15,920,602 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionvb.net extracting the first letter of a string Pin
culbysl10-Dec-05 11:20
culbysl10-Dec-05 11:20 
AnswerRe: vb.net extracting the first letter of a string Pin
[Marc]10-Dec-05 13:52
[Marc]10-Dec-05 13:52 
AnswerRe: vb.net extracting the first letter of a string Pin
Dave Doknjas10-Dec-05 15:04
Dave Doknjas10-Dec-05 15:04 
GeneralRe: vb.net extracting the first letter of a string Pin
Dave Doknjas10-Dec-05 16:10
Dave Doknjas10-Dec-05 16:10 
AnswerRe: vb.net extracting the first letter of a string Pin
culbysl11-Dec-05 5:10
culbysl11-Dec-05 5:10 
Questionsecurity exception Pin
ibigpapa10-Dec-05 9:56
ibigpapa10-Dec-05 9:56 
AnswerRe: security exception Pin
Dave Kreskowiak11-Dec-05 3:32
mveDave Kreskowiak11-Dec-05 3:32 
GeneralRe: security exception Pin
ibigpapa11-Dec-05 6:05
ibigpapa11-Dec-05 6:05 
well i read through it and it did help thank you, but now i've got a new problem, so maybe i didn't catch everything in that reading. but heres the new code and the new error that is compile time error

code:

Imports System.IO
Imports System.Security.Permissions
Imports System.Runtime.InteropServices
<assembly: permissionset(securityaction.requestminimum,="" name:="Full Trust" )="">

Public Class Form1
Inherits System.Windows.Forms.Form

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim oFile As File
Dim oWrite As StreamWriter
Dim oRead As StreamReader

oWrite = File.CreateText("test.txt")
oWrite.WriteLine("test test test")
oWrite.Close()

oRead = File.OpenText("test.txt")
TextBox1.Text = oRead.ReadToEnd
oRead.Close()
End Sub
End Class

error:
Unable to emit assembly: Unexpected exception processing attribute -- System.ArgumentException: Unable to generate permission set; input XML may be malformed..

all this stuff is new to me.
QuestionVb.Net MDI Back Image Pin
FireOnMoon10-Dec-05 7:21
FireOnMoon10-Dec-05 7:21 
AnswerRe: Vb.Net MDI Back Image Pin
Dave Kreskowiak11-Dec-05 3:29
mveDave Kreskowiak11-Dec-05 3:29 
QuestionError icon in datagrid Pin
oakleaf10-Dec-05 4:21
oakleaf10-Dec-05 4:21 
QuestionMerging files Pin
elms10-Dec-05 3:01
elms10-Dec-05 3:01 
AnswerRe: Merging files Pin
Dave Kreskowiak10-Dec-05 4:54
mveDave Kreskowiak10-Dec-05 4:54 
QuestionGetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat10-Dec-05 2:53
professionalOmar Mallat10-Dec-05 2:53 
AnswerRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak10-Dec-05 4:45
mveDave Kreskowiak10-Dec-05 4:45 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat10-Dec-05 6:27
professionalOmar Mallat10-Dec-05 6:27 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak11-Dec-05 3:13
mveDave Kreskowiak11-Dec-05 3:13 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat11-Dec-05 5:44
professionalOmar Mallat11-Dec-05 5:44 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak11-Dec-05 6:28
mveDave Kreskowiak11-Dec-05 6:28 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat11-Dec-05 6:31
professionalOmar Mallat11-Dec-05 6:31 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak11-Dec-05 13:42
mveDave Kreskowiak11-Dec-05 13:42 
QuestionPrinting a form without the background. Pin
Samadara10-Dec-05 2:23
Samadara10-Dec-05 2:23 
QuestionCrystal Report Pin
tusar12310-Dec-05 0:57
tusar12310-Dec-05 0:57 
QuestionDataGrid Height . Pin
microuser_20009-Dec-05 23:52
microuser_20009-Dec-05 23:52 
AnswerRe: DataGrid Height . Pin
oakleaf10-Dec-05 4:14
oakleaf10-Dec-05 4:14 

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.