20,899 Topics
![]() | |
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 … | |
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 … | |
[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) … | |
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? | |
Hi.. How to check a check box based on a condition at run time? | |
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) … | |
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 … ![]() | |
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] ? ![]() | |
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 … ![]() | |
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 … ![]() | |
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 … | |
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 :) ![]() | |
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 ![]() | |
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 … | |
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 … ![]() | |
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 … | |
hey! i m new in software development. so plz help meh with ideas of getting more knowledge in vb.net. looking for help.. | |
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) | |
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. | |
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 | |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 | |
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. … | |
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" … | |
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. | |
I don't know how to insert image into column header of listview | |
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 … | |
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. … | |
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 … | |
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 … | |
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) | |
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. | |
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 … | |
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 … | |
How can visible a button only when a check box of a Data Grid View is checked???? | |
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 … | |
how can I edit the windows registry using vb.net |
The End.