10,992 Topics

Member Avatar for
Member Avatar for veledrom

Hi, I set DataGrid1 column width as follows, but it doesn't effect when i run my program. [code] DataGrid1.Columns(0).Width = 3030.236 DataGrid1.Columns(1).Width = 1604.976 DataGrid1.Columns(2).Width = 1904.882 DataGrid1.Columns(3).Width = 1065.26 [/code] Thanks

Member Avatar for veledrom
0
111
Member Avatar for vinlam

This is my code. But there are 3 errors in it. 1st Error: Dim message As New MailMessage() 2nd Error: SmtpMail.SmtpServer = mailServer 3rd Error: SmtpMail.Send(message) Can someone teach me how to configure and correct the code? Imports System.Web.Mail Partial Class ReferaFriend Inherits System.Web.UI.Page Protected Sub btnSubmit_Click(ByVal sender As Object, …

0
44
Member Avatar for hell_tej

Hi Friends, First thing is I want to say Thank youuuuuuuuuuuuuuu. for retriving me answer on my other question you guys are such a greate people. Sory To Disturb you But I have One Big problem That i can't solve it :'( I m creating A project, in this project …

Member Avatar for debasisdas
0
173
Member Avatar for shashank.kuls
Member Avatar for vinlam
Member Avatar for karthiknv

Hi, I have a problem. I need to read some data from a text file and need to put it into XML file using VB6. I have the follwoing input from the text file: Suite id="ADD" description="Add Validation Suite" TestCase id="ATC_V_Add001" and so on.......... and I want the following format …

Member Avatar for karthiknv
0
235
Member Avatar for sidind123

Hi, Can anybody help me with the code to encode Magnetic Card with Magnetic Card Encoder and read Magnetic Card with Magnetic Card Reader? I have MSR205 Magnetic Card Encoder and MINI 123 Magnetic Card Reader. I want to have code in Visual Basic. Thanks in advance.

Member Avatar for bushman_222
0
124
Member Avatar for yuvarasan

HI i have an one excel file i need to extract the values from excel using VB and and display as a text file. i know the codes for this one. now i also want to extract the codes which was written in the VBE environment. i dont no how …

0
36
Member Avatar for manojthanal

I am started a new with VB6 Access project. I am connected database with ADODB, DSN Method that Code Given below. '======================In module ============== '=================== Connection With Database =============== '====================================================== Public CNN As New ADODB.Connection Public RS As New ADODB.Recordset Public cString As String Public Sub Main() Set CNN = …

Member Avatar for manojthanal
0
393
Member Avatar for g8or

I have a problem for some reason with Vbhide on one XP computer. I have some code running on 30 XP machines and it runs fine, but one XP machine doesn’t want to hide the window when executed. The below code is an example of the line of code that …

0
47
Member Avatar for bhoot_jb

i think it is not possible to print vertical lines along with text data in vb6..so i thot of transferring the whole contents from vb form to a word document. but now i dont know how to do that. i want to transfer the data in a specific tabular format. …

Member Avatar for bhoot_jb
0
180
Member Avatar for veledrom

Hi, I have a subroutine(callMe) in Module1. I want to call "callMe" in other subroutine in Form1. I cant do it. I cant call subroutine in other subroutine. How do i do it. Thanks

Member Avatar for QVeen72
0
353
Member Avatar for mykar_88

hi i would like to know the functions of webbrowser1.busy,STATE_COMPLETE and all other properties of web browser. pls also let me know how to make the process sleep until web browser gets loaded. thank u

Member Avatar for mykar_88
0
171
Member Avatar for benuu

Hi everyone. I'm new here, and I'm also starting to make reports using Crystal Report. Can you give me some tips (or any tutorial sites) for me to familiarize CR? Anyway, I installed Crystal Report 9.2 Many Thanks :)

Member Avatar for virendra777
0
72
Member Avatar for veledrom

Hi, Code below retrieves some of the enum values, not all. Why? Thanks [code] Dim RST As New ADODB.RecordSet Combo1.Clear RST.Open "Select Distinct Title From MyTable",Conn If Not RST.EOF Then RST.MoveFirst Do While Not RST.EOF Combo1.AddItem RST(0) & "" RST.MoveNext Loop End If [/code]

Member Avatar for veledrom
0
97
Member Avatar for karthik1

Hello, How to copy an item selected in a Listbox present in Form1 into a Combobox present in another form-Form2. Here the combobox contains a list of customers while the listbox contains only the selected few. For eg in the cbox i type "r" the i get a list of …

Member Avatar for selvaganapathy
0
114
Member Avatar for karthik1

Hello, I have a login form in Access which has a combobox and ac ommand button. The combobox has a list of customernames. On selected the customer in the CBox or specifying a part of the customername, when i click the commbuton i should get another form having a list …

Member Avatar for Jishnu
0
80
Member Avatar for annir

hi guys can someone pls help me... Im copying data from different files (all excel), how can I count the last row then the second data that im copied will placed under it. It's somehow like insert a record.. Thanks... :)

0
40
Member Avatar for annir

hi everyone; can somebody help me with my project. I have different files in one folder (Budget Folder) then I will import that in a single excel file (destibook.xls). This is the code. [ICODE] Dim DestBook As Workbook, SrcBook As Workbook Application.ScreenUpdating = False Set SrcBook = Workbooks.Open("C:\Documents and Settings\cbanato\My …

0
35
Member Avatar for maraippo

Hello.. I want to make a macro to create a chart from a table in different sheet. What i try to do is copy the information into a new sheet. Next i use the information copied to make a column clustered chart. The problem is the chart does not appead …

0
57
Member Avatar for mstarmatt

So far i have managed to butcher some code i found around 12mth ago to allow me to read the relevant node but i'm struggling to find out how to edit this node value and save the xml file. I cant find where i got this from or anything similar. …

0
103
Member Avatar for galaxies

I ask for simple help. I'm at a part of my application where I need it to open a text file, and search for id numbers within the text. There will be several instances of "id=######"s that I will need to grab from the text file, and put them line …

Member Avatar for fidodidoss
0
145
Member Avatar for mykar_88

hi how to make the process sleep until my webbrowser gets loaded. this is my code [B]webbrowser1.navigate("www.google.co.in") text=webbrowser1.document.body.innertext[/B] pls send me the code

Member Avatar for selvaganapathy
0
127
Member Avatar for fa_hed

I have a form has to (maskedbox1) and (maskedbox2) if maskedbox1 I put date of today, I want ([COLOR="Red"]maskedbox2[/COLOR]) show date after 30 days as defult I will be thank you if you help me to do this I use vb6

Member Avatar for selvaganapathy
0
206
Member Avatar for mobman

Hey guys I am a VB noob and need some help, basically this is what I want to do please look at the following picture [URL="http://www.bus.ucf.edu/llinden/courses/ISM3253/assignments/marketing_study.PNG"]CLICK FOR PICTURE [/URL] The app should basically pull up the data contained within this CSV file : [URL="http://www.bus.ucf.edu/llinden/courses/ISM3253/assignments/survey_data.csv"]CLICK FOR CVS FILE[/URL] and display it …

Member Avatar for mobman
0
182
Member Avatar for bhoot_jb

i am working on a vb project in which need has arised to print an invoice. however the problem is that the contents of the invoice is accompanied by horizontal and vertical lines. Also the so-formed rows and columns are not regular. My question is how can i print such …

Member Avatar for selvaganapathy
0
1K
Member Avatar for faizza007

When I Enter The First Data enters as null in the database. while record count shows me there is one record in the database. i have uploaded the whole project. can anybody figure out the error in the code. if yes please assist me!!! please note about the project : …

0
37
Member Avatar for buzincarl

[ICODE]Private Sub Form_Load() Dim tmp() As String Dim i As Integer Open App.Path & "\links.txt" For Input As #1 tmp() = Split(Input(LOF(1), 1), vbCrLf) Close #1 For i = 0 To UBound(tmp) DL.Download tmp(i), App.Path & "\" & ExtractFileName(tmp(i)), "k" & i Label2.Caption = "Connecting..." Next i End Sub Private …

Member Avatar for Jishnu
0
177
Member Avatar for apuamy

i am working in developing a package for reading data from a com port and then display its interpretation. i am getting data in a text box. i have a database to compare eachline and give results. Now my problem is data is coming in the text box, i have …

0
54
Member Avatar for Shilpa Jain

Hi all, I am generating a report in flexgrid. I need to copy this data in excel and attach the excel sheet in the outlook so that the mail can be send. Outlook will be opened on a button click. I am able to open the outlook but unable to …

Member Avatar for Shilpa Jain
0
101
Member Avatar for EddyLLC

In the code below I use the Form_Load to connect to a Access database and load a form and combo box. I then use the cboComp_Click to look for a record in the tblToDo table, If found I load it into the form using the FillFields If not found I …

Member Avatar for debasisdas
0
88
Member Avatar for agent7

Private Sub btnedit_Click() Dim a As Variant Set conn = New ADODB.Connection strConn = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=SPUM;Data Source=(LOCAL)" conn.ConnectionString = strConn conn.CursorLocation = adUseClient conn.Open 'lblindexid.Caption = rs!Indexid strsql = " Select * from ES_otherSchools where Indexid = '" & lblindexid.Caption & "' " Set rs = conn.Execute(strsql) …

Member Avatar for agent7
0
94
Member Avatar for vickypat

hi everyone, I am not a software kid that much but after getting fail from all books, im here for help. I am trying to read data from a device like monitor with a screen like calculator. It is connected with its main unit with 15 pin serial port like …

Member Avatar for vickypat
0
164
Member Avatar for veledrom

Hi, How do i select a particular value of a combobox? Example [code] combo1.selectvalue(rset.field("id"))[/code] I believe you understand what i mean. I bring data from database and want select it in combo. Thanks

Member Avatar for selvaganapathy
0
121
Member Avatar for apuamy

Can anybody help me. I want to store data from a textbox to a word document and viceversa. mt second query i have developed a package using Vb and access which involves mscomm com control. i am not able to make an exe file or make a package using package …

0
53
Member Avatar for hell_tej

hello Frends, i m creating a new project of vb to access conncetivity in 5 PC small LAN. I don't Know What is the code,connection string use in project. And I am biginar for that type of programming. I want to store data in server, access database tables. Please give …

Member Avatar for Jishnu
0
253
Member Avatar for mykar_88

hi i used the following code to read data from web. this is my code Private Sub Command1_Click() Dim Text As Variant WebBrowser1.Navigate ("www.google.co.in") [U]Text = WebBrowser1.Document.Body.Innertext[/U] MsgBox Text For i = 1 To 1000 If Mid$(Text, i, 8) = "google" Then MsgBox ("String Found") End If Next i End …

Member Avatar for bushman_222
0
161
Member Avatar for friedguy

I am working on a project that uses VB to control the application, DWGeditor. Basically, I am starting with a template .dwg file and then inserting others as blocks; essentially layering the files to create a final product. VB has allowed me to create an interface so that I can …

Member Avatar for friedguy
0
146
Member Avatar for swapna7999

hi i have 3 form and an exit button in 3rd form i want to close the whole project when i click exit i think unload me can only stops that particular form i want to close the whole project thank u very much

Member Avatar for hemen
0
569
Member Avatar for nanawan

hi... when i save a data from text box it didnt show at the listview how to do that? and someone please check my delete coding Private Sub cmdSave1_Click() If MsgBox("Are you sure you want to save?", vbYesNo + vbQuestion) = vbYes Then Set rec = New ADODB.Recordset rec.Open "Select …

Member Avatar for nanawan
0
107
Member Avatar for silver_buddah

hi, i am currently working on a software for hospital records. i am using vb6 linked to db. i wanted to view the records of the existing patient and add new records on the same patient and at the same time i would like to view the table of the …

Member Avatar for debasisdas
0
85
Member Avatar for Reg74

I'm getting the above error at this section --> SetCurDir ("\\Cls000008\actuarial_data\Xtractor") in my code below ... please help ! _____________________________________ Option Explicit Private Declare Function SetCurDir Lib "kernel32" _ Alias "SetCurrentdirectoryA" (ByVal lpPathName As String) As Long Public Sub Extract_POL(strinputfile, lngTOTpno, blnPOL, blnIDAT, blnTcode, _ blnHPTAR, blnTerm, blnOccode, blnAge, blnPollines, …

Member Avatar for Reg74
0
438
Member Avatar for ryan311

can anyone help me? where can i DOWNLOAD visual basic language for free? please help me thnx!!

Member Avatar for bornok15
0
83
Member Avatar for theaforcecoder

I have looked threw several times and cant find it. I am a coder for the united states air force. i feel ashamed that i have to get help but there is a first time for everything right? help will be much appreciated :) [code]Private Sub cmdLogin_Click() On Error GoTo …

Member Avatar for bornok15
0
68
Member Avatar for Tekito

I want an embedded listbox (with headers) on my excel spreadsheet, that references a range on the worksheet. So using the ControlBox Toolbar I created a listbox. First thing I noticed is that there is no RowSource property appearing for this listbox. So I tried to enter the range using …

0
71
Member Avatar for jithusdani

Hi folks, In My Application i have used the date function to find the difference between two date.but while executing is showing that runtime erroe 424,object required. Can anyone plz help me fast... This is the code i have used Dim date1, date2 As Date Dim diff As Long date1 …

Member Avatar for Jx_Man
0
165
Member Avatar for jbimontes

this is a simple quiz program for addtion that generates random numbers and records the attempts and correct answers that were taken. i have a problem, i need to have the percentage of the scores. i have a text2(number of attempts) text3(number of correct answers) the text4 should automalically have …

Member Avatar for Jx_Man
0
141
Member Avatar for jf404

Hi I need to import data from an excel sheet using a variable filename that has been defined through a user input.. I cant get it to work.. What could I use?? Cheers, J

0
44
Member Avatar for Baradaran

Hi, I have a form with two tabs. On each tab, I have 5 different fields. Is it possible to design the elements in a frame and assign them to a tabstrip, or do I have to load and place them in the new loaded tab? I would appreciate your …

Member Avatar for Baradaran
0
216
Member Avatar for memnac

Hello All, I have two multi-select listboxes, 'listFrom' and 'listTo'. I want to be able to copy mulitple selections from 'listfrom' to 'listTo' and delete those selections from 'listfrom'. To copy over multiple items is no problem but when i introduce the 'removeitem' line to delete the selection, it deletes …

Member Avatar for memnac
0
357

The End.