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

New to ReportViewer ... I Cannot get to work

Hello, I have been trying to find an answer to this all day and I just cannot get my web page to work. I am currently getting this error "The source of the report definition has not been specified"...

View Article


VS 2010 Writing text/HTML to WebBrowser control

I am working on a basic web page editor using mshtml.dll and a WebBrowser control. I want to switch between "design view" and "code view" - the latter showing the HTML tags etc. I can copy the HTML to...

View Article


Custom Error code...

Occasionally I get an error "Object reference not set to an instance of an object" because I'm using web-based elements and if the internet connection drops out, it causes this error. Until I can...

View Article

VS 2010 Functions/Subs that are not used

In my VS2012 Visual Basic.NET application, I have many functions/subs in multiple modules and some are not actually used in code. Is there an 'analysis' feature to inform me of any functions/subs that...

View Article

VS 2010 Adding references to custom structures for testing

I have a VS2012 Visual Basic.NET application and am wanting to create some unit tests for this application. In my application, I have a module that contains the following structure: Code:...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 [RESOLVED] datagridview get date value

Attachment 94333 Code:             Do While rs.Read             dataGridView1.Rows.Add(rs("DATE"), rs("TITLE"), rs("URL"))       Loop Date column is datetime, how to fix this problem? Attached Images  

View Article

VS 2010 Strange Timeout Error

I've put together the following script, and it runs great on my local machine (w/ SQL Express), but when I change the SQL login information to our company server (SQL Server 2008), it kicks back a...

View Article

VS 2008 Receive Data from Serial Port

Hi to all: I have an electronic board that send for SerialPort +/- 60 messages by Second... I have no problem catch the messages when i work with potenciometers, by i have here problems with swicthes....

View Article


VS 2010 Generate Word file - pagenumber in table in header

Hello, I'm trying to put the pagenumbre in a cell of a table, which table is standing in the header of a generated Word document. With the code below, the page number appaers always in the first cell...

View Article


need to close all Excel before saving...

Hi. For now, I would like to close the file test1.xlsx before saving to it. But in the future, I would like to close ALL Excel before saving. I have tried the following without any success: HTML Code:...

View Article

VS 2010 Check if server is respondign (online).

Hi all. I have the IP of the login server of a game. I want to see if the server is online because i'm making a tool to check if it's online when it's on a patch. Once the patch is over, it will notify...

View Article

How to begin

Hi, im new in this forum, and new to programming. I also didn't know if it's the right place to ask that, but i didn't find any other place. I want to start learning visual basic, and it's my first...

View Article

FontDialog showing 2X

I am using the FontDialog and am having a couple problems. First, I cannot get the apply button to work. I have tries several things but this is the latest incarnation. Whenever I click apply nothing...

View Article


problem accessing the correct kernal32.dll (32 vs 64bit) from a vb.net 2005...

Hi there, I have a bit of a situation with an in-house 32bit app we have. We have vs.net 2005 installed on an Xp Pro SP3 machine, and has the .net framework 2.0 installed. We used to have a full time...

View Article

VS 2010 Trying to extract a CSS style using VB. What am I doing wrong?

Hey guys, On form load I am using a web browser control to navigate to a specific webpage... Code:     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...

View Article


VS 2008 How to access the webpage-based datatable inside a WebBrowser

Hi, Inside my desktop application I have a WebBrowser that opens a web page containing a datatable. I need to have use the intact information of this web page datatable in my desktop application. I...

View Article

vb 2102 - list/recurse empty folders or folders with specific files. Complete...

Hello everybody, I am stupid... I mean simple. Please answer accordingly. 'Comment your code'! [Problem] I am trying to use my Windows Desktop form to display a list of 'empty' folders and sub folders...

View Article


Image may be NSFW.
Clik here to view.

how to generate an Excel 2010 histogram from VB.NET...

Hi. I have tried the code below: HTML Code:     Dim xlApp As Excel.Application     Dim xlWorkBook As Excel.Workbook     Dim xlWorkSheet As Excel.Worksheet     Dim oAddIn As Excel.AddIn...

View Article

Structure -v- UDT (in vb6)

Hi I am starting to convert a large vb6 program to dot.net. I am starting with structures of my data files. In vb6 I had (as an example) Public Type Bloggs BusName As String *30 Postcode As String *6...

View Article

Listbox and Binding Source

Any one mind showing me how to properly use a listbox and a binding source so that on load up after being closed the listbox items remain the same before it was closed? I want to learn how to do this...

View Article
Browsing all 27554 articles
Browse latest View live


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