Click here to Skip to main content
16,010,268 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: XMl In vb.net Pin
rudy.net9-May-05 19:02
rudy.net9-May-05 19:02 
GeneralThumbnail Images uisng vb.net Pin
suis8-May-05 7:33
suis8-May-05 7:33 
GeneralRe: Thumbnail Images uisng vb.net Pin
Christian Graus8-May-05 14:22
protectorChristian Graus8-May-05 14:22 
GeneralRe: Thumbnail Images uisng vb.net Pin
Anonymous8-May-05 22:33
Anonymous8-May-05 22:33 
GeneralRe: Thumbnail Images uisng vb.net Pin
Christian Graus9-May-05 12:19
protectorChristian Graus9-May-05 12:19 
GeneralReqular Expressions Pin
THEMYTH8-May-05 6:48
THEMYTH8-May-05 6:48 
GeneralRe: Reqular Expressions Pin
Christian Graus8-May-05 14:25
protectorChristian Graus8-May-05 14:25 
GeneralConvert String to Integer (Console App) Pin
enesaga1237-May-05 19:09
enesaga1237-May-05 19:09 
I am writing a console application that compares file versions. I can retrieve the file version but i need to compare if file version is less that what i specify that it should be.
It's a simple security patch checker. Here is my file version: "6.00.2800.1622".
Here is the code:
Dim filever as string = "6.00.2800.1622" 'this is example, i get the file version from FileInfo
Dim myfilever as Integer = Ctype(filever, Integer) <-- this line throws an exception
I also tried Integer.Parse method, still same error. I am able to do this in Windows Forms application. Why is console application different, and how can i accomplish this? Any help on this would be appreciated.

Enes M
GeneralRe: Convert String to Integer (Console App) Pin
Colin Angus Mackay8-May-05 0:14
Colin Angus Mackay8-May-05 0:14 
GeneralRe: Convert String to Integer (Console App) Pin
Robert Rohde8-May-05 0:37
Robert Rohde8-May-05 0:37 
GeneralRe: Convert String to Integer (Console App) Pin
enesaga1238-May-05 4:47
enesaga1238-May-05 4:47 
GeneralAPI : IPhlpAPI --&gt; SetTcpEntry Pin
Vitoto7-May-05 18:46
Vitoto7-May-05 18:46 
QuestionHow to open Text files and PDFs ? Pin
vishalmishra7-May-05 10:59
vishalmishra7-May-05 10:59 
AnswerRe: How to open Text files and PDFs ? Pin
Christian Graus8-May-05 14:26
protectorChristian Graus8-May-05 14:26 
GeneralRGB Valuesusing VB.Net Pin
suis7-May-05 9:57
suis7-May-05 9:57 
GeneralRe: RGB Valuesusing VB.Net Pin
Fernando Soto7-May-05 15:44
Fernando Soto7-May-05 15:44 
GeneralRe: RGB Valuesusing VB.Net Pin
suis8-May-05 7:29
suis8-May-05 7:29 
QuestionHow to do using vb.net Pin
suis7-May-05 9:56
suis7-May-05 9:56 
AnswerRe: How to do using vb.net Pin
Robert Rohde8-May-05 5:25
Robert Rohde8-May-05 5:25 
GeneralRe: How to do using vb.net Pin
suis8-May-05 7:28
suis8-May-05 7:28 
GeneralRe: How to do using vb.net Pin
Christian Graus8-May-05 14:28
protectorChristian Graus8-May-05 14:28 
GeneralVisio Automation Pin
Hisham Zein7-May-05 5:48
Hisham Zein7-May-05 5:48 
GeneralProblwm in installing Package Pin
Murtuza Husain Miyan Patel7-May-05 4:13
professionalMurtuza Husain Miyan Patel7-May-05 4:13 
GeneralRe: Problwm in installing Package Pin
Dave Kreskowiak7-May-05 5:06
mveDave Kreskowiak7-May-05 5:06 
GeneralRe: Problwm in installing Package Pin
Murtuza Husain Miyan Patel7-May-05 5:11
professionalMurtuza Husain Miyan Patel7-May-05 5:11 

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.