20,285 Topics

Member Avatar for
Member Avatar for serph09

I have this code: I'm trying to have my program download all the images (that contains "jpg") from a site. [CODE]Dim doc As IHTMLDocument2 = DirectCast(WebBrowser1.Document.DomDocument, IHTMLDocument2) Dim imgRange As IHTMLControlRange = DirectCast(DirectCast(doc.body, HTMLBody).createControlRange(), IHTMLControlRange) For Each img As IHTMLImgElement In doc.images If img.nameProp.Contains("jpg") Then imgRange.add(DirectCast(img, IHTMLControlElement)) imgRange.execCommand("Copy", False, Nothing) …

Member Avatar for codeorder
0
144
Member Avatar for lpmike

i got this error 'convert datetime to string format yyyymmdd vb.net' this is my code [CODE]Dim ExpDate As String = dgvBlock_Extend.Rows(icnt).Cells("Extend Door & Lift Expiry Date").Value.ToString("yyyyMMdd")[/CODE] the value is 4/6/2011 12:00 AM i wnt to convert to format yyyyMMdd how i'm going to solve this error?

Member Avatar for lpmike
0
83
Member Avatar for arezz09

i hve create 1 listview & checkbox inside listview...how to print check item in listview..

Member Avatar for dxider
0
109
Member Avatar for crankyslap

"Cross-thread operation not valid: Control 'DataGridView1' accessed from a thread other than the thread it was created on." I've been avoiding multithreading because of this since I started with vb.net a couple of weeks ago but it looks like I have to start using it now. I simply don't understand …

Member Avatar for HookDevil
0
2K
Member Avatar for hjdoran

Hi everyone, I'm trying to make the autocomplete work on a list of items entered into a textbox separated by semicolons. I have a list of authors the user can choose from and it autocompletes as they type the name no problem, but what I'd like to do is after …

Member Avatar for HookDevil
0
252
Member Avatar for arezz09

i has create system registration that use vb.net 2008 & accessdatabase (oledb connection) i set ID as primary key,when i insert new ID but if ID already in database i will get error cz data duplicates..so anyone know any code that will promp mesej like this "Data already in data …

Member Avatar for Jx_Man
0
570
Member Avatar for sumathibadri

Hi All, I am not an ardent developer in vb.net programming. But off late I am using vb.net to develop a windows application. The following is what I am trying to do: I am reading an excel file and storing the string value present in each cell, and trying to …

Member Avatar for HookDevil
0
163
Member Avatar for kazekagerandy

how can i draw a free-shape (it means no particular shape or sides) and fill it in with the colors chosen from colordialog? e.g. im gonna draw a rounded rectangle and i want to fill its insides with color red. answers will be appreciated :)

Member Avatar for debasisdas
0
295
Member Avatar for nemzmiyaw

I have a log in form, in Form_Load disable the explorer.exe to disable the alt + tab keys so that the focus is on my log in form that is fullscreen. when i logged in my log in form my application will show and my login form's hide. LoginForm.Hide() Application.Show() …

Member Avatar for HookDevil
0
104
Member Avatar for arezz09

i hve build 1 system inventory using vb.net 2008...can i run execute file from browser...maybe like in asp.net..

Member Avatar for debasisdas
0
88
Member Avatar for Mike Bishop

anyone help with this? I have a unique id on each line of sql, i want to be able to update a row from a table i tested and tested this but unable to get this working. does anyone know how i am able to do this? [CODE] Dim PINV …

Member Avatar for nemzmiyaw
0
112
Member Avatar for burntout

I am doing a sales report for a clothing manufacturer that calculates its total sales for the week.Sales values are inputed seperatly for each clothing item, but the amount of sales for each of the five weekdays should be inputed all at once.The app should calculate the total amount of …

0
136
Member Avatar for WDrago

All, I am using VB.NET in VS10. After I add items to a list box I'd like it to scroll down so that the most recent items are visible. I tried this with no luck: [CODE]StatusListBox.SelectedItem = StatusListBox.Items.Count - 1[/CODE] Can anyone tell me how to make the box always …

Member Avatar for WDrago
0
213
Member Avatar for eltonpiko

hi im working on a simple program that will retrieve data from my .mdb and display in datagrid on my form all is showing well except from image can anybody tell me what is the right format to store image in access database 2007 OLE object and insert the file …

0
56
Member Avatar for duskofanera

i have two projects on visual studio 2005 one in vc++ & other in vb.net now i want to both programs to work cooperatively acc to me i have following ideas but dont know how to implement them 1 - if i create third project and integrate/merge/combine other two in …

0
116
Member Avatar for dotnetfresher

hello friends, I am new for VB.net, and currently m facing a problem, that is huge problem for me right row, may be that is not a big problem for you guys..I want to use DataGridView in my project, and in DataGridView, i want to navigate focus using enter key …

Member Avatar for debasisdas
0
143
Member Avatar for ITKnight

hi all, i m a newbie in this forum and vb.net application, but i want to learn this language. please help with your post. Thx all. :) this my question : How i can make my font to looks [B]Bold[/B], [I]Italic[/I] or [U]Underline[/U] in rich text box with vb.net ?? …

Member Avatar for Jx_Man
0
548
Member Avatar for mohanvicky

we want codings to update textbox values in to ms access table using adodb connection, and vb.net 2008 as front end. send me at [email snipped]

-1
49
Member Avatar for kipslem

Hello, Could someone please help me with this problem? I have developed a small application that calls up several powerpoint slideshows that are saved as .pps. The user interface screen has a textbox, when the user enters the file name of the powerpoint it is called up, but it opens …

Member Avatar for kipslem
0
293
Member Avatar for denmarkstan

please help me here. My code: [CODE]Partial Class Create_staff Inherits System.Web.UI.Page Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click Dim connection As SqlConnection = Nothing Try Dim img As FileUpload = CType(imgUpload, FileUpload) Dim imgByte As Byte() = Nothing If img.HasFile AndAlso Not img.PostedFile Is Nothing …

0
74
Member Avatar for sackymatt

Hi all, i have a table "Contracts", with fields CompanyNumber, MaturityDate and other fields. i have a form in vb.net, with a textbox that should check if the entered company number exist in my db, if it does it should check whether the maturity date is bigger or less than …

Member Avatar for prvnkmr194
0
376
Member Avatar for yashodhan05
Member Avatar for Momerath
0
32
Member Avatar for dougancil

I have a datagridview that has a checkbox. That checkbox will designate if a day is a "Holiday" or not. When then user clicks on my save event, I want my sub to check to see if that box is checked and appending the data to a table in my …

0
61
Member Avatar for ashwinshenoy

Hi All, I am trying to update my form once the delete button is clicked. There are several fields like Name, Date, Date of Birth and so on. Once I delete a record I want the form to automatically load with new / updated data. This form fetches data from …

Member Avatar for dxider
0
168
Member Avatar for wesley.groves

I have put together some vb.net code that creates a website and sets various properties, adds additional host headers; but I cannot get it to "check" the allow anonymous access checkbox or start the website. The anonymous user and password are set properly, but the checkbox remains unchecked to allow …

0
60
Member Avatar for arezz09

i hve create crystal report in vb.net 1 accessdatabase with password..using oledb connection when i wont to print data using crystal report, it will ask a password cz i have set database with password.. do i set password in crystal report or anywhere cz i dont know, so nexttime i …

Member Avatar for debasisdas
0
113
Member Avatar for nemzmiyaw

Good Day I want to create a security log in that start up when the computer is turn on. Im having problem on multi user once the user ID is logged in it also logged in in another computer, i dont know how to add this codes can some one …

Member Avatar for nemzmiyaw
0
162
Member Avatar for pratibhamohanty

Hi, Can anyone tell me how to send emails from a vb.net(visual studio 2005) application using System.net.mail Thanks in advance,

Member Avatar for pratibhamohanty
0
127
Member Avatar for nemzmiyaw

Good Day I want to create a security log in that start up when the computer is turn on. Im having problem on multi user once the user ID is logged in it also logged in in another computer, i dont know how to add this codes can some one …

Member Avatar for nemzmiyaw
0
118
Member Avatar for arezz09

1. i hve create school system...so when register new student i want to upload their picture in folder,not database...when upload, all student picture will be in same folder like student picture.. 2. i'm using listview to view all student information,so i want picture display in listview column..

Member Avatar for codeorder
0
163
Member Avatar for Jake.20

Guys i need help in histogram report.. My histogram report didn't show the data in the database.

Member Avatar for sandeepparekh9
0
73
Member Avatar for bhagawatshinde

i have a RichTextBox in my application and there may be many and many lines, i dont want to use any Scrollbar in RichTextBox. i want RTB to change its height and width itself according to the lines in RTB. im also using Pictures in the RichTextBox. Can anybody help …

Member Avatar for bhagawatshinde
0
117
Member Avatar for msqueen082

I solved my problem with the issue of Julian date, but i have another small issue.. I have to use dates in calculation ... like a client types a appointment datat in textbox and in another textbox it shows that the date has to be between two days. [B](appointment written …

Member Avatar for msqueen082
0
187
Member Avatar for Mike Bishop

i have the following code which works fine where there is data in the table. when the table is empty and there is no data in the @Ctotal varible i get my error MessageBox.Show("Unable to get Claim Total") is there anyway i can ignore this if there isn't a value …

Member Avatar for Unhnd_Exception
0
88
Member Avatar for darkelflemurian

Hello everyone, I have the following situation: The computer i use to develop sometimes is getting very slow and the ram memory goes to 100%. I want to know if using visual basic 6, or visual basic net, or visual basic script, there is a way to clean ram memory, …

Member Avatar for jlego
0
112
Member Avatar for wesley.groves

I have put together some vb.net code that creates a website and sets various properties, adds additional host headers; but I cannot get it to "check" the allow anonymous access checkbox or start the website. The anonymous user and password are set properly, but the checkbox remains unchecked to allow …

0
49
Member Avatar for atticusr5

I am not sure what I have done wrong. Essentially I am searching an array for colors. If there is no input, on button click you get an error. If the color does not exist you get an error. If it exists then it tells you. The latter two events …

Member Avatar for abhay1234
0
69
Member Avatar for nigelv1

Please help. Im having trouble displaying the checkbox's text in the listview form. It only display's the text of the 1st checkbox. I cant seem to display the remaining checkbox.text. It only display's the 1st checkbox in my ListView form. I have another form for ListView.vb Here is the code: …

Member Avatar for codeorder
0
105
Member Avatar for bluem1

Team - This has to be way more simple that I am getting. Been searching google for hours with no luck. Simply stated, I am trying to delete a datalist row which is bound to a mssql database. Simple right! I am missing where it is putting the key or …

Member Avatar for pinkygirl
0
958
Member Avatar for eldaerys

Iam doing a sample project for school and i CHOSE Tic Tac toe. Could anyone show me a sample program of it becuase i have no idea where to start. And do I use a picture box to draw the lines?

Member Avatar for Luc001
0
99
Member Avatar for Mike Bishop

i have a very simple S/P called ClaimTotal [CODE]CREATE PROCEDURE ClaimTotal @Result varchar(50) OUTPUT as select sum(total) as Ctotal from claim[/CODE] i am struggling to get the Ctotal saved into the @result so that i can then pull this into my .net program. if anyone could help that would be …

Member Avatar for Mike Bishop
0
112
Member Avatar for bobnino

vb2008 Collections Write a program to temporarily store and process student marks for a given test. Program Specification This system is designed to temporarily store test marks for a group of students and then produce details including: the average mark for the group the top mark for the group the …

Member Avatar for debasisdas
0
122
Member Avatar for dariomolnar

Hi, I am building a really complex program, and the only thing that i cannot make work right is the menu. The menu is basicaly 13 textboxes: -txtMenu1 -txtMenu2 _txtMenu3 ..... .... There is also a cursor next to the menu with up/down end enter button. When I click the …

Member Avatar for codeorder
0
479
Member Avatar for bobnino

must be in vb2008 Classes program allows the user to create their own environment to work in. They will be allowed to tailor the environment to change the back colour of the form and other objects and the text colour of their text objects. Problem Specification Prompt the user to …

0
47
Member Avatar for bobnino

vb code Integer Array Calculations problem concerns some simple array handling. Problem specification Given an array of integers, you have to perform some integer calculations, and display some information concerning their number, their sum and average values, their minimum and maximum values, and the number of even and odd integers. …

0
59
Member Avatar for samehere

how can i exit from the form after clicking the "yes" button of a messageBox??

Member Avatar for samehere
0
185
Member Avatar for bobnino

hi trying to write a vb programme to populate an integer array (19) then show error messege if user does not enter numeric value and stop input if zero is read as integer or 20 arrays have been loaded , then list the array unsorted and list array in bubble …

0
53
Member Avatar for salmap

Hi, I have a grid view(drg).The first column diplays the value of checkbox(true or false). I am counting the number of "True" values and display it in textbox txtc when I click on it. Private Sub txtc_Click(ByVal sender As Object, ByVal args As System.EventArgs) ' ** Place Event Handling Code …

Member Avatar for codeorder
0
226
Member Avatar for msqueen082

hi again.. Could sure use some help in another code I am currently working on. Would really appreciate the help. Today i am trying to convert a date i put in a textbox(txtJulian) to a normal date like 02/05/2011(or any other conversion depending what is imputed in the textbox). I …

Member Avatar for codeorder
0
513
Member Avatar for bklynman01

Hello, Does anyone know if there is a way to keep a desktop icon after a new version of software is installed? I'm using VS .net 2008 and after publishing a new version of software, the program updates the first time it is opened. However, after the install of the …

Member Avatar for bklynman01
0
93

The End.