20,285 Topics
![]() | |
Hi, I'm creating a VB .NET software that launches a batch (*.bat) script. Now i need that the batch script, after it has done it's work, gives a signal to the VB .NET software, that it has done it's work. How to do that? | |
I've been trying to work on a personal project, in which the user enters in a text string in the first text box, and when the user clicks the "encrypt" button, the SHA1 hash of the text appears in the next text box. I've googled around for some information on … | |
hi to all I have a datagridview created by drag and drop (using details), I was used standard binding navigator, the problem is there is no validation for empty text box or data types. Though there is autogenerated me.validate() by the system. So before the add button press by the … | |
Hi all im trying to get value of a constructed checkbox.checkstate value For i = 1 To 19 Dim scheckBox As String = "checkBox" & i & ".checkstate" dim int as integer = scheckBox ' Next --------------------------------------------------------------- in foxpro: ------------- int=&(scheckBox) any ideas??? thanks | |
I need to make report there in crystal report there in crystal report. Let me make it clear to you. Listen I have a table called result ok? When user creates result for Tom it saves data in the table like that - ID - Name - Subject - Oral … | |
when i click the button then an UPDATE query is fired, BUT IT GIVES The following Error: A first chance exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dll no value givem for one or more parameters | |
Hi, As there is almost no documentation for this, I would like to know hot to properly use in VB NET 2008 the keep alive socket option. Tried this: [CODE]myTcpClient.Client.SetSocketOption(SocketOptionLevel.Tcp, SocketOptionName.KeepAlive, 1)[/CODE] but then the TCP does not connect any more, and how do I know when the connection brakes … | |
Hy guys, I'm new here and I have one error... I wanna read from one *.ini file but not clasic read. Here is content of file confing.ini that I wanna read: [Config] String0=some text1 String1=some text2 String2=some text3 .... Read that I wanna get is value of String1 for example, … | |
Hello, I am a newbie with vb 2010 but some experience with vb6 My problem is relatively simple but i cant find the answer to it I have a form with a textbox and a button on it when i press the button i have code that starts a sub … | |
I have been using the code below to edit SQL database fields from the data stored in a dataset. Problem is I have to repeat this long code for each database field to be edited....I find this very tiring...IS THERE A SHORTER WAY OF EDITING SQL Database FIELDS. (Am using … | |
You know when you insert an image into BASIC it makes a new folder called "Resources" and puts the picture in it? Well, I want a file in it so I can access it. [CODE]PictureBox3.ImageLocation = "C:\Users\Kenneth Rhee\Desktop\CIB\Profiles\" + TextBox3.Text + "" + TextBox4.Text + "" + TextBox6.Text + "\" … | |
Hi, Even though there are many examples of Invoke operations, I can't find something that works for me. (I'm using VS 2008, and working in VB) Here is what i have: A main module with functions (thread 1) that starts a BeginRead for a TCPClient. When the callback function executes … | |
How do you make a glass form in VB.NET? Like the vista/win7 effect, but extended into the form. I saw a tutorial for C#, but can't find one for VB.NET | |
i am not able to use connection string anyone help me | |
I have linked my vb.net application with mysql database but i am having a problem inserting data from the vb forms into the relevant fields in the database... Any assistance will be highly appreciated! thanks:-) | |
I am working on a project based on networking. My problem is that database on server (time to time updated by clients Application) is available in shared folder sometime any client delete that database file from shared folder then project stopped working. So give me process for accomplish this problem … | |
Hello, Can someone give me an idea on how to start and control a pppoe connection using code and not using rasdial. Oh and i would also like to be able to specify the phonebook that i would like to use with full path. Thank you, Daniel | |
Hi! I am 32 years old Engineering graduate.Homemaker till now. I have learnt vb 6 and oracle, 10 years before. Now I am interested in vb.net.I am learning it on my own. Please help me to develop myself, so that I can get a job in It field.Give me some … | |
I have a datagridview which contains 4 records. I want to insert these records into access table.This access table already have records. Datagridview's columns & access table's columns are same (datatype & columnname) How can i insert these 4 records in access table??? Plz anybody help me.............. Thanks in advance... | |
I have got problem in updating the access database. THIS IS MY CODE // [code] Dim con As New OleDb.OleDbConnection Dim spl As String Dim ds As New DataSet Dim da As New OleDb.OleDbDataAdapter con.ConnectionString = "PROVIDER= Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Malai\Documents\database31.mdb" con.Open() spl = "select * from REMAINDERDETAILS" da = New OleDb.OleDbDataAdapter(spl, … | |
is there a way i can get my datatable to have multiple constraints that are attached to a unique id? an example of what i'm talking about is if i have a unique machine but it's on many lines, can i show that somehow in a datatable? the reason i'm … | |
This is a very brief overview of how to achieve an ON-THE-FLY creation of an appointment in the clients outlook calendar. This will not force the user to add it to there calendar but gives them the option to add it automated. Using the older .vcs file extension for outlook … | |
Hi, I need help. I've been looking all around and i have not found a appropriate solution for my question. Here it is. I've a database table which has the field "username" and "password" and within the "username" field, there would be users like "admin","cashiers" etc. I would like to … | |
i have developed an application in windows mobile 5 but now it has to be installed on windows mobile 6.1. what can be the changes needed for the deployment kit | |
hi there, i have a email textbox in the datagrid view, when i try to validate the datagrid view cell in the cellvalidating event, the current value is not take to the email varialbe, it is showed as null. y is that. how can i solve this. [CODE] if(e.ColumnIndex == … | |
Anyone know how to get a third party application's installation directory? | |
Hi All, I am trying to do a record search feature in my datagrid, but I can't find any reference for this. What I want to do is I can search any of the row that contain the text that type in TextBox1 by clink on Button1. Anyone can help … | |
Alright, I'm pulling hair out of my head trying to figure this out. I have Data coming in through a serial port and it consists of pretty much all numerical values except for a few begining response characters. Its a Load Cell which spits out Tension in Pounds. I'm making … | |
I think I found a bug in the combobox control. I can get the combobox.selectedvalue to be different from the value shown in the combobox. Try to run the code and see for your self how it acts. When running the form I have included a description of how to … | |
Hello guys, Can anyone tell me why do I get the error message in the code below? The code fires onPageLoad. What should I change? [CODE]Dim con As New SqlConnection con.ConnectionString = "Data Source=s01.winhost.com;Initial Catalog=DB_10078_kdn;Persist Security Info=True;User ID=xxxxx;Password=******" Dim s As String s = "SELECT * FROM Users WHERE Seller_id … | |
hi... i want to hide a column in gridview..but must be able to access the data from that column.. whenever i make the column visibility to false..i wont be able to access the data.. it works..only when the condition is true. I tried the below method also.. GridView1.Columns.Item(0).ItemStyle.Width = 0 … | |
hi there, i have a datagrid view in a form and i have a calender control in one of the cells. when i try to validate it it gives an invalidCastException.(the line is bolded, this is tha place where the error occurs) [CODE] private void dgvActions_CellValidating(object sender, DataGridViewCellValidatingEventArgs e) { … | |
![]() | I had Bind the Two Textboxes with fields Company Name and Interview Date from Database1. I want to prevent inserting the records into Database2 when the same value exists in Both Database. My problems are in enabling and disabling the insert button during record navigation and placing the below piece … |
Dear Experts, I need idea about disabling windows key from key board whether it is in windows xp or vista or windows 7. Thanks Pardeep | |
hi there, i have a combo box cell in the datagrid view and to it the data is loded from the database. w@ i want is when i select a value from the combo box cell the other cells should be filled with the data relating to the value selected. … | |
Hey, I tried to change the size of a label from 2 text boxes, but doesn't work. Here is my code: [CODE] Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click y = TextBox2.Text x = TextBox3.Text Form2.Label1.Size = New Size(y, x) End Sub[/CODE] textbox2 is width … | |
I have a simple application, a form with two datepicker( Datepicker1 is for startsearchdate, while datepicker2 is endsearchdate) to filter out any record that not in the range. The source of the record is readed from a rtf file.The record is in format as showm below. [dd/MM/yyyy] time result So … | |
hy :icon_cheesygrin: We are doing in the page load event we will read the data to the database and put on the page, and the Change button and click event, we are changing through the update the table values in the database. Will carry the edit button when he returns … | |
Hi, I have a listbox that is connected to a text file and this file is created when the program opens for the first time and then users can add data to the file as they wish. However what I am having a problem with is that how can I … | |
I have a datagridview on a form with multiple columns. Three of the columns are expression columns. One column is subtracted from the second and the result is displayed in the third. Everything works great but when I hit the save button and save to the database, all the columns … | |
I want,when i show Form2,the form1 should be displayed in background. and when i close Form2 , the form1 should be updated or strting complete new Form1. I do this but there are two tabs of Form1 in TaskBar.one is background display Form1 and another is updated.I want only one … | |
I am currently stuck in one part of my application. I have two combo boxes that i am having the users select from. The first combo box is simply bound to a datatable. that is working properly. The second one i need to populate off another datatable after sorting out … | |
I have the following code for part of an application I'm building and I need some instruction on how to store this value and carry it to the next part of the program. [CODE] Private Sub dateEntryTextbox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dateEntryTextbox.TextChanged Dim dateEntryTextBox As Date … | |
Is there a way to customformat DateTimePicker to only allow users to select M-F? Thank you Doug | |
I have found a tutorial that will teach me how to set up my first Database, but the first thing it tells me to do is right-click on the Data Connections Icon within Database Explorer and choose "Create New SQL Server Database" ... unfortunately, this option is greyed out, so … | |
hi there. i m trying to write codes for new user to fill in the form, then the new data will into my database,however, my codes doesnt work, i cant figure out what's wrong with my codes. below are my codes: [CODE]Imports System.Data.OleDb Public Class NewUser Inherits System.Web.UI.Page Protected Sub … | |
i am working on standalone application to send and receive sms, but wan to create my own sms gateway. anyone who can help!. I am using VB.NET | |
Can we stop the SelectedIndexChanged Event of combobox at runtime? bcoz when i go to last record my sencond combo is refreshed & It will show 1st Item. but i want to see related item with 1st combo.In the database records are stored with related item.but on frontend.......This is my … | |
Hi, I'm trying to take a print on a Continuous Paper through a Thermal Printer ZP 2844 using Crystal Reports 2008 along with Visual Basic .NET 2008. I've set the page size to 3.00 inches as width & 3.00 inches as height. It prints well when the contents are a … | |
k, what i'm trying to do is create a windows service to run in the background to monitor [URL="http://www.vmware.com/products/player/"]vmplayer.exe[/URL] to see if it is running or not. then if it is running, then turn on the various hardware, software, and services it needs/uses to run, and if it is not … |
The End.