|
Can anyone recommend a third party pdf processing component that I can run on a server. It needs to convert word and excel files (and possibly other formats) to pdf.
Jim
|
|
|
|
|
I haven't seen any FREE ones. Most of the components that I've come acrossed cost upwards of $1500. There are online coversion tools that can do the same job, but again, they are not free for production use.
RageInTheMachine9532
|
|
|
|
|
Thanks for the reply. I realize they're not free. I'm after feedback from people who have used these products and can give some feedback on how good the products are. Since posting my original query I have come across www.pdftools.com which is a usefull site for all pdf tools.
Jim
|
|
|
|
|
Dear community
I am working at a my project in Visual Basic 6 (Service Pack 5) and I notice this seroius problem.
When I create my executable on a PIII or Athlon Processor the speed of the program is almost two faster than when I create my executable on P4.
I think that the compiler isn't optimized for P4, but it's a strange fact.
( The P4 Work at 2.4 Ghz, P3 work at 1.0 Ghz and Athlon XP work at 1.6 Ghz (It is a AthlonXP2000)
Somebody can help me for increasing the speed on P4?
|
|
|
|
|
Unfortunately, the compiler doesn't have any optimizations for a P4, or a P3 for that matter. There's got to be something else installed on the machine that is causing this. I've run VB6 SP5 on my machines, P3, P4 and Athlon 2600+, with no difference between the executables or their speed.
Are the .EXE files generated EXACTLY the same, byte for byte?
RageInTheMachine9532
|
|
|
|
|
I have done two tests:
First I have made the executable on P3 and I tested it on P4. The difference on speed is about two times.
Second: I have made the executable on P4 directly, but it is the same.
The source code is the same, in each tests.
I have used Windows2000, and WindowsXp : there are no difference.
E.G.
|
|
|
|
|
Let me get this straight:
You compile the program on a P3. Run it on the P3 and P4 and the performance is about twice as fast on the P4.
You compile the program on a P4. Run it on the P3 and P4 and the performance is EQUAL on both machines!? and its slower than when the program was compiled on the P3?
RageInTheMachine9532
|
|
|
|
|
Probably I made some mess in my word..
I tested the speed in two way:
First: I compile the program on a P3(1 Ghz) and I copy it on a P4 (2.4 Ghz) also.
In this way the executable is the same (Byte per Byte), but I see that the speed on P3 is faster (!!!) than the P4.
Second: I compile the program on P3 and run it.
I compile the program on P4 and run it.
I see that the P3 is faster than P4.
The P3 is faster than P4. Why? (Very strange)
I didn't install any special program and I have made some tests on different P4.
E.G.
|
|
|
|
|
Hi everyone
I would like to know how to embed a image used in a PictureBox or an icon used in a Menu, someone sugessted using an imageList but then do you have to reference it to you form or the control that you are using, if so what is the best possible way to do this??? I have created a setup program but after it is installed it comes up with an exception, could that be due to me not referencing my pictures, can anybody give a reason for the problem and a solution.
Sorry about the clarity of the other messages but it is hard to explain the problems and what i want to achieve.
The error reads
"An exception 'system.IO.FileNotFoundException' has occured in PgoramMenu.exe."
Thanks
Vu
|
|
|
|
|
You can ambed pictures the following way ::
(this is how I do it)
Include de picture or image in your project, and select is in your 'Solution Explorer'
The in the properties window, change to 'Embedded Resource'
Now you can access the image from within your app...
Dim bmpMyImage As New Bitmap (Me.GetType, "Namespace.To.Image.jpg")
(Don't know if the above line is exactly correct, but something like that should help you on your way.)
|
|
|
|
|
You can ambed pictures the following way ::
(this is how I do it)
Include de picture or image in your project, and select is in your 'Solution Explorer'
The in the properties window, change to 'Embedded Resource'
Now you can access the image from within your app...
Dim bmpMyImage As New Bitmap (Me.GetType, "Namespace.To.Image.jpg")
(Don't know if the above line is exactly correct, but something like that should help you on your way.)
|
|
|
|
|
Hi,
I'm working on vb. net and sql server... I have a table called "rproduct" which has 2 fields declared as 'datetime' namely for "date received" and "time received".
I'm using datagrid in vb .net to view the table data and also to modify and update etc.
The problem was that I wasnt able to view only time and only date in the respective fields, instead I used to get 'date and time' in both the fields. So what I did is something like this
select substring(cast(dater as varchar),0,13),
substring(cast(timeR as varchar),14, 20) from rproduct
and I set respective column in dataset's .xsd file as 'string' so that I can c the only date in "date received" field and just time in "time received" field.
But now the problem is I dont know how can I save the changes made in these fields back to database???
shatru2k
|
|
|
|
|
Hi guys I'm making a simple program in VB and thi is like one of my first attempts at using VB6 with SQL Server 2000. I've made a simple database in Sql server and a simple front end in VB6. I'm following a tutorial and the problem is that I get this error everytime I try to run my code.
Run time error '-2147467259' (80004005)
Login failed for user [Windows Login]. Reason Not associated with a trusted SQL Server COnnection
The code is the first simple just creating a simple connection object code..
Private Sub Command1_Click()
Dim dbConnection As New ADODB.Connection
dbConnection.ConnectionString = "Provider=SQLOLEDB.1;Data Source=(local);Initial Catalog=FC_AIRLINES"
dbConnection.Open UserID,Pww 'UserID and Pww are my USerID and Pww
If dbConnection.State = adStateOpen Then
MsgBox ("CONNECTION OPEN SUCCESSFUL")
Else
MsgBox ("CONNECTION FAILED")
End If
dbConnection.Close
End Sub
I think theres some work tobe done at my SQL server databse end, but I have no idea what to do and how to do it .
Its driving me nutz , I could use any help on what could be wrong guys
|
|
|
|
|
There are two ways to authenticate to a SQL Database: 1) Windows NT/2000 Integrated Authentication and 2) SQL Server Authentication. In the first scenario, your NT/2000 account has to be added to the Security Users/Logins and granted permissions to the database at a level at which you can read from the database. In the second scenario, you create a SQL Server account and grant that account permission to the database.
In the first scenario, if you are logged in as yourself, you do not have to enter any user name and password, but the connection string should reflect that you are using integrated security.
In the second scenario, you can include the user name and password in the connection string.
Check MSDN for more details.
|
|
|
|
|
methinks your connectionstring is wrong. try
dbConnection.ConnectionString = "UID=UserID;PWD=Pww;Provider=MSDATASHAPE;Data Source=SQLOLEDB;Initial Catalog=FC_AIRLINES;Server=yourserver"
dbConnection.Open
The server is the PC hosting the database. If running on local PC then put PC local name or leave it out.
1fm1fu
|
|
|
|
|
methinks your connectionstring is wrong. try
dbConnection.ConnectionString = "UID=UserID;PWD=Pww;Provider=MSDATASHAPE;Data Source=SQLOLEDB;Initial Catalog=FC_AIRLINES;Server=yourserver"
dbConnection.Open
The server is the PC hosting the database. If running on local PC then put PC local name or leave it out.
1fm1fu
|
|
|
|
|
i meant u try
dbConnection.ConnectionString = "UID=UserID; PWD=Pww; Provider=MSDATASHAPE;Data Source=SQLOLEDB;Initial Catalog=FC_AIRLINES;Server=yourserver"
dbConnection.Open
n don smile when doin it!
1fm1fu
|
|
|
|
|
Can anybody suggest as how to edit a subitem in VB.net listview control
|
|
|
|
|
By "edit" do you mean allow the user to interactively change the value of a subitem in column 2,3,...,N?
Or, do you mean simply set the value of the subitem, as in
ListView1.Items(0).SubItems.Item(1).Text = "X"
Unfortunately, according to the .NET Framework documentation, "Unlike ListViewItem objects, ListViewItem.ListViewSubItem objects cannot be edited directly by the user"
|
|
|
|
|
hi experts,
i am a newbee here. now i m trying to build a samll program which can generate a 400khz clock pulse. but the problem is now i just can reach 6khz. i hv got some high resolution timer of VB, but i cant set the interval length. Is there any independent counter or timer which can be used to generate such a clock pulse?
my platform is WIN2000 and cpu is P3.
Thank u guys in advance.....=)
|
|
|
|
|
You may find this link[^] useful. If you can create a control that emits an event every 1.25 µS you can use the event to toggle a high/low output state to simulate a square wave. I wouldn't expect any great accuracy, though. Another possibility, though I don't know if VB supports inline assembly language, is to write an asm program segment that uses the CPU's native speed and sufficient NOPs to create a clock. The disadvantage is that for this to work, you have to block all other processes on the machine.
Heard in Bullhead City - "You haven't lost your girl - you've just lost your turn..." [sigh] So true...
|
|
|
|
|
VB doesn't support in-line assembly, though C/C++ does. The problem your facing is that the highest resolution timers in the system will only generate a pulse once every 1 millisecond, which is your 6Khz rate that your getting. In order to generate a 400Khz pulse, you need something about 200times faster, but, unfortunatly, there is nothing in the system that exploses an interface that can do that for you.
In order to generate a clock signal that fast, that you can use in your program, your going to need extra hardware, like some card in a PCI slot, and the drivers for it.
RageInTheMachine9532
|
|
|
|
|
hi, Thank U guys! now i am trying to call the kernel function QueryPerformanceCounter and QueryPerformanceFrequency to achieve the interval.
here is my code:
Set tmr = New PerformanceTimer
With tmr
Do While (True)
Do While (iTotal < 100)
.StartTimer
.StopTimer
iTotal = iTotal + .TimeElapsed(pvMicroSecond)
DoEvents
Loop
Out 890, 1
Label3.Caption = "1"
Out 890, 0
Label3.Caption = "0"
DoEvents
Loop
End With
Set tmr = Nothing
MsgBox iTotal & " ms"
what i did is i am trying to use a high-resolution timer which is provided by the kernerl to time the interval i need. but i dont know whether it's accurate enough or not. Guys u hv any suggestion abt it? i get a software which also generate such 400khz clock but it's written in Delphi. i am not so sure i can get it in VB or not. can help me to figure it?
thank U in advance!!!!!
|
|
|
|
|
I think you still have a performance problem. In order to get a 400kHz pulse, you would have to generate an Out signal every 0.0000025 seconds (1/400000). According to this little timer in C:
#include <windows.h>
#include <stdio.h>
#include <conio.h>
int main()
{
BOOL rc;
LARGE_INTEGER liCountPerSecond, liStartTime, liEndTime, liCounts;
double dSeconds;
rc = QueryPerformanceFrequency( &liCountPerSecond );
printf( "Counts per second: %I64i\n", liCountPerSecond );
rc = QueryPerformanceCounter( &liStartTime );
rc = true;
rc = QueryPerformanceCounter( &liEndTime );
printf( "Start Counter: %I64i\n", liStartTime );
printf( "End Counter : %I64i\n", liEndTime );
liCounts.QuadPart = liEndTime.QuadPart - liStartTime.QuadPart;
printf( "Counts : %I64i\n", liCounts );
dSeconds = (double)liCounts.QuadPart / (double)liCountPerSecond.QuadPart;
printf( "Time in Seconds : %15.10f seconds\n", dSeconds );
getch();
}
My Athlon 2600+ takes .0000013968 seconds to execute a boolean assignment statement and make the call to QueryPerformanceCounter after it. Keep in mind that 'In' and 'Out' port statements are notoriously slow to execute!
RageInTheMachine9532
|
|
|
|
|
ThanK U!!!!! now i c the problem clearly. it's because VB is a high level language so it cant achieve so high speed, rite?
so to achieve the 400khz what i hv to do is use C's in line assemble language?
or can i read the CPU information from the BIOS everytime, so i can directly use the system clock to generate such pulse? Can i do this in VB or C or other high level language?
Thank U again, Sir!!! u really help me a lot
|
|
|
|