|
You could host it on a webserver, and open multiple download-connections from the client, similar to a "download accelerator addon" for most webbrowsers. If there's more than one PC where the data resides then it might be more effective to look into BitTorrent. Basically they are ways of sharing data, all connecting using multiple sockets - something you could also implement yourself.
Do take into consideration that you're hogging the network, reducing resources for all other clients
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
O aplicativo não foi iniciado. (Exception from HRESULT: 0x8027025B)
|
|
|
|
|
Please translate your question to English and add more information (the statement that causes the error at least).
|
|
|
|
|
HRESULT 0x8027025B translates to ERROR_BUFFER_TOO_SMALL .
According to this[^], it could be related to your firewall or anti-virus software.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I didn't realise you spoke Portugese.
|
|
|
|
|
I don't, but Google does.
The application is not started.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hi,
I have difficulties to move a control in a WPF application, let's say a button.
By browsing other boards, I read that it is supposed to be done this way:
TextBox textBox1 = new TextBox();
textBox1.Location = new Point(15, 15);
However, the Location property belongs to System.Windows.Forms.
While, the common buttons created with the WPF app toolbox heritate from System.Windows.Controls.Button.
Thus, I am not able to use Location property with my WPF application buttons generated via the XAML code.
Any suggestions to move these buttons after the application initialization?
|
|
|
|
|
You can move the WPF Button element in code by:
0. set the Button's location properties on its Canvas: example: YourCanvas.SetLeft(YourButton, 30);
1. set the Button's 'Margin property to a new 'Thickness structure: [^].
2. using animation: see 'RenderTransform, 'TranslateTransform
« I had therefore to remove knowledge, in order to make room for belief » Immanuel Kant
|
|
|
|
|
Thanks a lot ofr your answer:
"1. set the Button's 'Margin property to a new 'Thickness structure: [^]."
This one worked fine and looks quite easy to use. So that's perfect for my immediate use.
Trying to understand your alternate solutions:
"0. set the Button's location properties on its Canvas: example: YourCanvas.SetLeft(YourButton, 30); "
I think SetLeft is a static method, so should rather be :
Canvas.SetLeft(myCanvas1, 0);
I had difficulties to bind a button to a canvas and display it.
I suppose I have to do something like this?:
Canvas canvas1 = new Canvas();
Canvas.SetLeft(button1, 119);
canvas1.Children.Add(button1);
"2. using animation: see 'RenderTransform, 'TranslateTransform"
As far as I understood, these features are used into the XAML code, not in the code behind? So you cannot use this to change the control's position after the application starts, can you?
|
|
|
|
|
i need help .
i wana to Displaying a HTML content in crystal report..as iam using SQL ..i made a column that contain “Text” format…like my column name is "xyx(text,notnull)"..that column consist html format data in column like” {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}} \viewkind4\uc1\pard\f0\fs17 sadfsdf\par }”….
Can any one tell me how to retrieve/put that data on my crystal report..
C#,crys
|
|
|
|
|
That's not HTML. That's Rich Text Format.
|
|
|
|
|
ya sure...but how i can show/retirve on my crystal report..as iam using VS2010...please help..
|
|
|
|
|
Hi,
When I update a table using sql transaction i got the following error:
"This SqlTransaction has completed, it is no longer usable".
Please help me to know what is the reason and how to solve this issue.
|
|
|
|
|
You need to show the code that this is happening on.
I would guess you are trying to do additional work on the database after you have committed the transaction.
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Message Closed
modified 30-Sep-14 8:12am.
|
|
|
|
|
Uhhhh...yeah.
Whatever you're smoking for recreational purposes, STOP.
|
|
|
|
|
Look for SqlTransaction.Commit , you will find probably more than one and while debugging you will hit more than one...
However for more detailed answer you must show your code to us...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
|
Instead i load DataReader from syntax:
[Code]
OleDbCommand cmd = new OleDbCommand(sSQL, Connl);
OleDbDataReader dr = cmd.ExecuteReader();
[/Code]
now I want to put on the list DataTable list DataReader, how I want to find relationships syntax ?
[Code]
public void DataReader(DataTable input)
{ input .... ???
OleDbDataReader dr = cmd.ExecuteReader();
...
}
[/Code]
|
|
|
|
|
|
I have a line of code in my project like
phrase.Add(new Chunk(strCompanyName, new iTextSharp.text.Font(-1,9,iTextSharp.text.Font.BOLD)));
it showing error message like
The best overloaded method match for 'iTextSharp.text.Font.Font(iTextSharp.text.Font.FontFamily, float, int)' has some invalid argument
Can any one please suggest the best overloaded method .. pls
|
|
|
|
|
abdul rafi wrote: Can any one please suggest the best overloaded method .. pls ..it doesn't mean that you should look for the "best" overload, it means that it cannot find any method that matches your parameter-signature.
You're doing three tasks in a single line. How about first creating a font, then assigning that to a chunk on a new line, and only add that when succesfull? That way one would not have to verify all three statements, but only the line where the error occurs.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I'd guess you are screwing up the call by omitting the Font Family Name, and or scrambling the order of the parameters. Here's what a "good" call to create a font looks like:
font = new iTextSharp.text.Font(iTextSharp.text.Font.FontFamily.HELVETICA, 6, iTextSharp.text.Font.BOLD, iTextSharp.text.BaseColor.WHITE);
I suggest you read this: [^] to understand using Fonts in iTextSharp:
"iText is written in Java, which means it's platform-independent. It ships with 14 AFM files containing the metrics of the 14 Standard Type 1 fonts (4 flavors of Helvetica, 4 flavors of Times Roman, 4 flavors of Courier, Symbol and ZapfDingbats).
As soon as you need other fonts, you need to register the font files by passing the path to the font directory or the path to an actual font."
« I had therefore to remove knowledge, in order to make room for belief » Immanuel Kant
|
|
|
|
|
Hi Team,
I have a project in which we are using Rich Text Box Controls and trying to render emails receieved from outside world, which could be from any source like gmail/hotmail/yahoo/rediff/aol/iOS clients/Android Clients.
So here's how it happens: Source of Email>Mail Exchange Server>My Project with Rich Text Box.
Now the problems that we are facing:
1. The email is rendered but with improper tables/texts/images.
2. Sometimes images are missing completely.
3. Sometimes images are distorted.
4. Sometimes tables/frames are not in their right place.
5. Sometimes email comes completely blank.
Now the same email when opened in the WPF html browser renders almost perfectly 99% of the times.
Can anyone suggest a direct solution to it? If not then can anyone suggest an alternate to using Rich Text Box.
The reason for which we are forced to use RTB is coz' using our client the user has to respond to the emails as well, and RTB provides for formatting options for the text to be sent out and inserting images as part of the email.
Appreciate if you guys can help me out with this.
Let me know if more details are needed.
Regards,
Upkar S
|
|
|
|
|
upksinghm wrote: If not then can anyone suggest an alternate to using Rich Text Box. Any browser-control would render the HTML. The RichTextBox does not work with HTML, but with RTF. You can't do everything in RTF that you can in HTML.
upksinghm wrote: The reason for which we are forced to use RTB is coz' using our client the user
has to respond to the emails as well, and RTB provides for formatting options
for the text to be sent out and inserting images as part of the email. No one is forcing you. They have a request, and you can opt to honor it or not.
Find an editor for HTML, if HTML is what they want to edit. Or severely limit their options (like a single font and only basic markup).
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|