11,870 Topics
![]() | |
Hello everyone Im new at this thing of programming and im having trouble in saving a new record to the database, I've searched online for this problem and ive tried all the possible ways that i find in internet but i cant manage to make it work correctly This is … | |
With the following code, the function only msgbox's "variable declaration" and "before for/each". i put them in there for debugging when i saw that my function wasn't getting all the way through. Any suggestions? [code=vb] Option Explicit Function ArrToCSV(ByVal array) msgbox "variable declaration" Dim strTemp Dim strQuote Dim x strQuote … | |
Hi friends, i have a textbox where i have a path of the pdf file. now after pressing a cummand button i want this file to be opened. my code is as follows.. [I]Private Sub wazopen_Click() Dim myfol As String Dim myfln As String Dim myfpath As String myfol = … | |
[B]I am developing a database programme on VB 5, but i do not want to use MS Access as the database. Is there any help available for Oracle or SQL Server databases? Thanks[/B] | |
Hi to everyone, I am a novice to this site and need an urgent help from you people. Actually i need to select some record from a flexgrid, so i want to use checkboxes in flexgrid. Can anyone tell me to how to insert checkbox in each row of the … | |
Hi I am in desperate need of help, I need to manage an application dependency in Visual Studio. The application links to a DLL only on a specific version of windows, lets say Windows 7. and on other environments, the DLL should not be loaded. How will I be able … | |
Hi all, I just started learning Visual Basic. But a friend told me that this language is outdated now, you should learn vb.net or c#.. Is he right? Is vb.net is extended version of vb? I mean if i learn vb then i may easily switch to vb.net?? please anwer … | |
I have a programme which has been packaged using the installer supplied with VB6. It installs and runs perfectly with XP but doesn't with 2000 Professional. Any ideas? | |
Hi, I have completed my software but I would like to create Keygen to it so that the software should ask for Serial No., 15 days after it is installed. Pl help me (Kehar) | |
Hi! I searched for this one with no results. I have an Access table with a column Date_of_birth witch has date/time format like dd/mm/yyyy. I develop a VB6 application that needs to read, write, update data in the mdb. INSERT: The user inserts this Date_of_birth in a textbox. I use … | |
Hi All.. I want to generate a dialog bar or panel inside a window, for that i have seen a sample code somewhere (implemented on VC++ 6.0).. Now i am trying to use that code in visual studio 2008 but an assertion failed error is being occured..while i am using … | |
Hello all, i am trying to put table column to array using Visual Basic 2008 form. As i do not need to update back values to database i have used DataReader. [CODE] Private Sub Button1_click (,,,,,,,,,,) Handles Button1.Click Dim cn As String cn="Data Source='C:\Temp\DB\DBaze.sdf' " Dim qry As String = … | |
Microsoft has issued an [URL="http://www.microsoft.com/technet/security/advisory/927709.mspx"]advisory [/URL]warning about a Visual Studio 2005 vulnerability in the WMI Object Broker ActiveX control, part of WmiScriptUtils.dll which could allow remote arbitrary code execution. The WMI Object Broker ActiveX control will circumvent the ActiveX security model, because it is marked as being ‘safe for scripting’ … | |
Visual Studio is a great tool to use. But for beginners like me a few years back, it was a bit overwhelming and confusing. You got the feeling you lost all the control. VS has it’s special ways of doing things with partial classes and so on. So lets get … | |
Here is some code that will help you connect a LCD module to Parallel port of a computer. Almost any 16x2 LCD module should work. It has complete VB6 code. It works on Windows XP very well. I have used hwinterface.ocx from Logix4u.net that provides basic Inport and OutPort functionality … | |
Visal has contributed code for computing a formula. I have updated his code to reflect vb.net coding style. I have also refactored the code, so it is easier to understand. I have not checked the code. The vb.net project files are as attached. Jerry Dusing (email: [email]jerrydusing@yahoo.com[/email]) | |
Uses the API to get the regional short date format from the PC | |
The Relative of push is pop. Pop removes the last item in an Array, and returns the value into a single (scalar) variable. Again, due To VB Limitations, this one works on strings. | |
Simple Function To Simulate The Push Command, due to VB's limitations, This one is Specific To Strings. (Simple enough to modify for integers or variants, etc) | |
This is the coding needed to password any button on any switchboard from used in Access Database | |
This is a very basic way to make a delay that someone new to VB might be able to use. | |
An example of using the ToString() DateTime Strings to produce common date & time output formats in Visual Basic.Net | |
This code uses field level validation to check for data in fields in an Access form, and instead of using message boxes (as the "Validation Rule" and "Validation Text" properties of a field (in the table design window) do, it turns the associated label and control (textbox/listbox/combobox) background color to … | |
Place the file with part one of the code on the server. This part of the code gets placed in a batch file (text file with the extension *.BAT) and placed on each client's machine. Again, you will need to change the paths used to the real paths on your … | |
A Simple Function To Generate A Random Password Of A Given Set Of Characters | |
Clearing Controls & Forms in Access (VBA) | |
| |
There are probably a few different version of this...here's the one I use which I find pretty simple: | |
Simple CLS for Resizing CTLs on a FRM | |
Hello All. I'm trying to make a VBA Form, that fills a Excel Worksheet, but I would like to make possible that some of the textboxes autofill while user is inputing. I'll explain: Sheet 1: Num Name Telephone 1 AAA 0000124 2 BBB 0000323 3 ABC 0000311 I would like … | |
Hi All, I had puted out my records from database and place them in Datagrid. Than I try to filter out unwanted records based on user inputed date (by using 2 DTPicker, a START DATE and END DATE). And I encounter this problem "Run-time error '3001'". Anyone has any idea … | |
This is my code after upgrade vb6 code: [code] Public ReadOnly Property TUJUHResult() As Object Get Dim vrn7Result As Object 'UPGRADE_WARNING: Couldn't resolve default property of object vrn7Result. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' 'UPGRADE_WARNING: Couldn't resolve default property of object TUJUHResult. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' TUJUHResult = vrn7Result End Get End … | |
I have been googling for quite a while but I just can't seem to find a precise answer to my question. I'm able to create the setup project and the installation works fine. Included in my application is a .MDB file. What I would like to do, during the installation, … | |
Hi, There is an error on [inlinecode]DataGrid1.DataSource = Adodc1.RecordSource[/inlinecode] method or data member not found. When i do below setting manuel in properties, there is no problem. Thanks [code] Adodc1.ConnectionString = "Provider=MSDAORA.1;Password=psw;User ID=iuu;Data Source=video;Persist Security Info=True" Adodc1.RecordSource = "Select * From movie" DataGrid1.DataSource = Adodc1.RecordSource [/code] | |
Hi everyOne..currently I m dOing my final yr project...I haf sOme cOdes attached..coz i realli don nOe how to continue...can anyone help mi... Thanks!! The one is bold is where i got stuck.. Thanks alot!!! [B][U]Codes[/U][/B] Private Sub cmdSendMesg_Click() ' Set up the communications port MSComm1.CommPort = 1 ' Com … | |
Hi, I currently have a crystal report (verison 10) with a linked ole object linking to an excel spreadsheet. I need to be able to programmically change the link path at runtime using vb6. You can do it in crystal by going view -> links ->change source so surely there … | |
hi.. can u pls help me in setting header and footer for an existing document on a command buton click in VB6? im able to add header and footer for a new document on a command click event.. if i give the existing document name its getting overwritten and only … | |
Hi, I am using Crystal Report 8.5 to prepare my Report and I want to convert the figures under currency to be converted automatically while printing the report. e.g If I enter 234 in my field kk than under text field hh it should be automatically written as two hundred … | |
Is it possible to compile a single .cpp (not a project) in visual studio 2008? Also will using visual studio cause problems executing code on a unix system? I am making my first c++ "hello world" program and I am attempting to use visual studios. Am I going to have … | |
hi i am making pos system i am using msflexgrid.. and i have make combo box visible when user clicks on grid... i have data combo which contains all supplier company name.... now my problem is that i want to load the combo box with relevant products as user selects … | |
How can i add my Programme to firewall exception during Install.. Somefreind using delphi 2009 .. and he is doing it .. without any wrrning for user ,,during install his programme it will be add itslef at firewall exception .. Please help me how can i do it using VB … | |
Hi, I am new to VB6 programming and have some difficulties... Here is my question: I have a For Loop running, wherein there should be some communicating with a serial port to get new data (will be implemented later), updating a data array and the corresponding graph. This works all … | |
I'm working on a project. I have the options of developing a simple e - voting system for the department or a mobile application that can compute the GPA of students using preferably visual basic. | |
Hi all, i would like to know how to access data in the database using vb6 and the database in ms access 2007. for example i have a table in the database called item, with data fields such as itemname, item-id ,etc, so if i want to access the data … | |
I am an training executive in a company , for the purpose of the training needs , i have designed a test for my subordinates using vb 6 about a product (cell phone) . In that test i had written the code so that after the test is taken by … | |
I type 2009 in mask edit box and select August from a combo box. then I press report button for report. then show this msg: "run time error 713 Application - defined or object defined error" another thing when I run the exe of this project in another pc then … | |
code to upload and save an image into access database in windows application visual studio. Please give the detailed code I know how to do this in web application but i have never used windows application | |
Hi Team, In our Project We are using V6 and Microsoft office 12.0 object library to access the Ms Word into the Vb Application , every thing is working fine English , we have a requirement to Support the Chinese language also . kindly advice what are the step need … |
The End.