Quantcast
Channel: VBForums
Browsing all 42202 articles
Browse latest View live

[RESOLVED] Visual Studio Error in VB.Net Code

I am not sure if posting VS errors in here is acceptable, but here goes :) This is my code that is giving me the trouble (if you need to see more, just let me know): Code:         Dim out As String =...

View Article


Problems with Linq-to-SQL

I've created a sql server in the App_Data folder of my solution. I then created a linq to sql dml in a class library and copied the folders across. From a Web Form on load method in the root folder I...

View Article


VS 2010 Database connectivity : how to reload?

Hi, I'm having a problem with an access database that I've connected to a datagridview. When I made the connection to the database for the first time, all records from the table in my database were...

View Article

VS 2010 How To Send A HotKey Game?

Making An Application That wanted When Clicking On Button, The Application To Send A HotKey A Game! How Can I Do That?

View Article

Identify When to Compact and Repair a Database

Other than spotting some corrupt data, or doing a periodic Repair and Compaction on a database, Is there anyway to identify that the database is in fact corrupt and in need of Repair and Compaction....

View Article


VS 2008 Keys of the dictionary object

I want to know how to retrieve the keys of the dictionary object. I created the dictionary collection. And I added the keys and an object associated with that key. Now I want to get all the keys from...

View Article

List(Of String) = List(Of CustomObject)?

Hey everyone...can't think of a good Google query to find the answer to this...the error it generates is pretty generic. I have a class called Proxy which inherits from System.Net.WebProxy and...

View Article

end of month from datetimepicker

If DateTimePicker2.Text = Date.Today Then MsgBox("Select End of Month") DateTimePicker2.Focus() Exit Sub End If this is my code for the datetimepicker...the problem is that i want the user to select...

View Article


MsOf10 VBA Excel Comments.count vs Sub procedure to count number of comments

Hello Developers, I will like to understand the speed between two methods of counting comments. 1st Method: ActiveSheet.Comments.count 2nd Method: Sub CountComments() Dim CommentCount As Integer Dim...

View Article


sql subquerry doubt

Can someone please split this querry .... means which subquerry will execute first Only thing we know is transactionID SELECT row_number() over (order by isnull(id,200)) as SrNo,id, trans_id,...

View Article

how to rotate values when present?

I've figured out a way to do this, but the method is so ugly i cant stand it and would like some tips on better implimentation. Form contents and goal: -form1.textbox1 -form1.button1 -form2.textboxes...

View Article

VB 6.0 Installation

hi, I am unable to install VB 6.0 into my machine. I have MS Office 2007 and our IT engineer is telling me the reason that, its a compatability issue. I am able to get installed Visual Studio 2012,...

View Article

VS 2010 Calling unmanaged C++ functions from VB - how to control marshaling

I am calling unmanaged C++ functions from VB.Net and would like to make sure the parameters I pass into the C++ function are not marshaled. First - is there a way for me to see how the function is...

View Article


how shall i read xml file from ashx in javascript

Hi guys, On my aspx page I use google maps. On dragend event I want to load latlng points from my sql database. I am trying to find some code examples but no luck. I will write down what I’ve done so...

View Article

VS 2010 Some questions about DataGridView

Hi I'm working on Invoice System and I wanna use DataGridView for the invoice and I have some questions: 1. First column will be for product code. So what I want to do that when the user enter the...

View Article


Match list name of header and find blanks cell in row

hi, i need to match Column 1 by the list of name in header, as it is not fixed header names every page ,so need to find by Selected name and need to search for blanks cell in row and paste the blanks...

View Article

connect to a remote MS Access database from client side through VB6

Hello, I want to connect a client to a remote MS Access database residing in the server through VB6. How to do this?. Can anyone help? Thanks.

View Article


"">Expression expected ">"

Hi guys, I'm new to this forum and I am just starting out in VB.net and have come across a problem and was wondering if you could help me. I am trying to make a little app that will scan a file for its...

View Article

Runnig VB.NET Code With References on Different OS'es

We have different computers in this department, some are XP others are Windows 7 and soon to be Windows 8. This presents the problem with the References for Excel, for example being located in...

View Article

VB6 and Canon Printer MG6250

Hi I could not get my Canon MG6250 to print in LandScape so I tried the sample below and even though i = 2 the printer just ignores the instruction. Can anyone help please? Code: VB6 Private Sub...

View Article
Browsing all 42202 articles
Browse latest View live


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