Click here to Skip to main content
15,915,324 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Question About this Function Pin
Dave Kreskowiak3-Sep-12 12:43
mveDave Kreskowiak3-Sep-12 12:43 
GeneralRe: Question About this Function Pin
CHACAMAN3-Sep-12 13:43
CHACAMAN3-Sep-12 13:43 
GeneralRe: Question About this Function Pin
CHACAMAN3-Sep-12 15:25
CHACAMAN3-Sep-12 15:25 
GeneralRe: Question About this Function Pin
Dave Kreskowiak4-Sep-12 9:34
mveDave Kreskowiak4-Sep-12 9:34 
GeneralRe: Question About this Function Pin
CHACAMAN4-Sep-12 12:06
CHACAMAN4-Sep-12 12:06 
QuestionFill Datagridview in one form From Another Datagridview Form Pin
Member 16002102-Sep-12 23:03
Member 16002102-Sep-12 23:03 
AnswerRe: Fill Datagridview in one form From Another Datagridview Form Pin
Sonhospa3-Sep-12 6:31
Sonhospa3-Sep-12 6:31 
AnswerRe: Fill Datagridview in one form From Another Datagridview Form Pin
wkalo5-Sep-12 9:33
wkalo5-Sep-12 9:33 
I Have Solved The Problem

How:

In Form Form1
[CODE]
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim MySearchForm As Form2

MySearchForm = New Form2()

MySearchForm.txtSearch.Text = txtsearchCriteria.Text

If MySearchForm.ShowDialog() <> DialogResult.OK Then
Return

End If
TextBox1.Text = MySearchForm.MySearch.STCODE
TextBox2.Text = MySearchForm.MySearch.STDESC
TextBox3.Text = MySearchForm.MySearch.STSELA
TextBox3.Text = MySearchForm.MySearch.STSELC
TextBox4.Text = MySearchForm.MySearch.STSELO




MySearchForm = Nothing
End Sub
[/Code]
In Form2
[CODE]
Public MySearch As New clsStock 'A Public Class Created To Collect Info From Specific Query
Private Sub gvStock_RowHeaderMouseDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellMouseEventArgs) Handles gvStock.RowHeaderMouseDoubleClick
With MySearch
.STCODE = gvStock.Rows(e.RowIndex).Cells("STCODE").Value
.STSELA = gvStock.Rows(e.RowIndex).Cells("STSELA").Value
.STSELB = gvStock.Rows(e.RowIndex).Cells("STSELB").Value
.STSELC = gvStock.Rows(e.RowIndex).Cells("STSELC").Value
.STSELO = gvStock.Rows(e.RowIndex).Cells("STSELO").Value
End With
End Sub
[/Code]
I Hope Everyone Would Benefit from it
wahid kalo

QuestionText_Changed Calculation error Pin
garyu871-Sep-12 20:24
garyu871-Sep-12 20:24 
AnswerRe: Text_Changed Calculation error Pin
garyu871-Sep-12 21:48
garyu871-Sep-12 21:48 
QuestionSecuring Local Files [Solved] Pin
Saul Johnson1-Sep-12 11:59
Saul Johnson1-Sep-12 11:59 
AnswerRe: Securing Local Files Pin
AspDotNetDev1-Sep-12 15:26
protectorAspDotNetDev1-Sep-12 15:26 
GeneralRe: Securing Local Files Pin
Saul Johnson1-Sep-12 23:13
Saul Johnson1-Sep-12 23:13 
GeneralRe: Securing Local Files Pin
dcu.lcr4-Sep-12 4:20
dcu.lcr4-Sep-12 4:20 
GeneralRe: Securing Local Files Pin
Eddy Vluggen4-Sep-12 5:16
professionalEddy Vluggen4-Sep-12 5:16 
GeneralRe: Securing Local Files Pin
dcu.lcr5-Sep-12 2:37
dcu.lcr5-Sep-12 2:37 
GeneralRe: Securing Local Files Pin
Eddy Vluggen5-Sep-12 3:22
professionalEddy Vluggen5-Sep-12 3:22 
AnswerRe: Securing Local Files Pin
Eddy Vluggen1-Sep-12 22:51
professionalEddy Vluggen1-Sep-12 22:51 
GeneralRe: Securing Local Files Pin
Saul Johnson1-Sep-12 23:18
Saul Johnson1-Sep-12 23:18 
GeneralRe: Securing Local Files Pin
Eddy Vluggen2-Sep-12 0:28
professionalEddy Vluggen2-Sep-12 0:28 
AnswerRe: Securing Local Files [Solved] Pin
James H3-Sep-12 22:21
James H3-Sep-12 22:21 
GeneralRe: Securing Local Files [Solved] Pin
Saul Johnson5-Sep-12 4:07
Saul Johnson5-Sep-12 4:07 
AnswerRe: Securing Local Files [Solved] Pin
Stephane Rivette At Motion4-Sep-12 2:07
Stephane Rivette At Motion4-Sep-12 2:07 
GeneralRe: Securing Local Files [Solved] Pin
Eddy Vluggen4-Sep-12 5:15
professionalEddy Vluggen4-Sep-12 5:15 
AnswerRe: Securing Local Files [Solved] Pin
BrainiacV4-Sep-12 8:30
BrainiacV4-Sep-12 8:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.