12,425 Topics
![]() | |
is there a way to disconnect a user/s from a database and/or display a msgbox to the users telling them that there are about to be disconnected? ms access 2003 | |
Hello, I am very new to Visual Basic and try to teach myself again after years and years of not using it. Learned very basic codes back in school but that was too long ago. So far I have wrote only ONE application. Basic input, calculate and output. Came out … | |
I want to exchange the functioning of backspace and delete key e-g if i press backspace it should delete the character on the right side of cursor and vicee versa for delete key. How can i implement this in rtb? | |
I need to display a DAG (directed acyclic graph), which is basically a Treeview, except children can have multiple parents. Any clue on a control or method to implement this in Visual Basic 2008? | |
how can i delete the record in my Sold To table if the quantity is = 0 heres my code in my command button [CODE]Set cn = New ADODB.Connection cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\Administrator\Desktop\Inventory System\PharmacyInventory.mdb;Jet OLEDB:System Database=system.mdw;", "admin", "" Set rs = New ADODB.Recordset cn.Execute "INSERT INTO CustomerReturn (cno, pcode, … | |
Friends, I am novice to Visual Basic Programme. I am using Visual Basic 2005 and I have TextBoxes, Lables and Buttons. I want to name these controls. I wish to superscript the Text. i.e., to denote Sq.mm - as mm^2. But if we type or cut & paste from Ms … | |
i have 1 textbox in the keypress event this is my code if keyascii >= 48 and keyascii <= 75 then exit sub else keyascii = 0 end if how can i erase the last value that im inputted in my textbox using vbkeyback? god bless daniweb! | |
Hi, I'm fairly new to VB6. Although I really like the language I am a bit stuck with a problem that I have come across. I want to create 6 random numbers using the Rnd function, they have to be between 1 and 30 (whole numbers) and they all have … | |
Hello sir, I am using visual studio 2005. I want to split the form into 2 parts. On the left side i wil give the VB coding. On the right side i want output for that coding. Similar to this link [url]http://www.w3schools.com/html/tryit....ml_paragraphs1[/url] But the link is for HTML coding, But … | |
Using Visual Basic 2008 Express, this has happened to me twice now. I have emailed projects as zipped email attachments, and then when I restore them and open the project, when I click on the VIEW menu, the Designer option does not show up! All I can do is look … | |
I took up Visual Basic 6 as a hobby for my retirement. I have no formal traning in computer programming...taught myself everything I know. So my code may look alien to you but it works up to a point and that is the nature of my problem. I am writing … | |
Hi friends, Whenever i run my project setup it shows message "SETUP CANNOT CONTINUE BECAUSE SOME SYSTEM FILES ARE OUT OF DATE ON YOUR SYSTEM.CLICK OK IF YOU WOULD LIKE SETUP TO UPDATE THESE FILES FOR YOU NOW. YOU WILL NEED TO RESTART WINDOW BEFORE YOU CAN RUN SETUP AGAIN. … | |
hi! how to get the field value in VBA with the help of SQL statement and assign this value to a Variable.... and then use that in the code...? thank you 4ukh | |
Hi all... I'll try my best to keep this query as compact as possible... I'm currently working on a project that involves generating alarms/notifications for the Automated Distributed Control System at the company. Well, for this, the team has created Notification Client and Notification Server Applications. There is also another … | |
Hello Again, Again being a novice at MS Acces 2003 this is definitely outside my ability. I was told that using visual basic it is possible to show a month calender in a form instead of just entering the date in a field. The user should be able to have … | |
please tell me how to format text in a SINGLE cell of a table. Once the following text is added. i want to format it in followinfg way. ---------------X_------------------------ Title : ball cat dog ---------X_------------------------ Title : in BOLD and Underline rest of the data in BULLETS. | |
I want to fully justify text in rtb. I am designing an urdu editor. The rdu language is written from right to left. So the text is right justified initially. Waiting for reply | |
Hi every one I need help: How I can make hilpe files with (hlp)extension to My APP. | |
Hi, How to open a excel file from word macro by getting the file name from word. [B]this is my code[/B] OrgFileName = Selection.Text + ".xls" 'OpenExcel Macro Shell ("C:\Program Files\Microsoft Office\OFFICE11\excel ""C:\My Documents\File - CopyBook\""" + OrgFileName) OrgFileName is the workbook name which i have to get from word … | |
I've got two ms access tables within one .mdb file, the tables are mrproduction & fglotnum. From mrproduction I need records from fields mrStkNum, mrLotNum, and mrQty. From fglotnum I need records from field mrCost. The common field between the two tables is lotNum (i.e. mrproduction.mrLotNum & fglotnum.mrLotNum). I guess … | |
i'm fairly new to visual basic and i'm working on a simple space shooter game. i need to make an array to hold the bullets and then set the location to the center of the ship. my question is, would it be a good idea to use individual picture boxes … | |
Hi Guys, I have a problem.... I'm developing a tool in VB6, which gets value of a cell from a DOC File....I'm assigning the cell value to a string.but, in the string i found this junk character "".....can anybody please tell me how to remove "" this character.... I tried … | |
hi how to show the data in data grid. is the following one correct [CODE]set db.recordsource=recset[/CODE] thank u | |
hi how to view the entire table present in the DB in datagrid view thank u | |
Hello. I have been learning C++ for a while now. I know how to create C++ Console applications, and im wondering if theres any good tutorials on using Sockets/Winsock2 in C++ Console apps. Please don't say I should learn Windows API, or MFC, I already know about those, and I … | |
hi i'm receiving anerror message while executing this statement. dr.Execute ("alter table results12 add (Total number,Percentage number,Status char(5))") error message run-time error:3292 syntax error in field definition | |
hi, I would like to generate ppt where data from my back end MS ACCESS dynamicall changes with record.I coded for connectin to back end. I want the code to generate Power point using VB 6.0 where i can dynamically change data.Please help me developing the code. Regards, Dinil | |
hi i have an error here could somebody know or expirence this before plss help.. this error enclude dll and i have the site now. this is the link [url]http://support.microsoft.com/kb/248055[/url] i already put the dll in the said folder and already installed mdac. plss any has expirence this .plss help | |
hi guys i have fairly good knowledge of vb6 but cant for some reason get my head around this i want to develop program where you can add multiple names (text string) then press generate and a name is randomly selected for quiz purpose , the name or string dos'nt … | |
hi guys! | -----------------------|---------------------|------------------------------| | validation_period |-----sys_date-----|-------exp_date-----------| |------------------------|---------------------|------------------------------| |-----------6-----------|---26/11/2008---|-(add validation_period-| |------------------------|---------------------|field value into------------| |------------------------|---------------------|sys_date)...?--------------| |-----------------------------------------------------------------------------| using ms access 2003 i got the system date by using date() function but the real job is to pass the validation_period (which is basically a number of month(s)) field value as a parameter into … | |
Hello I just started vb about three months ago and i got an assignment that i'm stuck on. It's a program that takes a text file and displays it on screen and i can scroll through it by clicking on a btn next. there are functions on the form that … | |
Hello, I'm using VB6 and SQL Server 2000. I've got a problem with an insert statement that seems to be randomly failing. Its job is to copy everything from one table into another, removing duplicates using WITH IGNORE_DUP_KEY ON [PRIMARY]. Then my code copies the records back to the original … | |
Iam developing a tool in VB. I need to access my database for few fields and print them as a table. How would i get a create a table in visual Basic. The question may appear bit odd but iam a beginner .. Please help. Thanks in advance | |
i require a code in VB for converting the anolog signal to digital so that i could process it .so please extend your help regarding this.... | |
Thank God i found this site. my first day in VB and i was given an assignment to simulate how a lift runs in VB with 4 floors. pls can any one help me so fa i have been able to design the interface. please i need help in writing … | |
i have a project of Call Management System with database SQL SERVER,now i want to limit the connected users in my database in 55 unit only,where in this 55users can only use the system and if there is 1 user trying to connect on my database the system will not … | |
hi to all again, I want to know how to disable the Maximize option of a window using a VB code. I believe one way to have a fixed window size is to disable the Maximize option?? Can anyone here please help..... Thanks a lot again in advance. Have a … | |
Hi, Are there any software that I can get back from VB executable file to VB source code? Please help me. | |
Private Sub Command1_Click() If Combo1.Text = "" Then MsgBox "Please Choose Supplier Code", vbInformation Combo1.SetFocus Exit Sub End If If Combo2.Text = "" Then MsgBox "Please Choose Product Code", vbInformation Combo2.SetFocus Exit Sub End If If Text1.Text = "" Then MsgBox "Please Input the Quantity", vbInformation Text1.SetFocus Exit Sub End … | |
I wnt to know about a code for hide a folder for windows xp.but i know to hide a folder with set attributes.if i hide a folder with using a attribute it will show in folder option.if someone changes folder option as show system folders and files then user can … | |
Hi All, I have a small application written in VB6 that outputs a list of words, one per line, to a Word document. By default the font size I use is 60 points, which is fine, as I don't mind the text takes up as many pages as needed, as … | |
Have made DSN, Now i want to make connect to database.. want a vb script for this. have to fetch data from data base Somebody help please. | |
I am working on microsoft MS SQL 2005, want to connect with vb script. Want a connect string for this. | |
I am work with sybase Adaptive Server Enterprise (ASE) 12.5 I wanna connect sybase from visual basic 6 I found this connection string: Provider=Sybase.ASEOLEDBProvider.2;Server Name=myASEserver;Server Port Address=5000;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword; but i don not have the provider Sybase.ASEOLEDBProvider.2 I want this sostware driver and know how to connect sybase please help … | |
Private Sub Command1_Click() Set rs1 = DB.OpenRecordset("Table1", dbOpenDynaset) If rs1.EOF = True Then MsgBox "Record is Empty" Else MsgBox "Got IT" rs1.MoveLast If Not rs1.EOF Then rs1.MoveFirst Do While Not rs1.EOF If rs1!Name <> "" And rs1!age <> "" Then Set rs2 = DB.OpenRecordset("SELECT Name FROM Table2 WHERE Name like … | |
Functionality of the tool To take the screen shots and save it in a file with description of the screen shot which is entered by the user. Problem Now the text box is accepting only the normal text.This text box should be replaced by rich text box(i.e it should allow … | |
gud day, this is my new code of my counter using vb-DAO. if i were going use this code, this will happen (refer to my attachment). the quantity of the first product will added to its proceeding product. That is a very big mistake. My only problem right now is … | |
can anyone help me? | |
Hi All, I need help in passing data from a datagridview control to textboxes control. When the user doubleclick a value from a datagridview control in form1, I want the record to be displayed in the texboxes of form2. How do I go about coding this? Any help would be … | |
Hi All, Can anyone upload a multilingual (English & Chinese) vb6 application? I've tried but in resource file it shows '???' for chinese strings. Regards, Shrini |
The End.