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

Antivirus Trigger :/

Hi guys, i have this code: Code: Imports System.IO Public Class Form1     Private Sub Save_Click(sender As Object, e As EventArgs) Handles Button1.Click         Dim Default_Folder As String =...

View Article


[RESOLVED] Not IsNothing

Hi, In my insert statement I have the following code; Code:         .AddWithValue("@LicenceEffectiveDate", IIf(Not IsNothing(txtliceffdate.Text), txtliceffdate.Text, DBNull.Value)) Reason: To insert a...

View Article


validating multine text box data

Hi Friends, i simple want when user input list of barcode in the Multiline text box . and if any of them (barcode) is less than 8 digits . it needs to validate .barcode(x),barcode(y) ... is less than 8...

View Article

Refreshing A DataRepeater With Externally Added Data?

Hi All, I'm building a small app using the PowerPack DataRepeater at the minute but have run into a problem and wondered if anyone could help. Basically I have my main form with a DataRepeater on. I...

View Article

Combo Box

Hi, On my form I have a combo box called 'cmbtraininglocation'. This field can be left blank on first form upload as training location is not yet selected. At my backend SQL I have a table called -...

View Article


VS 2012 Renaming all files inside all folders in a Selected folder

Hey so as the name suggests i am VERY new to all things to do with code and such but have decided to learn and thought of a small program id like to make that would also be of some use to some things...

View Article

List (Of String)? changed

Hi, I have this code: PHP Code: Public Class Form1     Dim mClass1 As New mClass     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click...

View Article

VS 2010 Upload video with Youtube api

Hi, i'm working on a new project.I want to download a video from a website and upload it my youtube account. I can succesfully download the video but i dont know how to upload it my youtube channel...

View Article


VS 2008 Cannot change target CPU - can you try this example?

Hello, I am using VS2008 Professional and often change the target cpu to x86. When I click to create a new project for a smart device and select framework 2.0 I then go into the project properties and...

View Article


Can't open program built with visual basic AND awesomium

Hey guys So, I've used Awesomium in one of my visual basic projects. I placed a web control thingy on a form and gave it a specific URL.... Once I ran the program it worked fine for me. I built it and...

View Article

Remove plain-text password from app.config connection string

Hi folks Some time ago I set up a DB connection in a vb.net windows forms project in VS 2010. I think I remember some pop--up asking me about storage of the password but I didnt matter at the time so I...

View Article

VS 2012 HTTP Web Response Progress Bar

Hi everyone, I am trying to build a Progress Bar for a Web Request/Response. Sometimes the response can take up to a minute and I would like a progress bar to show a status. The problem I am facing, is...

View Article

Incorrect syntax near 'OUTPUT'

Hi, When I call my function below I get the error message at runtime 'Incorrect syntax near 'OUTPUT' and cmb.ExecuteNonQuery() is highlighted... Please can anyone see where the issue is.. Thanks Code:...

View Article


w8 These settings are not supported for CPU sampling on this version of Windows

Not sure if in the correct forum so please feel free to move this. Win8 (at work :( ) i am trying to use profiler and when i go to Performance Explorer -- Targets -- Properties i get "These settings...

View Article

VS 2010 How to do a pause in cmd vb.net ?

Read the cmd line as the windows command prompt. How do I set the pause that the program when i open the cmd would not disappear at once but stay as normal cmd ? Here's the code that I have so far....

View Article


VS 2008 [RESOLVED] Coloring cell (Particular cell) based on the value.

Dear Brothers, Please help me to find how to color if the value of 4rth column is "Rejected" of my Datagridview1. There More value like, "Accepted" , "Not Applicable".. But I need to highlight by fore...

View Article

[RESOLVED] CheckBox Column in DataGridView defaults to ReadOnly being True?

I have a Column in my DGV that is defined as a DataGridViewCheckBoxCell. My DGV is bound to a BindingSource but the query behind the Dataset (which is the BindingSource's DataSource) looks like this:...

View Article


VS 2008 Errors working with internet explorer

i have an application that will log into a website and it works on one application. I'm building a job to scrape data off of the website but the code which was working in one application is not working...

View Article

VS 2012 Get window size help!

Hey! I'm trying to make a game overlay for an application. It cannot go full-screen so that's nothing to worry about. Basically I need to figure out how to get a window size. For example notepad. Id...

View Article

VS 2010 How do I open a link in IE and automate Login?

I am trying to automate a tedious process at my job. We currently have to login to a range of 40 IP address and verify a firmware upgrade. The program currently will open the selected addresses in IE,...

View Article
Browsing all 27514 articles
Browse latest View live