11,870 Topics
![]() | |
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 … | |
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! … | |
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 … | |
![]() | 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 … ![]() |
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. ![]() | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 | |
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... | |
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 … | |
![]() | 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? |
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 … | |
Hi masters, I want to replace a string with another string in textbox How i can do this? Please help Thank you | |
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? | |
i need miniproject on banking system in vb6... urgently | |
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:'( | |
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) … | |
How can i get battery status? Any help will really appreciated. Regards Sawamura | |
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 … | |
how can i save image with other fields into ms access and retrieve it | |
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! | |
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. | |
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 … | |
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 ! | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 :) | |
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 … | |
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 … | |
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() … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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" | |
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 … | |
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# | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … |
The End.