Anyone a VB.NET Guru?

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Apr 2004
Posts: 3
Reputation: oni is an unknown quantity at this point 
Solved Threads: 0
oni oni is offline Offline
Newbie Poster

Re: Anyone a VB.NET Guru?

 
0
  #11
Apr 18th, 2004
hi im quite new to vb.net and was wondering whether you know how i could print pictures stored in a file with vb.net?

thanks

Originally Posted by Tekmaven
The varient datatype equivlent in VB.NET is Object.

Here's a sample:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim MyVar as Object
MyVar = "Hello"
MyVar = 10 + 10
MyVar += 50
MyVar = New FileStream("c:\test.txt", FileMode.Open)
MyVar = Nothing
End Sub

You can set basically anything to it :-). I don't reccomend using this type often, it takes lots of memory.

Also, you may want to set your variable equal to nothing when your finished with it, just in case the GC dosen't get to it fast enough.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 13
Reputation: dmohanty is an unknown quantity at this point 
Solved Threads: 0
dmohanty dmohanty is offline Offline
Newbie Poster

Re: Anyone a VB.NET Guru?

 
0
  #12
Sep 2nd, 2004
.........
does vc++ .net also convert to MSIL????but according to my knowledge......vc++ .net does not convert to msil like other languages
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 898
Reputation: Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light 
Solved Threads: 27
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend

Re: Anyone a VB.NET Guru?

 
0
  #13
Sep 2nd, 2004
VC++.NET compiles to MSIL or standard machine code. You can set it in the project properties. (The /clr switch)
-Ryan Hoffman

.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 13
Reputation: dmohanty is an unknown quantity at this point 
Solved Threads: 0
dmohanty dmohanty is offline Offline
Newbie Poster

Re: Anyone a VB.NET Guru?

 
0
  #14
Sep 3rd, 2004
Hmmm....
Can Any Body Say How To Hide Codes From Being Exposed....
As in Isladm.exe we can see some codes......
if i pass the password for my DataBase in my code can be exposed.......
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 898
Reputation: Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light 
Solved Threads: 27
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend

Re: Anyone a VB.NET Guru?

 
0
  #15
Sep 3rd, 2004
Don't embed your password into your app; it's very bad practice. What if the password changes? You'd need to recompile every time..
-Ryan Hoffman

.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 13
Reputation: dmohanty is an unknown quantity at this point 
Solved Threads: 0
dmohanty dmohanty is offline Offline
Newbie Poster

Re: Anyone a VB.NET Guru?

 
0
  #16
Sep 6th, 2004
Actually i want to hide the database password from my clients.......if they will give the password then they will have authorities over database what i dont want so what to do???
i cant embded password in application for exposure risk.......so is there any good way to do those????
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the VB.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC