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

Lamda function at PUBLIC Declaration

how to declare Lamda function at PUBLIC with in a class error code PHP Code: Public Class ExClass Dim _duplicatedocumentJSC As Func(Of Boolean) Public Function Getvalue () as boolean...

View Article


DataGridView : Mouse scroll and down arrow button hold behave different for...

In Slow Pc having Pentium processor, for DataGridView having some about 500 rows and more looks like dragging the same row, while 1.Scrolling the grid by mouse scroll bar. 2.If down arrow mark is...

View Article


VS 2010 Initializing DateTime Variable

How to Initialize an DateTime Variable with 12 PM i tried.. Public MyDate As DateTime = New DateTime(2013, 4, 1, 12, 0, 0) Now this is AM Or PM? If its AM, How to initialize it with 12 PM Thanks..

View Article

VS 2008 [RESOLVED] Fullscreen magnifier glass

Hello everyone, been a while since posting here... I'm trying to write a full-screen magnification program in Visual basic .NET, which will likely utilize the Windows API (Pinvoke) to do it's magic....

View Article

hide spin buttons in NUD

I know this is possible, as I've done this before, but forgotten how... how can I hide the spin buttons in a NUD control? Thanks

View Article


Image may be NSFW.
Clik here to view.

Find server name

How do I find the name of my SQL server? I need to complete my connection string... The following image shows my SQL config Code: Public constr As String = "Server=.\user-HP;Data...

View Article

VS 2010 Json.net start from value in array

Hey all i have the following json response that i am trying to find: Code: { "threaded_extended": { "3570956071": [   {     "id": [edited],     "network_id": [edited],     "sender_type": "user",...

View Article

VS 2008 struggling with error handling when a website does not load

My application is navigating an IE window to a website. Code:       IE.navigate("https://secure.myhfs.illinois.gov/revs/revsInquiry.do?command=REVS")         Do : Loop Until tab3.readystate = 4...

View Article


Embedded image within email from embedded resource

Hello. Seems there are hundreds of articles on how to embed an image within an email via code. But I've been unable to find one to help me figure out how to make it work with an embedded resource...

View Article


VS 2010 need help with codeing buttons

hello, I am trying to make a spelling test to help my daughter with her spelling words. what I am trying to do is code the buttons. there are 2 I am having trouble with. the first button is the button...

View Article

VS 2012 DragDrop Dynamic Labels (on a Picbox)

I cant seem to get this working... I have a picture box (with a map image) Right click it - pick add plane from the context menu lets you type a name into an input box and poof! a new label appears...

View Article

VS 2010 Converting Powershell WMI query to VB.NET

I've found the following Powershell script to extract information from Hyper-V machines. I'm trying to convert it to VB.NET but I'm having trouble figuring out the WQL syntax Code: $HyperVParent =...

View Article

VS 2012 Does a List of T contain a value

Here is my code that I am working with: Code:         MsgBox(ListOfPackageContents.FindIndex(Function(item) item.Name = "Schedule"))         MsgBox(ListOfPackageContents.Contains(Function(item)...

View Article


VS 2010 Symbols missing?

Hey all! I'm in the process of developing a program that allows me to spam either 1 line, or many lines given the number of seconds I decide to choose. So here is how it works. 1. I click the "Add...

View Article

Working with Forms

I have three (3) forms namely: Form1, Form2 and Form3 Using Form1, I will show the Form2. Code: Dim FormTwo as New Form2 FormTwo.ShowDialog Using Form1 again, I will the Form3 but the Title should be...

View Article


How to check connection before instantiating context in LINQ to Entities,

Hi Folks I've been using LINQ to Entites with the graphical Entity Designer taking care of creating all ORM stuff for my DB. Thus to use it I have something like the following that runs when my program...

View Article

Capture the array number of the selected button in a radiobutton array

I'm fairly new to vb.net. At one time - many years ago I was reasonably competent GFA basic.I have written a basic banking program in vb.net which works well and I am now trying to tidy it up and...

View Article


VS 2010 Attempted to read or write protected memory.

If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then xlApp = New Excel.Application xlWorkBook = xlApp.Workbooks.Open(OpenFileDialog1.FileName) xlWorkSheet =...

View Article

VS 2010 ms chart save image with legends

Hey, I am able to save chart in image format.. but can save only chart not its legents (which is shown in right side.. two columns.. one is color and another one is legend name..) can anyone please...

View Article

VS 2005 Changing programming for Arduino board

I have a program that was originally written for a Phidgets 0/16/16 board, but I now want to use an Arduino Ethernet board. Would it be difficult to change the code to allow it to work with the new...

View Article
Browsing all 27514 articles
Browse latest View live


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