12,155 Topics
Sorry if this is not the right place to post this but i really need help I'm trying to upload a file to a remote server by using vbscript below is a code : Dim fso, f, myFile Set fso = CreateObject("Scripting.FileSystemObject") myFile =$URL Set f = fso.GetFile (myFile) Dim …
Please, I need someone to show me the correct synatx - code to FTP a file (in an Access table) to a server. The access table contains the following information: Open 10.8.44.34 Username Password File path - sourcefile destinationfile Quit. I tried to run the code below and I get: …
ey i have following code for crystal report 8.5 to vb6... i just want to change database location of report from vb code... Private Sub Form_Load() Dim Reportapp As New CRAXDDRT.Application Dim Report As CRAXDDRT.Report Set Report = Reportapp.OpenReport(App.Path & "\orders.rpt") Report.Database.SetDataSource App.Path & "\RatanDB.mdb" CRViewer2.ReportSource = Report CRViewer2.ViewReport CRViewer2.Zoom …
What we have done was : Specifying valid FTP remote server name, a username and a password if password required in their relevant textboxes on the form then we click on connect, we notice that the TreeView control is filled with main directories while ListBox control is filled with main …
Hi! This is my submission for code snippet contest. I also posted this code to help other members on how they can use compact & repair their MS Access Database within Visual Basic 6.0. You also need to add Microsoft Jet and Replication 2.6 in your project reference. To use, …
` connectionString="Data Source=########;Initial Catalog=DowntimeD51;Persist Security Info=True;User ID=#######;Password=########;Connection Timeout=120;Encrypt=False;TrustServerCertificate=False;Network Library=dbmssocn"` I have the above connection string in a vb windows application , This is part of my app config file. I then have a number of table adapters for connecting my business logic to the database , One of the queries …
Call Open_conn If BEdt = False Then Rs.Open "Select * from tblpayroll where EmployeeID='" + Trim(txtEmpID.Text) + " '", Cn If Rs.EOF = False Then MsgBox "Duplicate Employee ID", vbInformation, "Duplicate" Else Cn.Execute "Insert into tblpayroll values('" + Trim(txtEmpID.Text) + "', '" _ + Trim(txtfullname.Text) + "','" + Trim(cbogender.Text) + …
How to connect datagrid from database using adodb connection. so that the records in the database will display in the datagrid. I have category here that i want to display to datagrid: ID, LName, FName, GLevel. I need a code for that. THANK YOU!
ME and a freind of mine have a vB class. We are using the schools outdated microsoft visual basic 2003. We in are spare time are trying to make a "Siezure" program. The point of this program is to simply have the user click a button and the background begin …
Good Day Everyone: I am creating a tabulating system for a bikini open. How can you create a client-sever application with database on server without using winsock control? One server for monitoring and document printing. I need client for multiple judges (atleat 5) you can add and remove. And a …
Hi all, i need to find Internet Service provider IP Address through VB6 Coding. (http://www.whatismyip.net/) Is it possible? Please send me the coding.
hi.. Im a beginner in visual basic 2010 im making my first project i created form3 for the search function so i created 2 checkbox to give the user the choice to choose to search by name or by date or by both of them and i created a button …
Hello Every One, I am new to VB6 and I am getting the problem from few days. I want to print a label sheet of the specific barcode which contains(description, barcode image and unit price), as much times I want the label should repeat on the same sheet to that …
So I'm currently making program for my year 12 IPT assignment. It's a maths game for Year 4's and 5's. I need to carry a variable throughout the entire project (across forms) so I can easily specify what level the user is playing and how many questions they want to …
i am using Microsoft Visual Baisc 2010 Ultimate, if i posted wrong place, please tell me where should i post :) Peace. here come my problem, Since yesterday night i was done a part of the practical at home, the folder name as <Chapter 3> and today i went to …
I am having one projract EXE in vb6... and i have to create it again and needs to add some extra features in it... so is it posible the i can get the vb project of that exe again??? or can i attach new functionality to it directly without rewriting …
Any body of you guys knows or have a link of a multi column combo box? A recenty used this combo box [Click Here](http://planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=71617&lngWId=1) but it crashes when 2 the same combo box is created on the form especially MDI form. Thank you!
I'm having some trouble defining constants correctly. I know the format should be this: Const CONSTANT_NAME [As ConstantType] = value But I'm a little unclear of how to word it. So here is the Line I need to change into a Constant. Normally I would have a BAS file do …
Hii everyone.. I have upgraded a project on VB6. However when I run the setup on a fresh PC it gives me run-time error 3706. After doing researches, I came to knw dat it was due to mismatch of the versions of some dll files being used in the program …
I WAS CREATING AN INVENTORY SYSTEM USING VB 6 AND ADODC. HERE IS MY CODE [CODE]Private Sub Command1_Click() Dim temp2 As Integer Dim temp As Integer If Text1.Text = 0 Then error.Show Else If Text1.Text > 0 Then purchase.Show Form38.Hide Set rs = New ADODB.Recordset rs.Open "select *from purchasetable", cn, …
Hellow friends, please help me to create a program that will disolay only a postive prime number
hi, eventually this program should be able to automatically upload an image to a youtube page. (origionally the idea was to add a gamertag alongside the channel name so people could see current gamerscore etc...) I have coded a lot of it and one part which i thought to be …
hi. can anyone help me on how to create a spider web graph in vb6. is it possible? my client wants a spider web graph not the usual bar/line/pie chart. thanks in advance.
Hello everyone, I've been trying to generate a way to catch or suppress errors in my web browser control. actually what i really need in my browser is that if i run my project and the page cannot be display, to generate an error handler so instead of showing "The …
is it possible to run one code on differet events of different controls like vb.net??? how???
Hello to all VB masters, I have a problem with the search command. I have a button name [B][COLOR="red"]"btnSearch"[/COLOR][/B] a text field name [B]"fldSearch"[/B] a table named [B][COLOR="red"]MSFlexGrid[/COLOR][/B] and a database named [B][COLOR="red"]db.mdb[/COLOR][/B]. The function of the search button is to search the data being entered in the fldSearch and …
Hello everyone, can some one help me with the code to create a folder by code in vb6,I am greatefull for Qvee72. The scenario I have is that I have an application that allows users to login but waht I need specific is to create users forlder during registration so …
Hello, I have creating my application in visual basic using the tables from ms access that I created. In the tables there is field "attachment" with pictures saved in there. I want to show this pictures on my vb form. All the records areshowing fine apart from the pictures.
i work with 3 more form. 2 form has no border. when i click a button a form is show. when i minimize main form the other form still show. but i want when i minimized main form all from will minimize what was open.
Hai I developed project in visual stdio2005, in this project i used htmlprinter for print a document. using some dlls like Interop.SHDocVw,Interop.DHTMLEDLib, HtmlPrinter, its run well in windows XP. If i will run in windows 7 that make error like **class not registered exception from hresult:0x80040154** I changed target machine …
kindly send me a vb / .net code for sync 2 mysql databases on localhost. I need only 1 way syncing. Thanks and Regards: Umair-Hassan
How do i transfer the information stored in the 2nd and 3rd col of the selected row in datagrid im using visual basic 6 i have to transfer it to a textBox in a diferent form please tell me if its possible
When did you start programming and what language did you start in? Here, I'll start: I started when I was around 15 but kinda stopped for awhile because it seemed too difficult. So around 17, I really got back into it and started learning more and more as I progressed. …
**I have to create an application that will dynamically add a menu strip with menu items to a form(ie NOT dragged and dropped onto the form) in Visual Basic. The menu strip should be created in the Form_Load event handler. I have to use a TextBox for user input. If …
Please, I need a form design and code. Ticket availability and tickets taken in vb6 & database. Can anyone help me?
I realise that this is a simple and probably daft question... Here is my problem. I am trying to create the VB code to change label background colors, it sounds simple, however i want a user to select from one of four lables one red/blue/green and yellow, then select from …
in data environment i write Select * from item where date and date between DTFr.value and DTTo.vlaue In button I write Load DataEnvironment1 With DataEnvironment1 If .rscmborder.State <> 0 Then .rscmborder.Close .cmborder Format(DTFr.Value, "dd/mm/yyyy"), Format(DTTo.Value, "dd/mm/yyyy") End With drorder.Show but the report show all item from 1st date. it not …
hi. i have a piece of code that i wanna know that in how many miliseconds it would be run. Public Sub TurnLeft(ByVal speed As Single) Dim timer As Single If Not IsNothing(Me._DriveActor) Then 'command below Me._DriveActor.Turn(speed) End If End Sub i know that we have timer class but you …
Hi guys, I’ve written an application and I’m trying to utilise a database behind it. I’ve created a mysql database, and table which all appears to work correctly. I appear to have connected to the db correctly too. And hit a bit of a brick wall. As a side-note, within …
Good morning, hopefully I have this in the correct topic! I have a need to delete a specific URL shortcut that would be located on users desktops before copying out a new shortcut to the 'All Users' desktop. I have found the vbscript code below to delete a .lnk from …
Hello everyone, can some one help me with the code to create a folder by code in vb6? The scenario I have is that I have an application that allows users to login but waht I need specific is to create users forlder during registration so when logged on can …
I have the code below and what it does is I have 2 summary sheets (Summary and Summary2). I have a rebuild code that whenever changes are made that would change the Summary sheet, the Summary sheet is copied to Summary2 as a backup copy. The code below keeps track …
I have been searching for the answer for 2 months, but still no success. Below the setup and connection string and all checked already. Firstly my errorlog file error = 18456 Severity 14 State 11 (Login failed for user OLDPC/GUEST. Token based server access validation failed with an infrastructure error. …
Good day guys., im new with vb .net and im currently developing a simple information system for an agency .. im almost done with it but there seem to be a problem with my update statement for the change password code here's my code.., Imports System.Data.OleDb Friend Class login Public …
hi i created an vb application and when i debug it or build it it works beautiful but when i try to publish it it succeed but wit 2 warning as follows Warning 1 Two or more assemblies have the same identity 'Shull Account, Version=1.0.0.0, Culture=neutral, ProcessorArchitecture=x86'. Shull Account Warning …
hi i just finished an application it works good when i debug but i tried to publish it and the publishing fails with errors that some files are double but i don't get what the problem is the error details are as follows PLATFORM VERSION INFO Windows : 6.1.7600.0 (Win32NT) …
Using Microsoft Visual Basic Express 2010 This is the code i used: Dim b As Integer = TextBox1.Text Dim c As Integer = TextBox2.Text Dim a As Integer = b * c MsgBox(a Why does this visual basic code not work and how do i fix it to make it …
I nid your help please for my Case Study thx a lot dude... :0
hi. I am working on a project that requires a search button. it goes like this. the I will enter data on a text box. then the record that goes with it will display on the 3 textboxes. My problem is I don't know how to code a search buttons. …
The End.