Click here to Skip to main content
15,914,222 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Using "LIKE" Pin
Dave Kreskowiak22-Feb-10 3:21
mveDave Kreskowiak22-Feb-10 3:21 
QuestionAutodetect Pin
JustWorking21-Feb-10 20:30
JustWorking21-Feb-10 20:30 
AnswerRe: Autodetect Pin
Anubhava Dimri22-Feb-10 0:55
Anubhava Dimri22-Feb-10 0:55 
GeneralRe: Autodetect Pin
JustWorking22-Feb-10 1:27
JustWorking22-Feb-10 1:27 
GeneralRe: Autodetect Pin
Anubhava Dimri22-Feb-10 1:48
Anubhava Dimri22-Feb-10 1:48 
GeneralRe: Autodetect Pin
JustWorking22-Feb-10 2:15
JustWorking22-Feb-10 2:15 
QuestionGenerating datas in GridView and export to Excel [modified] Pin
John.L.Ponratnam21-Feb-10 19:39
John.L.Ponratnam21-Feb-10 19:39 
AnswerRe: Generating datas in GridView and export to Excel Pin
Paramu197321-Feb-10 23:05
Paramu197321-Feb-10 23:05 
Dim LoExcel As Microsoft.Office.Interop.Excel._Application,Dtb102 As New DataTable,MyExlFl as String

LoExcel = New Microsoft.Office.Interop.Excel.Application
Dim oSheet As Microsoft.Office.Interop.Excel.Worksheet

LoExcel = CreateObject("Excel.Application")
LoExcel.Workbooks.Add()
oBook = LoExcel.ActiveWorkbook
oSheet = LoExcel.ActiveWorkbook.ActiveSheet
LoExcel.Cells.Select()
LoExcel.ReferenceStyle = Microsoft.Office.Interop.Excel.XlReferenceStyle.xlR1C1
LoExcel.DisplayAlerts = False

oSheet.Cells(1, 1).value = "Project : " + Trim(Dtb102.Rows(0).Item("proj_city").ToString)

blah.....blah....blah...


MyExlFl = Drctry101 + "\Comparision_To_MPR_" + TextBox1.Text + ".xls"

Try
oBook.SaveAs(MyExlFl)
Catch ex As Exception
System.IO.Directory.CreateDirectory(Drctry101)
oBook.SaveAs(MyExlFl)
End Try
LoExcel.WindowState = Microsoft.Office.Interop.Excel.XlWindowState.xlMaximized
'oBook.PrintPreview(True)
LoExcel.Visible = True
LoExcel.ActiveWorkbook.PrintPreview()
LoExcel.Quit()
Questionpause and resume the execution upon finding a certain character in a textfile. Pin
xiah_junsu21-Feb-10 16:06
xiah_junsu21-Feb-10 16:06 
AnswerRe: pause and resume the execution upon finding a certain character in a textfile. Pin
Dave Kreskowiak22-Feb-10 3:15
mveDave Kreskowiak22-Feb-10 3:15 
GeneralRe: pause and resume the execution upon finding a certain character in a textfile. Pin
xiah_junsu22-Feb-10 16:42
xiah_junsu22-Feb-10 16:42 
GeneralRe: pause and resume the execution upon finding a certain character in a textfile. Pin
Dave Kreskowiak22-Feb-10 17:42
mveDave Kreskowiak22-Feb-10 17:42 
GeneralRe: pause and resume the execution upon finding a certain character in a textfile. Pin
xiah_junsu22-Feb-10 20:09
xiah_junsu22-Feb-10 20:09 
QuestionEvent Log ID Pin
Guizzardi21-Feb-10 7:40
Guizzardi21-Feb-10 7:40 
AnswerRe: Event Log ID Pin
Dave Kreskowiak21-Feb-10 8:26
mveDave Kreskowiak21-Feb-10 8:26 
QuestionVisual Studio 2005 and Windows 7 Pin
KreativeKai19-Feb-10 3:03
professionalKreativeKai19-Feb-10 3:03 
AnswerRe: Visual Studio 2005 and Windows 7 Pin
Dave Kreskowiak19-Feb-10 3:49
mveDave Kreskowiak19-Feb-10 3:49 
QuestionForceful use of My.Computer.Keyboard.CtrlKeyDown set to true from Edit Menu Pin
for120619-Feb-10 0:41
for120619-Feb-10 0:41 
AnswerRe: Forceful use of My.Computer.Keyboard.CtrlKeyDown set to true from Edit Menu Pin
Dave Kreskowiak19-Feb-10 3:28
mveDave Kreskowiak19-Feb-10 3:28 
AnswerHow to link Edit Menu selector to keyboard shortcut Pin
Richard MacCutchan19-Feb-10 3:59
mveRichard MacCutchan19-Feb-10 3:59 
AnswerRe: Forceful use of My.Computer.Keyboard.CtrlKeyDown set to true from Edit Menu Pin
Dave Kreskowiak19-Feb-10 4:08
mveDave Kreskowiak19-Feb-10 4:08 
AnswerRe: Forceful use of My.Computer.Keyboard.CtrlKeyDown set to true from Edit Menu Pin
Anubhava Dimri19-Feb-10 20:20
Anubhava Dimri19-Feb-10 20:20 
GeneralRe: Forceful use of My.Computer.Keyboard.CtrlKeyDown set to true from Edit Menu Pin
for120620-Feb-10 18:31
for120620-Feb-10 18:31 
AnswerRe: Forceful use of My.Computer.Keyboard.CtrlKeyDown set to true from Edit Menu Pin
Mark Hurd21-Feb-10 17:58
Mark Hurd21-Feb-10 17:58 
GeneralRe: Forceful use of My.Computer.Keyboard.CtrlKeyDown set to true from Edit Menu Pin
Anubhava Dimri21-Feb-10 18:09
Anubhava Dimri21-Feb-10 18:09 

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.