VS 2008 Out of memory
I have wrapped my code in try catch statements, and every once in a great while I get an exception 'system out of memory'. Today I got the message and I have done very little program/memory wise on a...
View ArticleVS 2012 Best way to get public IP in IPV4 format
Hi, I would like to get the public IP of the computer running my app without looking it up on a website. I found this online, but even after applying all the IPv6 filters at least one remains. VB.NET...
View Article[VB2010] - about graphics persistence and mouse
i'm learning using the Graphics object. i understand the steps for use it and how make it persistence(using paint event). but why i can't combine the mouse with graphic persistence? Code: Public Class...
View ArticleVS 2010 SQL Entity Framework - Nullable None
I am currently setting up a database table using the entity framework model. When I add a binary option, to my surprise the nullable property field has three possible values true, false & (none)....
View ArticleVS 2008 Is the ORDER of things in a LIST(OF) respected as things are added or...
Got this code - basically creating a LIST(OF) some class I've got. Later on in code I will be adding to this _RequestList (as shown). Code: Private _RequestList As New List(Of _dcxRequest) Private...
View ArticleVS 2012 How to properly use the ActiveX Scroll Bar Control
So I am having issues trying to use an ActiveX Scroll Bar. I have a macro opened with the control bar that reads something like: Private Sub ScrollBar1_Change() Worksheets("Gas Turbine").Cells(8,...
View ArticleHow to resize a drawn image based on percentage of main image how it changed?
I'm working on a poker table project where the table has to resize based on form aspect ratio (this also has a little problem when the aspect ratio reaches beyond the width of the screen resolution it...
View ArticleVS 2010 [RESOLVED] Trying to learn some LINQ. Not succeeding......
I thought I'd smarten up some my code a bit by trying to remove clumsy If/Then loops in place of LINQ Queries. Specifically, I'm trying to filter a list of groups from a PrincipalSearchResult. I just...
View ArticleExecute MySQL statement to two different servers at same time
I have one central server and 4 branches at different locations. Each branch has its own MySQL server installed withing their branch premises. I need each branch data to be sent and saved at central...
View Article[Help] How to make a ftp voice chat application?!
hey guys.. first of all.. i am totally newbie in vb.net.. and i have abig problem in my chat app.., and this problem is that.. it dosen't have avoice chat system in it.. like what dose teamspeak has.....
View ArticleSQL Assistance, pulling data through select *
In VB.Net, I need to run the following SQL command: select ';enable trigger ' + name + ' on ' + object_name(parent_id) from sys.triggers where name like '%_xml%' That select statement returns a couple...
View ArticleHow to adjust column width at runtime
I have created a datagrid by codebehind and want to adjust the column width at runtime. I did this: Code: mgrid.itemssource=dt.defaultview mgrid.Columns(0).Width=200 I got an error that : ... Index is...
View ArticleVS 2012 Compile windows forms application into an executable?
Hello, I've been trying to search on how to do this in VS 2012 and haven't had much luck. I did mess around with the publishing and the one other computer I tested the published application on didn't...
View ArticleMultiple downloads with checkboxes in vb.net
Hey, I started using WebClient in vp.net I started with creating a button which I made into a download button, but how can I connect the checkboxes? e.g If I had 10 checkboxes then I sould have 10...
View ArticleString Output Forum
Obviously VbTab is not the right way because of the various lengths of the data. I want the output to be to formatted with a headers next to each other and the date below. Code: Private Sub...
View ArticleTimer Help (How to create a Simple Timer with (Minutes and Seconds Only) ?
Hey everyone, I guess a few of my colleagues in here knows that I really dont like timers! I am trying to create a timer for a Chat Room that allowes users to Chat for a Certain Minutes. But I wanna...
View ArticleControl/Form background image performance as a function of image format/size
Hi all, A few quick questions regarding background images for forms/controls. In ALL cases I'm looking for the best performance in rendering at form load/ switching between tab controls etc. 1) Does...
View ArticleHow to get height of individual buttons in a MenuStrip
I have a menu strip, that can have buttons added/removed. I want to be able to get the height of each individual button, and add them up. Is this possible?
View Articleunbelievably long "background operations" in vb.nte
I have a vb project. it has ~10 forms. a little while ago it started misbehaving in the following way: after loading the project the first time i click a button on a form to drop into the code, it...
View ArticleVS 2012 Dim As New Web Browser
Hi guys, I want to make a private program and i'm stuck with dim something as new webbrowser browser.navigate("www.youtube.com") but this function only focus on internet explorer, Since internet...
View Article