vba x 200

12,155 Topics

Member Avatar for
Member Avatar for Matigo

Hello guys Anybody could help me please to make the Windows estimated usage in visual basic 2010 "To show how many MB/GB of internet i have used" I'm running windows 8 and this application will will be used on windows 8 Only Thanks in advance guys and i hope to …

Member Avatar for Matigo
0
221
Member Avatar for 2mhzbrain

Dim oWord As Word.Application Dim oDoc As Word.Document Dim oTable As Word.Table Dim x As Integer Set oWord = CreateObject("Word.Application") oWord.Visible = True Set oDoc = oWord.Documents.Add Set rs = New ADODB.Recordset With rs .Open "SELECT * FROM ClientTable", cn, 2, 3 Dim r As Integer, c As Integer Set …

Member Avatar for 2mhzbrain
0
244
Member Avatar for Matigo

Hello guys, I really need your help on this one, Please help me out with it I'm using a webBrowser in my application "Visual Basic 2010", And what basically it will do, Once you open up the application, It will show you a URL, let's say for example Google.com by …

Member Avatar for Matigo
0
482
Member Avatar for Matigo

To be honest, I tried to find a tittle for this but i couldn't think of any I'm creating an application using visual basic 2010 that i will be using/running on Backtrack 5 R3, I tried it and it works fine, But i needed to add a Terminal to the …

Member Avatar for Matigo
0
316
Member Avatar for ppstyle

I am making a windows based application in visual studio 2010 using VB. My project starts with a splash screen and a brief welcome splash then opens the main mdi form. The menu in the mdi form has the link to open all the other modules. My question is- How …

Member Avatar for Begginnerdev
0
196
Member Avatar for Divinedar

Can anyone help. I have the following code: Private Sub Worksheet_Change(ByVal Target As Range) If Target.Column = 7 Then MakeHyperLink Target, "Q:\" End If End Sub Option Explicit Private Files As Dictionary Private StrFile As String Dim StrFlePath As String, FleCollection, fle, f1, fs, f2, subfld Sub MakeHyperLink(InRange As Range, …

Member Avatar for Divinedar
0
366
Member Avatar for fx.eko

Hi all I have a problem with how to check the printer via LPT1 through programming language Visual Basic 6. Its need for printing the letter post items, so that the data is not easily changed. thanks for the friends who can help solving my problem. respectful greetings,

Member Avatar for TnTinMN
0
204
Member Avatar for Yorkiebar14

Hello, So I'm trying to make a program to auto bump my facebook posts. I have made it log in etc but there is no 'post' button on facebook, you have to press enter on the keyboard. How can I make the program press enter in the box and make …

Member Avatar for Begginnerdev
0
257
Member Avatar for craigallansmith

GoodDay All. I am trying to create a hit counter in vbscript on a HTML Page for specific client needs. I cannot use any hit counters available for free. My problem is that my code only finds the text file on my notebook(Local C:\ drive) and not in the website …

Member Avatar for Member #949455
0
856
Member Avatar for Mireya B.

Hello, I am new here. I would like to ask opinion from you guys on what are the best options available for me to develop a database system using Visual basic? I am using Visual Basic Express Edition. My problem: I am currently developing a toolkit that needs the user …

Member Avatar for Reverend Jim
0
244
Member Avatar for dendenny01

<% @ language="VBScript" %> <% Option Explicit %> <html> <body> <% Dim I,j For I = 1 to 4 For j = 1 to i Response.write i Next Response.write "<br>" Next </body> </html> Output: 1 22 333 4444 Please explain me how this output is formed. One bellow the other …

Member Avatar for gian88r
0
185
Member Avatar for Djmann1013

I am having a bit of trouble with converting a string (url) into a Uri. Here is the screenshot of the error: http://www.imgbomb.com/i/d15/3bk3v.png Here is the code that is giving me trouble: Private Sub ComboBox1_Change(sender As Object, e As EventArgs) Handles ComboBox1.TextChanged Dim myString As String = ComboBox1.Text.ToString() Me.WebBrowser1.Navigate(New Uri(myString)) …

Member Avatar for TnTinMN
0
2K
Member Avatar for ShamSundar

People pls help me i am getting a compiler error - Loop Without Do This is my Code Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset cn = New ADODB.Connection cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Shyam\Documents\Database1.mdb;Persist Security Info=False" cn.Open() rs = New ADODB.Recordset rs.Open("select* from STUDENTSWITHHOA", cn, adOpenKeyset, adLockOptimistic) Do …

Member Avatar for Reverend Jim
0
348
Member Avatar for katabullet

i have created two forms and two controls, form1 has a button, form two has label. now i wanted the caption of my label to change after clicking on my button, but i just can not call in the control "label" into my button click event because there are from …

Member Avatar for rishif2
0
196
Member Avatar for Aurax

Hi all I am trying to write a program to recognizing word or phrase is a palindrome or not. Please help me Regards Aura

Member Avatar for Reverend Jim
0
563
Member Avatar for krishjain99

I am using vb6 to do my project. When i define an initialize a variable i get the compile time error as "Expected:End of statement". The code is : Dim i as integer=1

Member Avatar for QVeen72
0
240
Member Avatar for Aurax

Hi all.. Please help me how to clear all textbox in form. It really hard to set each of it. Thank you Aura

Member Avatar for Aurax
0
207
Member Avatar for archangel1177

I was having a discussion with a co worker just now and we discussed the idea of a message box coming up as part of a search and displaying a JPG picture as part of the results. Is that even possible? If so then how difficult would it be to …

Member Avatar for AndreRet
0
333
Member Avatar for fx.eko

hi .. I use visual basic 6, I opened a new project, when I create a data report using Crystal Report 8.5 which already include the current Visual Basic will add a new report by way of Add -> Crystal report 8.5, the error message "Visual Basic has stopped working …

Member Avatar for AndreRet
0
2K
Member Avatar for jemartalaban_1

is there any java programming software that looks like vb6 ? our panelist said on our thesis defense that we must use java for our interface but we dont have any background in java programming, but only vb. please help. thanks

Member Avatar for jwenting
0
311
Member Avatar for fx.eko

hello all I create a report using Crystal Report 8.5 with RDC techniques, how to eliminate / prevent the printer from crystal report dialog does not appear if I had checked the printer is not ready to function printer checker that I created myself. in other words, how to cancel …

Member Avatar for fx.eko
0
163
Member Avatar for Robert Storm

The Class will create a program to store the name and the grid position of 6 common minibeasts. The Students from Calibre Academy will write a program to store the position of each common minibeast. The Software will. Allow one of six minibeasts to be selected from a menu. Enter …

Member Avatar for Ancient Dragon
0
229
Member Avatar for vizz

I need help to create **Process monitoring program.** (services, system, and user-run processes) If any **software/Process** wants to run, this program display it's details and ask user to **allow or block software/Process.** Also display List of All Running Processes with it's address(process related with perticular software) with **stop/block process** option. …

Member Avatar for NathanOliver
1
407
Member Avatar for Jake.20

Greetings can someone give me tips on how to solve this? When i'm searching for a data on the datagrid to edit it doesn't display the data to the corresponding text boxes. The textboxes is bound on the datafields I have these fields Combobox - Searchbox textfields Student ID Student …

Member Avatar for Jx_Man
0
228
Member Avatar for sarman.boyslo

hi all, newbie wanna ask... if i have string sent from serial comm, lets say the string is like this : name1 name2 name3 how can i split that string into separate string, lets say i will put name1 into textbox1, name2 into textbox2, name3 into textbox3? thanks for the …

Member Avatar for tinstaafl
0
2K
Member Avatar for masterfact18

what's the code for print button ? ? i got one form and i need to print it but i dont know what's the code for that... help please...

Member Avatar for rishif2
0
96
Member Avatar for Taras20

Hi everyone. I'm new in Visual Basic(i work in Visual basic 2010) and i have a problem and hope u will help me. I want to load image to pictureBox depending on randomly generated number. For example if random number is 14 then i want to load image with the …

Member Avatar for Taras20
0
2K
Member Avatar for jemartalaban_1

hi, i create a program with adodc and data, i created an exe file and installer of if, then i install it to other pc, but an error msg appear, there is a problem on my path of adodc to the database, but i was installed it to exact location …

Member Avatar for jovstudios
0
173
Member Avatar for jovstudios

Hello Guys, I need Your Help,, im just Worried for declaring the Month of January, Because whenI search Month of January , The Month of October, November, And december, Would Appear. I want to search is The Month of January Only. This is My Code. January = 1 February = …

Member Avatar for jovstudios
0
168
Member Avatar for Jake.20

I'm stuck on this problem for about 2 days now and i still can't find a way on how to bind my data column on the combobox. need help guys i really appriciate your help. And this is the code i have made so far. Private Sub Form_Load() adodc1.ConnectionString = …

Member Avatar for Jake.20
0
162
Member Avatar for masterfact18

what i want is to put a range in the textboxes like 1-100 and will not accept if it is greater than 100 or a negative number... hoping for your response...

Member Avatar for tinstaafl
0
208
Member Avatar for masterfact18

im creating a simple calculator and i dont know how to disable letter in the textbox.. can someone help me please...newbie here....BTW im using VB6...

Member Avatar for AndreRet
0
471
Member Avatar for 2mhzbrain

Please help, i do not know whats causing the problem... Dim miqty As Double Dim mitc As Double Dim siqty As Double Dim sitc As Double Dim diffqty As Double Dim difftc As Double Dim dvqty As Double Dim dvtc As Double dvqty = dynavqty.Text dvtc = dynavtc.Text Set editSIrs …

Member Avatar for 2mhzbrain
0
241
Member Avatar for masterfact18

!! i was trying to create a simple grading system but my project doesnt work it always shows the last if statement and ignore the other statement...please help here's my code...can someone please tell me what's wrong coz i dont know how to use if/elseif/else statement... newbie here...please help Private …

Member Avatar for tinstaafl
0
299
Member Avatar for masterfact18

hi everyone... my problem is i got 2 command button named command1 and command2..what i want to happen is when command2 is click the function of command1 will work... can someone please help me...

Member Avatar for masterfact18
0
252
Member Avatar for jemartalaban_1

hi, im using vb6 and i dont know how to work on a commandbutton that will trigger to another form. For example, i have a commandbutton in form1 and when i click it, there will be an effect in form2. Example, form1 1+1 and the answer will go to form2. …

Member Avatar for AndreRet
0
209
Member Avatar for jovstudios

Hello Guys .. I want to understant how to share my Database to the other Computer USing IP address.. Anyone can show me the code for connection.. This is my Code, acd.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\POS.mdb;Persist Security Info=False" acd.CursorLocation = adUseClient where can i put the ip in …

Member Avatar for AndreRet
0
172
Member Avatar for masterfact18

i would like to know hot to put a limited input in a textbox.. situation is like this i put a textbox in a form then what i would like to happen is to accept only 2 number and will not accept the following number that is being pressed...please help... …

Member Avatar for masterfact18
0
153
Member Avatar for jovstudios

Hello Guys I Have A Question.. I have a Table for My Daily Reports.. But I dont know to Show the Daily, Weekly, Monthly and Annual Reports. What Should I do?

Member Avatar for AndreRet
0
2K
Member Avatar for jovstudios

Hello Guys, I hav a Code For My Report in Daily .I don't know why there is nothing show the records. even though the Error not Popup. This is My code guys. Help Me Guys Dim rsReport1 As New ADODB.Recordset rsReport1.Open "Select purchase_date, BarCode, Price, ProductName, Quantity, TotalPrice From Dailyrecord …

Member Avatar for jovstudios
0
190
Member Avatar for Siberian

A script I have that checks if an external HDD is connected, which has a prompt to mount the drive, with the option 'retry' and 'cancel'. If I click 'retry' it says it has found the drive, even though it's not connected, how can I fix this ?

Member Avatar for Reverend Jim
0
166
Member Avatar for user777

Hi Everybody, Could somebody let me know the search code in a database (mdb database : with 1 table only) to write for a search command. I am using ADODC1 connection. Please also let me know for the above table if i want to add a new contact to the …

Member Avatar for AndreRet
-1
2K
Member Avatar for kimangel

Hi experts, I have a type mismatch error in getting time difference from database. Below are my codes. Private Sub cmdSearch_Click() Dim sTrID As String Dim Total As Integer Dim xhours As String Dim Intime As String Dim Outtime As String sTrID = txtSearch.Text Set rs = New ADODB.Recordset rs.Open …

Member Avatar for QVeen72
0
344
Member Avatar for dbellerue

I am developing a VB6 application which connects with an Access 2010 database. I want the application to execute queries stored in the database. Some of the queries include Access functions in field names. For example- FieldName: IIf(Nz([AnotherFieldName],0)=0,3,[AnotherFieldName])" Is there a way in VB6 to execute the queries natively in …

Member Avatar for QVeen72
0
633
Member Avatar for archangel1177

In a previous thread I was trying to get some code to work as a search function and after messing with it for a while I finally got it to work-sort of. What I have is a search function and when I run the code it does find the part …

Member Avatar for TnTinMN
0
223
Member Avatar for HassaanJalil

**I am building a hospital managment system as a practice in visual basic. I am having some problem I want to write or read data from particular row or column with visual basics How do I o it? Thanks in Advance -Hassaan bin Jalil**

0
151
Member Avatar for jovstudios

Dim Dbl1 As Double Dim Dbl2 As Double Dim Aux1 As String Dim qtyadd As String Dim subtotaladd As String Dim itm As MSComctlLib.ListItem Dim i As Integer Set itm = ListView1.FindItem(txtCode.Text) If itm Is Nothing Then ListView1.ListItems.Add , , txtCode.Text ListView1.ListItems.Item(ListView1.ListItems.Count).ListSubItems.Add , , txtproductname.Text ListView1.ListItems.Item(ListView1.ListItems.Count).ListSubItems.Add , , txtqty.Text ListView1.ListItems.Item(ListView1.ListItems.Count).ListSubItems.Add …

Member Avatar for AndreRet
0
182
Member Avatar for samirkhzem

just want to know the correct synthax for creating a table in access database using vb myqry = "CREATE TABLE HoldInvoide'" & k & "'(Barcode varchar(20) not null Primary Key, ItemName varchar(40) not null, Quantity int , Price double, Total double)" k is a variable i want to create a …

Member Avatar for Reverend Jim
0
360
Member Avatar for 2mhzbrain

experts please help on querying and counting the frequency of data, i want to count the number of data appearance then put it on like this: Name----Lastname----Relationship----Freq Egie----Tayag-------Brother---------2 i will place the result on a report counting the number of a person's visit on the theme park. TIA ^_^ SELECT …

Member Avatar for 2mhzbrain
0
167
Member Avatar for verbalurbs

Hello I am trying to display an ID which is a primary key in my table by selecting the corresponding name in my table. the names have been saved in a combo box and depending on the name selected the textbox will display that Id. the code I have so …

Member Avatar for martinhosking
0
430

The End.