|
Hey thanks for the feedback.
I have an installed PDF printer that i want to send my documents (MS Office Documents) too and also a 'print' command. The printer will do the rest.
Does this make it harder or easier to print the files or is the situation still the same?
Thanks
Chris
|
|
|
|
|
That's better. Word will actually have to do the printing. The PDF printer will just render into a .PDF what Word outputs when it prints. If you're just going to convert Word documents, you can use the Word (Office) automation model to load the document, select the printer, then print the document. It's been covered dozens of times in the forum, just search for Word using the "Search comments" link.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Sir,
I've a Windows Services on application server that listen to the folder files & process it.
In turn, the data will be inserted into a table in SQL2K and the associated trigger will call the stored procedure that will call the exec master..xp_cmdshell to call ASP page that generating a report (image).
This scenario works well when the application server in log on status..
but while the server is log off..
the errors below appears:
1)
System.Data.SqlClient.SqlException: A severe error occurred on the current command. The results,
if any, should be discarded.
xpsql.cpp: Error 997 from GetProxyAccount on line 604
2)
A severe error occurred on the current command. The results, if any, should be discarded.
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
thanks...
Best Regards,
Sayhigh Soon
|
|
|
|
|
sayhigh wrote:
1)System.Data.SqlClient.SqlException: A severe error occurred on the current command. The results, if any, should be discarded.
xpsql.cpp: Error 997 from GetProxyAccount on line 604
Look at this[^] KB article on MSDN.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hi
I am doing a project in vb for serial port communications.I want to know how to use Timeouts functions. I want a time gap between the sending datas.
So how can i set the timeouts for that.Or is there any other methods for setting time gap between the sending datas?
Pls give your valuable sujessions
Arun
|
|
|
|
|
|
I found an article regarding "Persist ListView settings with serialization". it was great but it was in C sharp. I am a VB.Net programmer. Can someone please help me get a VB.Net version of the same program. (my requirement is only to saving and restoring the column layouts ofthe list view)
Thanks in advance
v
|
|
|
|
|
|
I found an article regarding "Persist ListView settings with serialization". it was great but it was in C sharp. I am a VB.Net programmer. Can someone please help me get a VB.Net version of the same program. (my requirement is only to saving and restoring the column layouts ofthe list view)
Thanks in advance
|
|
|
|
|
Hi, can anyone give me an idea? Between SQL Server 2000 reporting service and Crystal Report, which one is better to use with visual studio .net? I try to install SQL server reporting service many time but it is not success because it require SQL service pack 3a, I alread install it but it did not work.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Please, help. I need make toolbar, but i don't know how it make. Contact me on ICQ please. If you want, we can start some business together. Thanks.
14-73-65-46-9
|
|
|
|
|
Dear All,
I am doing a project using VB6 and MS word. What i need to do is to put/read everything in a word file, which may contains tables, images and all format and alignment. My problem is how can i read everything for that word file and store in a place, when a user request, then i have to pull out this doc file or just a few line from this doc with exact look? i have been search in so many forums but still can't get any help for it. But i am sure there is so way can do it, it may be a third party component. I don't know. Can anyone give me some help? Please help urgently. Thanks
Yolip
|
|
|
|
|
Your going to have a nasty time with this. I don't know of any 3rd party component that will do anything like this. Also, the formatting of a Word document can come from many places. In order to get the look of the document exact, you'll also need the styles section of the current document, printer settings for margins, EVERYTHING. You'd be much better off showing the entire document that the section you want came in rather that trying to duplicate what was in the original document.
|
|
|
|
|
it can done with vb, i just don't know how. maybe my explanation not clear, let me give an example here, i use ## to indicate where to start selection and end in word file:
##
word block A
.
.
images here
.
.
table here...
.
images.
some words here
##
##
word block B
.
.
images here
.
.
table here...
.
images.
some words here
##
with above example, my problem have to recognize there has two blocks of contents, and then copy and store it in a place (may be database).
The program will then show each block in grid(don't know can or not) for user to select block for their further use (edit/delete/print out).
my problem is how to read them in block and store it. then display it as the exact format when user required.
hope that can make more understanding. thanks
yolip
|
|
|
|
|
Hi,
You need to be familiar with the object model of Word. Create a Word object and use the vba commands to put everything in place. If you can code in VBA Word you can do it in VB.
Regards,
Codemind
|
|
|
|
|
Sorry, my question is i don't know how to solve that problem.
|
|
|
|
|
Hi,
I believe you want some example code? I will take a look for some examples if I can find some. Maybe you could explain some more details of the program you want to write.
What do you mean with "and store in a place"?
Do you have knowledge of the Word object model?
Marcel
|
|
|
|
|
|
Hi,
How to you link a program to a dll so that you can use functions associated with that dll. in vb6 you can just add a refference to the dll but with vb.net you can't. Any ideas
|
|
|
|
|
VB.NET has that capability and then some.
There are two kinds of .DLL's that VB6/VB.NET can use. Library .DLL's that have a bunch functions in them that you can call only by using the Declare statement and COM .DLL's, like you mentioned, where you add a reference to the COM objects, that the registered .DLL exports, and use them like any other class.
VB.NET can do both just as easily, and with far more flexibility than VB6 can. For the COM version, all you do is right-click your project in the Solution Explorer, then click "Add Reference...". In the dialog box that comes up, just click the COM tab to see everything that is registered on your machine. Click the ones your want, then click the Select button, then OK.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Could you please recommend some third party datagrid controls for use in VB.NET or C#.
I am looking for a grid that is:
Quick to load and not too resource hungry
Customizable Appearance
Would prefer:
Grouping ability and sorting
An integrated filter would be nice but i suspect that is asking too much.
I have used ComponentOne FlexGrid and was moderatly happy except it was far too slow to load.
Thanks for your help
|
|
|
|
|
Infragistics[^] has a great grid control. Comes with the NetAdvantage package, but is not cheap.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I'm having a difficult time figuring out how to set up a group of three RadioButton options.
Should I have three different bit fields in my database or one numeric field?
Also, what do you bind to? I thought that I should be binding Checked to my bit field in the database, like you can do for the CheckBox.
|
|
|
|
|
I have a Windows Application which calls / references a Class Library that I'm writing.
From within the Class Library code I want to find out the name of the application that is calling the class.
I tried System.Environment.Username which went too far back and gave me my network signon.
Any info will be appreciated...
Lost in the vast sea of .NET
|
|
|
|
|
KreativeKai wrote:
I tried System.Environment.Username which went too far back and gave me my network signon.
What did you expect with a property name of Username ?
You could use the Process class in your library code and call Process.GetCurrentProcess to, obviously, get the current process and then return that objects ProcessName :
Imports System.Diagnostics
.
.
Dim name As String = Process.GetCurrentProcess().ProcessName
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|