Click here to Skip to main content
15,899,026 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: System.Net.WebException Pin
snema8323-Mar-07 5:39
snema8323-Mar-07 5:39 
GeneralRe: System.Net.WebException Pin
Christian Graus23-Mar-07 7:20
protectorChristian Graus23-Mar-07 7:20 
GeneralRe: System.Net.WebException Pin
snema8323-Mar-07 7:24
snema8323-Mar-07 7:24 
GeneralRe: System.Net.WebException Pin
Christian Graus23-Mar-07 7:46
protectorChristian Graus23-Mar-07 7:46 
GeneralRe: System.Net.WebException Pin
snema8323-Mar-07 7:52
snema8323-Mar-07 7:52 
GeneralRe: System.Net.WebException Pin
Christian Graus23-Mar-07 9:23
protectorChristian Graus23-Mar-07 9:23 
GeneralRe: System.Net.WebException Pin
snema8326-Mar-07 3:20
snema8326-Mar-07 3:20 
QuestionResource.resx Pin
WhiteGirl2323-Mar-07 4:24
WhiteGirl2323-Mar-07 4:24 
hi i wrote a code which opens a resource.resx of a project but i want to find the word "str" in this resource with regex but i have errors.
maybe you can help me.

here is the code:

Dim rm As Resources.ResXResourceReader = New Resources.ResXResourceReader("C:\Documents and Settings\Developer1\Desktop\Developer2\Admin32 .NET.adela\My Project\Resources.resx")
Dim en As IDictionaryEnumerator = rm.GetEnumerator()
Dim regex1 As System.Text.RegularExpressions.Regex = New System.Text.RegularExpressions.Regex(en)
Dim m As System.Text.RegularExpressions.Match
Dim word1 As String
Dim word2 As String
Dim text As String = "str"

While (en.MoveNext())

word1 = "Value:" + en.Value.ToString()
word2 = "Key: " + en.Key.ToString()
rm.Close()

m = regex1.Match(text)


End While

the eerror:"Unable to cast object of type 'N" to type 'Double' is not valid.

thank you

AnswerRe: Resource.resx Pin
Christian Graus23-Mar-07 4:37
protectorChristian Graus23-Mar-07 4:37 
QuestionIDisposable again... [modified] Pin
Marcus J. Smith23-Mar-07 3:18
professionalMarcus J. Smith23-Mar-07 3:18 
AnswerRe: IDisposable again... Pin
Christian Graus23-Mar-07 3:41
protectorChristian Graus23-Mar-07 3:41 
Questionvba question Pin
alpdoruk23-Mar-07 3:10
alpdoruk23-Mar-07 3:10 
AnswerRe: vba question Pin
alpdoruk23-Mar-07 4:11
alpdoruk23-Mar-07 4:11 
Questionerror occure when using word template Pin
OTAsh23-Mar-07 3:04
OTAsh23-Mar-07 3:04 
AnswerRe: error occure when using word template Pin
VB Prog23-Mar-07 5:12
VB Prog23-Mar-07 5:12 
QuestionWhat is the easiest way to reset the values of array? Pin
JUNEYT23-Mar-07 2:35
JUNEYT23-Mar-07 2:35 
AnswerRe: What is the easiest way to reset the values of array? Pin
StianSandberg23-Mar-07 2:48
StianSandberg23-Mar-07 2:48 
AnswerRe: What is the easiest way to reset the values of array? Pin
Christian Graus23-Mar-07 2:48
protectorChristian Graus23-Mar-07 2:48 
AnswerRe: What is the easiest way to reset the values of array? Pin
Navneet Hegde23-Mar-07 3:43
Navneet Hegde23-Mar-07 3:43 
Question'System.StackOverflowException' Pin
crazyteh23-Mar-07 2:00
crazyteh23-Mar-07 2:00 
AnswerRe: 'System.StackOverflowException' Pin
Colin Angus Mackay23-Mar-07 2:08
Colin Angus Mackay23-Mar-07 2:08 
GeneralRe: 'System.StackOverflowException' Pin
crazyteh25-Mar-07 18:49
crazyteh25-Mar-07 18:49 
GeneralRe: 'System.StackOverflowException' Pin
Colin Angus Mackay25-Mar-07 21:26
Colin Angus Mackay25-Mar-07 21:26 
GeneralRe: 'System.StackOverflowException' Pin
crazyteh25-Mar-07 22:45
crazyteh25-Mar-07 22:45 
Questionbank-costumer basic code for c++ Pin
muchalucha22-Mar-07 22:49
muchalucha22-Mar-07 22:49 

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.