10,992 Topics
![]() | |
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 | |
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, … | |
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 … | |
How to create dialogue box in asp.net using c#.net:-O | |
| |
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 … | |
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. | |
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 … | |
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 = … | |
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 … | |
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. … | |
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 | |
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 | |
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 :) | |
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] | |
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 … | |
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 … | |
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... :) | |
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 … | |
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 … | |
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. … | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 : … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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) … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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, … | |
can anyone help me? where can i DOWNLOAD visual basic language for free? please help me thnx!! | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … |
The End.