20,899 Topics

Member Avatar for
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
272
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
984
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
70
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
171
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
115
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
642
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
570
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
386
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
285
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
202
Member Avatar for x2fair

I am only new in vb 2008 .I Want to populate a combo box in vb 2008 with mysql, but when i run the thing that appear is "System.__ComObject"..kindly check the errors...plz.. [code] Dim conn As ADODB.Connection Dim rs As ADODB.Recordset conn = New ADODB.Connection rs = New ADODB.Recordset With …

Member Avatar for jlego
0
208
Member Avatar for Scottyyboyy

hi all, i am a newbie to visual basic .net i have a vb.net database that has 3 textboxs that go to a listbox and also store in a database. i was wondering if i can extract the data from the listbox to excel like a csv file or something …

Member Avatar for Kylua
0
105
Member Avatar for FrodoBaggins

Hi, I have an array, and I want to split the contence into textboxes. I have written some code to do so, but it won't work and I can't figure out what's wrong with it. Could someone please help me with this [CODE] Dim bh As String Dim x As …

Member Avatar for Mariandi
0
116
Member Avatar for Maha Sh.

Hi, I'm comparing String with array of Strings and I got this error Object reference not set to an instance of an object. This is my code: [CODE]For Each Str As String In Word If Str.Contains(w1) = False Then MsgBox(w1 & _ Str.IndexOf(w1)) out += 1 End If Next[/CODE] The …

Member Avatar for bklynman01
0
169
Member Avatar for x2fair

can you help me about barcode picture printing... I have random numbers and that will be the barcode number then I want to convert it to its barcode lines...how to work with it.

-2
47
Member Avatar for x2fair

i have a combo box which contains one table on mySql database and I want to make it more good that when I input a leter all the data that starts on that letter will appear.Example when I type letter "A" all data that starts with letter "A" appears..plz help …

Member Avatar for x2fair
0
103
Member Avatar for RenanLazarotto

Hi! I've been searching for a while, but it seems that I can't find an easy way to get the current user profile folder. I've tried "%userprofile%" environment variable, but it didn't worked (or I'm doing something wrong). How can I do it? I want to add the value to …

Member Avatar for kvprajapati
0
1K
Member Avatar for stevanity

C# and VB.NET are very easy and very powerful languages to develop Windows applications. there are no fundamental advantages or disadvantages between then coz they both support every .net feature. But the point lies in the ease of use and the syntactical readability. I prefer C# more becoz it resembles …

Member Avatar for UsSy
-1
214
Member Avatar for whatsername97

so, i'm very new here, and very new to vb.net. i mean, i absolutely suck at it! anyway, i'm trying to create a 'digital diary' application. i need to be able to click a 'save' button to save the data (in this case the diary entry) into a database, and …

Member Avatar for Mike Askew
0
109
Member Avatar for iWarrior

I'm having a bit of a problem with coordinates and mapping PictureBoxes. Here's the situation: I've got a PictureBox holding an image of a football pitch. The aim is to record the shot positions on this pitch. So whenever the mouse is clicked on the pitch, I am recording the …

Member Avatar for Unhnd_Exception
0
656
Member Avatar for tinstar

I am a student in school and I'm trying to figure out why my saleSummaryForm is not being popluated with the information needed. Could someone clue me into what I am missing or what I did wrong? I know that there may be more code in what I am posting …

Member Avatar for jlego
0
159
Member Avatar for abrarHuniedi

How I can creat Label in visual basic without drag drop in design? EX: If I enter 5 in the Textbox, and click button result will apear 5 Labeles in the form.

Member Avatar for abrarHuniedi
0
102
Member Avatar for Trebron

Hi All, Just thought I would give some thing back to this site as its helped me before with varoius problems anyway I wrote a UDF to enable users to run Macro`s in excel here is the function below [CODE] Private Sub RunExcelMacros(ByVal Path As String, ByVal MacroName As String) …

Member Avatar for Trebron
0
11K
Member Avatar for swathys

hi, I have a problem with the below code. It gives error [COLOR="Red"]Public member 'resolveExternal' on type 'DOMDocumentClass' not found.[/COLOR] at the palce i mark in green. Please help me to solve this..... [CODE]Public Sub ReadIndXML(ByVal LoopID As Integer) Dim strXMLPath As String '= "" Dim xmlRoot As MSXML.IXMLDOMElement Dim …

Member Avatar for kvprajapati
0
167
Member Avatar for Stivi

Hi, is there some way to close the window after clicking the button on webpage? I found some examples in VB.net, but I want to make it using C#... S

Member Avatar for Md.Akbar pasha
0
104
Member Avatar for ITATIES

Please be kind enough to let me know how to create Crystal Reports for Visual Studio 2005 for a Client Server application? The problem I faced is that when I created Crystal Reports for Visual Studio 2005 where the Crystal Report is displayed in the client application it does not …

Member Avatar for kvprajapati
0
177
Member Avatar for BonezAphex

What would be the best way to show how many users are using your Application. For instance, Having a label show how many users have used it/are using it. Any helpful information would be appreciated.

Member Avatar for kvprajapati
0
39
Member Avatar for Slushqueen

I'm working on a debugging assignment and I'm stuck! Can anyone give me a tip on where to start with this? I'm so lost! It is to display the number of words in a sentence then give the average of the characters per sentence and display each individual word in …

Member Avatar for kvprajapati
0
141
Member Avatar for tinstar

How do I save the information from each activation of the code inside the loop. I decided to try this a different way. I also need to know how to create colums in a lable if anyone can help it would be appreciated. Copy of the For Next loop below: …

Member Avatar for tinstar
0
84
Member Avatar for Mike Bishop

Afternoon All, I have ran into a problem that i cant get my head around, I have the following code(see below) this all works fine if there is a imgID ='5' but if there isn't a record in the sql table with the imgID 5 then i get the following …

Member Avatar for Mike Bishop
0
136
Member Avatar for RenanLazarotto

Hey guys! I'm going to start a new project, that will make a simple backup of some hard-to-find files. It'll compress it to a single file (output format will be selectable), but I want it to use a user-defined output dir. Can someone explain me a bit of how to …

Member Avatar for RenanLazarotto
0
84
Member Avatar for littlejw

okay so this is really killing me... does anyone know where there is some good information on the subject. all i want to do is make an app that can read and possibliby extract messages from a .pst and or .ost file... any help is greatly appreciated. John L

Member Avatar for VBSietle
-1
465
Member Avatar for Macky Dave

Please help me how to count the specific records on my database using VB.Net I dont know the code to count the number of male in my database using VB.Net What i want to happen is when I click the cmd totalmale, The Total number of male in my database …

Member Avatar for Macky Dave
0
118
Member Avatar for Rosemine

Hello friends, below is part of my html code, i have already written the vb function to retrieve a web page's generated html code and display it in a richtextbox but now i have to count the number of buttons found on this web page, that is count the number …

Member Avatar for jlego
0
174
Member Avatar for dorothy.v
Member Avatar for jlego

i have never imported anything from a .csv file before i have an app that downloads a .csv file from a website and saves it locally (could probably even skip this step and just read it from the website) it then needs to read the .csv file and insert the …

Member Avatar for jlego
0
404
Member Avatar for fereak

Hey, I'm a student, doing VB at college. I've been trying to make a program to compute Pi, and am making good progress, I think I know what to do. However, part of the algorithm requires me to cube a number. The way I'm doing it is having stored the …

Member Avatar for fereak
0
181
Member Avatar for Chaos3737

Please help! I'm trying to install Visual Basic Express edition 2010 on my windows Vista computer. The .net framework 4.0 is installed (or so the control panel says), but the visual basic installation fails every time it gets to "Microsoft Visual Basic 2010 Express," which is the first item to …

Member Avatar for gracelyn
0
167
Member Avatar for cardinalxp

hello I have installed the fax service in windows. I want to write a code in vb.net program that start receiving from a fax call. please instruct me.

Member Avatar for cardinalxp
0
84
Member Avatar for x2fair

hi, i'm christopher. and sorry because my english is not good.i am creating a new program whch is Document Tracking System Integrated with Barcode which one of my project..my problem is I am new in vb 2008. I create a random numbers and I want it to be converted and …

Member Avatar for x2fair
0
109
Member Avatar for perryg30313

I have a datagrid that I use to display data from a SQL 2000 table. I am trying to write back any changes the user makes to the datagrid data back to the original table but don't know the proper method to do this. Can anyone help? Here is the …

0
84
Member Avatar for tendaimare

i have this insert code and its giving errors because there is something wrong with the connection string. [CODE] Dim MyConnection As SqlConnection Dim SqlString As String = "INSERT INTO items_table (item) VALUES ('" & Me.txtItem.Text & "')" 'Dim data_base As String = " Data Source=.\SQLEXPRESS;AttachDbFilename="C:\vb2008\Visual Studio 2008\Projects\morevariables\morevariables\App_Data\test_db.mdf";Integrated Security=True;User Instance=True" …

Member Avatar for kvprajapati
0
86
Member Avatar for frank33

I am formally studying VB.NET and the teacher has temporarily left us with a textbook to study. In a chapter on Arrays an example of actual code is given, as shown at the bottom here. We use Microsoft Visual Basic 2008 Express edition for our code. However a simple Copy&Paste …

Member Avatar for kvprajapati
0
242
Member Avatar for Steve Mac

Can somebody help me here? i have managed to import excel data into a datagridview but am having problems saving and updating it. It is saving alright but when it comes to updating that's when i have problems. here is my code: [code] If mysqldr.HasRows Then mysqldr.Close() newcommand = New …

Member Avatar for Steve Mac
0
81
Member Avatar for deepak420

for answers-- mail your problem to me at-- [B][COLOR="Red"]Email Snipped[/COLOR][/B] thanks

Member Avatar for tendaimare
-1
71
Member Avatar for gangaloves7

hi can anyone plz tell me how to create a ms-access database with table in run time i mean i want to create a database when user run the application thanks

Member Avatar for kvprajapati
-2
133
Member Avatar for bhagawatshinde

Hi, I am using the richtextbox selectionstart and selectionLength property for finding some text but its not working . can anybody help me please .... [COLOR="Red"]here is my code[/COLOR] [code] Dim startPos As Integer Dim endPos As Integer RichTextBox8.Rtf = RichTextBox8.Rtf startPos = InStr(RichTextBox8.Rtf, "\objw") endPos = InStr(RichTextBox8.Rtf, "\objh") Dim …

Member Avatar for bhagawatshinde
-1
261
Member Avatar for bhagawatshinde

Hi, I am developing an application in vb.net. In one form i am showing the math type equations in the web browser but the text is displayed normally but math type equation not displayed properly. In detail one form i am showing the data in the Richtextbox which contains text …

Member Avatar for bhagawatshinde
0
388
Member Avatar for CharliePrynn

Hey, I have this code [CODE]Public Class Form1 Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Integer, ByVal dx As Integer, ByVal dy As Integer, ByVal cButtons As Integer, ByVal dwExtraInfo As Integer) Private Const MOUSEEVENTF_MOVE As Integer = &H1 ' mouse move Private Const MOUSEEVENTF_LEFTDOWN As Integer = …

0
150
Member Avatar for nore

Hello all, i want to know some textbox case. I want to make my textbox (example textbox1) only can be written by numeral, if there was non numeral input, textbox1 not allow or just being ignored. Thanks for attention or help :)

Member Avatar for nore
0
350

The End.