20,284 Topics
| |
[CODE] Imports System.IO Public Class frmRODSelectPage Private Sub btnSelectImages_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSelectImages.Click '--------------DECLARE VARIABLES------------------------------------------------------------------------ Dim FileName As String Dim Export As String 'filename only Dim DidWork As Integer Dim InitialDirectory As String = "E:\Hasbro\CaptureImageFolder\" Dim HotFolder As String = "E:\Hasbro\CaptureHotFolder\" '--------------END VARIABLES----------------------------------------------------------------------------- '--------------EXCEPTION HANDLING------------------------------------------------------------------------ … | |
I have a groupbox with quite a few checkboxes. I want a specific textbox to have custom string per checkbox in the text box. Exemple chckBox1 chckBox2 chckBox3 chckBox4 chckBox5 chckBox6 I checked 1, 3 and 6 So my textbox will contain as text ckbox1, chkbox3, chkbox6 if i uncheck … | |
I have a method where I am making a trial period. When the date has exceded its trialperiod the program will not close. The code looks like this: [CODE] Public Sub DemoRestrict() If My.Settings.dteStartDate = Nothing Then My.Settings.dteStartDate = Now End If If My.Settings.intTime = Nothing Then My.Settings.intTime = intTime … | |
hi to all! Im having a problem with crystal report. I am doing a vb.net project. Actually its an Inventory System, I need to print a report by branch. I set the parameter field by branch id and name but it didn't work, all of the fields like product, price … | |
hi can anyone tell me how to bring the [B]WebCamCapture[/B] in visual basic 2008 .......the attached project is one i got from internet............in that [B]WebCamCapture[/B] is something which i cant find also i cant bring that into a new project | |
Hi Everyone, Can you tell me how to fix my query so I can determine if an amount entered into a textbox is < the largest number in a database table? Here is some sample data: [CODE] CategoryNumber ---------------- 10 20 30 40 50 [/CODE] If the user enters 35 … | |
please help me.. I don't know ho to make that. Thanks | |
I was wondering why are there so many methods for adding a row to a DataGridView consisting of textboxes. I have 4, if you find more let me know. Have made a WindowsFormsApp and put on it a DataGridView, with 3 standard columns to it and a button with the … | |
Hi, i have a code where I dynamically generate the columns name and bind it it datatable. now I am iterating thru loop for each column and fill the datatable. My Problem is when I fill for first column row is already added to the position(e.g 0,1). I want help … | |
Any Ideas on how to get a picture of just a certain program widow and not the entire Desktop? This is the Code I used to get a pic of the Desktop [CODE] Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Dim bounds As Rectangle Dim … | |
Hi, Im trying to click a button on [url]http://www.threatexpert.com/submit.aspx[/url] but my code does not want to fill it in. It fails are the [CODE]Form2.WebBrowser1.Document.GetElementById("txtEmail").SetAttribute("value", TextBox1.Text)[/CODE] [CODE]Form2.WebBrowser1.Document.GetElementById("File").InvokeMember("click") If Form2.WebBrowser1.Document.GetElementById("File").GetAttribute("value").ToString = vbNullString Then Form2.WebBrowser1.Document.GetElementById("File").InvokeMember("click") Form2.WebBrowser1.Document.GetElementById("txtEmail").SetAttribute("value", TextBox1.Text) Else WebBrowser1.Navigate("javascript: WebForm_DoPostBackWithOptions(btnSubmit") End If[/CODE] What is wrong with my code Cheers | |
Good day to all. How can I transfer entries from listview to disk using System.io? Help is appreciated. Thank you. :-/ | |
I want to outpout part of a richtextbox content to a textbox. Exemple (This is just part of the richboxtext1: [CODE]<meta http-equiv="refresh" content="0;url=?sid=defd7592f5b806ad8a4fa1273bd73077"> <[/CODE] This is code i used but is faulty :( : [CODE]Dim strBuild As String = Nothing strBuild = Split(Split(RichTextBox1.Text, "sid=")(1), "''>")(0) TextBox6.Text = strBuild[/CODE] I want … | |
Good day to all. I'm a VB.NET newbie. How can I search, for example ID Number, and want to highlight the listview item found in search from my first form? I'm using combobox from my second form to search. Thanks. | |
i have a problem with refreshing a datagridview. so i have an unbound datagridview that is not enabled. rows are added when a button is clicked. this works the first time, but when i click the button again, the new rows are not all displayed, only the rows that fit … | |
Does anyone know how to copy subfolders from one place to another in VB?. I have a Template folder on a network share I want to use to set up the base folder structure on newly created job folders, however, I can't seem to get any copy methods to take … | |
(I'll make this sweat and short, writting in class) Okay so I am working on a sudoku program, and am using a dataGridView for the gameboard. But I need to know how to create different boarders for the cells so that I can make up the 4 black lines that … | |
Hey! I am creating an application which will allow users to search parents names and display their childen respectively in a datagrid. I have created a form with two text boxes, a search button and a datagrid. The two text boxes are txtFName.text and txtLName.Text. On clicking btnSearch I want … | |
Is there any way that i can be able to get the ExecutenonQuery to Execute faster. Am using it to run mysql queries that have joins from diffrent tables. As I have come to notice, the user has to wait a while before the statement ExecutenonQuery can be completely executed.. … | |
Hi, I am trying to get my little program to do some calculations. So far i got 15 textboxes, named TxtPP(followed by product type),so i got TxtPPproduct1, TxtPPproduct2 etc.... At the bottom of the form i got a disabled textbox which shows the total of all the above textboxes. Now … | |
Hello I am currently attempting to write the contents of a .hrm file into a datagridview and place each piece of data into its required column. This is the code I have at the moment which is currently just extracting some data from the .hrm file and placing it in … | |
Hello there. I want to make a overlay for the whole PC. I don't really know how to explain it but you could use the example of a Dyslexic overlay (green, transparent paper for example) but I want that to cover the whole screen. Any ideas? Thanks:D | |
Hi everyone, I was wondering if it is possible to point to a textbox created in the form designer via a string variable. Basically, I'm creating a golf management system with a feature allowing a user to define their own course. Each hole has a corresponding textbox into which a … | |
im working on an attendance monitoring system and im having a hard time on saving a picture on my picture box, at the "add employee" section of my program. i want to save the path of the picture on the emphoto field of my database and the actual photo on … | |
i have code to produce a database and tables but now i am looking 4 code 2 add relationships to the tables i would have made [code] Sub Create_ALL_Tables(ByVal dbName As String) Dim sql_Area As String = "CREATE TABLE Area (Category_ID bigint IDENTITY NOT NULL," & _ "Category nvarchar(50) NULL,Area_Name … | |
Hi, I have my program all programmed but, i want to have only one button! How can i make it so if the radio button is selected it will do a certain sector of the code when the the actual button is pressed iv had a good attempt at if … | |
Hi, Please help we with the code with Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) to find the location for access database in windows7 and vista. thanks | |
guys, need help please. i have an syntax error on my update statement here is the code. myqry = "UPDATE prodInfo SET " myqry = myqry + " [itemName] = '" & txtName.Text & "'," myqry = myqry + " [comboSize] = '" & combosize.Text & "'," myqry = myqry … | |
Hi can We run VB.Net windows Application (2.0 Framework) in Linux. If possible what are the steps to follow. | |
I'm having trouble filling a ComboBox from a dataset. When the program runs, the combobox has the correct number of lines, but they all appear as System.Data.DataRowView Any ideas? [CODE] Dim tblModels As New DataSet1.modelDataTable tblModels = Me.ModelTableAdapter.GetModel Me.cmbModel.DataSource = tblModels [/CODE] |
The End.