Quantcast
Channel: VBForums - Visual Basic .NET
Browsing all 27207 articles
Browse latest View live

VS 2008 Random webpages

I'm having trouble trying to consistently scrape some data off an Amazon webpage. When my hard drive is restored to my original settings, default IE8 browser, no add ons and no cookies, my code...

View Article


VS 2010 I need to display the userid into a text box

Hello everyone. I have working on a membership site where the user logs in. I am saving the users information into a database. Now I have the code below to bring the users ID information HTML Code:...

View Article


VS 2010 TreeView node drag/drop help

I'm using the code from this link as a starting point for dragging & dropping tree nodes to rearrange them. It seems to work fine except for one thing ... how do I drag a node to the root level?...

View Article

SQL 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 Article

How 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 Article


VS 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 Article

Multiple 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 Article

String 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 Article


Timer 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


Control/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 Article

How 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 Article

unbelievably 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 Article

VS 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


cell backGround

just encountering a tiny issue but i'v been pulling my hair to resolve it. after adding the custom controls (4 labels, a dataGridView and a button) into the form, see structure below, -- Main Form --...

View Article

custom dgv rendering

hi i am wondering if any 1 knows how i would go about making something like what is in this post for a DGV http://www.vbforums.com/showthread.p...Strip-Renderer

View Article


VS 2010 iTextSharp PDF DGV problem

Hello to all, I am trying to create PDF from my application. In my Form I have some textboxes, labels and DataGridView. For that purpose, from recomodation of few post back (realy thanks for advise) I...

View Article

Datatable Sorting

Hi again So i have a datatable and its sorted like this. Code: playerOleDbDataAdapter1.Fill(PvpleaderboardDataSet.Players) playerDataGrid.Sort(playerDataGrid.Columns(0), ListSortDirection.Descending)...

View Article


VS 2010 Book marks

Hi guys, Just wondering if anyone can help me please im trying to create a shortcut app for my bookmarks. I have a listbox on my form and a text box and 2 command buttons. I want to type a url in to my...

View Article

VS 2010 Desktop Screen to HDC

Ok, so I'm getting the color of a pixel on my desktop with this code: Code: Private Function GetScreenPixel(ByVal PT As Point) As Color         Dim Pixel As Bitmap = New Bitmap(1, 1)         Dim GFX As...

View Article

Find line number of a string

I want to be able to find the line number of a certain string E.g. i have a list here hi lol jake derp i want to be able to find the line number of "lol" how would i do that ?

View Article
Browsing all 27207 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>