20,899 Topics

Member Avatar for
Member Avatar for archelle

Anyone here who knows how to convert system month,Day,Hour,Minutes,Seconds each into number format like month=12 (If December) Day=30 Hour=12 (In 24 hour format) Minutes=55 Seconds=45 Thanks for help in advance...

Member Avatar for archelle
0
135
Member Avatar for Karpati

Hy Guys! PLease Help Me on the following problem. How can i do the next thing? I want to know what's the data in a textfile's line. If i'v got the line number. For example: [COLOR="Green"]variable line_number = 5 In the c:\test.txt on the 5th line the data is "Washington" …

Member Avatar for Reverend Jim
0
301
Member Avatar for aquamarine_kath

I am writing a program that manipulates text file using console application. What I want to do is to delete 1 specific line based on the ID entered by the user. For example: DR-01|Coke|25.80 DR-02|Sprite|25.80 DR-03|Sarsi|25.80 DR-04|Coke|25.80 When the user entered DR-02, the result would be like this: DR-01|Coke|25.80 DR-03|Sarsi|25.80 …

Member Avatar for aquamarine_kath
0
692
Member Avatar for Hiddenshadows57

First, I did search the forum and I found a few topics about this but none of the information seemed to be applicable to what I'm doing. Anyways. What I'm working on now is a basic telephone directory. a Directory text file contains the names of all of the subdirectories. …

Member Avatar for thines01
0
147
Member Avatar for lbgladson

How do I get the console from closing immediatley upon opening in a Console Application program? I have all of the code written but when I run the program it pops up the console window and then immediatley exits so I am unable to read what is in the window …

Member Avatar for Begginnerdev
0
252
Member Avatar for VIPER5646

Hi all In the following Sub I'm sending an Attachment when the email has been sent I would like to delete the attachment but I get an system.IO.IOException Error. the file I'm trying to delete is being used by another process. How can I detect if the process has finished. …

Member Avatar for VIPER5646
0
655
Member Avatar for Jimboo

Hi, I have a problem creating correct extra methods for a piece of fixed code. I should write 3 methods I assume for this code. Fixed code: [CODE]Module NumberArrays Sub Main() Dim count As Integer = 0 Dim values(1) As Integer Do PrintValues(values, count) ' Console.Write("Value ? : ") Dim …

0
45
Member Avatar for slowly_but_sure

[B]I was trying to create an application implementing the Douglas Peucker algorithm in VB.NET. I already finished coding the program and tried to compile it but when I try to draw on the form, it is not working. My source code is below, I just want to ask if there …

Member Avatar for slowly_but_sure
0
703
Member Avatar for AquaNut

Hi Y'all, I have a RTB which I import with a set of 7 or 9 didit numbers, 7 for Staff and 9 for Students. e.g. Staff numbers 0628189 0628191 0629991 0629850 0804930 and depending on what is selected in a list box ('Student' or 'Staff') will generate a string …

Member Avatar for AquaNut
0
484
Member Avatar for sidyusuf

hi frnds , i have a combobox containing countries name and their codes like INDIA:CNT001 then i have a textbox that store the code of country i.e CNT001(fetching from database) Now i want to match that code with the combobox code so that the combobox is set to that item …

Member Avatar for NewUserVB.Net
0
604
Member Avatar for NewUserVB.Net

Goodmorning everybody, here i am wanting to make a Login System that uses Usercontrol. I have a label left and right i have a panel. in this panel i want to add usercontrol for all users that has one account in the application. this are some examples (Windos XP Login) …

Member Avatar for codeorder
0
175
Member Avatar for NewUserVB.Net

Good Day everybody, I am wanting to make a program in VB.NET that has many files.doc in a specific folder. This program has on top a textbox(txtSearch) with a button(btnSearch) under that this has two listbox(lstOption, lstResult), that are floating a left, one richtextbox(rtbDoc) that is floating a right. I …

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

We're having a problem on computing the grade average [CODE]Dim hwTotal, swTotal, quizzes, project, midTerm, totalAverage, Finals, Attendance As Double[/CODE] [CODE]hwTotal = Val(hw1.Text) + Val(hw2.Text) + Val(hw3.Text) + Val(hw4.Text) + Val(hw5.Text) / 50 * 100 * 0.1 swTotal = Val(sw1.Text) + Val(sw2.Text) + Val(sw3.Text) + Val(hw4.Text) + Val(hw5.Text) / 50 …

Member Avatar for codeorder
0
155
Member Avatar for deeptiarora

Hi can we create an exe file in vb.net and used it anywhere we want without using any .net framework. deepti

Member Avatar for studsSW
0
453
Member Avatar for AquaNut

Hi Coders, I have a minor problem that I would like to try and resolve. I am pasting data from an Excel spreadsheet and and adding a 0 to the start of each 9 digit string it's it's missing (thanks to the help of Rev Jim. This works great if …

Member Avatar for AquaNut
0
208
Member Avatar for Jack Eagles1

Hey Guys, I've been working on some autocomplete abilities for a webbrowser I'm building, rather like in IE or Firefox. This is what I mean: [url]http://content.screencast.com/users/JackEagles1/folders/Snagit/media/509d42db-a0bd-4077-81c2-2783d0466e04/12.25.2011-21.18.04.png[/url] I have absolutely everything working - adding search providers from webpages, getting the search suggestions as an XML file from whatever provider may be …

Member Avatar for NewUserVB.Net
0
180
Member Avatar for gtsrit

data not save on the strGno, is there is another way to do this? Dim connetionString As String Dim strSQL As String Dim conn As SqlConnection Dim ds As New DataSet Dim strGNo As New TextBox strSQL = " Select * From DocNos Where DocId='" & Trim(Doctype) & "' " …

0
48
Member Avatar for beforetheyknew

Hi guys, okay 2 questions, please see the below code. 1.) Why in the code below, does my incrementing ScoreInt not work ? need a fresh pair of eyes. 2.) The time in my form when run only displays the time the application was initially run, but does not update... …

Member Avatar for codeorder
0
131
Member Avatar for archelle

Hello.. i have a table named Tuition with fields: TuitionNum,TotalFee,Fine,levelNum,SchoolYear,DateCreated,Removed,DateLastModified,UserID I inserted record successfully but when i'm trying to display TotalFee using this code, [CODE] myConnString = "server=localhost;" _ & "user id=root;" _ & "password=fiancee;" _ & "database=anneclaire" SQL = "SELECT TotalFee FROM Tuition WHERE levelNum='" & TextBox1.Text & "' …

Member Avatar for adam_k
0
211
Member Avatar for nomorelogic

so i have a working ish program now, when i add the record it saves and returns the save message box as it should and is viewable in the database where it saves to, but it is not viewable in the text boxes when looking back at the form until …

Member Avatar for nomorelogic
0
197
Member Avatar for Raouldukey

I am writing a program to control other applications that are running. Essentially an automation UI program. I am using a combination of AutoIt and basic windows API calls (sendcommand). I am able to do almost everything that I need (read/write textboxes, labels, click buttons/checkboxes/radiobuttons) However, I cannot seem to …

0
120
Member Avatar for markdean.expres

Guys I have a program that copies files from folder to folder using IO namespace. The problem is, when I am copying a large file, the program stops responding until the file gets completely copied. I have heard about multithreading and have been reading about it recently and I wonder …

Member Avatar for markdean.expres
0
108
Member Avatar for gplkrsna

Hi All, Hi All, I'm trying to execute a vbscript programme, on execution I'm getting following error, can you please help me in coming out of the problem. "Wrong number of arguments or invalid property assignment: wsh" CODE snippet: [CODE]Set xl=createobject("excel.application") Set wb=xl.workbooks.open(testset) xl.visible=true Set wsh=wb.WorkSheets(1) <------- ERROR is seen …

Member Avatar for gplkrsna
0
102
Member Avatar for mirzamujib

Hi, I made one client-server chat application using vb.net. I want to know how can i change the form/icon color when a client sends a message and vice versa. for eg: like in yahoo messenger or msn messenger,etc, How i user knows when he receives an message. i hope it …

Member Avatar for M.Waqas Aslam
0
188
Member Avatar for kurakar

I am newbie in VB.Net.. Please help me in this how can we view the selected row's data from datagrid in textboxes in vb.net 2003?

Member Avatar for M.Waqas Aslam
0
1K
Member Avatar for ajkva

I am creating a small application using vb.net 2008 and sql server.I want to create a search form .When i click in the SearchToolStripButton in all forms the 'Search' form will be loaded with the data from the header table into a grid.How to write code for the following 1)When …

Member Avatar for M.Waqas Aslam
0
136
Member Avatar for shay_inter

hi, is someone can give me a code example of insert data from datagrid to sql table? thank's, shay.

Member Avatar for shay_inter
0
99
Member Avatar for fabiocrj

Hi all, I'm new to vb.net and Sql server... So it may be a newbie question, but i've searched many places and did't find the answer.. so, here i go: I've just installed sql server, and i want to databind some textboxes in a form... but i dont really know …

Member Avatar for fabiocrj
0
279
Member Avatar for shuhana84

Hi, I got this problem in my program when trying to execute stor procedure and xml file.. below is my code and script : Please help. code: Public Overloads Function ExecuteNonQuery(ByVal connection As IDbConnection, ByVal commandType As CommandType, ByVal commandText As String, ByVal ParamArray commandParameters() As IDbDataParameter) As Integer Try …

0
73
Member Avatar for Boyet728

Hello everyone, First of all I would like to thank everyone for all their efforts in helping us newbies in solving our problems when it comes to coding. It has been a while since I have seeked some help from this forum or any other for that matter. I stopped …

0
67
Member Avatar for SimpleMan78

I've used SQL authentication and windows authentication in my connection strings to SQL server just fine. I've got a login form that the user has to put their username/password in and it verifies to AD to ensure that is who it is and then logs in. Currently it is set …

Member Avatar for SimpleMan78
0
123
Member Avatar for adnysam
Member Avatar for shivya jain

:)Hello Experts, I have created an application in vb.net,it's working properly and now i want to design my own website using vb.net,plz help me. i have worked in vb.net in windows application. thanks in advance:)

Member Avatar for hericles
-1
107
Member Avatar for gerchi152

Hello! can you give me some ideas on how I can make the field values to field names?

Member Avatar for adam_k
0
201
Member Avatar for ohyeah

I've got a .txt file with lots of passwords in, in the following format: (passwords must be between 12-15 characters) password1 password2 password3 i want to use a text box that allows the user to enter a password & upon the correct password being entered they are allowed to proceed …

Member Avatar for NewUserVB.Net
0
188
Member Avatar for VB 2012

okay hi people and merry Christmas everyone :) so im using krypton free toolkit :D and we all know the speed is not good so if anybody have suggestions please reply ive done a little thinking of myself , i should try and code in diffrent ways using more apps …

Member Avatar for VB 2012
0
66
Member Avatar for cheekangteh

hi all, i face check txt file location problem in window mobile 6 professional. code testing for window form [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim FILE_NAME As String = "c:\Users\Chee Kang\Desktop\New folder (2)\testFile.txt" If System.IO.File.Exists(FILE_NAME) = True Then MessageBox.Show("File already Exist") Else …

0
78
Member Avatar for archelle

Hello people... I got a problem here.. I am using a vb 2005 and mySql as my database. I already created my project but it seems like when i edit my program.. it doesnt apply. What might be the problem? Is the vb.net application, MySql or the OS? Thanks in …

Member Avatar for Pgmer
0
219
Member Avatar for zoro20002

what is the error in the bleow: 'Public Event OnFilterAdded()' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event. [CODE]Imports System Imports System.Collections Imports System.Configuration Imports System.Data Imports System.Web Imports System.Web.Security Imports System.Web.UI Imports System.Web.UI.HtmlControls Imports System.Web.UI.WebControls Imports System.Web.UI.WebControls.WebParts Imports Tawammar.CustomControls Partial Class …

Member Avatar for GeekByChoiCe
0
240
Member Avatar for deceivingrakesh

Guys i need help regarding this issue , Im using ms-acess 2007 as database and this issue is ridiculous !! i run the FORM and enter some details ! and now i click display and display the data that was entered! this thing happens while im DEBUGGING !! sometimes when …

Member Avatar for adam_k
0
92
Member Avatar for mpooley

I have a datatable - 1 of the columns is a double so i read it like this Dim num As Double = Drow(1) I get an error about late binding here (with option strict on) I have tried converting to a double eg Dim num As Double = convert.toDouble(Drow(1)) …

Member Avatar for mpooley
0
87
Member Avatar for cheekangteh

I'm looking for an "auto-SMS VB.Net programme module" for window mobile 6.0 professional. my application will operate like below: 1. User required pair his hp bluetooth device with his car bluetooth device for first. 2. If the accident happened the car sensor will automatic trigger the car bluetooth device to …

0
131
Member Avatar for mrbungle

Need help. I have a combobox (cmbCharge1) that gets populated by a text file. Inside the combobox, the data inside is laid out like this: 41-1A-1303: EXPIRED REGISTRATION Now, autocomplete works fine, if I start typing in the statute (like the 41 part). But what I need is for it …

Member Avatar for malhar1122
1
1K
Member Avatar for Tobyjug2222

Hello, I'm Rather new to coding, and It seems like I skipped some of the basics, and jumped in the deep end. I'm having a couple of problems, as I have an ordinary text file called "Orders", and this file stores Orders, placed by users of my program. The Users …

Member Avatar for Reverend Jim
0
215
Member Avatar for paradox814

Hello all, I'm trying to create a password change form for my company's vendors. There are a couple of scenarios I could encounter doing this: 1 - User enters invalid current password 2 - New passwords do not match 3 - User's account is locked 4 - User cannot authenticate …

Member Avatar for Reverend Jim
0
155
Member Avatar for VB 2012

My Program changes it's My.settings to default , it looses the Location Where it is saved This only happens when i move to a new area But if i take a new builded exe and put it in same Dir of old exe then It Remembers old Settings Anybody wanna …

Member Avatar for VB 2012
0
155
Member Avatar for aaronoafc

Hi, I'm a programming beginner and currently learning VB.net as a starting language. I have just been making a little test console application using visual studio asking about favourite football teams, please could someone tell me what I'm doing wrong? Below is the code, now I want the user to …

Member Avatar for Begginnerdev
0
131
Member Avatar for Begginnerdev

I have recently written a VB.NET application and I am stuck on the deployment. I can't use the ClickOnce, because the program has to be installed on the machine under program files, therefore, I use InnoSetup. My problem is that the application requires sqlclient and .net 4.0 to be installed, …

Member Avatar for Begginnerdev
0
814
Member Avatar for VB 2012

Is it possible to make a vb.net application faster Through code like using characters that the Computer already understands Like coding in certain areas through y x (math) etc. Will it be More faster since the compiler don't have to really do much work But its still must be VB.NET …

Member Avatar for VB 2012
0
3K
Member Avatar for AquaNut

Hi All, I have a 3 richtext boxs where I add each line together and output to a textbox, all is working great. But the problem I am seeing is that I paste the contents from a spreadsheet which strips off the leading 0 (zero) from a 9 digit number …

Member Avatar for Reverend Jim
0
213

The End.