Click here to Skip to main content
15,898,755 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDistribution periods for teachers With Rnd -vb6 Pin
Ebrahem B Alabdaly12-May-11 5:45
Ebrahem B Alabdaly12-May-11 5:45 
AnswerRe: Distribution periods for teachers With Rnd -vb6 Pin
Simon_Whale12-May-11 6:10
Simon_Whale12-May-11 6:10 
AnswerRe: Distribution periods for teachers With Rnd -vb6 Pin
Eddy Vluggen13-May-11 7:23
professionalEddy Vluggen13-May-11 7:23 
AnswerRe: Distribution periods for teachers With Rnd -vb6 Pin
Joshi, Rushikesh12-May-11 22:07
professionalJoshi, Rushikesh12-May-11 22:07 
AnswerRe: Distribution periods for teachers With Rnd -vb6 Pin
Eddy Vluggen13-May-11 7:28
professionalEddy Vluggen13-May-11 7:28 
QuestionHow to check whether CD inesrted into CDDrive or not and how to check the CD free space and used space in VB6 Pin
sandeep sangshetty11-May-11 19:27
sandeep sangshetty11-May-11 19:27 
QuestionError while executing WMI query to check whther CD inserted or not Pin
sandeep sangshetty11-May-11 19:00
sandeep sangshetty11-May-11 19:00 
Questionscript for MS Word 2003 doesn't work for Word 2007 Pin
Member 791550011-May-11 5:05
Member 791550011-May-11 5:05 
Please help! I'm not a script wrriter, I used skript form "scripting Guys" to extract text marked in certain color from Word document, and it works great for any color. Then I got Word 2007 and now same script works only with color "Red", none of other font colors does work. If I use "brush tool" and apply, let say color "blue" or, any other, from my old document made in Word 2003, script works, but when I use colors from Word 2007 manu it does not. Below is the script (this one for Red and the only one that works):

Const wdColorRed = 255
Set objWord = CreateObject("Word.Application")
objWord.Visible = True
Set objDoc = objWord.Documents.Open("C:\Scripts\Form name for test.doc")
Set objSelection = objWord.Selection
Set objDoc2 = objWord.Documents.Add()
Set objSelection2 = objWord.Selection
objSelection.Find.Forward = True
objSelection.Find.Format = True
objSelection.Find.Font.Color = wdColorRed
Do While True
objSelection.Find.Execute
If objSelection.Find.Found Then
strText = strText & objSelection.Text & vbCrLf
Else
Exit Do
End If
Loop
objSelection2.TypeText strText
Thanks!
AnswerRe: script for MS Word 2003 doesn't work for Word 2007 Pin
Dave Kreskowiak11-May-11 6:19
mveDave Kreskowiak11-May-11 6:19 
QuestionSave a PDF file into a SQL Server Pin
Central_IT10-May-11 2:36
Central_IT10-May-11 2:36 
AnswerRe: Save a PDF file into a SQL Server Pin
Shameel10-May-11 3:03
professionalShameel10-May-11 3:03 
Questionhow to create dynamic reports Pin
Preeti19799-May-11 23:24
Preeti19799-May-11 23:24 
QuestionProper way to use .contains and .find methods with List(of object) Pin
Jon_Boy6-May-11 4:35
Jon_Boy6-May-11 4:35 
AnswerRe: Proper way to use .contains and .find methods with List(of object) Pin
Manfred Rudolf Bihy6-May-11 5:10
professionalManfred Rudolf Bihy6-May-11 5:10 
AnswerRe: Proper way to use .contains and .find methods with List(of object) [modified] Pin
AspDotNetDev6-May-11 5:16
protectorAspDotNetDev6-May-11 5:16 
GeneralRe: Proper way to use .contains and .find methods with List(of object) Pin
Jon_Boy6-May-11 6:01
Jon_Boy6-May-11 6:01 
GeneralRe: Proper way to use .contains and .find methods with List(of object) Pin
Tarun.K.S6-May-11 8:04
Tarun.K.S6-May-11 8:04 
QuestionData binding Pin
Margaret Nansubuga4-May-11 3:46
Margaret Nansubuga4-May-11 3:46 
AnswerRe: Data binding Pin
Simon_Whale4-May-11 4:04
Simon_Whale4-May-11 4:04 
QuestionHow to check CDDrvive is ready or not Pin
sandeep sangshetty3-May-11 19:21
sandeep sangshetty3-May-11 19:21 
AnswerRe: How to check CDDrvive is ready or not Pin
Dave Kreskowiak4-May-11 1:21
mveDave Kreskowiak4-May-11 1:21 
AnswerRe: How to check CDDrvive is ready or not Pin
Simon_Whale4-May-11 1:22
Simon_Whale4-May-11 1:22 
QuestionCannot close application in or outside of debugger Pin
Alan Burkhart3-May-11 16:32
Alan Burkhart3-May-11 16:32 
AnswerRe: Cannot close application in or outside of debugger Pin
Luc Pattyn3-May-11 17:34
sitebuilderLuc Pattyn3-May-11 17:34 
GeneralRe: Cannot close application in or outside of debugger Pin
Alan Burkhart3-May-11 17:45
Alan Burkhart3-May-11 17:45 

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.