19,728 Topics

Member Avatar for
Member Avatar for Manchala

Hi everyone i am new in visual basic. net programming. i am facing problem that when i made a file in vb.net and run it on same computer than it runs fine, but when i copy it to another computer where vb.net or .net framework is not installed then it …

Member Avatar for jlego
0
995
Member Avatar for BleepyE

If I create a save a text file, how do I get my application to save it into the end users directory? Ive current got this which saves into my user area. [CODE]file = My.Computer.FileSystem.OpenTextFileWriter("C:\Users\#####\Fruit\Fruit.txt", False)[/CODE] Thanks

Member Avatar for BleepyE
0
155
Member Avatar for a1a4a

Hello all I am on a windows application form where people can log in and add status ... and it's all online via sql database. What i am looking for is a sql query that Insert into the table the current time,so i can print on the application the time …

Member Avatar for jlego
0
116
Member Avatar for jamesl22

Hi, In vb.net, how would you search a folder and get it to make a list of the files in the directory and what sub-folders the files are in are in? Then, put the results in a multiline textbox. The list would look something like if we were searching in …

Member Avatar for Unhnd_Exception
0
159
Member Avatar for a1a4a

Hello all I am on a windows application form where people can log in and add status ... and it's all online via sql database. What i am looking for is a sql query that Insert into the table the current time,so i can print on the application the time …

Member Avatar for Unhnd_Exception
0
156
Member Avatar for katmai539

Hello, i'm working on a xml-style format protocol for question-and-answer applications. The concept is simple: there are just a few types answers possible (just like in real life): open answers which are entered as strings, numeric answers as integers, multiple choice answers and ratings (which are just numeric integers, really, …

0
220
Member Avatar for laks_samy

Hi I am working in vs 2005 (vb.net), i am using france culture(fr-FR) in my application, so i need to convert the france currency amount (23,00 €) to decimal (23.00). any one help me.

Member Avatar for jlego
0
84
Member Avatar for tendaimare

Every time i try to run this codei get the following error: "'System.Data.DataRow.Protected Friend Sub New(builder As System.Data.DataRowBuilder)' is not accessible in this context because it is 'Protected Friend'. " this is my first time to insert using oledb and the With method. [CODE] Imports System.Data.OleDb Public Class frmAddd Dim …

Member Avatar for Mariandi
0
229
Member Avatar for Spacenoobie

First of Hi peeps .... I have a small prob that I want to run by anyone who could help me simplify this code, Well I'm trying to change the string value (123A456B789) into a numerical value like this '123' 'A=0' '456' 'B=1' '789', but for the same reason as …

Member Avatar for GeekByChoiCe
0
763
Member Avatar for sandeepparekh9

hi i am developing an application of which i want to create a DEMO version for 7 days.. i tried to make the demo stop in vb.net by checking for the current date and if its past 7 days then the app. wont start. but the problem is is the …

Member Avatar for sandeepparekh9
0
115
Member Avatar for VBRocks
Member Avatar for kvprajapati
0
47
Member Avatar for VBRocks

Hello, here is what I'm trying to accomplish. I have a listbox with web site links on them. How do I make a webrequest visit them all at once and make it finish load the page?

0
32
Member Avatar for Dheerajpro
Member Avatar for Lee21

I want to use a progressbar to show that I'm retrieving the records from the database so that the user wont be confuse if the program is still running or not. Here's my code. Please help me.. [CODE]Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load cs …

Member Avatar for Lee21
0
2K
Member Avatar for SoulReaper1680

Hey, I was trying to make a program which displays two chars A and B on the screen. Using the WASD keys, it lets you move the A char around and using the arrow keys it lets you move the B char around. I wrote the following: [CODE]Module Module1 Dim …

Member Avatar for SoulReaper1680
0
144
Member Avatar for CharliePrynn

I have this code. I need to loop through it, until button 2 is pressed. I also want to count how many times its looped and show how many times in a label. [code]Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.Navigate("www.WEBSITEHERE.COM") End …

Member Avatar for Unhnd_Exception
0
189
Member Avatar for IrshadIkhlas

Hi, Can anybody help me in getting the time differnece between 2 dates in time format HH:MM as example need time differnec between 23Dec 20:35 and 24DEC 3:10. I am able to get the difference for same date but failed to calculate for 2 dates. Thanks

Member Avatar for Unhnd_Exception
0
417
Member Avatar for BleepyE

If have this code which writes the following into a text file. [CODE]sWriter.WriteLine("a" & " " & A.Text)[/CODE] This is the result [QUOTE]a 45[/QUOTE] - Id like the text in A.text to be in speech marks, so the final result is something like his [QUOTE]a "45"[/QUOTE] But I cant seem …

Member Avatar for BleepyE
0
112
Member Avatar for BleepyE

I have a text file like this; Bananas=60 Tomatoes=34 Rasberries=102 Apples=23 If I have a form with textboxes or numericalupdowns is there anyway I could change the number of fruit and veg in the text file? Could it be possible to somehow open the textfile into the form then, edit …

Member Avatar for BleepyE
0
108
Member Avatar for BleepyE

Hey need some quick help, some strange error I havent seen before even though ive been using the code for some time. [CODE]Imports System.IO Public Class Form1 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Me.Close() End Sub Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e …

Member Avatar for jlego
0
121
Member Avatar for RenanLazarotto

Hey guys! I need to use quotes inside a string variable... but I don't know how. If I simply put double quotes at the start and at the end, the program interprets it as a closed interval, like if every quote is a string. What can I do? I've searched …

Member Avatar for jlego
0
265
Member Avatar for bkruep

I am starting a butterfly program and having an issue and really just barely have it started and would like to get some help\feedback on how to do this. The following is the instructions and I will make a second post on what code I have so far... The butterfly …

Member Avatar for Unhnd_Exception
0
962
Member Avatar for jlego

i have a few habbits in vb .. 1) ME before anything local in a form, example: me.label1, me.textbox1 and so on. 2) string.empty or in vb6 vbnullstring instead of = "" 3) put call infront of a function call... call pull_data instead of pull_data 3) instead of using if …

0
67
Member Avatar for like_bilal02

Dear Freinds I have a few question Regarding VB.NET 1) I have a datgridview and i want when user input the datagrid 3rd cell the 4 cell of datagrid readonly = false means user not input value in 4th cell 2)i want a autonumber generate in textbox is alphanumeric like …

Member Avatar for ShahanDev
0
169
Member Avatar for Angrybirds

Folks,I'm currently working on a project for my final year exams.I want to use fingerprint recognition technology in my project.The two best free fingerprint recognition sdk providers that I came across were 1]verifinger which unfortunately doesnt support windows fingeprint scanner and 2]grFinger which has 0 days limitation but it's okay …

Member Avatar for sandeepparekh9
0
111
Member Avatar for ak24

Hello... I want to draw three straight lines on a form. Can you tell me if the following code is correct: [CODE]Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint Dim Line1 As System.Drawing.Graphics Dim PenLine As New System.Drawing.Pen(System.Drawing.Color.Black) Line1 = Me.CreateGraphics Line1.DrawLine(PenLine, 0, 129, 529, 129) …

Member Avatar for ak24
0
632
Member Avatar for Noorul Ariff

Friends... I'm doing INVENTORY project... front-end : vb.net back-end : Access I'm having PURCHASE, SALES tables... In sales form, i need to create CONTROLS during RUN-TIME... i.e, when we gone for shopping to a DEPARTMENT store, we buy LOT things... they will give us only one BILL... when they are …

Member Avatar for codeorder
0
566
Member Avatar for Noorul Ariff

Hi friends... My friend s doing an online project... He wants to know how many users(REGISTERED) are LOGGED-IN CURRENTLY in his site... i.e if i'm ADMINISTRATOR of this DANIWEB, i want to know the USERS CURRENTLY LOGGED-IN... I need the logic for this... Help me... Thanks in advance...

Member Avatar for Noorul Ariff
0
374
Member Avatar for tinstar

I am having a problem with the following piece of code: [CODE] For countInteger As Integer = 0 To 3 seatsSoldInteger = ticketDetail(indexInteger).seatsSoldInteger costDecimal = ticketDetail(indexInteger).costDecimal totalTicketSalesDecimal = seatsSoldInteger * costDecimal Next countInteger [/CODE] I can't get it to break out the totalTicketSalesDecimal for each countInteger

Member Avatar for jlego
0
169
Member Avatar for chirusmiles

hi frnds can i have any vb.net mini projects. if so please mail me to [b]email snipped[/b] plssssssssssssssssssssssss

Member Avatar for jlego
-2
197

The End.