Click here to Skip to main content
15,914,162 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: NumericUpDown displays too many digits while it has focus Pin
Dave Kreskowiak20-Mar-07 8:44
mveDave Kreskowiak20-Mar-07 8:44 
QuestionHow different size font insert in a DataGridView cell Pin
Che YoungSoo20-Mar-07 5:06
Che YoungSoo20-Mar-07 5:06 
Questioncontrols Pin
WhiteGirl2320-Mar-07 4:55
WhiteGirl2320-Mar-07 4:55 
AnswerRe: controls Pin
Dave Kreskowiak20-Mar-07 6:18
mveDave Kreskowiak20-Mar-07 6:18 
QuestionProblem with controlbox Pin
dBrong20-Mar-07 4:42
dBrong20-Mar-07 4:42 
AnswerRe: Problem with controlbox Pin
Johan Hakkesteegt21-Mar-07 2:54
Johan Hakkesteegt21-Mar-07 2:54 
GeneralRe: Problem with controlbox Pin
dBrong22-Mar-07 11:27
dBrong22-Mar-07 11:27 
QuestionHow can I read a value from a XML file? Pin
JUNEYT20-Mar-07 3:27
JUNEYT20-Mar-07 3:27 
Here is my function. It opens XML file and reads a value that associated with a key. However, it is giving me "Invalid Operation" error. I couldn't figure out where the hack error is. XML file is residing under my currentdirectory where the application is. If you tell me the solution, I would really appreciate it. D'Oh! | :doh:
Private Function GetConfigParameter(ByVal MyKey As String) As String        
Dim XmlDocument As New XmlDocument        
Dim XmlNode As XmlNode = Nothing        
XmlDocument.Load(Environment.CurrentDirectory & "\app.con")        
XmlNode = XmlDocument.DocumentElement.SelectSingleNode_("//configuration/AppDefaultValues/add[@key=""" & MyKey & """]")
GetConfigParameter = XmlNode.Attributes.GetNamedItem("value").Value
XmlDocument = Nothing    
End Function





What a curious mind needs to discover knowledge is noting else than a pin-hole.


AnswerRe: How can I read a value from a XML file? Pin
Dave Kreskowiak20-Mar-07 4:53
mveDave Kreskowiak20-Mar-07 4:53 
GeneralRe: How can I read a value from a XML file? Pin
JUNEYT20-Mar-07 9:22
JUNEYT20-Mar-07 9:22 
QuestionUse a Web Control in VB.NET Pin
ayeleteric20-Mar-07 3:06
ayeleteric20-Mar-07 3:06 
AnswerRe: Use a Web Control in VB.NET Pin
Dave Kreskowiak20-Mar-07 4:42
mveDave Kreskowiak20-Mar-07 4:42 
GeneralRe: Use a Web Control in VB.NET Pin
ayeleteric20-Mar-07 4:45
ayeleteric20-Mar-07 4:45 
GeneralRe: Use a Web Control in VB.NET Pin
Dave Kreskowiak20-Mar-07 5:00
mveDave Kreskowiak20-Mar-07 5:00 
GeneralRe: Use a Web Control in VB.NET Pin
ayeleteric20-Mar-07 5:02
ayeleteric20-Mar-07 5:02 
GeneralRe: Use a Web Control in VB.NET Pin
Dave Kreskowiak20-Mar-07 6:08
mveDave Kreskowiak20-Mar-07 6:08 
Questionopen designer of rdlc report at runtime Pin
n_00420-Mar-07 2:48
n_00420-Mar-07 2:48 
Questionedit a string Pin
taherjaorawala20-Mar-07 2:35
taherjaorawala20-Mar-07 2:35 
AnswerRe: edit a string Pin
CPallini20-Mar-07 2:50
mveCPallini20-Mar-07 2:50 
AnswerRe: edit a string Pin
Christian Graus20-Mar-07 5:02
protectorChristian Graus20-Mar-07 5:02 
QuestionHow to get data from image Pin
JanapatiBalu20-Mar-07 1:59
JanapatiBalu20-Mar-07 1:59 
AnswerRe: How to get data from image Pin
Dave Kreskowiak20-Mar-07 4:39
mveDave Kreskowiak20-Mar-07 4:39 
GeneralRe: How to get data from image Pin
JanapatiBalu20-Mar-07 18:36
JanapatiBalu20-Mar-07 18:36 
GeneralRe: How to get data from image Pin
Dave Kreskowiak21-Mar-07 1:35
mveDave Kreskowiak21-Mar-07 1:35 
GeneralRe: How to get data from image Pin
JanapatiBalu21-Mar-07 2:53
JanapatiBalu21-Mar-07 2:53 

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.