16,916 Topics

Member Avatar for
Member Avatar for abel626

I have a simple application in VB6 with two forms (i) A Start Up Form (ii) Application Form - which simply reads a text file and prints it. PROBLEM:- Everything loads ok from StartUp Form and Application also loads and "APPEARS" to work ok, but as soon as I try …

Member Avatar for AndreRet
0
84
Member Avatar for PinoyDev

Good day! I have this query that produces 5000 list of items in 10 columns in list view. I found that it slowly load the items at about 30 seconds. Im planning to divide the result @ 1000 per list. Moving the list per 1000 by using adodc control. How …

Member Avatar for AndreRet
0
72
Member Avatar for dre-logics

I use MySQL database (innodb) I use Visual Basic 2008 I have a table Employees with two fields EmpNo and Managerno ALTER TABLE Employees ADD PRIMARY KEY (EmpNo CREATE INDEX index_Managerno ON Employees (ManagerNo) How do i now IF Mysql using this index is if i do this: SELECT * …

Member Avatar for Nutster
0
267
Member Avatar for joshl_1995

Hello Community, I was wondering if it's possible to attatch a command prompt window to a visual basic form. EG. (Below (i made this as an example)) ![example8](/attachments/small/3/example8.png "align-left") Something like that. Please help.

Member Avatar for joshl_1995
0
379
Member Avatar for opspl_programme

Hi All, There are many articles available that describe how textbox watermark can be done with the .Net framework(C# and VB.Net) I'm working on a VB6 project. How to implement this with a VB6 textbox?

Member Avatar for AndreRet
0
2K
Member Avatar for PinoyDev

Good day! How to move to a specific record base on the current recordset of adodc control? I have this employee_(empID, empName, EmpSalRate). I have load all employees data by using this code: dim Sql as string Sql="select * from tml_employee order by empName Asc" AdoDc.ConnectionString=Conn AdoDc.RecordSource=Sql AdoDc.Refresh Thus, I …

Member Avatar for AndreRet
0
957
Member Avatar for johncatman

I would like my vb2010 program to click on a javascript element on this webpage depending upon what they choose, here is the source of the rating system, thanks in advance: <div class="basic-info-rating basic-info-user-rating" style="display:none"> <div class="rating quick-rating"> <p class="average rating-3">3 stars</p> <ol class="user" data-analytics='{"click_id":1865,"events":"event6,event7,event24"}' data-ypid="5550608"> <li class="rating-1"> <a data-analytics='{"rating":1}' …

Member Avatar for G_Waddell
0
252
Member Avatar for shelexelex

Please, i want to compare a column in table with 2 colomns in another table. Such dat if the values on the first column corresponds to the other then it will do something. I've tried SELECT * FROM tblToad frm d first table and then SELECT color FROM tblcolor, bt …

Member Avatar for AndreRet
0
92
Member Avatar for carlospuddwebb

pls help guys i have the digital persona biometric i have the problem in getting the id i need id because im just use id to save into database plss help me tnx.

Member Avatar for AndreRet
0
63
Member Avatar for snehavarade.24

hii..sneha here , i'm studying in te-it, and i was in search for some interesting and innovative topics for my dbms project for which we have to use vb as front end & oracle as back end... so plss can u suggest me some of them.pls avoid regular & popular …

Member Avatar for AndreRet
0
112
Member Avatar for Skate Bart

Hi there. I developed a program that creates Data Reports using this way : [Click Here](http://www.vbtutor.net/vb6/lesson40.html) But instead of using "Microsoft Jet 3.51 OLE DB Provider", I used "Microsoft Jet 4.0 OLE DB Provider" because when I used "Microsoft Jet 3.51 OLE DB Provider" it couldn't connect to the database …

Member Avatar for Skate Bart
0
617
Member Avatar for akasekaihime

We are atsked to create a net salary calculator or something that computes the net salary. I used three radio button in which if it is selected, it has corresponding solution for each selection. The three radio button are probationary, regular and permanent.......here is the code Private Sub Command1_Click() Dim …

Member Avatar for akasekaihime
0
228
Member Avatar for breezeonhold

I can't find the bug in my code. The error that pops up says "Expression: invalid null pointer". Visual studio isn't giving me any line to go to or really any help except once I run the program the error above pops up. The weird thing is everything compiles correctly …

Member Avatar for breezeonhold
0
278
Member Avatar for Blank808
Member Avatar for fRodzet

Greetings, I'm a bit new at Visual Basic 2010, and i have one main problem. I want to creat a Calculator for a game, however i have issues getting it to work. When i select a setting from my main Combobox i want it to add different settings for the …

Member Avatar for Reverend Jim
0
296
Member Avatar for michaelzip

Is it possible to retrieve a text from a URL or page content by using something like ImageUrl property on the Image Control? Ex in image: <asp:Image runat="server" id="Image1" **ImageUrl="getImage.aspx?id=2"** /> Let's say I have this code on getText.aspx Imports System.Data Imports System.Data.SqlClient Partial Class getText Inherits System.Web.UI.Page Protected Sub …

Member Avatar for michaelzip
0
263
Member Avatar for LateNightCoder

I have been following this tutorial about "How to: Preserve and Restore Page State for Windows Phone" found at http://goo.gl/ct7ui and one of the lines of code is this: protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs e) { // If this is a back navigation, the page will be discarded, so there // …

0
81
Member Avatar for alexcarter404

Hi All, I am trying to use the aspnet_regsql command to add asp.net schema to a database in the app_data folder of my project. I ran this command: aspnet_regsql -A all -C "Data Source=.\SQLEXPRESS;Integrated Security=True;User Instance=True" -d "C:\USERS\ALEX\DOCUMENTS\VISUAL STUDIO 2010\PROJECTS\ASPSLDB\ASPSLDB\APP_DATA\SLDBASP1.MDF" This should add the schema to the database using the …

Member Avatar for alexcarter404
0
99
Member Avatar for MasterHacker110

I use code::blocks as an IDE but now i want to create a .dll file. I have followed this tutorial however it is for VC++. TUTORIAL: http://msdn.microsoft.com/en-US/library/vstudio/ms235636 I am strugeling becuase I am used to creating .dlls in C#. They are so easy. You just create a new library project. …

Member Avatar for Valaraukar
0
403
Member Avatar for hassan980

Hello, Im new to VB and therefore i require some guidance in this tricky situation that im stuck in. Basically, what my program does is calculate the mach number of an aircraft when the speed of sound and value of temperature are added into the text box. The problem arises …

Member Avatar for Reverend Jim
0
284
Member Avatar for jovypinoy

Hi IT Masters, I have a a VB6 exe applocatopm that **works perfectly** on the server **(MS Windows 2008 R2)** and to another computer. I just copy pasted the exe file and downloaded all dll files needed. (No installer of the app and there's no way to find it) But …

0
62
Member Avatar for pj.lopez.58

Please Help! I dont know how to use vbDatabaseCompare. I need it for my login form to work!

Member Avatar for Jx_Man
0
116
Member Avatar for alnor.ismail
Member Avatar for mustaffa hasan
0
145
Member Avatar for Bile

-->>Hi,I'm having an Access database (.mdb) with Members table and column Date registered just for an Example with datatype as text. -->>Now I have an Interface that I need to use it to get all registered members within the specified range of dates by using the Datepickers (1. Is for …

Member Avatar for Bile
0
139
Member Avatar for Despairy

Hey I just tried using the OpenCV for the past few hours but I keep on failing. I am a Windows 7 user with Visual Studio 2008. I followed the instructions for OpenCV2.2 (whilst downloading the newest stable version 2.4) did the CMAKE phase exactly the way it says . …

Member Avatar for DJSAN10
0
262
Member Avatar for khair.ullah

Dear All ! I have a table titled Customer_DETAIL I want to check and make sure That there are no other records in the table that have The same CustomerID . The CustomerID are FK's From customer table. How can I check for duplicates so they do not create duplicate …

Member Avatar for daniel955
0
522
Member Avatar for lebo.bytes

Hi, I would like to be helped with automating my application. I work in an environment where we receive a high number of files daily. I am given a task to read a file extract strings and compare them with data in mysql database. I use visual studio 2010. Here's …

Member Avatar for Reverend Jim
0
214
Member Avatar for mahinder.yadav

hi friends i am new in vb coding. i have two tables in ms access table 1 containing location column and id and table 2 containing id, name and date1, date 2...date 30 i have made form design in visual basic with "name" label with combo1 that selecting data from …

0
140
Member Avatar for Shefali

hello i need to read and store data from a device through serial port. i have searched the forum but havent found something which is really helping me. can anyone give me some resources or sample codes where i can figure out how to do it? thanks in advance. regards …

Member Avatar for mariospelekis
0
7K
Member Avatar for angel06

I'm currently creating a program where a user should enter the correct color shown in it. This should be entered in text box. What code should I use to make the program accept both upper case and lower case text inputs? For example "red" should be equivalent to "Red" something …

Member Avatar for debasisdas
0
558
Member Avatar for cheriesp

i am new in visual basic 6 so please help me.. this is the problem..we are asked to create a file in the MSexcel of a 5 rows by 5 columns..after that we are going to create an application to VB on how to open and save file using our …

Member Avatar for AndreRet
0
109
Member Avatar for silversurf

Hello everyone, I am new to vb 6.0 and trying to build an inventory software. in the stock entry form I used a MSHFlexgrid, 10 text box and a add button. I want to various items in ten txtboxes and each time a click the add button it will be …

Member Avatar for AndreRet
-1
850
Member Avatar for priyakumar

Hi, How add Crystal Report Version 11 in VB6. At present I have been using Crystal Ver 8. I need to upgrade to Crystal Ver 8.5 or above to implement exporting rpt's to pdf. Now, I have installed CRystal report 11 Developer edition in my system and from VB i …

Member Avatar for AndreRet
0
6K
Member Avatar for abulut

Could you pls help me for making a script to route it to ' axtalm@alm.com ' , when a message come, if it is coming from extalm@alm.com and the subject of that message is nsn_ext_alm ?

Member Avatar for AndreRet
0
74
Member Avatar for Manu Krrish

XML,Excel Macros Hi I am working on some stuff where i need to Import the data present in XML file to excel sheet. i wrote below code for it Sub ImportXMLtoList() Dim strTargetFile As String Application.DisplayAlerts = False strTargetFile = "C:\BookData.xml" Workbooks.OpenXML Filename:=strTargetFile, LoadOption:=xlXmlLoadImportToList Application.DisplayAlerts = True End Sub But …

Member Avatar for AndreRet
0
822
Member Avatar for umesh.sahni.35

i have record saved in access database. with few fields, like item,rate,qty,total, p_date. i need to generate report of system date record only. suggest me that this sql statement will work or not, select*from table1 where p_date=date$;

Member Avatar for Nutster
0
202
Member Avatar for priyamtheone

I built a ClassLibrary where I have created my custom form component (let's say MyForm) that inherits from the Form class. I added the ClassLibrary to my actual WinForms project. Now when I add an inherited form based on MyForm to my project through the 'Add New Item' dialog box …

Member Avatar for priyamtheone
0
322
Member Avatar for priyamtheone

Ensure ApplyVisualStyles is enabled in your system. Place a ToolStripProgressBar on a toolstrip, run your application and minimize the form. Now change the theme of your computer to Windows Classic and restore the form. See the interior of the ToolStripProgrssBar becomes black. It doesn't even change if you refresh the …

Member Avatar for priyamtheone
0
383
Member Avatar for priyamtheone

I am rendering a toolstrip with a CustomRenderer that inherits from ToolStripProfessionalRenderer. The concept is that I want the color of the arrow of the toolstrip items to be white in all cases except selection. When it is selected the color should be black. In my code below all arrows …

Member Avatar for priyamtheone
0
404
Member Avatar for johncornelius23

hello, I'm making an enrollment and billing system and I'm just going to ask how do I connect a database in visual basic? I'm using vb 6 and ms access

Member Avatar for Justinvzepeda
0
223
Member Avatar for alokshri67

Hi All, I want to enter special character like signs of alpha beta gamma theta and store same in ms access database . How can it is possible. It is possible with MS Word because we can change fonts in single line. Thanks Alok Shrivastava

Member Avatar for Nutster
0
92
Member Avatar for jerviejeb

**Hi all. Im new to visual basic. im using vb 2008 express edition what im trying to do is take everything in my database and put it in my datagridview. The datagridview can be edited. From there, i want to make the changes then save them later. So my question …

Member Avatar for kRod
0
117
Member Avatar for JCSAYRE

Does anyone know of a way to invoke the DOS "ROUTE" command(s). I have written a .bat program that adds routes, but I want to take a particular interface from my ROUTE PRINT output and then ROUTE ADD the routes to that interface. Since that interface is dynamic due to …

Member Avatar for azam575
0
229
Member Avatar for jpunkins

Here's thought I had while working on a project for a Visual Basic class. First off, we were required to create an application that shuffled and dealt a poker hand of 5 cards out of a 52 card deck. The code we are using to generate the seed for the …

Member Avatar for Nutster
0
350
Member Avatar for Bile

Hi,everyone I am trying to develop a simple program that will register Users with the following requirements as reflected with the fields on the interface: imgPassport.Picture ‘This is the Image for accepting Passport Size provided by the user lblPicture_Name.Caption = "User's Passport Size" ‘This is the Label to display the …

Member Avatar for AndreRet
0
311
Member Avatar for angelopride

hi i'm angelo from manila can anyone helps me on how can i start my contract system using visual basic 6.0 example: i have a documents like contract then the company wants to print my documents to check because there are times that we have a typographical error when rushing …

Member Avatar for trystan4861
0
42
Member Avatar for vanessa.difranco

I am trying to add a logo into cells A1:J1 (they have already been merged). I have the logo set as the background of 2 different userforms. I can't figure out how to get the image from the background and into the merged cells on the worksheet. PLEASE HELP!!!

Member Avatar for trystan4861
0
197
Member Avatar for cuddle

Hi, I am replying to a senders email through vb6.I need to add the body of the senders email with the reply.How Can i do that. SendEmailToSender item.SenderEmailAddress, "Subject", "Bodytext", "c:/Attachment" So instead of hardcoding the body text I need to copy the body from senders email and sent it …

Member Avatar for trystan4861
0
36
Member Avatar for yosia.tama

I want to build an application to compute operations research with linear programming simplex method using Visual Basic 6.0 I need anybody help to finish my project. sample program will be helpfull. thanks verry much I say to anybody who want to help me.

Member Avatar for Nutster
0
877
Member Avatar for nagatron

Hello to all vb programmers. I need a little help on how to run a dos command line using visual basic. I have this dos command line: C:\Documents and Settings\nagatron> echo Main-Class: ProgressBarStep >manifest.txt where it create a manifest.txt file inside the directory "C:\Documents and Settings\nagatron". How can I execute …

Member Avatar for Nutster
0
14K

The End.