vba x 200

12,155 Topics

Member Avatar for
Member Avatar for rohini.vangury

I have used Mid,InStr and other methods to get a substring of a string from one text file and copied the required string to another text file. While I get the correct string, vbscript however generates a BLANK SPACE after evry character in the output string. I tried to use …

Member Avatar for rohini.vangury
0
111
Member Avatar for Ahsan Baig

Hello everyone I have made a windows form application using Visual C# 2008. The form conntains a panel where im drawing different graphics objects like arcs, lines etc. But the problem is that when the window is restored after being minimized, the panel is refreshed i.e. every figure is erased. …

Member Avatar for Geekitygeek
0
130
Member Avatar for semsemdiver

hi my name is islam,im 31 years old i am happy cause i became a member in this nice website i am very interesting in programming i learned to program with v.b6 but im not professional and now i am trying to learn c++ but i do not know how …

Member Avatar for jephthah
0
45
Member Avatar for TerishD

I went surfing for some basic information, and found myself directed to this site. I did not find my information here, and that banner at the top of the page makes this site rather annoying. I really haven't found any answers at other places, but I haven't found anyone to …

Member Avatar for jephthah
0
121
Member Avatar for tetarpy

I have a program entitled "Club Administration Software". When I try to call up the database, it replies with runtime error 91. Any suggestions? I am using win7 and have it in compatibility mode. It worked great in XP. Thank you for your help.

Member Avatar for vb5prgrmr
0
120
Member Avatar for jallan2010

[code] Private Sub PopulateProductList() Dim con As OleDbConnection Dim cmd As OleDbCommand Dim dr As OleDbDataReader Dim strSQL As String Dim objListItem As ListItem Try strSQL = "SELECT [Sr No], [First Name] FROM [Lani]" con = New OleDbConnection(connectionString) con.Open() cmd = New OleDbCommand(strSQL, con) dr = cmd.ExecuteReader() lblani.Items.Clear() Do While …

Member Avatar for pritesh2010
0
164
Member Avatar for smile_pls

Hello DW!, I am in a beginning stage vb user. I need a small help. I need to create a program, if I entered the "product code" in a text box / search box, it wants to display its full details from database, such as Product code, product name, description …

Member Avatar for LennieKuah
0
327
Member Avatar for harune

Hello Friends, I am trying to automate PowerPoint using VB6. I want to dynamically create an organizational chart in Powepoint, from a VB6 application. I have Office 2003. I am getting error on the following line, when i try to add a node in the Organizational Chart. ppSlide3.Shapes.AddOLEObject 100, 150, …

0
138
Member Avatar for Bodul

Hi. I am new to this forum, but i have been playing with Visual Basic since 4.0. Anyway here is my problem. I am getting error and can't figure out why. [CODE] Dim connectionString As String Dim cnn As OleDbConnection connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\Database\tmprcStavka.mdb;" cnn = New OleDbConnection(connectionString) Try cnn.Open() …

Member Avatar for Bodul
0
109
Member Avatar for jadown

I built a form called PO Log that contains input text boxes that the user can enter the different iputs that will add an existing row to the worksheet called PO_log. I have the add function working perfectly. But I want to add a function to the form that if …

0
55
Member Avatar for N00b3r-1

I'm a complete and utter noob to VB so I sorta bit off more than I could chew with this little project. I'm not so sure how to create a calendar. But I have sort of designed it already. I'm planning on making the layout with labels and maybe tooltip …

Member Avatar for N00b3r-1
0
179
Member Avatar for sudh11482

Dear All, I am using following code at command button named as 'Print'. While running the project it is giving error at the line : Set RptTaxArrear.DataSource = TmpRec "Run Time Error -2147024770(8007007e)'. Automation Error - The Specified module could not be found." '****************************** TmpRec As New ADODB.Recordset If TmpRec.State …

0
39
Member Avatar for saphireina

Inputs are 0 and 1, create a Deterministic Finite-state Machine class that accepts NONE or EVEN number of zeros and having an input of 1 does not change its current state..... pls..help me...its for my final project.... pls...i really need help!!!.. thnx guys!!!

Member Avatar for saphireina
0
80
Member Avatar for delizihin

I have problems with adding bullets. I know I can add pictureboxes with commands, but I don't know how can I erase them. I also have problems at adding more than one. [CODE]Dim aButton As New System.Windows.Forms.Button() FormName.Controls.Add(aButton)[/CODE] I use this, but still I don't know how can I rename …

0
91
Member Avatar for demian007cur

Hi to all, I am a beginner at programming and is trying to learn myself on the way. I was trying the print a data report i created from my DataEnvironment. My only problem is that i have i image in on my datareport. whatever i do it will not …

Member Avatar for abhaypathak
0
913
Member Avatar for craigallansmith

Hi Ladies and Gents. I have written an application that reads data from a MS Access database. What I am trying to achieve is that on my data report connected to only 1 data environment, I would like the user to select what fields they want displayed whether it be …

Member Avatar for billmaster
0
866
Member Avatar for Dan08

Hello everyone, I currently doing a database project, which is part of my coursework, and I am having some difficulties. So, I am making it in Microsoft Access 2003. In my form, I want have to tabs (Client and Music Store), and I already have 2 tables, for each tab. …

Member Avatar for Dan08
0
222
Member Avatar for RAVARUNA
Member Avatar for mewa_ashika

i am making a high score table for my whack a mole game. variable Score on frmGame is [CODE]Public score as integer[/CODE] then in frmHighScore table i have [CODE]Dim numbers As Integer numbers = frmGame.score[/CODE] however variable Numbers comes back as a empty variable for some reason. Help? thanks

Member Avatar for peter_budo
0
539
Member Avatar for bdrkb
Member Avatar for web81

Hello all can you help me up with this guys.. i have this application with a product id which is in Hexadecimal format..wat i mean is an alphanumeric format.. and it is asking for a product key.. how can i suppose to know the product key? can you give me …

Member Avatar for WaltP
0
940
Member Avatar for reza.adinata

Hi all, I am trying to learn the basic concept about array, however when I tried to change the type into string, it shows error .. I am using IDE visual studio 2005 [CODE]#include <iostream> #include <string> using namespace std; int main() { string stName[20]; cout << "what is your …

Member Avatar for reza.adinata
0
164
Member Avatar for jjnaren

how to trim extra spaces in RTF box in vb.while [B]trasfering to word[/B] document.

Member Avatar for sidnei
0
108
Member Avatar for ckjie

Hi all. I am doing a project with visual basic 2008, i'm using c++ windows form. i have a question about the code for this particular button, where i wan tis button click to be link to another folder. For example, when clicking this button [btnDownload], it will open the …

Member Avatar for ckjie
0
159
Member Avatar for hkdani

Trying to raise an event in an ActiveX control from a module (.bas file). Been trying to create a timer control that will go past the 1 minute limit of the vb6 timer.ocx. The Windows API SetTimer will do this. But wanted to create an Active X timer control that …

Member Avatar for vb5prgrmr
0
397
Member Avatar for lean23

help poh cno poh my alm sa bubble sort nid ko poh xe in ascending order, 10 arrays poh ang gagamitin ska input box.pls. poh,,,

Member Avatar for vb5prgrmr
-1
65
Member Avatar for ~wylde~

Hello, Id like to start by saying that I am a beginning programmer. Ive almost finished my code optimizer as my first serious project. What Ive designed this program to do it go through a source (.vbp) file and clean up the coding (removing large unnecessary spaces), from there, there …

Member Avatar for vb5prgrmr
0
127
Member Avatar for preetisingh

I have a problem . I have to draw a circle at a particular distance say 50 meters from a given lat/log.I refered to Aviation formula's and find a formula to calculate lat/log at a distance and at a bearing which is as follows:- A point {lat,lon} is a distance …

Member Avatar for vb5prgrmr
0
213
Member Avatar for vinumat

when I try running this asp using iexplorer, it does not return anything other than 'Country..... City..... Currency..... Population' as heading. How come it's not connecting and getting the data from the database?? Please help! Thanks [code=vbscript] <% @language = VBScript %> <head> <TITLE>ASP - Country Query</TITLE> <body> <% Dim …

Member Avatar for WebspoonUK
0
170
Member Avatar for rumi

hi.im facing an error that says 'syntax error in FROM clause'.i dont know where i went wrong because it used to run smoothly.from my research about this error,it seems each solution is unique,it doesnt relate to what im doing.can anyone please help?here are my codes: [code] Private Sub Cmd_Login_Click() Adodc1.RecordSource …

Member Avatar for Logica
0
506
Member Avatar for jemz

hello please help me on my problem how to trap in my grd if the user forgot to input the quantity then it will display the messagebox "sorry you forgot to input the quantity"...i already try to trap but only in the first rows,...but i don't know how to trap …

0
61
Member Avatar for neosonic

Hi All, I have got the multiline textbox in the picturebox. I want to save the whole picture into a bmp file (including the multiline textbox). Is there any easy way to do it? what I have done at the moment is: pic.currentx = textbox.left pic.currenty = textbox.top pic.print textbox.text …

Member Avatar for vb5prgrmr
0
687
Member Avatar for EdTheUniqueGeek

I am currently searching through Google results but I was hoping someone would be able to assist me here too. I am looking for a VB script that will stop more than one service on a Windows 2003 server then set it Disabled. We are using System Center Configuration Manager …

Member Avatar for EdTheUniqueGeek
0
658
Member Avatar for kashy!

Hi friends, I am developing a simple webcam accessing application, My aim to access one or more than a webcam over the Network or Internet, How to do.?? I am stuck.. :( Please Do help,

Member Avatar for kinwang2009
0
2K
Member Avatar for Ritchie Miki
Member Avatar for mewa_ashika

Ok so i am going a whack a mole game. What method i did was that i used a picture box (I couldn’t use the button) to display a mole on the screen. So when the timer starts the picMole.visible= true and when clicked score is changed mole becomes invisible …

Member Avatar for mewa_ashika
0
1K
Member Avatar for qk00002

Where I can download VB6.0 english version? Need one now but couldn't find on the web. help~please~~~~

Member Avatar for WaltP
1
357
Member Avatar for snehalN

i want to validate datepicker in vb6. i have datepicker in one of the forms of my project, i m using this datepicker for the birthdate,so i want to check is user selects todays date while filling the form then i want to display error message.

Member Avatar for vb5prgrmr
0
38
Member Avatar for glenntamis

I am looking for advise on a new development application we are starting. I have to write 6 programs to create 6 different reports in text and excel formats (CSV). The related GUI application will launch either Notepad or Excel to view the reports. One of the reports will be …

0
81
Member Avatar for Masterace

Hi people need codes for displaying serial number in a receipt (ie a unique number after every transaction) here is the receipt code am working on [code] Private Sub CmdPrint_Click() 'printing a receipt If MsgBox("Print Receipt?", vbYesNo, "Receipt") = vbYes Then Printer.Print Tab(30); Printer.Print Tab(30); "TIKMASH MANAGEMENT LIMITED" Printer.Print Tab(30); …

Member Avatar for Masterace
0
2K
Member Avatar for student02

Hi guys.. Im still working on my project, it is a payment and enrollment system. Ive been thinking what to do with the Student ID since it requires a format like xx-xxxx, its possible that ill make two fields right? i mean the first xx on xx-xxxx to make it …

Member Avatar for cid777
0
308
Member Avatar for timtalk

I am still pretty new to Visual basic, but have been working to write a program for Excel that will interact with a Javascript based website and extract data from this website. The site is not mine but I have approval to extract the data I need. The problem that …

Member Avatar for timtalk
0
411
Member Avatar for gms_019

Good day! hi! I'm Glenn! I'm working a Project on System Analysis and Design. I'm using Visual Basis on my project entitled Payment System. Can you help me on how to change the Page setup from portrait to landscape on the Data Report? Thanks in Advance........... ;-)

Member Avatar for gms_019
0
101
Member Avatar for renegregorio

Hello... Can anybody help me with this? 1. i have the images of our specimen card, located in my hard disk. 2. i want the image of the speciment card to be display in a picturebox when i type in the name. 3. i already made this in Ms Access …

Member Avatar for kvprajapati
0
99
Member Avatar for CreativeCoding

So I have looked and looked and wasn't able to find how to retrieve text from a selected option in a combobox. I have just started visual c++ so I don't really understand a lot. But I used to work with Visual C# before. So, is there any way? [CODE]if(comboboxslectedvaluethingy …

Member Avatar for CreativeCoding
0
181
Member Avatar for t_yalthis

hi there I want to create paragraphs or in other words I want to separate lines whenever I want. for example: car name: bla bla car license plate: bla bla . . . how can use that property of richtextbox in my rezervation program. I have searched through the web …

Member Avatar for kinwang2009
0
108
Member Avatar for slade2627

Hi guys!! do you know where i can find sample codes on how to develop a program which simulates FCFS and RR Scheduling?? It would help a lot.. Thanks.. ^_^

Member Avatar for ohsosexy
0
118
Member Avatar for muthuivs

Hi Guys/Gals, I am writing a program that needs the user to scan in documents using either adobe or the software provided by the scanner makers (such as travelscan pro, etc). My program needs to have have button that says "SCAN DOCUMENT", and when it is pressed I need the …

Member Avatar for kinwang2009
0
423
Member Avatar for P.manidas

Dear Sir/Madam, I have developed a software on game using VB 6.0 and Access, and I want to make that software as a Register Version. The software may ask the user for registration key at the time of installation or after specified period of time being installed. I can make …

Member Avatar for kinwang2009
0
342
Member Avatar for neosonic

Hi All. I have been using ms word 2003 template (doc1.dot) and replacing the bookmark with vb6. My problem is: I want to use the underline in the ms word. for example: Instead of replacing #myname# to alex I want to replace it with [U]alex[/U] That should be an easy …

0
53

The End.