VS 2010 Using a database to populate menu items
Right now I am currently coding my menu items into my program using the designer window. The program is for my office and our IT department is always changing were our folders are located (The folders...
View ArticleVS 2010 Check WebResponse Status
I am attempting to submit some SOAP and receive a response back. I have been able to handle catching all of the errors that could occur. However I can't figure out how to parse the data that comes back...
View ArticleVS 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 ArticleVS 2012 Checking if a string exists on a web-page
Hi, I'm currently using Visual Basic 2012 Professional for working on a project of mine. One of the features of this software is to check if a string exists on a webpage and then notifying you the...
View Article[VB2010] - what means these line of code?
Code: If Not (System.IO.File.Exists(txtSource.Text)) Then i understand the Not operator(if it's true, then the result is false and vice-versa). but i don't understand these 'if' with 'not'. can anyone...
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 Article