Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums

17 Posted Topics

Member Avatar for karthiknv

Dim apw As Word.Application Dim Dcap As Word.Document Dim strpath As String strpath = "c:\asd.doc" 'Change filename and path to your desired location Set apW = New Word.Application Set Dcap=apw.Documents.Open(strPath,True) apw.Visible= True Dcap.Activate I knw this,bt i am not able to hold the add(ie strPath) from my [COLOR="Red"].frm [/COLOR]to [COLOR="Red"].cls[/COLOR] …

Member Avatar for kaktuz
0
1K
Member Avatar for dev_kc

I am trying to create a logfile for my project,whenever an err occurs,i want to store that info in my logfile,with a prefix of [COLOR="Red"]err[/COLOR] while reading the file,i want to check for this err prefix,and change that message color to red,only the err msg should come in red while …

Member Avatar for ddanbe
0
289
Member Avatar for dev_kc

I need to call d class library on the click event of button,its in the same project,I don't know hw to call this,please tell me the steps which i need to follow for this,plz give sm examples,i m new to this....

Member Avatar for ddanbe
0
101
Member Avatar for dev_kc

I have written my code in a CLASS LIBRABY file,now i need to call this on click of a button which is there on the windows form... I am using Visual Studio2005 Please help me,i don't have any idea about how to do this:S

Member Avatar for Prof.Mendl
0
128
Member Avatar for dev_kc

This is the code i am using for displaying data into the DataGrid,bt its not working,plz help Set DataGrid1.DataSource = rs If rs.EOF And rs.BOF Then MsgBox "Invalid Entry", vbOKOnly, "Stop!!" Exit Sub End If Do DataGrid1.Columns(0).Caption = rs!PS_NO DataGrid1.Columns(1).Caption = rs!Name DataGrid1.Columns(2).Caption = rs!DT_PREP DataGrid1.Columns(3).Caption = rs!ADV DataGrid1.Columns(4).Caption = …

Member Avatar for KSS
0
119
Member Avatar for sweet_girl

Set Con = New ADODB.Connection Con.Open "dsn=Datadb;driver={microsoft access driver(*.mdb)};dbq=d:\ABC\test.mdb" Set rs = New ADODB.Recordset Declare con and rs as public

Member Avatar for abu taher
0
139
Member Avatar for dev_kc

How can i print values on the word document from access table,there are more than 1 records for a single person Here recordcount holds 4 values,bt it is not beng printed on the word doc,it is coming out of the procedure [code] If rs.RecordCount <> 0 Then If Not IsNull(rs!Name) …

Member Avatar for dev_kc
0
210
Member Avatar for ericssionz

Con.ConnectionString = "Provider=OraOLEDB.Oracle.1;" & "Password=" & strpass & "; User ID=" & strlogin & ";Data Source=" & strDB & "; Persist Security Info=True" Con.CursorLocation = adUseClient Con.Open hope it helps u in some way

Member Avatar for dev_kc
0
75
Member Avatar for dev_kc

I have 2 tables Details,Mstr. Mstr table contains(PSNO,NAME,DOB,DOJ)=>PSNO- PK Details(PSNO,NAME,PH,SAL_ACC,ADV,DT_PREP)PSNO-FK In Grid i need to display SAL_ACC NAME ADV DT_PREP 12345 abc 150 5/25/2009 12345 abc 300 5/30/2009 12345 abc 200 6/11/2009 how do i do ths,please help

Member Avatar for debasisdas
0
96
Member Avatar for dev_kc

I have been asked to use data grid in my proj,bt i dnt knw hw to use this,please help... On click of search btn,the data should be displayed in the grid and textbox,I know how to display in the text box,but dnt knw anything abt this grid........ PLEASE HELP:S

Member Avatar for arvin2006
0
91
Member Avatar for dev_kc

This is the code i m using for updating table,which the user is entering through textbox in vb form Con.Execute "update Details set NAME='" & txtName.Text & "' and DT_OF_BTH='" & txtDOB.Text & "' and DT_OF_JOING='" & txtDOJ.Text & "' and SALARY_ACC='" & txtAccountNo.Text & "' and REMBSMNT_ACC='" & txtRmbr.Text …

Member Avatar for vb5prgrmr
0
126
Member Avatar for dev_kc

The control is not going to EditGoto,its is coming out of the whole sub part on report click btn Public Sub Create_Report() WordDocument.EditGoto "CurrentDate" WordDocument.Insert Format(Now, "mmm,d,yyyy") End Sub Public Sub EditGoto(inNm As String) owordapp.Selection.Goto What:=wdGoToBookmark, Name:=inNm End Sub Please help me with this:S

0
73
Member Avatar for dev_kc

I am not able to create object for word doc,this is the code i wrote,the object sets to nothing,when i run the code If blnChkFirst = False Then Set owordapp = CreateObject("Word.Applicatiion") Else Set owordapp = GetObject(, "Word.Applicatiion") If Err.Number <> 0 Then Set [COLOR="Red"]owordapp[/COLOR] = CreateObject("Word.Applicatiion") owordapp.Visible = True …

Member Avatar for cguan_77
0
95
Member Avatar for dev_kc

how do i use update command in vb?? I need to make changes in the database from vb form,the changes made in the text box should be made in the database as well,this is the code i am using Con.BeginTrans Con.Execute "update Details set PS_No=" & Trim(txtPSNo.Text) & " and …

Member Avatar for javmedia
0
85
Member Avatar for dev_kc

I need to delete the row in access database through vb6.0... I am using the search button to search the records,and then i need to delete those from the database,using the delete button. In the same way i need to upadate/edit the info in vb form and update it to …

Member Avatar for debasisdas
0
124
Member Avatar for dev_kc

I am wrking on a VB6 project,and I m new to this,I need to save the inputs values from the text boxes from the VB form,and using the command button,i need to save the data into the access database which i had created named Dtldb.mdb How do I use Data …

Member Avatar for debasisdas
0
89
Member Avatar for dev_kc

I am developin a project in VB6,i need to save the data inputs in form to the Access Database,using the save button......... Plz help me Thnks in advance:)

Member Avatar for debasisdas
0
84

The End.