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

VS 2010 SQL Server Retrieving Unique Identifier with Parametized Query

Hi, I recently moved my access db into sql server 2008 r2 and I am now unable retrieve the unique identifier field on insert statements using parametrized queries. The new datatable rows are inserted...

View Article


VS 2010 allowedChars As String = ""

I am new to this forum so Hello! :) Also, I am new to VB and I have problem with setting up the limit in text box. I am using two text boxes, one of them has a limit between 2 and 6 so other numbers...

View Article


[2010] Get special folder DOWNLOADS

With my application, I need to access files that were downloaded by the user's default browser and stored in the default "Windows Download folder". How can I get the path to the Windows Download...

View Article

VS 2010 Need Help about user input

Hello guys, I'm super new to this site and said "heck i will sign up and maybe get some help and become active" I am working on a tutorial application for windows c++ using visual basic In order for me...

View Article

Building Dynamic Toolstripmenuitems

First let me say I'm relatively new to VB.net. Haven't done any coding in visual basic since VB3. I'm in the process of rewriting an application originally written in VB3. What I'm having a problem...

View Article


Databound Data Grid View Format Mulitple columns to $ currency

I have about DataGridView that is Bound to mDataTable Code:     Public Class Grocery_List     Dim mDataTable As New DataTable Private Sub BindGrid()         mDataTable.Columns.Add("Item")...

View Article

VS 2010 Need help with string

Hey vbforums, Let's say I have this text file: Code: [text1] line 1 line 2 [/text1] [text1] line 3 line 4 [/text1] How can I get the text between from both [text1] and [/text1] Coded this function, but...

View Article

VS 2008 regex

What is the regex to scrape the number 3970 in the below string? Top Best Sellers Rating: #3,970 in Electronics (See Top 100)

View Article


VS 2008 [RESOLVED] Deploy an application with SDF database

Hello, I created a really simple application that reads data from SDF database. The connection string is the following: vb.net Code: Private con As System.Data.SqlServerCe.SqlCeConnection = New...

View Article


VS 2005 How to use same helping form for all the forms.

Hi. I have 3 forms, Sale Form, My Purchase Form and "Prod Info Form, which is a helping form" When i insert the SaleID on my Sale form so on its lost focus event, the helping form appears with a DGV on...

View Article

VS 2010 Show a tooltip under the mouse cursor.

Is it possible to manually show a tooltip under the mouse cursor? I change my cursor icon with (Me.Cursor = Cursors.AppStarting), but i further want to show an tooltip under mouse icon. thanks shafaqat...

View Article

XML File Parsing atrributes (my code seems odd)

Hey I'm working on this tool that retrieves certain things from an xml file in this structure UserCFG.xml Code: <?xml version="1.0" ?> <graphic>     <adapter vendorid="32902"...

View Article

How can I check the if the client lost its connection using Unolibs library?

I am using Unolibs library in my client-server applcation, the problem is that how can i know if a client lost its connection.I am using the send method in order for my server to detect incoming client...

View Article


VS 2010 Vb.Net Office Project Excel 2007 run existing macros from a ribbon

Hello Friends, I created some macros in an excel 2007 workbook in the past. Now, I just started to work on a Excel 2007 project in vb.net 2010 that copied this excel workbook. This excel workbook is...

View Article

[RESOLVED] Ridiculously stupid Timer question ...

I just finished building a new computer, after being without one for almost a year, and am trying to get back into programming - The problem is, I have forgotten a lot of 'basics'! Such as the problem...

View Article


[RESOLVED] Ridiculously stupid Timer question ...

I posted this once already, and it never showed o_O Long story short, I haven't been able to program anything for over a year, and now I can't remember a lot of 'simple' things - I need to make a Timer...

View Article

VB.net to Excel

I am trying to get an existing Excel workbook from a file and working on it. I need to specify a path to the file. "GetObject" may not be compatible with "Open" I did set the Reference to Microsoft...

View Article


VS 2008 DataGridView - Questions

1º How can i change button.text in the column? Click event ex.: Edit <-> Ok 2º How do i button.parent in the column? 3º Is it possible to only activated ReadOnly property on a SelectedRow instead...

View Article

VS 2008 Change background color using a timer

Hello, how can I change my form backcolor using a timer every 10 seconds?

View Article

VS 2010 A 'multiple swf '- player

I want to make a program to play multiple swf-files after eachother in a loop. I'll be putting them all in a folder and then the prgm needs to play all the files in the folder. Until now i just use a...

View Article
Browsing all 27186 articles
Browse latest View live