20,284 Topics
| |
Hello, I am reading a simple CSV text file into an array and trying to make a table that looks like: Col 1 Col 2 Col 3 Total Row 1 …….. …….. ……… …….. Row2 …….. …….. ……… …….. Total …….. …….. ……… …….. The problem is I cannot figure … | |
I am experiencing a similar problem everytime I stay too long in coding. here is the problem: When I EDIT a code, or move a position of a button or textbox or anything, or any other changes is done, and i debug it, the changes I made won't appear. (the … | |
hi I have successfuly created an access database with vb.net accept it is not password protected. Can someone help me to password protect this DB. Here is the code I use. Thank you [CODE] Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click Try Dim cat As New ADOX.Catalog … | |
I followed the suggestion from [ICODE]http://www.daniweb.com/software-development/vbnet/threads/388317[/ICODE] this thread. however i face a bit of a problem in my case i have a combobox at row(i).cells(0) the code seems to take the last new rows where there's not record and shows error the debug error msg is [ICODE]A first chance exception … | |
Hi all! I am trying to connect to a remote MySQL database in a VB.NET application. This database is located on my LAN at the address 192.168.1.2. I am using MySQL Connector/ODBC 3.51 (MyODBC 3.51) for the connection. The connection string that I am using is the following- Driver={MySQL ODBC … | |
Good morning, I'm having some difficulties fixing a problem, I need to allow permissions for a user to change the wallpaper but i can't seem to get it to work, i hope you can help me. :) Here's the code : [CODE] Dim RespostaMess As MsgBoxResult = MsgBox("Tem a certeza … | |
Hi, I have written a program which reads the text from the text file cleans it for some specific letters or phrases and then saves it in another text file. I am having a problem in rewriting the processed or cleaned data (after it has removed some phrases and characters)onto … | |
I create one web application in vb.net then tell me can i run this web application on another computer where visual-studio not installed. please reply as soon as possible..... | |
How to display data in datagridview starting from the record which we pass at runtime? In C# For example, there is 10 rows in a table. When i run the app i'll pass 5th record's value so it should show all data of table starting from 5th row. | |
Guys I have this kind of problem where in I have a listbox and two buttons. Each of my button is labeled UP and DOWN. When I press UP, the current item in my listbox will be moved one level (or index) up and when I press DOWN button the … | |
Hi All, I'm stuck regarding to grab connection from app.config file...i'm surf many type and kind to do it..but still can',t.....i need to connect into two database (oracle n firebird).....how to do this..hope u all can help me....tq | |
hey Dear members i want to learn asp.net but i am little confuse which is best for beginner any easy is it VB or C# | |
hey everyone in daniweb. i have a problem here. let say i have 2 arrays one is a and second is b. how do i compare each of them and insert to new array c? i do it like this [CODE] Dim a As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" Dim i As … | |
Hello people in daniweb.... i was stucked in doing my project here.. i nid to create a program that assigns a student to the available section. So.. i want to populate my data in datagridview using mySql as database.. while populating these data.. the datagridview should create a new checkbox … | |
Hi, In my project there is a need to take screenshot and save it to word file automatically. Existing System: [LIST] [*]Open the website where log in exists for different resources. [*]Login for every resource and take a screen shot of their page and paste it to word file. Save … | |
hi im using the chart to make a graph the graph is generated through user input i was wondering about a couple of things 1. how to change the line thickness for an individual generated line or all of the lines 2. how to change the colour of an individual … | |
I have a field in my tables where the guidance counselor would have to type in Notes about the student. For example, Alex is in Grade 1 and he have an offense wherein he pushed his classmate, that note will be saved in the database. And then when he turned … | |
Hi.... I am trying to connect sql server with vb.net in Visual Studio 2008 with foll. code.... but it is having problem....what is the problem? Please tell me.... 1. I created "publication" databse. In table i took 2 columns...fname and lname and fill the records... 2. I took DataGridView onto … | |
how to reset the existing password(topsecret)with a new password by using the "replace" keyword in the below code shown [CODE] Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click System.Diagnostics.Process.Start("chrome.exe") … | |
hi.. guys.. just joined daniweb.. and this is my first post this one's very easy... i suffered a lot to find this simple program.. i hope you guys like it.. here is a quick preview of it...[URL="http://lh4.ggpht.com/_blnOia1d0Pw/TQs3BhaCClI/AAAAAAAACco/3vPqJIlyG-M/gmail%20client.JPG"]http://lh4.ggpht.com/_blnOia1d0Pw/TQs3BhaCClI/AAAAAAAACco/3vPqJIlyG-M/gmail%20client.JPG[/URL] 1. First Of All Add the Following Line to your code: [CODE]Imports System.Net.Mail[/CODE] … | |
Hi everyone, I am trying to make a program for my boyfriend to use at his business to keep track of cover charges. I am so lost as to what loop structure to put in and where to put it. If someone could take a look and please let me … | |
Need help, I need to know on how can VB.net validates the format of each cell on the excel file that it opens, for example, the first row should only be numeric, or cannot be null, is it possible that vb.net can check it before it inserts it in the … | |
Hi, I'm doing an app that adds info to a MySQL BD [CODE] Imports MySql.Data.MySqlClient Public Class curso_add Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click OpenFileDialog1.Filter = "Ficheiros de Imagem |*.jpg;*.bmp;*.png;*.gif" OpenFileDialog1.FilterIndex = "2" OpenFileDialog1.Title = "Escolha uma imagem..." OpenFileDialog1.InitialDirectory = "C:\" OpenFileDialog1.ShowDialog() End Sub … | |
Im trying to put current system time in YYMMDD format but having problem with day function. is Day() which returned day of month in VB6 not available in VB.Net? If I want to get the current day of month, how would I do that? [CODE] Dim dt As Date Dim … | |
Guys I need help. I am doing a system (project) entitled “Automatic Examination Scheduling System”. This system as it stressed in its title, aim to automate the assigning of proctors, rooms and times to subjects. So it must be triggered with only one button all at once. I have tables … | |
I am using vb.net.I'll be using a datagridview which is bound to a datasource.Normally it'll load datas in first row(row(0)) to n th row,i want to load datas only from second row.my question is how to left the first row blank.Someone please help.. | |
Hello again! So now i can save the picture in the database, now i have to retrieve it. this is my code for the saving of the picture, [CODE]Dim ms As New MemoryStream() studentpic.Image.Save(ms, studentpic.Image.RawFormat) Dim arrImage() As Byte = ms.GetBuffer ms.Close() Dim strFilename As String = lblfilePath.Text.Substring(lblfilePath.Text.LastIndexOf("\")) Dim cnn … | |
Hi I am looking to create a program to help with my running training. It would be like a diary where I could select a date using either a DateTimePicker or MonthCalendar and then enter text into the textbox based on that date. Can you please help me with coding … | |
Ok so I am using the default WebApplication in Visual Web Developer 2010, and applied Paladine's example of Simple ASP.Net Login page. And it is working, but only to some extent. I am sure I am just missing something INCREDIBLY simple, but after looking at this code for 2 days, … | |
Public Sub getconcom_name() ledcmbsrcitem.Items.Clear() Try obcon.cmd.CommandText = "select con_id,f_name + ' ' + m_name + ' ' + l_name as 'name' from contact where type='company'" obcon.con.Open() Dim dr As SqlDataReader dr = obcon.cmd.ExecuteReader Dim oDataSet As New DataSet() While (dr.Read) ' MsgBox(dr.Item(0)) ledcmbsrcitem.Items.Add(dr.Item(1)) End While Catch ex As Exception MsgBox(ex.Message) … |
The End.