19,729 Topics
| |
Hello, I have a question. How can i determine if an email address is in the correct format. I use the System.Net.Mail.MailMessage to send my messages. I am getting my To email addresses from the database but when the address is not in the correct email format the program stops … | |
Hey! I'm working on this solution that wants me to code an application that displays the highest score earned on the midterm and then the highest score on the final exam. This is waht I have so far but it is not working... Option Explicit On Option Strict On Public … | |
| Hi, i have a problem where i try to dumpbin.exe /exports one of my dll. i could not get the functions that i have built in. i have coded 2 type of languages and compile them into dll. for example: .net Public Class Class1 Public Function apaitu() As String Return … |
Here is my code: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load InitializeComponent() Dim str As New StreamReader("C:\projects\servers.txt") Dim server As String = str.ReadToEnd().ToString() str.Close() Dim thisconnection As New SqlConnection("server=" & server & ";integrated security=True;database=Deduping") Dim thisAdapter As New SqlDataAdapter() Dim cmdthisAdapter As New SqlCommand("SELECT ProjectNumber, … | |
hi, i'm trying to make a photobox application in which it can capture a photo and decorate it like putting a frame and stamps in the photo. how do i make the application so it can put photo frames and stamps in the captured photo? thx in advance... | |
hi,im doin a mobile banking system and rite now, i have 2 forms in d 1st form.. ive created fields for name,account number and amount while d other form is where it is supposed to display the transaction number. my question is, i only can make this program work successfully … | |
Ok i have this code to retreive data from a Table "Calendar" and the feild within the table are Id,Day ,Month and Year. When i press the button to run this code and i get the error message "The parameterized query '(@Day varchar(8000),@Month varchar(8000),@Year varchar(8000))Sel' expects the parameter '@Day', which … | |
I have a form admission and a another form attendance. When i click on save button of the admission form the id which is contained in that form should be added to the combo box on the attendance form. eg. say if i am saving the details of ID 4..When … | |
Hi guys , i want to fill a textbox with a data from my mysql database and i dont know how to do it , i already searched without a result , if someone can help me i would appreciate it . | |
how to store image capturing form webcam in database? pliz tell me all the steps . | |
I have this error pliz help me out. "The ConnectionString property has not been initialized." | |
I am working on a vb app and am getting this error when calling a form (frmCaseList) from another form(LoginForm). the frmCaseList wasat one time in a different solution where it worked fine (it was the startup form). frmCaseList is also inside a namespace. If I commentout the [icode].show()[/icode] line … | |
Hi, In vb.net2008 if we want to disable/enable the groupbox as per condition.Then how its possible when we used save button.how its insert into database.following is the code: [code=vb.net] Imports System.Data.OleDb Public Class addcust Dim da As OleDbDataAdapter Dim ds As DataSet Dim cmd As OleDbCommand Dim cmd1 As OleDbCommand … | |
hi, i'm using VS2008 and used the database wizard to make sure my database table and dataset datatable match. I used following code to transfer data from my windows form to my dataset then database. I keep getting an error saying "Invalid Object name 'Housing'" and I cant find the … | |
the code doesnt retrieve any data from the database datagridview1 always remains blank [code] Dim oledbcom As New OleDb.OleDbCommand oledbcom.CommandText = "Select * from customer where company like '*?*'" oledbcom.Connection = oledbcon oledbcom.Parameters.Add("?", OleDb.OleDbType.VarChar) Dim company As String = txtSearch.Text.Trim oledbcom.Parameters(0).Value = company.ToString Dim da As New OleDb.OleDbDataAdapter(oledbcom) Dim dt … | |
Hi, I',\m already success to display value from mdb database into crystal report.....i got some problem that is ... how to display item with own format into crystal report..The situation is..in my database the field is like this = EPS0000000 with autonumber function. But when display in crsytal report it … | |
hi i'm tryin to get data from my windows form that is 1st stored in a dataset then stored later in a local database(.sdf). this is the code i'm trying to use on the save button clock event. [code] Dim houseType As String = me.housingType.selectedValue Dim desc As String = … | |
Greetings all, I am a beginner for VB.net. Thus, I have a problem regarding the code below; Private Sub btnSaveUpdates_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSaveUpdates.Click Dim changes As Integer Dim strYear As String Dim dataAdapter As New OleDb.OleDbDataAdapter(sqlStr, connStr) Dim commandBuilder As New OleDb.OleDbCommandBuilder(dataAdapter) strYear = … | |
Hello Everyone, Please move to the correct forum, i wasn't sure where to put this. I also posted this to MSDN, but wanted to post here as well. I am using VS 2008 Pro Edition Yesterday i was able to create projects using the Add new Data Source Wizard just … | |
[CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label2.Text = "before" Sleep(3000) Label1.Text = "after" End Sub[/CODE] When i click the button1, the above code executes. Actually i should display label2 with string "before" and after 3 seconds label1 with string "after". But this is … | |
Hi Guys: I am making my own program but lost the updated code from my latest version. I just have the executable. I try to use reflector to recoup it, but unfortunatelly I do not know why it doesnt create the code/design/resources normal files to be used. Can anyone help … | |
Hi I want to write program , part of this program show to me form , this form has multiple picture Box and when I click on picture Box ,the program will show small form that it show information by label this form takes information from Dinamic array(the user determine … | |
Hello!Nice to meet you.I am a IADCS student of NCC education.I study this course in Yangon,Myanmar.I need to write a project for 2nd year,IADCS.My project title is "Sales and Order Control System for Gold Shop".I need help concern with this assignment.I am now doing analysis and design for this system.I … | |
How to drag/drop labels ,that created at run time this is my code ... [code=vb .net] Private Sub server1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles server1.Click 'create new form Dim ser1 As New Form Dim l1 As New Label() ser1.Location = New Point(123, 28) ser1.Height = 95 ser1.Width … | |
Hi guys , i have mysql in my program , i have a button that checks if the mysql connection works , if it work a msgbox will pop up saying it works , if not it will say check your inputs .. after checking that it works and re-trying … | |
Will you please help me in my project. I need to have a graph either pie chart or bar graph. And it must connected to the database for its analysis. Is there somebody know how to do this. Thanks. | |
Good morning, I have a small VB. app in VS2008 that opens a windows folder in maximized view. I am using the following code: [CODE] Dim startInfo As New ProcessStartInfo("explorer.exe") startInfo.WindowStyle = ProcessWindowStyle.Maximized startInfo.Arguments = "C:\Program Files\123 Systems\ExcelFolders\TechTimeSheet" Process.Start(startInfo)[/CODE] When using my app with windows xp it works well. It … | |
Hi, Anybody tell me how to view the picture in picurebox from MSAccess database as im working on the project in vb.net2008 Thanx, Regards, Sandeep | |
i have 3 columns in a datagridview. i want to add values. everything is working fine but when i add values there is a blank row at the beginning. how can i remove this ? here is my code [code] dataGridView2.Rows.Clear() Dim oledbcom As New OleDb.OleDbCommand oledbcom.CommandText = "Select Code,Weight,Unit … |
The End.