|
HIP HIP HOORAY.
Thanks Undefeated. Made my day!
|
|
|
|
|
Hello
So here's what I'm trying to do: I have Visual Studio 2003 and I have a text (PDF format). I want to print the text. So, I managed to start acrobat reader in silent mode and print the document, but now I want to print multiple documents. How do I do this? Do I have to kill acrobat reader every time? Do I need to use a delay before I kill the process? How long should this delay be?
|
|
|
|
|
Have you tried Aspose.Pdf library? I think it can help you.
|
|
|
|
|
Well... no offense, but I'm looking for something less expensive (and I mean no money at all ). I just want some ideas on how to do this...
|
|
|
|
|
theheartcollector wrote: but I'm looking for something less expensive
Isn't the COM interface free?
|
|
|
|
|
Well... All I can see on their site are demo versions and shareware Can you please provide a link or smth?
|
|
|
|
|
|
Aham... Sorry I'm just starting to learn stuff...
|
|
|
|
|
Hello,
I dynamically add multiple controls to a form from Sourcecode and I want that the Events which are fired from these controls are handled in new Threads. How can I accomplish this?
One way would be I start an own Thread in each of the EventHandlers.
Is there another way to do this?
TIA,
Patrick
|
|
|
|
|
Easiest way to do this would probably have the events fire on the normal thread, but once you receive them, simply start a new thread that does the actual work. (edit: as you already mentioned )
Another possibility is call BeginInvoke on the event when you raise it.
|
|
|
|
|
Funny, i thought they already gave that example in their post XD
Still, i think that is probably the only way to do it. I mean sure, you could go some super long way round, but in the end, thats probably what you'd end up with.
|
|
|
|
|
Oops, either he edited his post or I somehow missed it.
|
|
|
|
|
Hi I m writing an add-in for MS office products (Outlook, Word, Powerpoint etc. )
Now, I figured it out for outlook and power point but MS WORD seems different. What I ve used for outlook and power point is: I tried it for WORD too but couldnt get it. If any of u know the application object / commandbar usage for word please let me know.
Or if theres a way to integrate it to all office products at once. Durind the project creation I already picked the office products that im gonna use.
public void OnStartupComplete(ref System.Array custom)
{
CommandBars commandBars = null;
try
{
//outlook
commandBars = ((Outlook.Application)applicationObject).ActiveExplorer().CommandBars;
}
catch{
// powerpoint
commandBars = ((PowerPoint.Application)applicationObject).CommandBars;
}
|
|
|
|
|
When I use;
commandBars = ((Word.Application)applicationObject).CommandBars;
and set the debugging mode for word i get an error even though all the word references and dll s are added to the project.
It works with outlook and powerpoint.
|
|
|
|
|
i want to change the postions of div scrolls so i made function in javascript. now i want to call tht function on "onscroll event" in div tag. i did
div id="div1" onscroll="setscrollpostions();" style="OVERFLOW: auto"
but it doesnt work
pls tell me the solution.
Thanks
Taran
|
|
|
|
|
Does any part of this have anything at all to do with C#? Huh. Does it?
You may have missed that honking great bit at the top that stated that this is a C# discussion board. If you did, let me point this out to you - this is the C# discussion board, not the Visual C++ forum, not the ASP.NET forum, not the SQL/ADO.NET forum - it's the C# forum. Now, given this information do you really think that this is the right place to post this question? Think before you answer, because I will be asking questions of you later on.
Now - you may want to move this over to the Web Development forum. You'll know it when you see it because it's got Web Development in the title. Not to be confused with the C# forum in any way, shape or form.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi I am using Enterprise Library Configuration(Application block).
I am getting log date time is 5 hours 30 min difference from actual timings,
Can any one suggest how to get system timings.
I have updated config file as
<formatters>
<add template="Timestamp: {timestamp}
Message: {message}
Category: {category}
Priority: {priority}
EventId: {eventid}
Severity: {severity}
Title:{title}
Machine: {machine}
Application Domain: {appDomain}
Process Id: {processId}
Process Name: {processName}
Win32 Thread Id: {win32ThreadId}
Thread Name: {threadName}
Extended Properties: {dictionary({key} - {value}
)}"
="" type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" name="Text Formatter">
|
|
|
|
|
How to set Column size to DataGrid Column?
As per following code I am setting data into DataGrid
dgRptSpdList.DataBindings.Clear();
if (dsLocalDb != null ) dsLocalDb.Clear();
EOD.cGlobal.stobjGlobal.dbLocalCmd.CommandText = strQuery;
darLocalDb = new OleDbDataAdapter(EOD.cGlobal.stobjGlobal.dbLocalCmd);
dsLocalDb = new DataSet();
darLocalDb.Fill(dsLocalDb,"tmpSuspended");
dgRptSpdList.SetDataBinding(dsLocalDb,"tmpSuspended");
|
|
|
|
|
foreach (DataGridViewColumn col in dgRptSpdList.Columns)
col.Width = 120;
Greetings
Kaine
|
|
|
|
|
I have an app that moves a window left, right, up or down by clicking the appropriate button. At this time, I have to repetitively click the button to move it. How can I make the button continuous, so I only have to hold the button down, and it continues to move until I let off? In addition to that, I still want the ability to move it one click at a time, as well.
I searched everywhere, but haven't found anything that gives me what I'm looking for.
Thanks...
|
|
|
|
|
You need to override the button class, and you need to fire a timer when the mouse is down to generate click events.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Excellent! *rubbing hands together, with an evil grin on my face*
Now, how do I do that?
|
|
|
|
|
You could also just do it the easy way:
Click once on the button, and then keep holding down the Enter-key on your keyboard.
Virtual1ty
"Any fool can learn from his own mistakes, but a wise man learns from mistakes of others"
|
|
|
|
|
There's no keyboard. This is for a touch screen.
|
|
|
|
|
Oh, okay
Virtual1ty
"Any fool can learn from his own mistakes, but a wise man learns from mistakes of others"
|
|
|
|