|
Rajdeep, you know I have recently given you suggestions that are correct so what you state is wrong.
I haven't replied to all your questions as I'm not 100% sure I could give an accurate and correct answer to some of your problems. This is the same attitude you should take.
If you are not TOTALLY confident that the answer you're giving is correct, then it may be better not to post. It's good that you're wanting to help in the CodeProject community, that's what this site is all about, but wrong or misleading advice is worse than no advice.
Take your time to learn, this site is a great resource, and when someone posts a question and you say to yourself - I remember that, I KNOW the answer - then post. Until that time, just take what you can frome here and elsewhere and you can give back ten fold when you have more complete and experienced knowledge.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
|
What kind of videos? FLV? MPG? AVI?
You're really asking for a lot of work. I would investigate using ffmpeg - there are a lot of people using it to display videos in their apps.
Google is your friend.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hi Divya....
It is very easy to play videos in forms...
Add windows media player com control too your project, then you will be able to play any video you wanted to play...
check this link for a step by step tutorial...
embedding videos in a Form[^]
Have a Happy Coding.....
|
|
|
|
|
Hi King,
Thanks for sharing the site.
King Julien wrote: Add windows media player com control too your project
I tried to add the media player control to project, but it did't appear in the toolbox. Do you know how to make it appear in toolbox, so i can add control to form?
*12Code
|
|
|
|
|
After adding the component, check in the common controls tab of tool box....
It should appear....
Have a Happy Coding.....
|
|
|
|
|
Just successfully added the components in toolbox.
Anyone still find the way can check out this site[^]
*12Code
|
|
|
|
|
You can also google for "quartz.dll" (I'm not sure if that's the exact name) =)
|
|
|
|
|
Hi,
I installed SQL Server 2005 in Windows XP system.
Full-text indexing was not installed.
In Database properties, in files section, "use Full-text indexing" checkbox was disabled. Please guide me how to enable or install Full-text indexing.
Awaiting for your quick reply.
Thanks in advance..
|
|
|
|
|
Re-run the SQL Server setup. You'll probably get a wizard asking you whether you want to repair SQL Server, or whether you want to add/remove installed features
I are troll
|
|
|
|
|
I had a dll of developed in visual studio 2008 Express Edition. It is an application of BHO. In my machine it is working perfectly.
on other machines, which does not have visual studio 9.0, the dll gets injected, but the setsite function is not at all called. If the function gets called, the events like document complete does not get fired.
I had installed .Net framework 3.5 also before registering my dll on other machines/
How can solve this?
what may be the other dependency issues. There are no other third party dll.
|
|
|
|
|
Hello
I need to create a contour effect for text apearing as an animated gif,
(The surrounding area around the text must repeatedly get brighter and darker)
Can anyone demonstrate this effect using sample code in C# \ GDI+ ?
thanks
|
|
|
|
|
Hi
How can i export a crystal Report containing Bar Charts to Excel and Pdf files. When i try to Export my Report with the following code All other things except Bar chart is geting exported.
ReportDocument rptExcel=new ReportDocument();
String strExportFile= "D:\\CareMapRelease03-03-09\\WpfCareMap on iq42\\WpfApplication1\\bad.xls";
rptExcel.Load("D:\\CareMapRelease03-03-09\\WpfCareMap on iq42\\WpfApplication1\\CrystalReport1.rpt");
rptExcel.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
rptExcel.ExportOptions.ExportFormatType = ExportFormatType.Excel;
DiskFileDestinationOptions objOptions=new DiskFileDestinationOptions();
objOptions.DiskFileName = strExportFile;
rptExcel.ExportOptions.DestinationOptions = objOptions;
rptExcel.Export();
Thanks & Regards
Prajeesh
|
|
|
|
|
In the Crystal Report Viewer you have an icon ,an option to export your file...once selected you get the Export As box..where in you can select the desired format and save it to the desired location..!
Why do u want to code..use it..!!
Jimish
|
|
|
|
|
But i need to code it bcos, without opening the cystal report page i want it to be exported to Excel sheet..I have coded it but i am not getting the Charts to be exported to Excel.
|
|
|
|
|
till what I found ... graphs take in the data that is loaded in a crystal report..! in other words graphs are drawn only after report is generated and filled with data...!
So without loading the crystal report, it won't be possible to do..!
[ The above reply is just based on some researches...though not sufficient...I am a noob...still in process of learning reporting .. ]
Jimish
|
|
|
|
|
But i have tried it by putting a button in the same page and try to generate it after the graph is generated in the crystal Report. Only an area of lines are coming in place of Graphs.
|
|
|
|
|
Chk this out...whenver you add database fields, there is another tab with it,if there are multiple tables...Crystal reports do auto linking...and here by default the linking is inner join...!! Sometimes this linking if not correct creates trouble..that is data is shown but graph does not generate..!generally go for a outer join or no links...whatever suitable to ur tables...!
Do let me knw if ur problem is solved..!
Jimish
|
|
|
|
|
Thank for your quick response,
But for me graph is coming properly in crystal report but it is not exported to Excel sheet.
|
|
|
|
|
Hey..
I dont knw wht code are you writing on the button click in report..
but for me..the graph once generated..I use the crystal report viewer's export button/image...when i click I get variety of options in which this graph can be saved...when i select Excel...it properly saves the graph in excel..!
I think there must be some event which is triggered when I click the export button of viewer..if u want to code the process under a button click..u will have to trigger this event in ur button click..!
We have some function like ExportReport() in Crystal Report Viewer..!
Jimish
|
|
|
|
|
Yes this is what exactly i was looking for, this works fine
thank you very much for your quick response. So far i have used the report document objects Export methode, may be because of that it didnt work.
modified on Wednesday, April 15, 2009 1:31 AM
|
|
|
|
|
good to hear ..ur problem solved..do marks as answer..!
Jimish
|
|
|
|
|
Hallo
I need help with my code ...
I read image from my picturebox to memorystream and next i want save this
image from memorystream to my xls file.
I dont now how,... i have forever same problem,xls file then show only
System.Drawing.Bitmap but image isnt show.
Here is my code..
Excel.Application oXL;
Excel._Workbook oWB;
Excel._Worksheet oSheet;
try
{
oXL = new Excel.Application();
oWB = oXL.Workbooks.Open("C:\\tmp\\plan_udrzby.xlt", 1, false, 5,
"", "", true, Excel.XlPlatform.xlWindows,
"\t", false, false, 0, true, 1, 0);
oSheet = (Excel._Worksheet)oWB.ActiveSheet;
DataRowView vypis = (DataRowView)machine_OverviewBindingSource.Current;
MemoryStream ms = new MemoryStream();
myPictureBox.Image.Save(ms, ImageFormat.Jpeg);
ms.Seek(0, SeekOrigin.Begin);
Image img = Image.FromStream(ms);
System.Windows.Forms.Clipboard.SetDataObject(img);
oSheet.Cells[3, 2] = vypis["Car"];
oSheet.Cells[6, 2] = ;
}
catch (Exception theException)
{
String errorMessage;
errorMessage = "Chyba: ";
errorMessage = String.Concat(errorMessage, theException.Message);
errorMessage = String.Concat(errorMessage, " Řádek: ");
errorMessage = String.Concat(errorMessage, theException.Source);
MessageBox.Show(errorMessage, "Chyba");
}
Can someone help my please
|
|
|
|
|
Hello,
i have a question to P2P, how it is possible to connect two Clients with TCPListener/TCPClient, but not with NAT! I know how to do that if i have a access to that specified porrts. I don't want that the user must at first configuring his NAT-Router, to get access. Is there any other way to do that (except a "Server-Client-Connection").
Well i don't know any other way, but i can't imaginge, that for example in a Instant Messenger (ICQ, AIM or something else) all data-transfers are running over their server (imagine the huge traffic). Has somebody experience in this? Or is there a "standardized" open Port in every NAT-Router which i can use?
Many Thanks
|
|
|
|
|
Generally, in P2P/IM systems, the server is used only to make possible the contact between clients, then the communication is done directly between clients.
To do what you want, at least one of the clients must be able to listen to incoming connections on the specified port.
You can try to auto configure port forwarding by using upnp (a tutorial here[^]), but keep in mind that upnp could not be available in your network infrastucture.
|
|
|
|