|
THANKS!
|
|
|
|
|
Hello. I want to learn that converting an excel chart or table to pdf with iTextSharp.dll is possible or not?
If it is possible which classes I must use?
Is there any example or link that you can recommend?
If anybody help me I will be glad.
Thank you.
Murat
|
|
|
|
|
hellow to all ..
i have 2 projects that i would like to put them in one Solution ,
i did so , and i can run the project , but when i wanna access to a FORUM from first project and call it to show , i can't , how can i make this happen ?
thxx
|
|
|
|
|
you should reference one project to the other (add reference).
lets say preject1 and project2 , then go to the references on project1 ,
right click and click (add reference), on the add reference dialog go to the third tab (projects) then select project2, then press ok.
when you want access somethingin project2 inside project1 , do like this
project2.claassUser (for example)
Tamimi - Code
|
|
|
|
|
aha , great thank u i had just done this ,
but when i click the project i recive this message a refernce to 'Routes' could not be added. an assembly must have a 'dll' extension in order to be refernce .
do u have anyidea what i should do ?
thank u
|
|
|
|
|
ok
on the solution explorer select project2 then from the main menu select
Project -> Properties on the properties dialog (be sure that you are doing this for project2) change the (output type)combobox to (Class Library) then press ok().
redo what i wrote in the my first msg.
Tamimi - Code
|
|
|
|
|
thank u for ur help ! it worked for me
|
|
|
|
|
i have developed one small application in vc++.net. when i install this software in any other machine, is it required that the client system should have .Net Framework installed.??
Thanks and regards
Salai
|
|
|
|
|
Yes, the .NET framework is required on the client machine.
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
|
|
|
|
|
This is the wrong forum. But when you say VC++ .NET do you mean that you built a .NET app. or an unmanaged app., e.g., MFC?
If the former than you need .NET on the other machine. If the latter then you don't.
Kevin
|
|
|
|
|
If everyone know how to add icon to ToolStripComboBox in VB.NET 2005, please help or give me some example
................
|
|
|
|
|
I don't how change title bar when java script alert in WebBrowser Control in VB.NET
................
|
|
|
|
|
I don't how to getting start with mobile applcation with VB.NET 2005?
Can u give me example?
................
|
|
|
|
|
hello hi,
pls give
what is the differance between empty and null
vipin paliwal
|
|
|
|
|
Null is zero length string
Empty depent on
................
|
|
|
|
|
That depends on the context.
In programming null is a reference to nothing, or a pointer that doesn't point anywhere. In VB the Nothing keyword is used for a null reference.
In programming empty has no special meaning, it's just something that doesn't contain anything. For instance a string with the length zero.
In databases null is used in fields that contains no data. Any field can contain null, unless the table specification forbids null in the field.
An empty value in a database is a text field than contains no characters. A numeric field or date field can not be empty.
---
b { font-weight: normal; }
|
|
|
|
|
Hi.
I wrote some VBA code in Office 2000, MS Access, that calls Excel, creates a plot, and then sets the background image for the plot
<br />
Set coChartObject = wsWorksheet.ChartObjects(1)<br />
coChartObject.Chart.PlotArea.Fill.UserPicture ("c:\images\Bkgrnd1")<br />
coChartObject.Chart.PlotArea.Fill.Visible = True<br />
When I try to run this code in Office 2003, I get an error on the line that sets my background image - it doesn't recognize the function.
I was able to "Watch" this object and when I tried to expand its structure, I can only get to the "Fill" field - there is NO "UserPicture" field under the Chart object in Office 2003
How do I set the PlotArea's background image in Office2003/VBA code?
Thanks,
Johnny
|
|
|
|
|
|
In Office2003, I'm using the Object Browser (F2) in VBA coding window to see what's available.
When I search for my coChartObject (dim'd coChartObject As ChartObject), I don't see Chart as a member. This is probably why failing in Office/Access 2003 VBA code.
Here are my dim statements and code that worked in 2000 (again)
<br />
Dim wsWorksheet As New Excel.Worksheet<br />
Dim coChartObject As ChartObject<br />
...<br />
Set wsWorksheet = oXLApp.Parent.Worksheets("XYplot")<br />
wsWorksheet.Activate<br />
...<br />
Set coChartObject = wsWorksheet.ChartObjects(1)<br />
coChartObject.Chart.PlotArea.Fill.UserPicture (strImagePathname) 'FAILS HERE in 2003<br />
coChartObject.Chart.PlotArea.Fill.Visible = True<br />
At this point, I'm not worried about backward compatability - I just want to set a background image in Office 2003 (from VBA code in MS Access directing MS Excel.)
Huge thanks to all who can help. will check link above
Johnny
|
|
|
|
|
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
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
Johnny
|
|
|
|
|
Hi all,
First off, this is a great site for resource and this is the first time I have posted.
Im in need of a little help please.
I have just installed VB.NET for the first time today. I am used to programming in VB6 and have now installed vb.net 2003.
I have the requirment to create an application in vb.net that is for the windows ce platform to capture a screen shot and save it as a bmp or jpg. Doesnt matter which format as long as it saves in the app.path
Ive been looking at some sample code for vb.net that used the clipboard.getdataobject() but when I load a new project for Windows CE the clipboard.getdataobject doesnt exist!! Am I being stupid or have I missed somthing?
So two questions really:
1) Does anyone have any sample code for screen capture with vb.net for Windows ce (4.1 im using on my device).
2) Please could someone explain why I do not have the same syntax commands when creating a project for windows ce on visual studio .net 2003 compared to a windows application ?
Thanks in advance!
If you would like to reply to me directly please reply to matt@mattsgadgets.co.uk
Thanks again!!
|
|
|
|
|
Dear all,
I would appreciate your help so far. I am a new learning/working with VB6 and I am working on a program to create a Email application in VB6, this program will read a log file and and scan a "error" text in this log file.
If the log file is not contain an "error" text string, it will send a message to someone with a design text in the text body.
If the log file is contain an "error" text string, it will send a message to someone with a number of error in log file.
I really dont understand how it work, and if you can help me out, would you please show me how to create it or any code would be a big appreciation.
Thanks,
Tram88
|
|
|
|
|
I write a program to print an undee chart.The main code as follows:
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
AddHandler PrintDocument1.PrintPage, AddressOf drawpictoprinter
PrintDocument1.Print()
End Sub
Private Sub drawpictoprinter(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs)
Dim pg As Graphics
pg = e.Graphics
pg.TranslateTransform(xtran, ytran) 'xtran,ytran >0
pg.ScaleTransform(xscaletran, yscaletran)
Dim j As Integer
Try
For j = 0 To rwrecord - 1 'rwrecord is the unbound of
'array redraw or ydraw
pg.DrawLine(redrawpen, xredraw(j), -yredraw(j), xredraw(j + 1), -yredraw(j + 1))
Next
Catch ex As Exception
Throw ex
Finally
pg = Nothing
GC.Collect()
End Try
End Sub
when i press button5 the first time.what do you think the output chart of printer?And the second time?The third time?....
When i do it the first time.Output chart is an undee chart that i want to be.But the second time when i do it.Two undee chart appear.and One is upper,the other is under it.The horizontal distance is xtran,The vertical distance is ytran.
I do think the focus is pg.TranslateTransform(xtran, ytran) and
pg.ScaleTransform(xscaletran, yscaletran)
I run the program step by step.what i found are:
1>when i press button5 the first time.drawpictoprinter method execute one
time
2>When i do it the second time.drawpictoprinter method execute two times
3> And so on
WHY?
Any care will be appreciated much
Best regards
ICQ:258-235-734
MSN:msnadair@hotmail.com
-- modified at 9:19 Friday 2nd June, 2006
|
|
|
|
|
codeadair wrote: AddHandler PrintDocument1.PrintPage, AddressOf drawpictoprinter
This is causing it. You are adding the event handler everytime you press your button. Either unbind (RemoveHandler) it after you have finished or make sure you bind it only once.
|
|
|
|
|
Hi,
I am trying to retreive a string between a tag in my HTML page. I can get the string if it is <td>The String is here</td>. But the problem is when it is like this <td bgcolor="#FFEFCE" width="40%" align="center">The String is here</td>, the result I may get is 'bgcolor="#FFEFCE" width="40%" align="center">The String is here'. How do I get rid of the other unwanted stuff?
Please do help me, I have been cracking my head to solve this. Thank you
J Liang
|
|
|
|