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

VS 2010 Checkbox to Textbox value (total)

Hi all, I have 13 check boxes named cb1-13 they are on in tabpage1 in groupbox1. And i have a "Total" box in groupbox1 Then I have 13 textboxes named dtb1 - 13 they are on tabpage2 in groupbox3 (these...

View Article


VS 2010 Help With WriteProcessMemory

Hi, I'm trying to write a structure to process's memory. This is essentially what I'm doing, but I get AccessViolationException... Code: WriteProcessMemory(hWnd, (IntPtr)MyPointerToTheStructure,...

View Article


VS 2008 Non significant zeroes in textbox

Hi, A simple calculation result is returned when I enter valid numbers in a textbox and click the compute button. When the textbox is empty or when the value entered is 0 the process stops thanks to...

View Article

Display Msgbox if no records returned from select statement in VB.NET

Hi, how and where do I add a Msgbox in the following code to alert the user that there is no Match thanks Code:     Private Sub BtnSearch_Click(ByVal sender As System.Object, ByVal e As...

View Article

VS 2008 How to play AIF sound files?

Hello, I have an AIF sound file that was recorded on an iphone and I want to play this within my vb.net app without running an external program. Can this be done? I cannot find a control that supports...

View Article


VS 2010 GPS:showing lat and long on google map using vb.net

hi all, im new around here and i want to build a GPS and i dont know where and how to Start! as the title says i need a programm that requests the Latitude and Longitude and marks them on a google map....

View Article

Easy Cap USB video capture

How would I display a live video feed from a Easy cap device in my application? I want to have a live video window next to my control interface for a Remote Operated Vehicle. And maybe placing a few...

View Article

VS 2010 Combobox trouble

I have two combo boxes when I use this in the form load event one on the top gets populated ,other does not...why this is happening?And if I put the second one on the top, it get's populated,other one...

View Article


File.ReadAllLines() with resources are rejected each time.

So, Here is the question I have. Why does, file located in stated area, work: File.ReadAllLines(AppPath & "\filename.txt") While this one, files uploaded into resource and saved then restarted,...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] ReportViewer Missing Datasource

Hello, I created my dataset which contains a table from my SQL Database named "BillHeaders" Here's what my report viewer looks like, it will contain two reports. One that holds a job number and...

View Article

VS2008 ToolStrip

I cant figure out after adding a toolstrip, why when i run the program it wont show.

View Article

VS 2010 6 digit Incremental Number

Hi, I'm creating a form which spits out a .csv file which is then sent to the printer. I want to output a job number which increments everytime anyone presses the export button. The GUID is the only...

View Article

If -> And --> Then : Help me figure out this seemingly simple chain of events...

Each time my program performs a certain action, a integer named 'actionCount' goes up by 1 using actionCount +=1 inside the action routine. I also have Timer 4, start when the actions do. It's supposed...

View Article


VS 2010 Controlling Excel From VB

I found http://www.vbforums.com/showthread.p...6-(or-VB5-VBA) very useful. But It did not cover one thing I need. If I open a workbook and worksheet using this code: HTML Code: Dim oXLApp as...

View Article

VS 2010 Timer is not stopping and Pop-up windows appearing infinitely

I have here my code to send SMS: Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick count = DataTable1DataGridView.Rows.Count For i As Integer =...

View Article


Creating an Oracle Connection

I am trying to create an oracle connection in vs 2005. The first error I received when setting the connection was: attempt to load oracle client libraries threw badimageformatexception. This problem...

View Article

save PDF into SQL varbinary column

I use image object to save image (jpg file) into SQL varbinary column as code below. It works fine. Now, I need to insert pdf file but Imaging.ImageFormat do not have pdf option. How to insert pdf...

View Article


Deleting Button to work for both Parent and Child Table Rows

The Delete on my winform is not working the way I need it to. I have a form with parent table textboxes and child table datagridview. When I press the BindingNavigatorDeleteItem button it will delete...

View Article

VS 2010 Add ListBox Item

Ok, I used this code to add a listbox item: Code: Private Sub Main_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load         ListBox1.Items.Add("(Test Item)")  End Sub It worked...

View Article

VS 2010 How to range an array?

Hi Guys! First, I am using VS 2012. I have a number m and p(n) array. How to say; Code: rng= Lbound(p) to Ubound(p) For Each val in rng If Not m Mod val = 0 Then 'Do something End If ??? Basicly I want...

View Article
Browsing all 27349 articles
Browse latest View live


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