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

Image may be NSFW.
Clik here to view.

Create a border in excel

I trying to create a border on excel page I have added Imports System.Drawing as well as office interopt the excel document creates fine baring the border part excel.range("B7:B7").select() With...

View Article


VS 2008 Error: "Public member 'Item' on type 'DBNull' not found"

Hello everyone, :wave: I am working on a vb.net application, the application was written from scratch on VS 2008. The problem is when i try to submit values to two website using web browser control....

View Article


Moving an Object on a set path

I am trying to make on object travel along a parabola when a button is click. I am unsure how to do so.

View Article

VS 2010 Printing a datagridview

I don't know if this is commonly done but I would appreciate some guidance on how to go about it. My intention is to get data from the user at runtime, put the data into a dataset that will be used to...

View Article

help..memory partition first-fit and dynamic best fit allocation..using vb...

hi all... ,,,,,are there people here know how to make a program using vb that make memory partition ..fix partition first fit allocation, and ,,dynamic partition best-fit allocation. .... the program...

View Article


VS 2010 Advice?

Hi, I am wondering what I am doing wrong here. I know this is probably very basic but I just can't do it, I have spent the last 2 hours trying everything and it just won't work. I am trying to find...

View Article

DataGridViewComboBoxColumn + add.item("MyItem")

Hi all, I'm fighting a stupid piece of code for about 2 hours now. How do I do something like this: item.add Code: Me.DataGridView1.Columns(3).item.add("AAA") Obviously, this doesn't work. I know it...

View Article

VS 2010 ToolStripButton Question

When clicking a ToolStripButton on a Windows.Forms.ToolStrip--if the form does not have focus--the click event wont fire on the first click. I have to click it a second time for the click event to...

View Article


VS 2010 Need help with clicking a button in webpage

I'm trying to click a button in a website from my program. But I'm having no luck at all. This the element im trying to click HTML Code: <td class="dark"...

View Article


Project but?

Hey guys This is my first program in Vbasic I am facing problem to add arrays into a variable in For Loop.. I dont knoq what to do? I am getting A zero in w2 because w1 never changes in (For loop)...

View Article

VS 2010 Tidy Classes

Hi All, Just wondering if there is a way to tidy up the classes in the solutions explorer? Ideally what I would like to do, is have the classes sitting under the form that would be primarily calling it...

View Article

VS 2010 Comment After New Line Seperator?

Hi Guys, For ease of sight if nothing else, I am forming a string of data, and ideally want to be able to comment what each part of the string is... for example, what I want to do is this: Code: String...

View Article

Alternative to JET.OLEDB for reading CSV data.

I'm currently using the Microsoft.Jet.OLEDB.4.0 provider to connect to a CSV file. I then use a oledb command SELECT query and a DataReader to read in the rows/columns of data from the CSV file. It...

View Article


VS 2010 [RESOLVED] Some IDE questions

I've been using VB.NET for quite a while but still find some "quirks" in the IDE: Suddenly one of my forms has no rules/lines separating the subs in code view. I guess I must have hit a secret key...

View Article

VS 2010 Exponential Moving Average

Does anyone having a function to calculate EMA that they would be willing to share? Would like to input an array of values & a period & get back the EMA value. Thanks if you can help...

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
Browsing all 27355 articles
Browse latest View live


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