|
It's called a 3rd PARTY component. It means that someone else besides you or Microsoft wrote it. A 3rd party/person wrote the component.
Google for PDF writer! You'll find dozens of them. One here on CP, a bunch over on SourceForge, ...
But in ALL cases, YOU have to learn how to use the component.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
if i download the pdf writer like i ve just done do i need a subroutine to call a function that will create the acrobat ?
|
|
|
|
|
Yes! This stuff doesn't happen automagically! As for exactly how to use the components, you're better off talking the manufacturer of the component!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
I am working on VB.NET Windows form application. I am using Data Binding feature of .NET. I have one problem as described below:
There are two table call “Overheads” and “OverheadDistribution”.
OverheadID is Primary Key for Overheads and FK for Overheads.
There is a Master-Detail Win Form where OverheadDistribution is shown in Datagrid as part of Detail part for selected Master (Overhead).
When I fetch data from Data source in DataSet. I make a DataRelation using OverheadId and assign this DataRelation to Datagrid as DataSource.
There are ten numbers of records in OverheadDistribution and for OverheadID=1, there are two records (OverheadDistributionID = 3,5). So, there are two rows in Datagrid.
When I want to delete a row from Datagrid, I select a row in Datagrid, get Row index using CurrentRowIndex, let assume I select row no 2 means actually fifth row in datatable (“OverheadDistribution”).
So, How can I find corresponding row of Datagrid in Datatable? Means, by clicking on Datagrid row, how can I find respective row in DataTable?
Regards,
|
|
|
|
|
I am using DirectShow in vb.net.
Now here is a picturebox in a winform, in which I want the video class play.
How to set the size of the video?
Thanks!
|
|
|
|
|
Set the size of the picture box.
There may be a mode that causes the video to play full screen, but it's my recollection that happens by itself.
Managed DirectShow is really crap - make sure you read my article on the subject so you know it's limitations.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Thank you.
However, when play again after the video stopped, the video size do not same as before
|
|
|
|
|
If you read my article, as I suggested, you'd know that's one of the ways that managed DirectShow fights you, and you need to create your own control which does not allow itself to be sized without your permission.
managed Direct Show is crap. I ended up using Windows Media Player instead.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
<< managed Direct Show is crap >>
-- Is this the title of your article?
|
|
|
|
|
ROTFL - no, search for articles by Graus and you'll find it.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I need to create a report that will pull up information from a database as a flat file. I have created the form but as this is my first project not sure where to go from here to create the flat file and to create a test file for a test upload. Please help.
|
|
|
|
|
When you say "Flat file" are you meaning a simple text file? If so try something like this.
Dim sw as System.IO.StreamWriter = new System.IO.StreamWriter("C:\test.txt")
sw.Writeline("Line 1")
sw.Writeline("Line 2")
sw.Flush
sw.Close
|
|
|
|
|
how can i see how many hours there are from a time till another time. example: from 11pm yesterday till 11am Now there is 12 hrs! how can i make this happen??
Adrian De Battista
|
|
|
|
|
|
|
Dim date1 As Date = "30.05.2005 13:54:00"
Response.Write("Hours Passed From 30.05.2005 13:54 to now is:")
Response.Write(" " & ((DateTime.UtcNow.Ticks) - (date1.Ticks)) / TimeSpan.TicksPerHour)
-MCP& MCAD &junior coder--
|
|
|
|
|
|
i thought it is asp.net forum..
sorry...
-MCP& MCAD &junior coder--
|
|
|
|
|
|
I made lot's of mistake at once
It was not a comment for you, just a little help for pyxcho_a..
sorry again..
-MCP& MCAD &junior coder--
|
|
|
|
|
Anyone knows the coding to count the number of pages in a selected microsoft word's document??
|
|
|
|
|
Try
<br />
Function GetBuiltInProperty(objDoc As Object, _<br />
strPropname As String) As Variant<br />
<br />
' This procedure returns the value of the built-in document<br />
' property specified in the strPropName argument for the Office<br />
' document object specified in the objDoc argument.<br />
<br />
Dim prpDocProp As DocumentProperty<br />
Dim varValue As Variant<br />
<br />
Const ERR_BADPROPERTY As Long = 5<br />
Const ERR_BADDOCOBJ As Long = 438<br />
Const ERR_BADCONTEXT As Long = -2147467259<br />
<br />
On Error GoTo GetBuiltInProp_Err<br />
<br />
Set prpDocProp = objDoc.BuiltInDocumentProperties(strPropname)<br />
With prpDocProp<br />
varValue = .Value<br />
If Len(varValue) <> 0 Then<br />
GetBuiltInProperty = varValue<br />
Else<br />
GetBuiltInProperty = "Property does not currently have a value set."<br />
End If<br />
End With<br />
<br />
GetBuiltInProp_End:<br />
Exit Function<br />
GetBuiltInProp_Err:<br />
Select Case Err.Number<br />
Case ERR_BADDOCOBJ<br />
GetBuiltInProperty = "Object does not support BuiltInProperties."<br />
Case ERR_BADPROPERTY<br />
GetBuiltInProperty = "Property not in collection."<br />
Case ERR_BADCONTEXT<br />
GetBuiltInProperty = "Value not available in this context."<br />
Case Else<br />
End Select<br />
Resume GetBuiltInProp_End:<br />
End Function<br />
Try the "Pages" property.
'--8<------------------------
Ex Datis:
Duncan Jones
Merrion Computing Ltd
|
|
|
|
|
Hy guys, i'm Alessio and i'm writing to ask you where I can find info about ie plugin developing.
I don't know if it is a possible job and, if yes, how could i do it.
So, thanx in advance and excuse me for my english.
|
|
|
|
|
Hi I am trying to save email message to personal folder and also attachment. But when I tried to run the code, until it tried to access c:\ folder it gives an error: Object reference not set to an instance of an object. do you know what happen. Thanks
Dim objApp As Outlook.Application
Dim objNameSpace As Outlook.NameSpace
Dim objMAPIFolder As Outlook.MAPIFolder
Dim objMailItem As Outlook.MailItem
Dim iRow As Integer, i As Integer, j As Integer
objApp = New Outlook.Application
objNameSpace = objApp.GetNamespace(Type:="MAPI")
objMAPIFolder = objNameSpace.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox)
For i = 1 To objMAPIFolder.Items.Count
objMailItem.SaveAs("c:\Outlook\" & objMailItem.Subject & ".msg") 'error says Object reference not set to an instance of an object.
If objMailItem.Attachments.Count <> 0 Then
For j = 1 To objMailItem.Attachments.Count
objMailItem.Attachments.Item(j).SaveAsFile("c:\Outlook\" & objMailItem.Attachments.Item(j).FileName)
Next j
End If
Next i
|
|
|
|
|