12,155 Topics
In my program I want to add records to the database and then reference them by a unique identifier such as a user id. Even if the user name is the same as another, The would be different IDs so I could pull data on the correct one. So my …
I recently started a game for me and my friend to play while he's away at college. I just tested the connection with him, and the test failed. I'm able to connect to 127.0.0.1, and my own ip with ease, but when I try connecting to my friends, it just …
I have a text box that will be populated by data, sometimes to long for the form and I wanted to add a vertical scroll bar to it, but I'm not sure how to link them together. I can place it on the form but it doesn't work the textbox. …
I am facing a problem with my project. I want to Update my database through DataGrid Object which is a tabular one right !. But, I want to control the number of empty rows that are available. But it has only one empty row that means i can enter only …
Hi, I want Visual Basic so bady and i m trying to get it so can you please give me links or something like that. can you please send me on [EMAIL="cricketinfuture@yahoo.com"]cricketinfuture@yahoo.com[/EMAIL] i'll really appreciate your struggle. THnx....Ankit.
I'm new to VB so my question is probably very simple. anyway here it is.. I want to make a side bar showing one form that is like a sidebar in a web page such as on the left side of the MDI form. Which holds the programs main functions …
I'm new to VB...Really new. The main thing I am needing to accomplish is this program I am trying to make. It's just a counter. You click the button and it shows the number of clicks in the label. Well, There are 14 counters in the one program. But I …
Good day, Iam traying to get result of my record as below If next record is biger than previous show "1" If next record is same previous show "1" If next record is smallest show "0" if next record is same previous show "0" Example id Time Code Price Res …
I need to know if anyone using vb6 has hooked up with mySQL database system without any clumsy third party drivers or so.
Hello - I wrote an application to read mag stripe data from a card, parse it and display it's contents. Now I'm attempting to create a DLL out of that logic. I have trimmed down the program to eliminate all those modules, functions, subs etc., that won't be necessary in …
Hello all, I previously attempted to attach an ActiveX.dll control to my form in VB2005 and VB6 without success. When in VB6 the control reference is made and I am able to place the control on my form, however, when I run it the IDE crashes with a Window Error. …
Hi I have a procedure which I have pasted below. I am using the VBe Enterprise environment and all test machines are Windows XP Pro SP2 with the latest hotfixes. On my machine (the one with the dev env) I have no issues running the application I have written. The …
Hi. Can I ask you for TWO favors? FIRST: I want to build an application having a command button that can connect me through my modem to my ISP. Please, can you tell me what are the instructions that must be put in the code of the command button if …
I am fairly new to Visual C# .Net. Trying to learn:cry: When I try to complile the code below I get error that states the following; "C:\C#\Chapter06\FriendList\Class1.cs(53): The class 'Friend' already contains a definition for 'Bday'" Where have I gone wrong? Can someone help me? [code] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System;[/COLOR] [COLOR=#0000ff]public[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]class[/COLOR][COLOR=#000000] …
Please Someone Help me I'm making a software like Quick Books and i need help There is a text Box in which Item No. will be placed. Those item Numbers aren't editable. They should come in Automatically when i press the Add command button For example there is a record: …
Hi to whoever is ready my post and call for help. I am an absolute novice at VB6 and are trying hard to learn this program off my own back from the internet and an old tutorial book i got my hands on. So far ive managed to build a …
Hello, I am trying to use a ActiveX component (written by someone else) in my Visual Basic 2005 project. I am new to VB2005, so please bear with me. I added the COM reference to the ActiveX.dll class to the project. I choose the Toolbox Items from COM Components Tab …
ok for some reason whenever i try to run Visual c++ i get the error [b]"automation server cannot create object"[/b],i got windows script 5.6 ran it but failed to install it says [b]"error registering ocx:vbscript.dll"[/b].iam out of ideas what to do.
This seems really stupid seeing as they are used so often but how do i create a database using vB 4.0? I am creating a login form and when the command button is hit it compares the username and encrypted password to the stored username and encrypted password, if its …
how do i set the permission for read and write into a database? i'm creating a program to view what is in the database(which is a different database application altogether) and reading from it using SQL. Error message shows "No read permission". i looked into the security settings of the …
hi i am working for a presenation using vb the problem now is that i want to resize the presenation window,now the presentaion window is 3/4 of the screen and i want it to appear whole of the screen so can i get any suggestions as where i need to …
Hello All - I have a program that reads mag stripe and barcoded cards and processes the data. The data is read via keyboard wedge mag stripe or barcode reader. The data is read into a text box in a form. Now I want to put that functionality into a …
I've created the following series of If statements that are totally disfunctional. I'm thinking it has to do with my lack of understanding between a function and a statement. (I'm an old mainframe programmer and sometimes have difficulties crossing over) Even though when I do a watch on the fields, …
hi to everyone, here is a minor problem I am facing. Any help/suggestions is dearly welcome. I have an Excell file full of data and calculations. There are a few graphs as well. Now i want to open those Ghraphs (only) on certain VB windows. I tried both the OLE …
Hi I am new to this forum, and not at all knowledgable about PC stuff. I am at my wits end trying to get rid of this error message. It first happened when I installed Symantect Winfax Pro (which incidentally didn't seem to instrall properly). I have uninstalled it and …
I'm writing a program to communicate with my Cisco switch via COM port using MScomm. I've gotten it to work perfectly, with one exception. If you've ever dealt with Cisco software before, you know that if there's a long list of things, it wil display "--More--" prompting you to scroll …
Guys i need your help with this problem. I want to check if a record in my database is available or not? My database is stored in microsoft access file. ok. I used the data control that comes in the default tool box and i set up the databasename property …
hi I tried to read or write the printer port through VB6 under winXp It doesn`t work, although I used inpout32.dll I found that VB6 can`t deal with this dll Please can anyone help Thank you Ali Tamim
Hi First I want to say sorry for my bad english (I speak and write spanish) I am working in a program written by me in VB6, which load a image file (JPEG) and looks in every pixel of it to take the RGB component of each one of them, …
Hello..... I'm having a problem to import excel file into Starnet.... pls someone help....
Hi Everyone, Please help me to solve this problem. I have an adodb.recordset that open eitheir an excel, dbf, mdb, or text file. What I want to do is to export this recordset into an acess table. Can vb6 do this. Please show me the how.... Thanks in advance Newvbguy
is there a way to open attachments displayed in a textbox, separated by a semi-colon..like an email attachment that's underlined where u just click on the link(underlined filename) and it opens that particular attachment. i would just like to see an example...thanks!
I am trying to install visuall basic express edition on my Dell Latitude, it has all the tech specs nescary for the instalation and plenty of memory. the instalation apears to go fine until it finishes and then i am unable to find a run the files i now have …
am trying to read data from a RS232 cable which is connected to a machine. It displays CTS ON and nothing happens. I have tried downloading some simple help programs uwins MSComm in VB and it doesnt help. How can i get the data in and also send data out …
I am trying to migrate my MS Access database to MS SQL. My coding pattern is simple. Like this '--------------------- Data1.Database.Close Data1.DatabaseName = App.Path & "\Status.mdb" Data1.RecordSource = "Performance" Data1.Refresh C1 = "SlNo = 1" Data1.Recordset.FindFirst C1 If Data1.Recordset.NoMatch = False Then Data1.Recordset.Edit Data1.Recordset.Fields("Amount") = Format(mamt, "##,##0.00") Data1.Recordset.Fields("Upd") = Now …
Hiya all. I am currently working on a database of information about a card game. But i have a question. What i would like to do, is make a stand alone program, that can show the card information, and let users modify a bit of it. It would need to …
I like to start my project in cd with auto run but if the auto run fails in any case I like the cd to be ejected (remove cd) in vb6 thank you
Hi all, What code can I use whereby if the user times in anything other than a number an error message will prompt them. [code] [U]If NOT val(Textbox1.value) then[/U] Msgbox("Sorry you must only put numbers") else end if [/code] The line underlined, does not work. Please can someone tell me …
Hi there, I just registered and see that u have solve many problems for many ppl .. and I get good and new info and codes from u.. I'm having problem with Datagrid bcoz for really I'm not advanced devoloper,I'm using DAO to show me the records from database to …
greetings citizens i have a question regarding OLE object. is it possible to display an OLE object in a list box? my table has a bunch of numbers and i plan to add a new column for "status" showing, err, the status of certain products. i pasted an image of …
does any1 have any idea how to link listboxes with adodc to a database?
Hi to whoever has been good enough to read this. I am very new to Visual Basic 6 and are trying to build a small data base program as part of a tutorial i managed to get my hands on. I have been struggling with this problem in my code …
Dear all, I am getting this error and its not getting resolved at all: Syntax error (missing operator) in query expression 'OrderNo='. On line:RS.Open query, objConn This is my code where i am pulling records on the orderno and after i have pulled the records ,i am trying to insert …
Hello all, I am reading (get) and writing (put) values from multiple binary files. I first have to copy a binary file file1.bin to file2.bin and then I append 1 record to file2.bin. My problem is when I read the following code I am not getting the values I expect: …
Hi all of the developer Now I'd like to get the sample source code for Web streaming and capturing with VB both client site and server site software. KyawGyi:rolleyes:
hi sir/maam...i am new member here my name is marlon from batangas city philippines...and i wanna ask something about vb...if i have a lots of textbox in a form...and one button to clear it all textbox...is it possible to use a for loop...like for each textbox or something to make …
I'm trying to figure out how to create a few handy macros for my job at work. I've done a little VBA programming before, but its been a few years since I've touched it, so I could really use some help. I'm looking to create a host of macros that …
Hi everyone, I am having a problem with this code in VB6: [CODE] Public Function test() hOpen = InternetOpen("Example", _ INTERNET_OPEN_TYPE_PRECONFIG, _ vbNull, _ vbNull, _ 0) REM InternetOpen goes OK hConnectHandle = InternetConnect(hOpen, _ "google.com", _ INTERNET_DEFAULT_HTTP_PORT, _ vbNullString, _ vbNullString, _ INTERNET_SERVICE_HTTP, _ 0, _ 0) REM here …
Hey, I am trying to write a section of code in VB that gives me the audio level of the output from a sound card. If I am using a Soundblaster card this is very easy as I can use the MIXERCONTROL_CONTROLTYPE_PEAKMETER. But not all sound cards have this. I …
Hi guys I have a string (read from a text file), and i need to be able to pull out the value in the quotation marks. For example: if my string is <img src="hello.jpg"> , I need to return hello.jpg. The tough part is that there can by any number …
The End.