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

[VB2010] This method has been deprecated...

Two questions: 1) In the code of a custom control this code: Code:         [System.Obsolete]         public override void OnSetComponentDefaults()                 {...

View Article


Writing to google drive

I need to write to google drive. I can read files from the drive but am having real trouble figuring out how to write to a simple text file. And above all that, I will take some advice from the pros...

View Article


Save Console.ReadLine, variable readline

Hi. Do someone know how to variate a readline ? For example: vb.net Code: Dim phonenumber As String = Console.ReadLine(phone)Console.WriteLine("Please enter your phone number...

View Article

VS 2010 FindWindow - Using wild cards

Hi All, I am using a program that when an alert is received it sends a continous beep to the PC system board speaker and also opens up an alert window. The problem is, the server is located far away...

View Article

VS 2012 Cannot convert type string to type integer

So I built this massive working program, where it inputs data from text boxes then adds it to text files in order to create a sort of logging of data. The thing worked fine, then one day I tried to add...

View Article


can not populate textboxes with data from an access database

Hi, I have a login form for people to login and get taken to another page. The page they are taken to has a label on it. The logged in user has his, her name put on the label automatically using code....

View Article

VS 2012 Radio button collections

If I have a group of radio buttons, only one radio button can be checked at one time in the group. Is there a property such that I can specify multiple radio buttons to be part of a group? This is the...

View Article

VS 2010 Highlighting Webpage Text

Hey all, What I am wanting to do is as follows: I have a textbox, button and a web browser on my form, once the user enters some text in the text box and hits the search button I want to highlight the...

View Article


VS 2010 how to extarct inner html href of selected text in web browser control

Hi I am willing to extract Inner html,inner text & href of selected text form webbrowser control I tried follow but its giving innertext & inner html for complete web page and not for the text...

View Article


[VB2010] -when i add controls to RichTextBox what is the scale mode we use?

when i add controls to RichTextBox what is the scale mode we use(pixels or character)?

View Article

VS 2010 [RESOLVED] detect when a process starts?

I'm trying to detect when a certain program is opened, and from searching i found that the way to do it would be using a code as the one below inside a timer.. i just wanted to ask if there was a...

View Article

VS 2012 How can I make SQL accept NULL value

Hi, I am working on small project for a local football (soccer) team. This admin of this program should enter all football games (both played or not yet). That data will be stored in a SQL DB. The only...

View Article

[RESOLVED] Entity Framework and threading

Hi Folks Im just getting started with EF (with SQL server) and threading. My question is about how I should access the context for threads that work with the context? Should I create a new context per...

View Article


Mathematic problem....

I am current working on a project and i am stuck with a mathematic part. For Ex. there is 2 choices, bananas for 5 coins and apples for 2 coins. Under both choices there will be a textbox, there you...

View Article

VS 2012 Saving String Collection to Database?

The code below saves the settings and functions I made during runtime: Question:Can I actually save this into a database? I mean.. logically speaking somehow like this: Dim x as string x =...

View Article


VS 2010 Updating subitem in listview

Hey Guys, I can never seem to remember how to do this lol what i'm doing is looping a listview with 2 columns, the first column contains urls and the second is blank ready to be updated with either...

View Article

VS 2012 Treeview and dependency questions

Hi Guys! I have two questions relatively related to each other. The first one is very easy. I don't like the standart treeview look (with the plus sign). How to make such as "Solution Explorer"...

View Article


User control, 2 instances in the same .net app

I have a custom user control as part of my "solution". I load the control twice at runtime on 2 different forms within the same app Private WithEvents CG As CG.WINDOW ' later CG = New CG.WINDOW an...

View Article

[RESOLVED] How to move a label from a certain point to another then make it...

Hi I am a relative newb to coding. I had 1 year of training but it was VB6 like a few years ago, and i haven't picked up VB since. So to my question: How can I make a label move from let's say...

View Article

[RESOLVED] Getting bound ComboBox selected item text

Hi Folks I have a Combobox populated with MAC address strings from a SQL server DB (using Entity Framwork) VB Code: Public Class Form1    Dim myContext As New MySqlDataEntities    Dim burnRackBay As...

View Article
Browsing all 27415 articles
Browse latest View live


Latest Images

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