That was supposed to be funny, okay? Irony, if you will....
Yuvi Panda T 15 Year old Microsoft Student Partner Blogs at : http://blog.yuvisense.net
That was supposed to be funny, okay? Irony, if you will....
Yuvi Panda T 15 Year old Microsoft Student Partner Blogs at : http://blog.yuvisense.net
Become a grammer Nazi:)
Yuvi Panda T 15 Year old Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
Well, .csproj is an MSBuild file. MSBuild is an XML format for build files, used from VS 2005 onwards. I guess you'll be better off writing your own parser using System.XML to parse out the Stuff you need from the MSBuild file[.csproj]. More Information is available here. Yuvi Panda T 15 Year old Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
Well, I sincerely hope that you are joking. If you are not, then the number of Namespaces/Classes/Assemblies available is pretty big. And, if you want to list them, the best approach would be opening Visual Studio and hitting F2 to open the Object Browser.... Yuvi Panda T 15 Year old Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
Well, if you just want to execute the commands and exit the command line, you can shell cmd with the /c command line switch. For example, if you want to execute the help command,:
Shell("cmd.exe /c help")
That would work in both VB6 and VB 05, though it's not the best practice in VB 05... Yuvi Panda T 15 Year old Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
And keep your eye on the Address bar while searching... Yuvi Panda T 15 Year old Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
Well, It is not possible. Period. Yuvi Panda T 15 Year old Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
Not sure, but I guess this should help:
System.Security.Principal.WindowsIdentity.GetCurrent().Name
Yuvi Panda T 15 Year Old Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
Well, in VB 2005, this single line of code works :
This returns the Name of the User under which the current process is running Yuvi Panda T Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
Well, that's because you don't have enough permission to access that directory. You can just ignore that by moving the Try Block inside the loop, like this :
Private Sub DirSearch(ByVal sDir As String)
Dim arrLst As New ArrayList
Dim _dir As String
Dim _file As String
For Each _dir In Directory.GetDirectories(sDir)
Try
For Each _file In Directory.GetFiles(_dir, txtFile.Text)
Try
arrLst.Add(_file)
Catch ex as IOException
Continue
End Catch
Next
DirSearch(_dir)
Catch ex as IOException
Continue
End Try
Next
End Sub
That should fix it. The Continue statements continue the loop into the next iteration, so that exception should be ignored.. Yuvi Panda T 15 year old Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
Well, first load the Image and then use the GetThumbNailImage Method to resize it. So, if your Image object is named img
, then,
resizedImage = img.GetThumbNailImage(width, height, Nothing, IntPtr.zero)
Specify the Width and Height in Pixels, and you'll get your New Image in resizedImage
with that height and width. Hope this helps. Yuvi Panda T Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
A simple Search on Google would've yielded Results, but off the top of my head, you can use #ZipLib. Yuvi Panda T Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
Search the Forums, and use NBass Yuvi Panda T Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
No. It can't. You can't use VS 2005 to target .NET 1.x, and vice versa. Yuvi Panda T Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
Well, you're looking for a POP component for reading Mail. Here's one I found on Code Project. Yuvi Panda T Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
Well, You can either use J#. Or, use IKVM to call the Java Code. But, don't expect it to be fast, since you're running a VM on a VM.... Yuvi Panda T Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
Well, what you need is NBass. There's a CodeProject Article about it here. Yuvi Panda T Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
Thanks, but I am reading from a Network Stream, which Does Not support Peeking. Yuvi Panda T Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com -- modified at 22:44 Friday 21st April, 2006
What is the way to check for EndOfStream while using a Binary Reader ? StreamReader has the EndOfStream Property, but there seems to be no equivalent Property in BinaryReader. I am using BinaryReader because I am dealing with Byte Arrays, and sadly, StreamReader seems to insit on reading Character Arrays. And, the Stream I am reading doesn't support Seeking, so we cannot check if the Position Property is equal to the Length... I googled for it, but can't seem to find anything. Any help people ? Yuvi Panda T Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
Well, in the Move Event of the Background Form, add this code :
ForegroundForm.Location = BackgroundForm.Location
I haven't tested it though, but it should work. Yuvi Panda T Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com