11,870 Topics

Member Avatar for
Member Avatar for PM312

i was using ms access as my database where my default value for coloum was "" empty string . now i have shifted to sql 2008 where i cannot put empty sting as default value in the same manner as in access i.e "" . here i have to put …

Member Avatar for AndreRet
0
163
Member Avatar for iRoroKun

I need a help, do you know how can I automatically update a label by just putting something in a textbox? Let me give an example, when I put "Hello" in the textbox, the label will automatically change to "Hello". I hope you guys can help me. Thanks in advance! …

Member Avatar for AndreRet
0
106
Member Avatar for dbwalters67

Hello, I am using Visual Studio 2008 to create a program that utilizes Window's API to interact with a window that pops up on an external program. I am trying to populate a ListBox with particular text using LB_ADDSTRING & LB_SETITEMDATA but I am not having any luck in doing …

Member Avatar for dbwalters67
0
319
Member Avatar for gowans07

Hi there, I've using the ADO connection within vb6. I know about the Data.Recordset.Addnew and Data.Update way of adding a new record but is there a way of adding a new record without having to link objects to the Table/Entity? Is it possible to use variables to do this. Currently …

Member Avatar for gowans07
0
123
Member Avatar for jacksantho

Hi, In my record set, it's returning 67 rows. Some times(on iteration), am getting correct values from the record set and some times am getting wrong values from the record set. Am unable to solve this issue ? please help me out.

Member Avatar for gowans07
0
210
Member Avatar for Alex_2011

Hi, I am having a problem with the if statement that I created in my code. The condition should be: - Select Both Comboboxes (1&2) to print out a text in TextBox1 - If only One Combobox or No Combobox was selected, an error message appears and Nothing is printed …

Member Avatar for Alex_2011
0
3K
Member Avatar for wiplolm525

I am using Visual Studio 2010 for ASP.Net web development. I am newbie in web development and using VS. I am making a website which requires storing user information in database. Here are the steps I followed for connecting 1. Open Server Explorer 2. Add new connection (I am using …

Member Avatar for liamsacc
0
123
Member Avatar for SyncMaster170

I am trying to publish this program. I rebuilt it, then hit publish. It starts, then at the end its throwing up 18 errors and they all look similar to the error below. About 15 of the other errors end in .dll.deploy. Ive never seen this type of error before …

Member Avatar for AndreRet
0
138
Member Avatar for MaxRevenge

[COLOR="Green"]yo evryone. class 11 kids submit a comp project as olevels paper 2. im a few years away from 11 but iwud love to make a project write noe n get an idea n so make an awsum one in 11 after this experience. buti dont hav any idea. i …

Member Avatar for AndreRet
0
630
Member Avatar for Rizvi404

Am trying to BACKUP database in .bak format and when i compile it am getting [B]-2147221504 source file doesnt exist error [/B] can anybody please HELP.. Thanks in advance

Member Avatar for Rizvi404
0
297
Member Avatar for markdean.expres

Guys anyone knows a site where I can have free access to information regarding Visual Basic.Net? I am now applying for a programming job but I'm just worried that my knowledge gained from school might not still be enough. Thanks...

Member Avatar for kothaisaravan
0
82
Member Avatar for twistercool

Hello guys. Just wanna know how you could add item to a vb 6 list box or combo box that is bind to a database? I.e. Ado oledb. Let say i have 1 text box wherein every time i input a data to it. It would be added to a …

Member Avatar for Jx_Man
0
159
Member Avatar for gowans07

I currently have the following code [CODE]Data1.Recordset.Sort = ("Barcode ID DEC")[/CODE] In which i want to sort all the Barcode ID records in Descending order. The barcodes have leading zero's which i think may be the problem. For example 00000055. Any suggestions?

Member Avatar for ChrisPadgham
0
1K
Member Avatar for khanayub_chand

I am working as a programmer for a hospital. I want to use barcode scanner in my application. I just want to know how can i provide input to my application which can read the barcode of a particular medicine and accordingly makes necessary updation in the database. Any One …

Member Avatar for ChrisPadgham
0
2K
Member Avatar for november_pooh

Hi masters, I want to replace a string with another string in textbox How i can do this? Please help Thank you

Member Avatar for ChrisPadgham
0
235
Member Avatar for jasleen_kaur

Ok I have Googled for the answer but couldn't find one. I want to run my project on another computer without visual studio. I have created a setup file but after installing also i need visual studio.Isn't there any another way round?

Member Avatar for Reverend Jim
0
157
Member Avatar for poonam lokhande
Member Avatar for nad_nadi27

hai there!.. need someone help regarding vb 2008 as below!!...huhu 1.how to make connection between mysql and visual basic 2008. 2.how to write insert the query... please3 someone please help me with this.. i goin crazy already...huhuu :sad::S:'(

Member Avatar for Begginnerdev
0
120
Member Avatar for Alex_2011

Hi, Thank you all for your help. I wrote this code and I want (Combobox2) to show only the cities that are selected from (Combobox1) Example: When (Michigan) is selected from (Combobox1) - (Detroit & Ann Arbor) are the only choices that should be selected from (Combobox2) And When (Ohio) …

Member Avatar for Alex_2011
0
94
Member Avatar for Sawamura
Member Avatar for Jx_Man
0
379
Member Avatar for a1a4a

Hello ! I just downloaded a Dictionary Words list .txt( containing all dictionary words ), every word is on a line. What i need is only words > 5 letters ( length > 5 ). S o i though about making a Visual basic software that delete words < 5 …

Member Avatar for Reverend Jim
0
245
Member Avatar for irfan mustafa
Member Avatar for ChrisPadgham
0
59
Member Avatar for aishapot

How can I count the number of items in the listview. Example scenario. Today, I added students say, 20 students. and tomorrow I added another 15 students, i need to have a breakdown on how many students i have been adding per day. Please help me. Thank you guys!

Member Avatar for aishapot
0
335
Member Avatar for gunzaddict29

I'm quite difficult to understand how could I control DataGridView in MS Visual Studio. I've read many articles in the internet but it seems that none of them could help me. Can somebody help me with this?.. Thanks Alot.

Member Avatar for gunzaddict29
0
126
Member Avatar for jacksantho

Hi, Here is the code. Set con1 = CreateObject("adodb.connection") Set rs3 = CreateObject("adodb.recordset") con1.Open "Provider=sqloledb;Data Source=xxx;Initial Catalog=yyy; User Id=sa; Password=@1234;" rs3.Open "select a.courseid,a.semester,a.period,c.Category,b.credit,a.gradecode,d.GradePoint from x a ,y b,z c,m d where a.rollno='" & pprollno & "' and a.semester<>'" & prsem & "' and a.period<>'" & pperiod & "' and a.categoryid=c.categoryid …

Member Avatar for ChrisPadgham
0
430
Member Avatar for Boshra Nour

Hey everyone, I have a listBox that contains number of items & I have a textbox,Command button. What I want is that once I press on the command button,the item which is written in the textbox is now highlighted in the listbox I use VB6 Please help !

Member Avatar for Jx_Man
0
3K
Member Avatar for Alex_2011

Hi, I'm trying to write a program that selects an item (Area Code) from a combobox and this list gets the city that was associated with this area code (another comnbobox list). Do you have a sample code like this so I can built up on it ? Thanks.

Member Avatar for Hawk123
0
82
Member Avatar for aishapot

I want to have an alternative way to increment my student no. the current way I'm doing to is in my database, mssql. there's a property called Identity Seed(201200001 - my studentid format) and Identity Increment (1 - no. of increments). The 2012-is the school year, while the 00001- is …

Member Avatar for Reverend Jim
0
199
Member Avatar for zerofreak

Hello guys, I've newly joined this forum since I want to enhance my knowledge in Programming specially in Visual Basic. So for the important part, right now I'm planning on creating a word detector somehow and there are specific rules I was to set in the textbox in relation with …

Member Avatar for zerofreak
0
552
Member Avatar for Alex_2011

Dear All, I have the following code but I need to make the users add text to my (Combobox) drop down list. [ICODE]Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim userMsg As String userMsg = Microsoft.VisualBasic.InputBox("Enter New City", "New City", "", 500, 500) End …

Member Avatar for Jx_Man
0
132
Member Avatar for priyamtheone

I am inheriting my own datagridview (say MyDataGridView) from the standard datagridview control. What I want is that certain properties of MyDataGridView should have a different default value than what its base have. For example, AllowUserToAddRows, AllowUserToDeleteRows, AllowUserToResizeRows properties should have the default values of False; so that when I …

Member Avatar for Oxiegen
0
190
Member Avatar for RASHIDDDDD

Hi everyone, hope u all be fine ..i just have a question that how to print Prime no frm 1 to 100on screen in vb 6 without use of msgbox or title box etc ... if any 1 having an answer then PLEASE share the code :)

Member Avatar for WaltP
0
139
Member Avatar for goodi

Hello, Im wanting to write a basic VB application that will allow the user to select a bunch of PDF files then print them in bulk. I have achieved something similar with Microsoft Excel, using the shell command to do this. (ie, VB app allowing users to select a bunch …

Member Avatar for hkdani
0
169
Member Avatar for OmegaCoCo

So a friend and myself are in a computer science course and for our final project we decided to really apply ourselves and add stuff into our assignment that we weren't taught throughout the year. Well we came to a wall when we decided to add an option to delete …

Member Avatar for BitBlt
0
103
Member Avatar for SyncMaster170

Hello all, I am debugging a vb app for my company. I did NOT create this app. So far there is just one thing that has been bugging me, AxctlUSBHID.AxUSBHID. Heres the code and the error im getting for each section. There is only two errors. (1) [CODE]Private Sub InitializeComponent() …

Member Avatar for SyncMaster170
0
228
Member Avatar for RickCJ7

How do I replace a string in a text file with another string, including quotes? For example, I have an xml sting that reads: <test name="My name is Rick" value="False" /> and I want replace to replace the value="False" to value="True" so that it ends up like this: <test name="My …

Member Avatar for BitBlt
0
1K
Member Avatar for amf101

Guys i always get an error in this...it says "Syntax error in Update Statement" please help... [CODE] Sub updateaccount(ByVal Username As String, ByVal Password As String, ByVal FName As String, ByVal MName As String, ByVal LName As String, ByVal Restrict As String, ByVal FullName As String) connect = New ADODB.Connection …

Member Avatar for BitBlt
0
208
Member Avatar for jbutardo

Hi, My title may be wrong but I would like to explain this process that I need here, Here is my Process, I already have imported excel file and inserted it in the datatable, and then I also validated it's format before inserting it in the database. Now Here is …

Member Avatar for adam_k
0
547
Member Avatar for ng5

hey guys i was wondering if anybody knew how to open an array into visual basic. I have it saving as a text file correctly but i have no idea on how to open it up to use it again. what i have so far is [CODE] Private Sub Hour1ToolStripMenuItem_Click(ByVal …

Member Avatar for codeorder
0
2K
Member Avatar for kenth21v

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 …

Member Avatar for codeorder
0
315
Member Avatar for seventhief

Anyone help me arrange user input in textbox to ascending format like this: text1.text = "98743201" NOTE: input numbers maybe random arrange or doubled to *When a button is click. text1.text = "01234789"

Member Avatar for StephNicolaou
0
111
Member Avatar for djbhoco

I am creating a form on Excel where the user can use tabs to go through the fields that have been unlocked and type in numbers in that field, then hit tab to go to the next field. I have created the tab array in the VBE, but the problem …

Member Avatar for Pilgrim-Last
0
99
Member Avatar for ilmkidunya

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#

Member Avatar for ilmkidunya
0
459
Member Avatar for thinkingofaname

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 …

Member Avatar for thinkingofaname
0
178
Member Avatar for aishapot

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 …

Member Avatar for Reverend Jim
0
122
Member Avatar for alexnovice

hello., i just want to send data from PC to arduino through usb port., i searched the net but the result came up is through RS232 only but the latest model of computers dont have serial port anymore so i decided to use usb instead of Rs232.,is there anyone who …

Member Avatar for ChrisPadgham
0
106
Member Avatar for invisal

this function will calculate a string formula which support cos, sin, log, abs, mod, and example : [10*2+(2+3)]/(5 mod 4) and you will get the answer, and this function it really easy to plugin with you code.

Member Avatar for JoeyJoeC
1
307
Member Avatar for kchyn

I have code that is very computationally intensive and very SSE-capable. The vs2010 compiler only supports up to SSE2 (from what I remember) So my obvious choice is to switch to a compiler that supports SSE4. I don't want to write any extra parallelizing code, (I just want to enable …

Member Avatar for vijayan121
0
237
Member Avatar for vampshay

How many child command could be added to a Parent command? I already have one Parent and child relationship in my data environment but when I try to add another child, the data report will not print. My problem is that I need to incorporate three tables in that data …

Member Avatar for vampshay
0
467
Member Avatar for venomocity

Alright, I'm at it again, trying another version of my game. Sorry, it's been a while since I've been here and while I tried checking to see if anyone else had asked about this, I didn't see anything that was to the point. I'm trying to play an mp3 or …

Member Avatar for ChrisPadgham
0
337

The End.