i have fileUpload control on web page and a button to show .pdf file in a rich text box. but i dont know how to open apdf file ? can i use some pdf library?
i need to bind a collection of objects to a combo box which i can use in different forms. so i want create a custom control which binds the collection to the combo box? how t do it by extending combo box? also how can i define the ItemData template?
If I'm using a .NET WebBrowser control, and I dynamically populate the HTML, JS content, what exactly are the rules for AJAX cross-domain requests? I know I don't technically have a domain since it's local content, but I'm not sure how the browser handles this.
I'm creating a line chart control, and I need to write (or better say draw) the axis names and axis values.
I found DrawText and TextOut functions, but the text they show is flickering and don't know how to set the font and text orientation (I will need vertical text orientation as well as horizontal).
Are there any other functions you could recoommend or how to use these stated above and get the results I need?
Thanks in advance.
Cheers.
We've noticed that when checking in updates that our .DFM files have had ExplicitWidth and ExplicitHeight properties added for what appears to be no particular reason.
My two questions are, what are they for and why do they get automatically added by Delphi?
Below is an example with the property in:
object Splitter2: TcxSplitter
Left = 0
Top = 292
Width = 566
Height = 8
Cursor = crVSplit
HotZoneClassName = 'TcxXPTaskBarStyle'
AlignSplitter = salBottom
Control = BottomPanel
Color = clBtnFace
ExplicitWidth = 8
end
I have a quadratic bezier curve described as (startX, startY) to (anchorX, anchorY) and using a control point(controlX, controlY).
I have two questions:
(1) I want to determine y points on that curve based on an x point.
(2) Then, given two intermediary points on that bezier curve, I want to know the 6 parameters needed to create that mini-bezier curve.
I am carry out some functional test on a website where I basically want to open a website in the window then another in a second tab and control both of them. A solution is not to use two windows.
Is this at all posssible?
Hey,
For some time I’ve seen employers demanding Sharepoint knowledge from programmers, but I have a problem understanding what it is :/
But today I was at IT training, and the main guy said something like: “Sharepoint is platform for commit code for programmer, control of version etc...”
Is that true? It sounds like SVN. Can someone explain me what advantages it has for a C# programmer?
Thanks ;)
Hey guy i am starting a online store in Magento and I am trying to add a product and when i am trying to save it asks me for Control Script???
any ideas
thankyou
I've seen buildout recipes that build supervisor into the buildout, I suppose to control the daemons inside. However, it seems to me that one would still need something in /etc/init.d ( for example ) to run said supervisor instance on boot.
So, why build supervisor inside the buildout? Why not install it system wide and just make a config file for the daemons involved inside?
class A extends ApiClass
{
public void duplicateMethod()
{
}
}
class B extends AnotherApiClass
{
public void duplicateMethod()
{
}
}
I have two classes which extend different api classes. The two class has some duplicate
methods(same method repeated in both class) and how to remove this duplication?
Edit
The ApiClass is not under my control
I want to achieve something like this in Enterprise Architect's Communication Diagrams:
start() ---------------- 1. create() ------------
------------> | RGController | ---------------> | U : User |
---------------- ------------
But I am facing 2 problems:
a) it seems I have to always make a connection between 2 objects (I can't have the start() message just come out of nowhere, like I'd want).
b) I can't control the numbering as I'd want. Is there any way I could just set the numbering by myself?
I know it might be silly, I have just started with WPF.
I want to switch to a different view when a user clicks on a control, for example showing a detail page after a click on a list. This view would replace the original.
In a web application this would be navigating to a different page. What is the local idiom for that?
Invoke does not exist in the current context. The same method was not giving any error in Form.cs class but when I used in other class in same project it gives error. i am using threading on forms control.
private void UpdateText(object fileName)
{
if (Textbox.InvokeRequired)
{
UpdateTextCallback back = new UpdateTextCallback(UpdateText);
this.Invoke(back, new object[] { fileName });
}
}
Every time i click on a link it opens in internet explorer but i want it to open in another window of my web browser
Details : i have made a tabbed web browser using a tab control because every where else i have looked is just for a normal web browser please help.
Using a WPF expander, I want the Header to change from See More to See Less when the control is expanded, and back to See More when it's collapsed again.
I'd prefer a WPF pure solution, rather than a C# or other code behind method.
I get the feeling this should be easy, but I'm struggling for the right terms to get a solution via google.
Thanks!
Is it possible to know if anyone is accessing any of folders or drives in my system(32 bit windows 2003)? I mean shared folders or non-shared folders, anything. And once if we know, how to deny access to particular host. For shared folders i know how to do, but if anyone is accessing some folder with proper credentials, i don't know how to control.
My 14 year old brother seems to be fascinated by computers, so I thought I'd get him started with programming. For teaching some very simple programming elements like assignments, simple logic, control flow, etc., would there be any danger in teaching him through shell scripting?
How do I make one square on a screen lead about 6 with more to be added as the game progresses and how do I control the direction of the lead square with buttons?
I basically want to know how to make a "Snake" app for the iPhone, iPod and iPad
Please answer!!!!!!
Given a method..
public ActionResult Method()
{
// program logic
if(condition)
{
// external library
// external library returns an ActionResult
}
return View(viewname);
}
I cannot control the return type or method of the external library. I want to catch its results and handle that in a dialog on the page - but I cannot figure out how to get back to the page to execute the jQuery that would be responsible for it. Any ideas?
I have a LoginView control on my homepage, when i click 'Login' it goes to the log in page. When the details are authenticated, it redirects to default.aspx, I don't have a default.aspx - where can I change this?
This is the only thing I can see wrong:
FormsAuthentication.RedirectFromLoginPage(Login1.UserName, Login1.RememberMeSet);
One of the most appealing features of Ext-JS is the Grid control in my opinion. I was searching for something free that does something close and have set my hopes on jQuery.
I haven't found a jQuery (or other LGPL compatible) Table / Grid plugin that allows to:
Reorder columns by dragging
Resize columns by dragging
Add or Remove columns on the fly
Have a default good looking UI (subjective, but Ext-JS look I think is a concensus)
In addition to the rest most grid controls have (Sort, Paging etc)
Is there a free (LGPL) jQuery plugin that does the above?
So, I have a control with a datagrid in it and I was wondering if depending on the value I get back from the a Request.QueryString if I could set the table name to that (that is the value being sent) and then have it build the columns?
I have about 3 different tables, and they have different amounts of columns, and of course with different names.
Is there any tool to create a new partition on windows CE device?
Device has a NAND flash memory and initially there were two partitions. Using Storage manager in Control Panel I was able to delete one partition but when I want to create it again, I get an error message: "Unable to create partition".
I have created an installer project in VS2008 and need to supply a settings/parameters file along with the .msi/exe file; is this possible? The settingsfile will basically contain some information that is needed in the configuration and our different clients can control the settingsfile.