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

Is this the best way to stop my app from being cracked/pirated?

Hi VBForums, I am working on a large project and am currently trying to ensure that all the work I put into it can be properly monetized, so I need to ensure that my program is pirate-proof. So...

View Article


VS 2010 NetworkStream being read too early

Hello, I am trying to communicate with an email account via POP3. I am trying to utilize the NetworkStream class, and all seems to work well when i use F11 to step through the various lines of...

View Article


VB 2010 Assignment

I've been told this type of post has been answered before but Ive searched and couldn't find anything. Can anyone help me out or point me in the direction of a post that could. Thanks Read a text file...

View Article

[VB2010] - if Bitmap is NotInheritable, how can i use it in my class?

heres my class: Code: Public Class Bitmap2     Inherits Bitmap End Class but i get these error "'Bitmap2' cannot inherit from class 'Bitmap' because 'Bitmap' is declared 'NotInheritable'" so how can i...

View Article

VS 2010 Populating a listview from a query of an Oracle database with sql

I am trying to create a listview that will hold three values per line for each line in the database that has a certain docket number. I am a newbie with VB.net and so far my tests on working with a...

View Article


Nobody Seems To Know How To Help

Ive gotten the file to come up in the list box but thats about it Task 1) A Comma Separated file contains an unknown number of entries. Each entry (record) contains a sales record. The sales record has...

View Article

VS 2012 Drawing in GroupBox via Sub

This works when it's clicked: Private Sub GroupBox1_MouseDown(sender As Object, e As MouseEventArgs) Handles GroupBox1.MouseDown Dim gr As Graphics = GroupBox1.CreateGraphics...

View Article

VS 2010 Shortest distance on a circle formula required

Hi I am trying to program a dome to sync to a telescope. I need a formula on vb2010 to tell me which is the shortest distance on a circle. What I Mean is : if point A is at 90 degrees on the circle and...

View Article


VS 2010 Shockwaveflash object

Is it ok to allow other people to download my program if it includes the shockwaveplayer? I read somewhere that it might be illegal.

View Article


VS 2008 files names in a folder off a server

I commonly use the following code to download a specific file off a server. My.Computer.Network.DownloadFile _ ("http://www.xxx.com/mlm_buyers/new_download_log.txt",...

View Article

Save Manipulated Image Without Losing Image Quality

I am stumped with how to properly save images I manipulated within my application. Simulated code of what I am trying to do is shown below. My problem is either the image quality suffers or the...

View Article

Trying to get streamreader to readfile and textbox to populate calculations

this is the code i have, im having trouble getting my stream reader to load and my answer to populate the textbox Code: Public Class Form1     Private Sub Button1_Click(ByVal sender As System.Object,...

View Article

VS 2010 Drawing On The WebBrowser Control

Is there a way to enable drawing on top of the webbrowser document? I tried this: Code: Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As...

View Article


Displaying a selected record from Access DB in a Textbox

Hello, It is a seemingly easy code but I still can not retreave what I need. Given a very simple table in an Access database (Table1), which consist of only 2 columns (employee and salary). There is a...

View Article

VS 2010 Excel transpose using VB 2010 express

I am using VB to show large data in excel. They show up in A1:A3000. I am transposing A1:A6 to B1:G1 using this code: Code: sheet.Range("A1:A6").Copy() sheet.Range("B1").PasteSpecial(Transpose:=True)...

View Article


[RESOLVED] Question about using the Timer Class?

I added a timer to my windows form. I set Timer1.Enabled = true, so it starts running when my application starts. I'm trying to make a reminder app and I would like to make the timer pop up a message...

View Article

VB.NET - Listbox not adding items of select matchcollection of Regex. Please...

I'm trying to make a list of file extensions from a website, but my listbox wont populate with them from Regex matches. I know the httpRequest works, because the websites source code lists in a...

View Article


VS 2012 Need a little help with an error message

Hello there, please don't kill me for asking, but I'm still very new to this. What I'm trying to do is making an AI for my pc. It has worked out surprisingly well until now. Suddenly this message came...

View Article

[VB2010] Program already running

I want my program to be single-instance. So my goal is to detect if the program (installed in the x86 Program Files folder) is already running and inform of the fact with a message the PC user. The...

View Article

Vb net and excel dde

I need help figuring out a way to link a vbnet textbox or a label to a continuously changing value in an excel spreadsheet. The value in excel is continuously being updated through a DDE link from a...

View Article
Browsing all 27554 articles
Browse latest View live


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