Click here to Skip to main content
15,897,891 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Visual Basic .NET and SOAP Pin
siragl25-Nov-09 21:04
siragl25-Nov-09 21:04 
GeneralRe: Visual Basic .NET and SOAP Pin
Dave Kreskowiak26-Nov-09 4:27
mveDave Kreskowiak26-Nov-09 4:27 
GeneralRe: Visual Basic .NET and SOAP Pin
siragl26-Nov-09 6:41
siragl26-Nov-09 6:41 
GeneralRe: Visual Basic .NET and SOAP Pin
Dave Kreskowiak26-Nov-09 8:04
mveDave Kreskowiak26-Nov-09 8:04 
AnswerRe: Visual Basic .NET and SOAP Pin
David Skelly25-Nov-09 22:30
David Skelly25-Nov-09 22:30 
QuestionI need vb.net code for automated mobile message reading system connected with com port Pin
SSylhet25-Nov-09 8:30
SSylhet25-Nov-09 8:30 
AnswerRe: I need vb.net code for automated mobile message reading system connected with com port Pin
Dave Kreskowiak25-Nov-09 8:47
mveDave Kreskowiak25-Nov-09 8:47 
GeneralOK [modified] Pin
After-Darkness25-Nov-09 8:24
After-Darkness25-Nov-09 8:24 
ok i know What was the mistake thanks for your time anyway. Smile | :)
I found a good tutorial in youtube (I dont mean that your tutorial is bad)
i just thought that Youtube will be the last thing i can find what i am seeking for.
It all was my mistake so should i delete this Message"It's ok if you delete it for me i dont needit"?

This is the code i used it worked anyway(FINALLY):

i had to do a class to make this work
Public Class AppConfigReader
    Private Shared SettingsReader As New System.Configuration.AppSettingsReader
    Private Shared spamTXT_ As String = SettingsReader.GetValue("spamTXT", GetType(String))
    Private Shared PNtext_ As String = SettingsReader.GetValue("PNtext", GetType(String))
    Private Shared Itext_ As String = SettingsReader.GetValue("Itext", GetType(Byte))
    Private Shared EF_ As String = SettingsReader.GetValue("EF", GetType(Byte))
    Private Shared HS_ As String = SettingsReader.GetValue("HS", GetType(Byte))


    Public Shared ReadOnly Property spamTXT() As String
        Get
            Return spamTXT_
        End Get
    End Property

    Public Shared ReadOnly Property PNtext() As String
        Get
            Return PNtext_
        End Get
    End Property

    Public Shared ReadOnly Property Itext() As Byte
        Get
            Return Itext_
        End Get
    End Property

    Public Shared ReadOnly Property EF() As Byte
        Get
            Return EF_
        End Get
    End Property

    Public Shared ReadOnly Property HS() As Byte
        Get
            Return HS_
        End Get
    End Property


End Class


the config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings >
    <add key ="SpamTXT" value ="000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
    <add key ="PNtext" value ="Warcraft III"/>
    <add key ="Itext" value ="50"/>
    <add key ="EF" value ="1"/>
    <add key ="HS" value ="1"/>
  </appSettings>
</configuration>



i could use all the value in my program like this :

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        SpamedTXT.Text = AppConfigReader.spamTXT
        PNtxt.Text = AppConfigReader.PNtext
        Itxt.Text = AppConfigReader.Itext
        EF.CheckState = AppConfigReader.EF
        HS.CheckState = AppConfigReader.HS
    End Sub


this code was for a spammer that i made 2 days ago i am making a program that can remap and stuff like that Cool | :cool:

Joseph.

modified on Thursday, November 26, 2009 5:40 AM

AnswerRe: Your tutorial Didn't work please help me Pin
LloydA11125-Nov-09 8:51
LloydA11125-Nov-09 8:51 
AnswerRe: Your tutorial Didn't work please help me Pin
Dave Kreskowiak25-Nov-09 8:56
mveDave Kreskowiak25-Nov-09 8:56 
AnswerRe: OK Pin
Dave Kreskowiak25-Nov-09 13:21
mveDave Kreskowiak25-Nov-09 13:21 
GeneralRe: OK Pin
Ashfield25-Nov-09 21:07
Ashfield25-Nov-09 21:07 
Questiondynamic deserialization Pin
Ebube25-Nov-09 3:36
Ebube25-Nov-09 3:36 
AnswerRe: dynamic deserialization Pin
Dave Kreskowiak25-Nov-09 7:20
mveDave Kreskowiak25-Nov-09 7:20 
GeneralRe: dynamic deserialization Pin
Ebube25-Nov-09 11:02
Ebube25-Nov-09 11:02 
GeneralRe: dynamic deserialization Pin
Dave Kreskowiak25-Nov-09 13:19
mveDave Kreskowiak25-Nov-09 13:19 
GeneralRe: dynamic deserialization Pin
Ebube28-Nov-09 1:08
Ebube28-Nov-09 1:08 
GeneralRe: dynamic deserialization Pin
Dave Kreskowiak28-Nov-09 7:07
mveDave Kreskowiak28-Nov-09 7:07 
GeneralRe: dynamic deserialization Pin
Ebube28-Nov-09 8:38
Ebube28-Nov-09 8:38 
GeneralRe: dynamic deserialization Pin
David Skelly25-Nov-09 22:36
David Skelly25-Nov-09 22:36 
GeneralRe: dynamic deserialization Pin
Ebube26-Nov-09 8:43
Ebube26-Nov-09 8:43 
GeneralRe: dynamic deserialization Pin
David Skelly26-Nov-09 22:23
David Skelly26-Nov-09 22:23 
GeneralRe: dynamic deserialization Pin
Ebube27-Nov-09 7:16
Ebube27-Nov-09 7:16 
QuestionPlease help me to solve problem from Component DevExpress for Visual Studio 2008 Pin
tannghia25-Nov-09 2:25
tannghia25-Nov-09 2:25 
AnswerRe: Please help me to solve problem from Component DevExpress for Visual Studio 2008 Pin
Alan N25-Nov-09 4:20
Alan N25-Nov-09 4: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.