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

saving lines to a text file on the fly v.s. after finished - how to?

ok so i wrote a program to gather links from say 20 results pages from google & then i visit them in my webbrowser to check out keywords etc. right now, i am using IO.File.WriteAllLines("file.txt",...

View Article


point-on-sale in VB.net

guys can you please help me to create a project using vb.net connecting to mysql database.. how can i add or insert to my table and how to manipulate string.. for example is, i want to have an...

View Article


Inheriting Object from parent form

Hi, I have a main form and I also have an additional form that is loaded from the main form. I would like to reuse an object that is declared and initialized in the main form. How can I do this? I set...

View Article

VS 2010 Filtering data in grid view.

I have a database "holiday.mdb" and there is a table "Properties" that contains columns "County" , "Bedrooms". The following code shows how to filter data by one criteria( by the county OR by the...

View Article

VS 2010 Resize bitmap high resolution

Hi to all, I have written this code to resize (shrink) a bitmap: Public Function ResizeBitmap(bm_source As Bitmap, scale_factor As Double) As Bitmap Dim bm_dest As New Bitmap(CInt(bm_source.Width *...

View Article


Connected users on domain

Hi, I would like to know if there is a way to list the connected users on my domain. With principal class, i can list my domain users, but i would like to list the connected users. thank you

View Article

Basic help for a newbie please!

Hi - I know nothing about VB, and need to edit a macro created with Excel. Essentially it has included a specific range of cells despite the fact that they were selected before hitting record. What I...

View Article

Quick OOP question - object lifetime

I've written a SQL Query class so that I can get query results in as few lines as possible throughout my application. My Query class has a DataTable property (called Results) so I can access the...

View Article


[RESOLVED] Trigger Control Events inside Custom Control at Runtime

Hello! To save time, I'm making a custom control to use at top of my borderless forms. That custom control have one label to use as title of the form and two buttons, one for close and one to save...

View Article


VS 2010 Print Items from Listbox

I have an application that opens PDF's. Each file name that it searches and opens gets added to a listbox as they press the search button. I want to be able to print all the pdfs of each file name that...

View Article

VS 2008 Set starting location for second form

Hi ! I have two forms in my game, when second appears first one closes.I used Form2.Location = Me.Location but it looks like Form2 starts in its default position, and it "teleports" to the location i...

View Article

[RESOLVED] Filtering DataTable For Unique Values Based From One Column, Based...

First, an example of the data I'm working with: Code: Column1    Column2   C          1   A          2   C          3 What I need to do is fill a ListBox with the DISTINCT values from Column1 but keep...

View Article

VS 2010 How to use an intermediate (front-end) server to access data

Hello, I've been developing some small data driven applications for my company. Basically, I have a SQL Server, and build local applications, deployed to a network share (click once) that run locally...

View Article


Animating picbox

Hey, I am trying to animate a picturebox with code something like this Code:     Private Sub Timer2_Tick(sender As System.Object, e As System.EventArgs) Handles Timer2.Tick         player.Image =...

View Article

Set SPAN InnerHTML from code behind without runat="server"

Anybody have any idea how I can do this? If I put it at runat="server" it busts my javascript. Thanks.

View Article


SQLLite Issue

My does my UserID feild start with 0 and not auto increment? Code:             Dim conn As New SQLiteConnection("Data Source=" & LocalDB)             conn.Open()             Dim Cmd As...

View Article

VS 2010 [RESOLVED] Process.Start Arguments

I'm trying to launch a program using Process.Start with arguments: Code: Process.Start(Path, "/instant 01:01:01 'C:\Program Files\Ccleaner\Ccleaner.exe'") When I use the above code, absolutely nothing...

View Article


VS 2010 Protected Resource

I currently have a 3rd party program as a resource for my VB.NET application, but it has to be extracted to a temporary path in order to run . I don't want people to be able to just find the 3rd party...

View Article

Equation Help Please!

Ok so for school we needed to make a program that you put in the IP Address, hit a button and it outputs the IP Mask Integer. Here is my equation for that: Code: dblBoxMask = dblBox0 * 256 ^ 3 +...

View Article

VS 2010 cvs editing

Hey!! I have a cvs file that I open in excel. Their cameras that I scraped from amazon. Column 1 is the product name like "Canon 34ui Camera" ...etc Column 2 is product description. Like "Model...

View Article
Browsing all 27417 articles
Browse latest View live


Latest Images

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