vba x 200

12,155 Topics

Member Avatar for
Member Avatar for Aviplo

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 …

Member Avatar for Aviplo
0
1K
Member Avatar for tgifgemini

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: …

Member Avatar for evry1falls
0
329
Member Avatar for sanket044

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 …

Member Avatar for jhai_salvador
0
514
Member Avatar for evry1falls

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 …

0
260
Member Avatar for jhai_salvador

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, …

Member Avatar for jhai_salvador
3
2K
Member Avatar for steveh000

` 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 …

Member Avatar for steveh000
0
913
Member Avatar for lendyl16

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) + …

Member Avatar for mustaffa hasan
0
179
Member Avatar for vanesh

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!

Member Avatar for mustaffa hasan
0
361
Member Avatar for KalebG

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 …

Member Avatar for mustaffa hasan
0
2K
Member Avatar for twistercool

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 …

Member Avatar for twistercool
0
256
Member Avatar for lmpush

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.

Member Avatar for AndreRet
0
488
Member Avatar for Beginner20

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 …

Member Avatar for M.Waqas Aslam
0
173
Member Avatar for hallianonline

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 …

0
129
Member Avatar for Parloverde

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 …

Member Avatar for Parloverde
0
2K
Member Avatar for gahhon

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 …

Member Avatar for JorgeM
0
268
Member Avatar for sanket044

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 …

Member Avatar for debasisdas
0
113
Member Avatar for PinoyDev

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!

Member Avatar for jhai_salvador
0
239
Member Avatar for johndmingione

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 …

Member Avatar for AndreRet
0
255
Member Avatar for frnds2vivek

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 …

Member Avatar for frnds2vivek
0
152
Member Avatar for twistercool

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, …

Member Avatar for twistercool
0
230
Member Avatar for ISAYA VAIMBA

Hellow friends, please help me to create a program that will disolay only a postive prime number

Member Avatar for Jx_Man
0
74
Member Avatar for TwijoO

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 …

Member Avatar for TwijoO
0
201
Member Avatar for newbie26

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.

Member Avatar for newbie26
0
125
Member Avatar for C0ding

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 …

Member Avatar for C0ding
0
297
Member Avatar for sanket044

is it possible to run one code on differet events of different controls like vb.net??? how???

Member Avatar for debasisdas
0
92
Member Avatar for nagatron

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 …

Member Avatar for ChrisPadgham
0
429
Member Avatar for Bile

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 …

Member Avatar for ChrisPadgham
0
205
Member Avatar for london-G

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.

Member Avatar for Mitja Bonca
0
216
Member Avatar for abu taher

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.

Member Avatar for Qesha carol
0
1K
Member Avatar for tbanisida

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 …

Member Avatar for Momerath
0
193
Member Avatar for hassanumair1

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

0
149
Member Avatar for nanako

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

Member Avatar for poojavb
0
165
Member Avatar for NetJunkie

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. …

Member Avatar for Reverend Jim
0
1K
Member Avatar for mclellax
Member Avatar for Ruan10

**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 …

Member Avatar for Reverend Jim
0
1K
Member Avatar for mustaffa hasan

Please, I need a form design and code. Ticket availability and tickets taken in vb6 & database. Can anyone help me?

Member Avatar for Oxiegen
0
82
Member Avatar for Silentme

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 …

Member Avatar for mustaffa hasan
0
3K
Member Avatar for abu taher

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 …

Member Avatar for AndreRet
0
129
Member Avatar for fafa70

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 …

Member Avatar for fafa70
0
143
Member Avatar for beforetheyknew

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 …

Member Avatar for lolafuertes
0
364
Member Avatar for gillissj

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 …

Member Avatar for C0ding
0
256
Member Avatar for Bile

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 …

Member Avatar for Bile
0
85
Member Avatar for Divinedar

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 …

0
102
Member Avatar for AndreRet

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. …

Member Avatar for bear01
0
1K
Member Avatar for xiiopao

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 …

Member Avatar for xiiopao
0
260
Member Avatar for jcgldr

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 …

Member Avatar for Begginnerdev
0
130
Member Avatar for jcgldr

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) …

Member Avatar for hericles
0
586
Member Avatar for s98samman

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 …

Member Avatar for JGorard159
0
591
Member Avatar for bantex07
Member Avatar for problematic:)

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. …

Member Avatar for sai.pawar.p
1
2K

The End.