Quantcast
Browsing all 27036 articles
Browse latest View live

VS 2012 Rewording a String

If I have a sentence stored in a String data type, is it possible to reword this string into a different sentence via a Microsoft Class or other third party API? E.g. "Today I went to town and bought...

View Article


VS 2010 I need help displaying an image

Hello Everyone I am new in vesual basic and i have a couple of questions: I have the following code that is allowing me to save an image uploaded from a user into a root folder HTML Code: Protected Sub...

View Article


VS 2012 Threading error "because the current thread is not in a...

it's been a while sience i did threading. i'm trying to remember how to do it, but i'm hitting something that i KNOW i forgot. here's the error code: Code: "System.InvalidOperationException:...

View Article

VS 2008 [RESOLVED] How do I remove dynamically Created Buttons?

I have sub that dynamically creates a number of buttons on a form this sub is called when the form loads. What i need is to be able to remove these buttons in a case where the user chooses to refresh...

View Article

Passing an object from form to form

The subject says it all, how can I pass and object from one form to anther before showing it?..

View Article


Math symbols in Richtextbox (or other control)?

I am making an application for math and I need to be able to allow the user input different formulas: division, square root, etc, can richtextbox use these symbols or is there any other control I could...

View Article

VS 2008 edit, add, delete data in datagridview

i have connected my sdf database to vb.net and program is capable to show the database in the datagridview. but what i want is when i change the data in the datagridview and click onto update...

View Article

Image may be NSFW.
Clik here to view.

ListView adding items ( 3+ columns )

What is the syntax to add items to a ListView object with 3 or more columns. First Column: Code: ListView1.Items.Add(s) Second Column: Code: ListView1.Items(i).SubItems.Add(s) Third Column: ?

View Article


Picturebox.Load()

Just a quick question. When I read an xml file and want to do this... ' Setup the URL Dim strUrl As String = _ "http://www.weather.gov/xml/current_obs/" & strStationID & ".xml" ' Create our XML...

View Article


VS 2010 Need to use a Proxy, thinking of Tor, how?

As the topic states, I'm in need of using a proxy and after some research, I like Tor the best. When I first started creating my program, I was using commands to open my native web browser and not...

View Article

VS 2012 Check if TextBox text has changed

Hi, so i have a question. How can i check if the textbox1 text has been changed compared to textbox2? For Example: TextBox1: Helloooooo! TextBox2: Hello! The correct one should be TextBox2. And...

View Article

WMI using alternate credentials

Hi. I'm having trouble with WMI connecting to the namespace on a remote PC using alternative credentials. See code below. If I right-click on the compiled program and choose "Run As" and choose another...

View Article

Convert Time to MinutesSinceMidnight

Hello, I'm returning the month, day and year in a single column and the time #07:59:59 AM# in a separate column. It seems that concatenating them isn't always consistent for some reason to return the...

View Article


VS 2010 Is this database update/insert code correct..it runs really slow for me

It just runs really slow..course i'm basing my idea of slow on a comparison to loading the same data into a listview. does loading a database have a beginupdate/endupdate like a listview? if so maybe...

View Article

VS 2010 [RESOLVED] DateTimePicker Control: can't see any time options

Hi folks. I have included this control on the form, and when I run the program, only the calendar is displayed(no time), and I can select the date/month. But I can't see any options to select the time?...

View Article


Read from ms SQL and insert into oracle db

Hi all, I am trying to execute this code however the code doesnt work. it doesnt insert...into oracle db..any help appreciated.. Code: References Devart.Data.Oracle.dll References Devart.Data.dll...

View Article

ComboBox with different color Items and DropDownList Style

Hello everybody, I want to have a combobox that has different colors for it's items. So here is an example. New Form with an added combobox. 'STRUCTURE THAT HOLDS THE DATA FOR THE COMBOBOX ITEMS Public...

View Article


VS 2010 [RESOLVED]process.start and process.waitforexit

this is probably pretty simple but i'm not seeing it. i'm doing the following Code: Process.Start("C:\Program Files\7-Zip\7z", "x" & " " & G.StagingDirectory & " " & "-o" &...

View Article

Information/Website(s) on how to make a employee tax calculator

Hi. Been working on a payroll system for a while now for a college project..Finally got to the stage of calculating the tax for the staff (Which is rather important lol) I'm VERY new to VB and this...

View Article

VS 2010 How to make a ComboBox ReadOnly ?

Hello friends, at first I want to say sorry to the moderators. Now I will open new threads for my question ;) My question is as in the title: How can I set a ComboBox to ReadOnly? Thank you :)

View Article
Browsing all 27036 articles
Browse latest View live


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