|
Thanks for quick reply..
Exactly.I've modified say Sub-Report 1, I've added one Formula for one field to check for NULL Values. I save the report when I run my App. It's removing some Pie-Charts from say Sub-Report 2.
Yes these are the sub-reports of same reports they are bind to different parameterised Procedures.
Does it because of Version Conflicts?
Warm Regards
Abhijeet ballal
|
|
|
|
|
All the subreports that come from the same subreport will be modified if you make a change. You need to create a different subreport if you don't want that to happen.
good luck.
Coulda, woulda, shoulda doesn't matter if you don't.
|
|
|
|
|
string zipFileName=@"d:\sample.txt";
System.IO.FileInfo file = new System.IO.FileInfo(zipFileName);
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
Response.AddHeader("Content-Length", file.Length.ToString());
Response.ContentType = "application/octet-stream";
Response.WriteFile(file.FullName);
Response.End();
Response.Write("Downloaded successfully");
The above code is working pretty good for file download but i want to execute the last statement.How to display that message.
SreekanthJ
-- modified at 6:32 Monday 27th March, 2006
|
|
|
|
|
That is not possible.
As the response you are sending to the browser is the file, there is no page to display the message on.
If you wan't to display the status in the browser, you have to store the status on the server, and have a different page polling the status.
---
b { font-weight: normal; }
|
|
|
|
|
Hi.
I was wondering if someone could give me some pointers. Many are familiar with the GUI in Outlook. For instance on the lower left corner you can click Mail or Calendar and then you get an appropiate window on the right. How is this done? Also, the main window is split into three parts, how is that done?
I am not asking for details although they will be appreciated, a useful pointer would be very nice. What classes can one use?
Thanks a bunch,
FJ
|
|
|
|
|
naglbitur wrote: For instance on the lower left corner you can click Mail or Calendar and then you get an appropiate window on the right. How is this done?
Which Outlook version are you talking about. I use Outlook 2000 and have nothing of that sort.
naglbitur wrote: Also, the main window is split into three parts, how is that done?
Outlook 2000 is divided into 2 parts. My guess is that it is a Splitter control. Check this[^] for reference.
Hope this helps...
---
With best regards,
A Manchester United Fan
The Genius of a true fool is that he can mess up a foolproof plan!
|
|
|
|
|
Hi, thanks for your answer.
I am talking about Outlook 2003, that´s the only program I remember at the moment that has this feature I am refering to so I am afraid I can´t point to any other programs to better explain what I mean. It is similar to TabControl and TabPage.
I am sure you are right about the splitter control, I´ll take a look at it later, thanks for the tip.
Thanks again,
FJ
|
|
|
|
|
Hi!
Simple question:
How do I change the color of the caption of a GroupBox control in .NET 2005? The ForeColor member changes only the color of the controls INSIDE the groupbox. How hard can it be..?
Thanks.
/Magnus
|
|
|
|
|
Hi!
I'd expect the ForeColor of the control containing the GroupBox to be the one shown in the GroupBox caption. Have you tried this yet?
Regards,
mav
--
Black holes are the places where god divided by 0...
|
|
|
|
|
it changes the caption of the groupbox too on my laptop...
Coulda, woulda, shoulda doesn't matter if you don't.
|
|
|
|
|
i have 4 number
i want to find one number have MinValue
How will i DO ????
AnhTin
|
|
|
|
|
Your question is not very clear, so here are two different answers:
To find the lowest of four values:
int lowest = Math.Min(Math.Min(v1, v2), Math.Min(v3, v4));
To find out if any of four values is equal to MinValue:
bool isMin = (v1 == int.MinValue || v2 == int.MinValue || v3 == int.MinValue || v4 == int.MinValue);
---
b { font-weight: normal; }
|
|
|
|
|
|
i have winapp that use dll (assembly)
im createing in runtime object from the assembly.
then destroy this object.
THEN , while the winapp is STILL RUNNING , i want to Recompile the dll (assembly) , and to use the winapp AGAIN to create object from that assembly .(this way i could ,change the code of the object ,if i found bug, and use it again).
since there was no method like Assembly.Unload(), I use AppDomain,
but with that I still can't unload the assembly.
Here is what my program going
---
class Program
{
static void Main(string[] args)
{
MyTest.Test();
}
}
public class MyTest
{
public static void Test()
{
string assemblyFile = @"D:\XC.dll"; //(1)
string typeName = "XC.Form1"; //(2)
AppDomain appDomain = AppDomain.CreateDomain("Domain test");
try
{
ObjectHandle oh = appDomain.CreateComInstanceFrom(assemblyFile, typeName);
object o = oh.Unwrap();
IXC ixc = (IXC)o; //(3)
}
catch (Exception ex)
{
}
}
};
--
(1)the assebmly file path I want to load
(2)the Type I want to create which implement the IXC interface, and the IXC interface was in the assembly "develop.dll" which is used by the winapp
(3) when it goes to here, I got a exception:
$exception {"Type 'XC.Form1' in assembly 'XC, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable."} System.Exception {System.Runtime.Serialization.SerializationException}
--
Any help would be appretiated!
Aaron Lu
|
|
|
|
|
What you are trying to attempt is alot more complicated than what you have there. There are many rules to remoting that must be understood, else you will spend weeks on a pointless journey. Specifically focus on types crossing domain boundries.
Regarding the issue @ (3). Your type has to be marked Serializable or inherit from System.MarshalByRefObject . There could be more, but that is the general way.
|
|
|
|
|
But if I have IXC inherit from System.MarshalByRefObject
then I got a new exception, says: "Unable to cast transparent proxy to type 'IXC'".
|
|
|
|
|
Hi
As leppie said, this gets quite complicated.
In answer to your question, you unload the whole AppDomain , not individual assemblies.
Also, cross-domain calls are slow - this may or may not be a factor for you.
You might want to load your assembly into your main AppDomain . You could copy it first and load it from the copy so that the original file is not locked. Then you can re-compile and repeat the process for the new assembly - they will be treated as different if they have different version numbers.
----------------------------
Be excellent to each other
EasiReports[^] My free reporting component for WinForms.
|
|
|
|
|
recently.. i have this project which is to write a sliding number puzzle code in C language.. something similar to the sliding puzzle game that was written piscian1982 http://www.codeproject.com/csharp/slidingpuzzle.asp[^]
however.. i could not figure out how to imply that for numbers because i have to write this program in the sense that it runs in msdos(a console application)...
so i was wondering how to do the input for sliding the numbers using the keyboard..
so can any one pls pls help me...
my complier is visual c...
if possible.. can you provide me with a source code in *.c
thanx!!
-- modified at 4:32 Monday 27th March, 2006
|
|
|
|
|
You have far better chances to get help if you post the question in the correct forum, e.g. the VC++ forum.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
I m trying to call an AJAX Method from a javascript method...It's working fine with IE Browser...but not with fire fox...
Pls Help me out to sortout this Problem...
Thanx & Reagrds
Anuj Kamthan
Software Developer
Solversa Technologies,
Pune - 411007, India.
http://www.solversa.com
|
|
|
|
|
What do you mean by an "AJAX Method"?
My psycic powers are not at their best right now, so I guess you have to post your code in the forum for anyone to take a look at it...
---
b { font-weight: normal; }
|
|
|
|
|
|
Was that intended as a reply to my post?
---
b { font-weight: normal; }
|
|
|
|
|
|
Why? Did you think that I don't know what AJAX is?
---
b { font-weight: normal; }
-- modified at 7:24 Monday 27th March, 2006
|
|
|
|