20,899 Topics

Member Avatar for
Member Avatar for Dr.Cooper

I am trying to develop and application that takes a webpage and changes the value attribute of an input type. For example load a webpage with view sourceprint? [CODE]<input type="text" size="20" name="UserName" value=""/>[/CODE] and changes it to [CODE]<input type="text" size="20" name="UserName" value="User3"/> [/CODE]using system.net.webclient. Also, I want to know how …

0
56
Member Avatar for Welsh_Wizard

Hey, So I am very new to using VB, Visual Studio etc. I am trying to do something really simple. Basically I have an Excel 2003 workbook with some data pre stored. All I need to do is add a chart to the spreadsheet and plot some data. However I …

Member Avatar for nmaillet
0
197
Member Avatar for bradploz

[CODE]Imports System.Data.OleDb Public Class frmlog Dim con As New OleDbConnection Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click If ask() = True Then MessageBox.Show("Success") Me.Hide() Form1.Show() Else MessageBox.Show("Invalid") End If End Sub Public Function ask() Dim dt As New DataTable Dim ds As New DataSet ds.Tables.Add(dt) …

Member Avatar for debasisdas
0
130
Member Avatar for alonso_siang

i being ordered to change my function skill to returning value by using struct but not using pointer. may i know what is the pro and con between this 2?

Member Avatar for debasisdas
0
61
Member Avatar for divyakrishnan
Member Avatar for rEhSi_123

Guys I have a created a test windows form to try few of the HAP functionalities..... I have the following code as shown below: The function below deals with HTML Parsing whereby removing unwanted HTML metadata. [CODE] Function SanitizeHtml(ByVal html As String) As String Dim doc As New HtmlDocument() doc.LoadHtml(html) …

Member Avatar for rEhSi_123
0
897
Member Avatar for Slotes

Hi im fairly new to developing (started making some basic small programs yesterday) and today I was working on a program which is essentially a updater/update checker and what the program does is it checks the version of the checker and compares it to the current version.txt and if they …

Member Avatar for Huntondoom
0
2K
Member Avatar for harrisonbs1
Member Avatar for andrefortios123

Hello, I need to be able to open a folder from vb .NEt, problem is, becuase of redistribution, i need to use variables so that it works on everybodys computer. Anybody know how to do say [CODE] Process.Start("%userprofile%")[/CODE] ?

Member Avatar for Huntondoom
0
159
Member Avatar for chellemits

Hello everyone. I'm currently developing a download manager and converter for audio and video files. Does anyone know how can I get the music file from a specific folder from my computer (I already used openfiledialog) and putting it into a listview? e.g. FILE NAME FILE TYPE Born this way.mp3 …

Member Avatar for Huntondoom
0
119
Member Avatar for kosay

Hi All I made function [CODE] TextBox1.Text = String.Empty Using fs As New FileStream(Path, FileMode.Open) fs.Position = 0 Using br As New BinaryReader(fs) For x As Int16 = 0 To 150 TextBox1.Text = Asc(br.ReadChar) & " " Next End Using End Using[/CODE] but when I ReadByte for small file (2 …

Member Avatar for Huntondoom
0
94
Member Avatar for chellemits

Hello guys. I'm doing a project now. I'm having a problem on getting specific file type from my computer using the .getfiles function. Here's my codes. [CODE]Private Sub dlgOpen_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles dlgOpen.FileOk Dim filepath as String = "C:\" dlgOpen.CheckFileExists = True txtOpen.Text = dlgOpen.FileName …

Member Avatar for Mitja Bonca
0
394
Member Avatar for monamon15

please help me po..i'm searching over the internet t for a long time but i can't search how to convert pdf file into microsoft word... i just need it for my project...please save me to pass my project. any help is appreciated. thankyou very much :)

Member Avatar for Huntondoom
0
123
Member Avatar for earlofroberts

I have installed VS .Net 2005 on my new pc(XP pro). But when I create a new project, the files such as Global.asax, web.config, etc. that are normally created automatically, or not created at all. How can I fix this? thanks

Member Avatar for Huntondoom
0
71
Member Avatar for wenbnet

Hello, Any Help will be much appreciated. i m entering information of each person in Employee Information form and saving it in MS Access database. Now i want to Show the data of each person Individually and the information of the next person will be shown on the next button …

Member Avatar for debasisdas
0
122
Member Avatar for Trle94

Hey guys well im making premium link generator for some webhosting service... So i want to use more than 1 account because if 2 or more users start app they can download because already some one is downloading w/e i want to make to app alone choose with which one …

Member Avatar for Huntondoom
0
87
Member Avatar for ayoba01

i need help regarding the code. the problem is when i try to make a new process payment. here is the situation, first, i click this button. [IMG]http://i1120.photobucket.com/albums/l483/farid011/first-1.png[/IMG] second, i click the payment button [IMG]http://i1120.photobucket.com/albums/l483/farid011/second.png[/IMG] third, i click balance button to calculate the payment and charge [IMG]http://i1120.photobucket.com/albums/l483/farid011/third.png[/IMG] fourth, i click …

Member Avatar for Netcode
0
111
Member Avatar for n1_razz11

hey! i m new in software development. so plz help meh with ideas of getting more knowledge in vb.net. looking for help..

Member Avatar for Netcode
0
57
Member Avatar for abc88

how can i get offset of a line in a text file? so using this offset i can go back to the same line using Streamreader.Basestream.Seek(offset,SeekOrigin.Begin)

Member Avatar for imolorhe
0
88
Member Avatar for abc88

i want to check whether the dates in a file are consecutive. that is if the dates are 7.10,2011 ,7.11.2011,7.12.2011 it should return true and if they are 7.10.2011,7.12.2011 it should return false.

Member Avatar for Mitja Bonca
-1
674
Member Avatar for chellemits

Hello everyone! I would like to ask if... Is it possible to convert a project saved in Vb.Net 2010 to VB.Net 2008? Thank you for you response! I'm a student currently doing my Thesis Study. :) Chellemits

Member Avatar for chellemits
0
853
Member Avatar for dwinn

I am developing a site in ASP.Net and VB.Net that will enable users to sort data in a GridView in Ascending or Descending order. The records are coming from an SQL Server Express database. I go to click on a column heading to sort the data and I get the …

0
94
Member Avatar for bklynman01

I'm trying to find a way to check for changes in a DataGridView. The gridview does not have a binding source because I am populating it based on some other information. Right now I get a NullReferenceException. It happens as the gridview is populated. I have marked the line where …

Member Avatar for bklynman01
0
189
Member Avatar for chellemits

Hello! Does anyone know how to set a progress bar? I am developing an audio and video converter manager. I wanted the progress bar to run 'til the process of the converting of file is finished. The converting time depends on the file size so I can't just set the …

Member Avatar for sgt_toasty
0
151
Member Avatar for synaqvi

Hi Is there any Bootstrap Manifest Generator available for Visual Studio 2010? If yes, then please provide the relevant links and details. Thanks in advance. [B]synaqvi[/B]

Member Avatar for synaqvi
0
229
Member Avatar for VBNewUSer

Good day to everyone:) , i'm a new user here and i'm also new to Visual Basic , i'm having problems coding the codes myself. It's an assignment for me from school , after attemtping it for a few hours , I'm almost finish but i'm having trouble in the …

Member Avatar for VBNewUSer
0
1K
Member Avatar for abc88

I am reading a text file line by line using StreamReader.Readline(). After reading a line i have to check whether some fields of the line which is read are present in the rest of the file or not. What i am doing is that after reading a line from the …

Member Avatar for san-biegwenja
0
555
Member Avatar for espinaian

Can anyone help me with this syntax.. i made 3 forms. and i want form 1 & 2 inputs displayed in form 3.. this is what i made so far.. don't know what to do next Form 1 [CODE]Public Class Form1 Inherits System.Windows.Forms.Form Dim ID, sname, course1, year1 As String …

Member Avatar for san-biegwenja
0
170
Member Avatar for BARATUM

Hi, i am writing a mobile application to save some task. In this application i want save the data of task to the text file(*.txt). however, i faced some of the issues that i unable to save data to txt file due to the runtime error on file not exist …

Member Avatar for adam_k
0
173
Member Avatar for ClimaxBeetle

[B]ERROR RECEIVED:[/B] [B][COLOR="Red"]NullReferenceException was unhandled [/COLOR][/B] Object reference not set to an instance of an object. And it points on the particular line: [B][I]dsNewRow = ds.Tables("Employees").NewRow()[/I][/B] [CODE]Imports System.Data.OleDb Public Class Register Public cn As New OleDbConnection Public rd As OleDbDataReader Public da As New OleDbDataAdapter Public ds As New DataSet …

Member Avatar for adam_k
0
206
Member Avatar for mike2098

Hi I want to populate a text box from a stored table I have this for the data With DropDownList1 .DataSource = ds.Tables("property") .DisplayMember = "propRef" .ValueMember = "propRef" .SelectedIndex = 0 End With "property" holds all the info from the db when the user changes the dropdown list I …

Member Avatar for Mitja Bonca
0
394
Member Avatar for SG01

How can I sort label names on buttons within a form. Automatically sort the names and put into the correct place within the form. A-Z order sort can be left to right. Want some sensibility to the form not all mixed up.

Member Avatar for adam_k
0
173
Member Avatar for Johann1

Hi, Please could you help me resolve the error message below by pointing me in the appropriate direction. The frustrating thing is that whilst the error code points to a Stack-Overflow I can not pin the offending code down because the software works faultlessly on some computers after deployment but …

0
122
Member Avatar for richardh87

Hi, I am having problems when generating a chart dynamically. The problem is that sometimes the chart is rendered with a black background and sometimes without. I have stepped through the code and verifies each number and there are no anomalies or numbers that might cause a problem. The y …

0
146
Member Avatar for MaheshJayadev

How to use Treeview using WPF in vb.net Treeview has to load data from database. Plz help me I was strucked from so many days

Member Avatar for debasisdas
0
41
Member Avatar for Techyon

Hi guys, I'm finding myself in a little trouble. I've tried to google this problem, but without much success. Hopefully its something simple I'm missing and someone will be able to help me. I'm writing a little program that will synchronize two access database schema's. It works, to a point. …

Member Avatar for Techyon
0
2K
Member Avatar for dwinn

Hello, I am trying to program my page so that when a user clicks on a column heading of a gridview, the data is sorted either in ascending or descending order. So far, I have done it so that the gridview can be sorted: [CODE] <asp:GridView ID="GridView1" runat="server" Height="143px" AllowSorting="true" …

Member Avatar for dwinn
0
120
Member Avatar for iampord

Good day. I would just like to ask. if there is any way to uninstall program or uninstall program from add/remove using vb.net codes? Thank you very much.

Member Avatar for iampord
0
215
Member Avatar for marethsymarina
Member Avatar for Brissac

I have 3 microsoft access databases all with exactly the same structure called Nimdas,Nimdas1 and Nimdas2. I can work on Nimdas in a program that I have written in VB2008. Now I want to flit from one to the other 'on the fly' using the same program. How do I …

Member Avatar for Brissac
0
109
Member Avatar for yorro

I am trying to populate an ArrayList using the elements from a DataTable. I know I could do this using Loop, but I am trying to figure out how to using AddRange. Here's my code: [CODE]SomeArrayList.AddRange(SomeDataTable.Rows.Item(0).ItemArray)[/CODE] The problem is that I can pass the collection except for the Zeroth element. …

Member Avatar for Luc001
0
345
Member Avatar for Marc Smets

I am rather new here and have already a good (I hope so) question. I work with an access mdb When I run the program with the following code it gives an error “Nullreference exception unhandled” “the object… is not for an example of an object…” (very free translated but …

Member Avatar for Marc Smets
0
382
Member Avatar for chellemits

Hello everyone! I have a code below to get a specific file from my computer into the vb.net application I am developing. Is there anyone who knows how to change the path? What if I will try to put the application on a different computer? Or rather getting a music …

Member Avatar for chellemits
0
1K
Member Avatar for vb2learn

Hey guyz Is this possible to get text automatically in textbox1 whenever any textbox is copied to the clipboard. I am talking to get it automaticaly. So if i copies abc then textbox1 value will be abc automatically (Not by clicking any button or form loading)

Member Avatar for adam_k
0
2K
Member Avatar for jaejoong

How can I get all the data in dropdownlist? For specific data, I encode: Dropdownlist.selecteditem.text. But how can I get all the data? Thanks in advance.

Member Avatar for yorro
0
100
Member Avatar for SG01

How do I search for a document from within my visual studio program. ie: looking for checklists by name or part of name and then be able to open the found document / file from the found search. comp - could return compactor / compressor etc.. then be able to …

0
71
Member Avatar for kasimacsys

hi!, i have MDI form(Form1) which contain some toolstripmenu item. for example menu_101. if i do "Form1.menu_101.enabled=True" its working fine. my problem is i have a string variable like "menuname" which contain like menuname=menu_101 i need to enable or disable using this string variable like "Form1.menuname.enabled=True" please anyone knows let …

Member Avatar for bunthom
0
1K
Member Avatar for dibakarmishra

How can visible a button only when a check box of a Data Grid View is checked????

Member Avatar for dibakarmishra
0
185
Member Avatar for Oneryavuz

Now i have some images and i have a database (MS Access) i need to convert all images to !one byte array!(couse i have 1 column for images) and i save this array. Then when i need a picture i should take some pic on this byte array. umm i …

Member Avatar for Oneryavuz
0
683
Member Avatar for nanosani

The End.