"C# In Depth" For .NET Devs?
Jul 27, 2010C# in Depth (http://csharpindepth.com/) is an excellent book aimed at experienced .NET developers, however it's only for C-Sharpers. Anything like that available for VB.NET folks?
View 2 RepliesC# in Depth (http://csharpindepth.com/) is an excellent book aimed at experienced .NET developers, however it's only for C-Sharpers. Anything like that available for VB.NET folks?
View 2 RepliesI have to create a program that reads the values from a search tree for breadth firstsearch. This is the code I have but I'm not sure
lbOutput.Items.Clear()
Dim s As String = txtStartnode.Text.ToUpper
Dim graphtext As String = ""
[code]......
I'm trying to tidy up my app and notice buttons of different sizes! Is there an optimum depth for buttons?
View 5 RepliesDoes anyone have or has anyone come across an in depth guide to the .net app.config? I'm having significant issues trying to find a definitive guide to this area of .net.I can already handle custom configuration sections, from basic key/value pair settings right through to complete custom configuration handlers which I struggled to find information on, but I cannot find any documentation regarding basic native .NET functionality of the configuration file...for instance, with regards to BCL configuration. I've gone through the machine.config.comments and the config.xsd files and it has provided a little insight but not enough to fully grasp the full potential of the config file. I've also trawled through everything I can find on Safari and only managed to come up with a couple of useful tidbits that I wasn't previously aware of but it seems this area of .NET is extremely poorly documented and unless you have a very specific purpose in mind, it's useless trying to find information on it.
View 1 RepliesHow can i change the depth of color of an image using vb.net?My Program's Options Are: Convert To: 1 Bit, 4 Bits, 8 Bits ,16 Bits?
View 1 RepliesLets say a search engine is doing a search by date range. If we want to further expand the search by decreasing the date range by looping with date range one month close to end date how would you change the parameters?
For example if these are the date parameters:
start date = 05 / 07/ 2009
end date = 05 / 07/ 2010
050709 - 050710
Thats my set range; so now I want to change the range by month like this
050809 - 050710
050909 - 050710
051009 - 050710
051109 - 050710
051209 - 050710
050110 - 050710
etc
How can I use a loop to set this up? the year has to change accordingly when month hits 12.
How would you create depth code for two classes in visual basic 2008 (like if you wanted to put one picturebox behind another picturebox depending on what each picturebox's depth equals)?[code]I can't get my movement code and the image for the character object to work.
View 3 Replieshow to change the users color depth, When the user clicks the button.
View 2 RepliesI am stuck on a problem with combining lines with solid geometry. Look at the pictures. The first is a look at the object from above and the second is the same object seen from below. The gridlines in the second picture should be in front of the object. The lines are drawn using linelist (one line, vertexformat=positioncolored, it is then translated and rotated in a loop) and the cube is drawn using trianglestrip (vertexformat=positionnormalcolored). It seems like lines are not depth tested. How do I manage to properly draw both grid and cube?
View 1 RepliesWhat im trying to do is to minimize the file size of an image to as low as possible.Its 640x480 and i need to be 30kb or even 20 kb in file size...
View 3 RepliesI created a listbox that displays files from a certain directory, and want to know how to actually get information on that file, rather than just the name its self that is displayed in the listbox.
This is what I have:
Dim files() As String = IO.Directory.GetFiles("C:Users" & (System.Environment.UserName) & "Desktop", "*.txt", IO.SearchOption.AllDirectories)
Label9.Text = ListBox1.SelectedItem
[Code]....
In a form I have an ImageList named MainLogoImageList containing a 100x100 pixel 32-bit colordepth image. That is my app logo.
I am too lazy to set up an icon editor and edit an icon of that logo, or convert the image to an .ICO file. (Ergh, well, I am not allowed to install custom utilities.)
To set my forms' icon, I use
Icon = IconFromImage(MainLogoImageList.Images(0))
in the OnLoad event handler to set the window icon.
In my about box, i have a PictureBox with no image. In its OnLoad event, I use
LogoPictureBox.Image = MyMainForm.MainLogoImageList.Images(0)
Icon = IconFromImage(MyMainForm.MainLogoImageList.Images(0))
to set the About box's icon and content.
So far, so good, the icon looks pretty good for a being created from a 100x100 pixel bitmap.
Is there an easy "no utility required" :-) way to get the icon that is returned my IconFromImage saved into an .ICO file so that it will keep the color depth when loaded as the app icon? I want to use exactly the icon that IconFromImage creates.
Saving it using
Dim S As New FileStream("MyAppIcon.ico", FileMode.Append, FileAccess.Write, FileShare.Write)
Icon.Save(S)
S.Close()
in the main form's OnLoad event handler and loading that .ICO file as the app icon in VS's project properties dialog yields and icon that is obviously converted to 16 colors, and looks awful.
how to extract all the content from Twitter more data only start to load after scrolling down to a certain depth.
View 1 RepliesI probably confused memory usage issues with the UI sharing same thread as the processing (as pointed out by MusiGenesis below). However regarding the Memory usage. I am still not able to find VB.net specific syntax, although people have pointed out some great .Net and C# information below (and if I were more versed in those technologies, one could adapt to make work with VB.net).The general concepts are working fine, however I am having issues where the Mem Usage on Task Manager keeps growing as the program is used to load more and more files.On Startup, before doing anything, the VB application has 27,000 K.Once the file is parsed and even after I dispose of the File handle as well as the the data increases a lot. I strip out everything in the code and it still seems that memory in Mem Usage remains captured. There is no rhyme or reason as to why the Mem Usage is growing (i.e. sometimes it can grow by 20 mb when reading a 7mb file, however other times it does not increase at all, when reading a 3mb file). Sometimes, it appers to release some memory when the parsing is complete and other times it just holds.I have looked at .Net Memory Profiler and have not really been able to make heads or tails from that.I have read a lot on internet regarding Memory Management on .Net in General about Dispose and "Nothing" and DataSets, etc, however have not really found anything regarding VB.Net specifically.My General Question is: Are there any good tutorials/books/blogs/etc that show a more in depth tutorial on managing memory in a VB.Net application (i.e. how/when to dispose/close, etc), or does anyone have some specific tips from there experience.
View 5 Replies