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

Delete the first line from a richtextbox Help! [RESOLVED]

i have tried things like Code: RichTextBox1.Text.Remove(0) and this Code: RichTextBox1.Lines(0).Remove(0) i don't get any errors but they don't work any help please.

View Article


programmatically add name to tabcontrol based on combobox selection

Can anyone explain how to change the text in a TabControl, i have tried to use the sane tactics i would with a ListView but cant seem to get it right The name is being read from an xml file based on...

View Article


VS 2010 Structures with Arrays

I am having a hard time understanding how VB 2010 wants me to go about declare a variable size inside a structure. I am used to VB6 and trying to learn VB 2010, but the books I have bought tell me...

View Article

Webbrowser Control - Select Dropdownlists option

Im filling in a site with Webbrowser control, the problem is the site contains two dropdownlists and they are linked to each other like HTML Code: <select name="dropdown1" id="dropdown1">...

View Article

VS 2010 [RESOLVED] overwrite file and if overwrite erorr show message box

Ok here is what i want.. i want a file to overwrite. And if the file that needs to be over written is opened or in use, i want my program to display a message box saying to close it when that file is...

View Article


comparing Strings in and array to another string in a different array

im having alot of problems comparing strings. I tried two different ways which you will still see in this program. but i have the arrayString already populated in the program in a different sub. The...

View Article

using operand of type, must use system.idisposable

Hi there, I am working on a class that checks if a file is available, if the file is available then we obtain the file lock using file stream and returns, I wish to impliment idisposable, when I do I...

View Article

VS 2010 Conn.execute how to?

I am new to VB.Net and i want insert record database without Recordset object. My old VB6 codes: Code: Set conn = CreateObject("ADODB.Connection") conn.ConnectionString = "..........." conn.open...

View Article


how to connect module to form without recodeing

hello i make a form with a very long code then i want to take some code to anther file(class , modules,...) but without re-code for example code in form is: "if textbox1.text="yes"" the code in modules...

View Article


.Net Change value in Iframe without id

I'm working on a automatic fill in form, but i dont get pass through the picture upload. The picture upload is inside an Iframe without an id or name. I would like to know if i can add a value to it,...

View Article

RTS Game Help Please

i want to make a RTS game i need a way yo add 3 var to metal var 1 is a timer that gives them 1 metal every 1-3 minute haven't pick time yet var 2 is a Increase in the amount based on metal factory's...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 WebBrowser login by using IE Cookies

Dear all, i am finding how to get cookies from IE to WebBrowser control. Let's me show you about my image 1. user click button (Login website in IE) then Internet Explorer will open and login my...

View Article

VS 2010 Media Object setItemInfo

Is it possible to set some ItemInfo for a media object that is then saved to the file such that the next time the application is loaded up, the itemInfo can be retrieved via the getItemInfo method?...

View Article


VS 2010 Converting a Time Format string to a double

Here is my code: Code:     Public Function convertDoubleToString(doubleValueToConvert As Double) As String         Dim ts As TimeSpan = TimeSpan.FromSeconds(doubleValueToConvert)         Return...

View Article

VS 2010 Generating a list based on criteria

I have a media application that has a list of media objects. Each media object has a duration and also a genre. What is the easiest way to return a list of random items on given criteria. For example,...

View Article


Accessing iframe without ID

I'm working on a automatic fill in form, but i dont get pass through the picture upload. The picture upload is inside an Iframe without an id or name. I would like to know if i can acces the iform to...

View Article

VS 2010 Webbrowser, hide/delete elements from a website

Hey is there any way i can by code, remove/hide elements on a website? Long story short, my program visits a chatroom at www.zippychat.com, it self-enters the password, fills in username, and hits...

View Article


VB Array Problem w/ Calculations & Assigning

Hi, I'm having problems with my current project using the concept of mean and standard deviation. I have to use an array supplying 14 different exam scores, then use a formula to calculate the mean and...

View Article

Help using Webkit2.NET

I am playing around with making a webbrowser, and I have been using Webkit.NET as apposed to the default Webbrowser control, and GeckoFX. Recently, I discovered Webkit2.NET which is a better more...

View Article

VS 2010 Textfieldparser reads wrong character

Hello, I have a piece of code that reads a very large .csv file (test.csv) and imports it into an ACCESS DB. This works almost perfect except that some characters are not read correct. In the testfile...

View Article
Browsing all 27450 articles
Browse latest View live


Latest Images

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