Click here to Skip to main content
16,005,206 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionMobile Application Pin
Socheat.Net2-Jun-06 21:45
Socheat.Net2-Jun-06 21:45 
Questionwhat is the differance between empty and null Pin
vipinpaliwal19802-Jun-06 20:27
vipinpaliwal19802-Jun-06 20:27 
AnswerRe: what is the differance between empty and null Pin
Socheat.Net2-Jun-06 21:56
Socheat.Net2-Jun-06 21:56 
AnswerRe: what is the differance between empty and null Pin
Guffa3-Jun-06 4:25
Guffa3-Jun-06 4:25 
QuestionOffice2003 - Set Plot Area's fill image Pin
john john mackey2-Jun-06 12:02
john john mackey2-Jun-06 12:02 
AnswerRe: Office2003 - Set Plot Area's fill image Pin
quacks_a_lot3-Jun-06 7:40
quacks_a_lot3-Jun-06 7:40 
GeneralRe: Office2003 - Set Plot Area's fill image Pin
john john mackey3-Jun-06 13:04
john john mackey3-Jun-06 13:04 
GeneralRe: Office2003 - Set Plot Area's fill image Pin
john john mackey3-Jun-06 14:05
john john mackey3-Jun-06 14:05 
Ok, I am really frusterated because I can't get the right "Chart", "Charts(i)" or parent object to do:
<br />
Charts(2).ChartArea.Fill.UserTextured "image.gif"<br />


In Office2003/VBA Object Browser, I typed in "UserTextured" to find what object I should use and worked my way up. Still no success Cry | :((


At my disposal are:
<br />
dim oXLApp as Object<br />
Set oXLApp = GetObject(,"Excel.Application")  'yadda yadda yadda<br />
...<br />
Set oXLApp = GetObject("MyExcel.xls")<br />
...<br />
dim wsWorksheet As New Excel.Worksheet<br />
dim coChartObject as ChartObject<br />
dim chChart as New Excel.Chart     'added in vain, but to no avail<br />
...<br />
Set wsWorksheet = oXLApp.Parent.Worksheets("XYPlot")<br />
wsWorksheet.Activate<br />
...<br />
Set coChartObject = wsWorksheet.ChartObjects(1)<br />
'  old stuff works in 2000, but not office 2003<br />
...<br />
'Tried unsuccessfully<br />
Set chChart = oXLApp.Charts(0)  'anything I put for index failed<br />
chChart.ChartArea.Fill.UserTextured ("myImage.gif")<br />
<br />
'failed!<br />
coChartObject.Chart.ChartArea.Fill.UserTextured ("myImage.gif")<br />
Set chChart = coChartObject.Chart<br />
...<br />


Argh! This is really chapping my hide Dead | X|


Johnny
QuestionVB.NET Windows CE Screen Capture Pin
matt_newboy2-Jun-06 5:41
matt_newboy2-Jun-06 5:41 
QuestionHow to create an Email program in VB that can read a log file Pin
Tram882-Jun-06 4:42
Tram882-Jun-06 4:42 
Questionprint graphic [modified] Pin
codeadair2-Jun-06 3:15
codeadair2-Jun-06 3:15 
AnswerRe: print graphic [modified] Pin
Robert Rohde4-Jun-06 12:09
Robert Rohde4-Jun-06 12:09 
QuestionRetrieve value in HTML tags Pin
J Liang2-Jun-06 3:14
J Liang2-Jun-06 3:14 
AnswerRe: Retrieve value in HTML tags Pin
Ed.Poore2-Jun-06 14:11
Ed.Poore2-Jun-06 14:11 
GeneralRe: Retrieve value in HTML tags Pin
J Liang2-Jun-06 16:44
J Liang2-Jun-06 16:44 
GeneralRe: Retrieve value in HTML tags [modified] Pin
Ed.Poore3-Jun-06 0:13
Ed.Poore3-Jun-06 0:13 
GeneralRe: Retrieve value in HTML tags [modified] Pin
J Liang3-Jun-06 3:09
J Liang3-Jun-06 3:09 
QuestionHelpcursor on a ToolStripMenuItem Pin
Sugan V2-Jun-06 2:02
Sugan V2-Jun-06 2:02 
AnswerRe: Helpcursor on a ToolStripMenuItem Pin
Robert Rohde4-Jun-06 12:11
Robert Rohde4-Jun-06 12:11 
QuestionRe: Helpcursor on a ToolStripMenuItem Pin
Sugan V4-Jun-06 19:00
Sugan V4-Jun-06 19:00 
AnswerRe: Helpcursor on a ToolStripMenuItem Pin
Robert Rohde4-Jun-06 22:21
Robert Rohde4-Jun-06 22:21 
QuestionRe: Helpcursor on a ToolStripMenuItem Pin
Sugan V4-Jun-06 22:34
Sugan V4-Jun-06 22:34 
QuestionRe: Helpcursor on a ToolStripMenuItem Pin
Sugan V7-Jun-06 1:29
Sugan V7-Jun-06 1:29 
Questionvolume shadow copy service Pin
borat2-Jun-06 1:18
borat2-Jun-06 1:18 
QuestionWhat is this Code snippet meaning? Pin
Krishnaraj Barvathaya B2-Jun-06 1:12
Krishnaraj Barvathaya B2-Jun-06 1:12 

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.