12,155 Topics
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 …
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. …
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 …
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 …
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.
[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 …
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 …
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, …
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() …
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 …
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 …
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 …
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!!!
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 …
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 …
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 …
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. …
Please help me I need Silent download code for visual basic 2008
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
Hi How can i show data in datagrid from sql server database
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 …
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 …
how to trim extra spaces in RTF box in vb.while [B]trasfering to word[/B] document.
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 …
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 …
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,,,
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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,
Would like to know the cause of the error type or code Pls help
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 …
Where I can download VB6.0 english version? Need one now but couldn't find on the web. help~please~~~~
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.
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 …
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); …
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 …
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 …
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........... ;-)
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 …
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 …
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 …
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.. ^_^
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 …
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 …
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 …
The End.