12,155 Topics
Hello all I am working on a project that convert images to text , and load them from text , so i can save them online then load them as image . But if u could just give me a code of a project with a textbox where i write …
I'm currently working on a small bank account register program for myself (just to help me get aclamated to vissual studios) and I was doing ok until I put in the add new database and add new account pages. I wrote code that takes the blank database copies it and …
is there a way to use mouse wheel scroll in datagrid?
[FONT=Arial]whats goin guys? I wanted to know how you would add in videos or music into your website using VBScript. If anyone can help me out I'tll be great :) thank you[/FONT]
I have a problem with date and time picker when i select the date from dtpicker1 then txtdate1 gets the value but when i debug it shows txtdate1 = "" why please help [ICODE]Private Sub DTPicker1_CloseUp() txtdate1.Text = DTPicker1.Value DTPicker1.Refresh End Sub[/ICODE]
Hi there I'm studying Visual Basic (using Visual Studio 2008) as part of an all-round IT foundation degree...I must confess that programming is becoming my weak spot! Unlike the C++ I was taught last year, I'm not finding VB too easy...probably becasue I've never programmed this way before and I've …
hi all i am using the visual basic portable, and the about form, splash screen, and the other additional forms refuse to appear. i would like help, if it is to use a different vb. thanx all
VB6.0:Calculator Hi im new here.. anyone can help me with my program... please.. i have a project calculator using VB6 with the combination of operation like this 100 + 50 - 20 * 2 = 260 please help me.. thank you..
[B]welcome Dear all this my first topic in DANIweb so that I'm waiting for more than help , I try to design time calculator to calculate time by Minutes you can see code (((( Private Sub Command2_Click() If Val(Text1.Text) = 0 Then MsgBox "type any Date and Time value": Exit …
How create a Report in VB6.0. pls send me detail as early as possible.
Okay, this is just a simple trick to determine whether CAPS is pressed because some people here use API to determine whether the CAPS Lock is pressed. [QUOTE] KeyDown and KeyUp don't detect exactly the same information as KeyPress. KeyPress detects a character in its KeyAscii parameter, but KeyDown and …
Hello All, I was wondering how to click a button on the internet or another program via a program in visual basic 2010. An example would be: Have a program being able to click the "Search" button in google or the "I'm feeling lucky" button??? Does anyone know how to …
Is there any way or API to detect the Screen Resolution in VB 6.
Hi there! Just want to ask for help with my Visual Basic 2008 because when I tried to reinstall my vb application and open my designer I got this error "Make sure the application for the file type (.vb) is installed." and I cannot edit my design anymore. Also the …
I'm trying to calculate the standard deviation from data in a grid, but sth goes wrong. I have tried with variable declarations inside and outside the function and the result stays the same. It seems to me that the loop doesn't work properly. Can you take a look at the …
Dear all, Please help me i want to check record already exists in database please modify this code please help [CODE]Private Sub txtempno_KeyPress(KeyAscii As Integer) On Error Resume Next If KeyAscii = 13 Then btncalculate.SetFocus rs2.MoveFirst While rs2.EOF = False If Val(txtempno.Text) = rs2.Fields!EmpNo Then txtsub.Text = rs2.Fields!subjects txtempname.Text = …
Hi all, I have designed an application in MS Access 2007 that will be used in some schools (over 60 schools). Each time I start the application, it shows an alert in the message bar that the VBA macros are disabled, and gives me the option to enable it for …
can some one help me w/ codes in making picture editor. that allows the user to use the following: Picture ToolBar Color Picture Color BackGround Effects Insert Text Alignment of Picture Resize thanks for the help
I have inherited an Access 97 database with a VBA front end. I know nothing about VBA front ends, but can work with Access The system is vital to our organisation. At some point I will look at re-writing the full thing in Access 2007 as the VBA does nothing …
Dear Experts, How can i open a port no. from vb 6.0 for that programme and attach that port no. with my programme. Regards, pardeep
How can i count the no of records fetched in datagrid from admission table and how to show these no of records in a label i.e Total No of records = 20 Please help
Good Day All, Please anyone tell me how to open an adobe PDF file in VB6? Thank you all very much in advance. Ini
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 …
please can someone help me to figure out the solution to my problem that the reports i used crystal report xi to create do not display in my vb6 application. however the reports i used the crystal report 8.5 to create do show in the same vb6 application. please help. …
Hi guys, I like to design a workplace or form(not decided) in VC++ (MFC) or (C++) where I can select and place different objects like car , bike etc and move them programmatically.Each object has its own properties(which is already designed) I have no problem in moving them by changing …
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 …
I would like my login form to display a message when the user logging in pressed the CAPSLOCK key when he is entering data in the password textbox. I tried using this code on Keypress Event [CODE] If KeyAscii >= 65 And KeyAscii <= 90 Then txtPass.Locked = True Msgbox …
Hi I want to display content of text boxes in its tool tip how it can be done. Thanks
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.
hi masters... i want to get jobs in printer queue... i didn't have idea to do this. please help me. any help will be appreciated. thanks before.
Hello, I'm experimenting with creating a web page using VB 6.0 DHTML and have run into problem. I have a page started with text and now I want to add some buttons or elements. The book I've been using says I can just double-click on the element, or pick the …
I have a form that contains a Form_Keydown subroutine and a textbox. I am using a bluetooth numeric pad for input, so there is no mouse involved. The first keypress should display the contents of a corresponding array contents (e.g. pressing 4 should display the array's fourth element). The textbox …
I'm having this problem regarding my Backup code. I get an error saying "Permission Denied". Here's my code: [CODE] Public Sub DBBackup() Dim fsys As New FileSystemObject Dim myfile As File Dim isTrue As String Dim isFalse As String Set myfile = fsys.GetFile(App.Path & "\Database.mdb") 'Create Backup folder if not …
Hi all, 1. I want to know how to add a data grid in vb 6 form? 2. And how to fetch all records in data grid please help Thanks in advance for help.
hello ive problem which is every time i click search(by name) n then the next thing i click save, (after save and update my data), the button previous,next,first,last doenst work, the save button function also doesnt work. but when i click search(the name), n then the next i click the …
Hi guys, I have been stuck on a simple code for hours can anyone help? The question is: "Suppose an array of 16 names is in ascending order. Write a procedure to search for a name input by the user. If the first letter of the name is found in …
hi, any body can help me i need a source code for a simulation of elevator in vb or any single-queue, multi-queue simulation
Hi everyone, I have a weired situation right here. My module was working perfectly all along. This morning I tried to run and got a run-time error: 1004 Application-defined or Object-defined error on this line of code. [code] With xlWksht.Range(Cells(ii + 1, 1), Cells(ii + 1, 5)) [/code] Below is …
I’m trying to automatically save an excel file to pdf file using visual basic. So, I will manually open the excel, upon opening the excel file, it will run code to calculate a daily totalizer (this I have functioning) as soon as this code finishes, I want the excel file …
Hi, I have this set of coding when i use it when i am in ms access 97 but not ms access 2007. this is a set of coding for login form of ms access. Whenever i log in with the correct userid and password, it always promt me "wrong …
learn about the code of light emitting diode 8-bit in visual basic[CODE][/CODE]
Hello, I am getting a below error while accessing excel second time [I]run time error 1004 method sheets of object_global failed in vb6[/I] When i run the code at first time to open a excel and take a copy of the sheet, it works fine however when i run the …
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 …
Using VbScript:: I have a list of several different prices and I'm trying to figure out how to round these 5 decimals adding zeros if necessary. For example: I want 2.84 3.1 4.896 to look like 2.84000 3.10000 4.89600 Can somebody please help me? Thanks!
Hi All, I have a sub and trap the error with: ------------------------------------------ private sub mySub(mydoc as string) On error goto goto handlemyerror kill app.path & "\" & mydoc handlemyerror: msgbox "I cannot kill it" end sub ------------------------------------------ mydoc is word document with 2-3 pages length. It works fine to avoid …
Hi, I have 2 text box, Text1 is to display the week no and Text2 is to display start date of the week. Do anyone know what function I should use in VB6? Thanks, Annie
We have an COM Class (ActiveX exe) VB6 program that is in the Registry dozens if not hundreds of times to basically the same paths. 1. Our development compile output path and 2. the true target path in c:\Program Files (x86) where it should be. (There are many for each) …
I use Visual Basic 2008 I had this code in Visual Basic 6.0 that the replace the ASCII value of [COLOR="Red"]decimal point [/COLOR]for the ASCII value for a [COLOR="red"]comma[/COLOR][CODE] Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii = 46 Then KeyAscii =44 End Sub [/CODE] But this does not work Visual …
We're working on a very large project that has been exclusively written in VBScript/javascript/HTML. We're starting to port it over, page-by-page into C#. We have split out common constants and code into <# Include .asp files, but when we go to try to include these files into out new C# …
The End.