|
Hi,
I have isolated the relevant differences between 1.1 and 2.0 and have put them
in separate classes, so when class XXX changes in a way that is relevant to me,
I create class LP_XXX and give it appropriate behavior; its implementation is based
on the symbols NET11 and NET20, one of which is always defined in my Visual projects,
depending on which Visual Studio version I use.
And yes I would have liked such symbols to exist automatically.
|
|
|
|
|
Yes! thanks Luc!
That's the solution I've adopted here: manually!
In real world:
Microsoft releases different version of the FrameWork at will.
Customers has diferent versions of Framework installed.
Our enterprise has 2 compiling machines, one for each framework, each with his own VS IDE
We want to maintain just 1 source at a time
So...
what the F*)%!=) is missing an IDE constant telling us wich version of the framework is installed with the IDE, and thus making and automatic compilation.
|
|
|
|
|
Hi All,
How to convert DRM protected audio files (which are brought from iTunes) to unprotected audio files(i.e.,to MPEG or AVI or WMV format).
Bala
|
|
|
|
|
Hmm... I think that is illegal.
|
|
|
|
|
Hi
well you know removing drm protection really IS illegal. but i think if you google for "myFairTunes" or "qtFairUse" or something like that you might get some interesting results.
greets
m@u
|
|
|
|
|
Burn them to a CD within the iTunes software itself. They'll be unencrypted. You can then rip them using whichever program you prefer.
Writing a C# program to accomplish this task is an exercise left to the reader.
|
|
|
|
|
Hi all,
we are going develop a project for the hand held device in vs2005,c#.net and sqlserver ce basically i am application programmer that's what for my reference plz any body tell which books are the suitable for success fully complete this project it is very use full to me plz give books list with authors
THANKS IN ADVANCE
REGARDS,
GSKUMAR
|
|
|
|
|
Help me, I cannot how to work/run any Solution Explorer from Microsoft Visual C# 2005 Express Edition, how to work and running Programmer.cs. Cannot how to know to write/run Recent Project!!! Help from hohsen@hotmail.com
How to get and run for new Progammer.cs from my C# Recent Projects???
hohsen88@yahoo.com
|
|
|
|
|
You can run only Solution. You cannot run each file, for example Programmer.cs.
To build and run your solution, you can press F5 (with debugging) or Ctrl-F5 (without debugging).
|
|
|
|
|
Howdy!
Migrating from WinForms to WPF:
Actually I use the ToolStripManger to merge WinForms menu items. (1) I wonder how this is to be done in WPF. (2) Am I able to merge menus from WPF into a WinForms app?
Cheers
-- Alex
|
|
|
|
|
Hello to all,
i m working on a project in which i have to fetch mobile number and call them and store the response.I m calling in loop ,and this is my problem.
Calling speed is much-much-much faster than the response. so i decided to use 2 nd thread to get response. but it still slow . Please tell me how to get rid of this problem.
sachin jangir
|
|
|
|
|
You may need to look at the problem differently. Can you initiate only one call at a time or can you initiate multiple calls at relatively the same time?
If you can only initiate one call at a time, having a separate thread to wait for the response will not speed your program at all. I can only see your program having more speed if you can initiate multiple calls at the same time.
Phil
|
|
|
|
|
Can we apply drag and drop when using Drawing properties in C#?
|
|
|
|
|
I want to print an invoice and receipt using C#.
The invoice is pre-printed with the company logo and fields and I just need to print the figures on specefic point but I don't know how to it..
Plz Help..
|
|
|
|
|
Code sample :
private void button1_Click(object sender, EventArgs e)
{
PrintDocument printDocument = new PrintDocument();
printDocument.PrintPage += new PrintPageEventHandler(printDocument_PrintPage);
PrintDialog printDialog = new PrintDialog();
printDialog.Document = printDocument;
DialogResult dialogResult = printDialog.ShowDialog();
if (dialogResult == DialogResult.OK)
{
printDialog.Document.Print();
}
}
private void printDocument_PrintPage(object sender, PrintPageEventArgs e)
{
e.Graphics.DrawString("Hello World", new Font("Arial", 10), Brushes.Black, 10, 10);
}
|
|
|
|
|
thank you very much. Actually I have posted the same question in many forums but this the first and only reply.. I have more questions plz..
1. How can I force A4 paper size?
2. Is there anyway to prevenet the (Printing...) dialog? and display a Progressbar instead?
|
|
|
|
|
jrahma wrote: Actually I have posted the same question in many forums but this the first and only reply
Oohh.. Bad idea - the forum guidelines clearly ask people not to cross post.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
i meant other forums on other websites not on this site
|
|
|
|
|
Sorry - my mistake.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
I have a ListView in details view. I need the item to be in a different position than the default one so I have written de code for DrawItem event. The items show in the correct position but when I select one and move to another one the control doesn't refresh its contents very well.
This is the code in the DrawItem event
Rectangle r = e.Item.Bounds;<br />
<br />
int charIndex = this.richIzquierda.GetFirstCharIndexFromLine(Convert.ToInt32(e.Item.Tag));<br />
<br />
r.Y = this.richIzquierda.GetPositionFromCharIndex(charIndex).Y;<br />
<br />
if (e.Item.Selected)<br />
{<br />
e.Graphics.FillRectangle(Brushes.Blue, r);<br />
e.Graphics.DrawString(e.Item.Text, e.Item.Font, new SolidBrush(Color.White), r);<br />
e.DrawFocusRectangle();<br />
}<br />
else<br />
{<br />
e.Graphics.DrawString(e.Item.Text, e.Item.Font, new SolidBrush((sender as ListView).ForeColor), r);<br />
}
This is the control shown on screen Link
How can I fix this problem? Thanks
|
|
|
|
|
How to Create New File In C#.net
Hello All,
I need to create New file .cs Extension(by coding (serverside)) and Paste The On String On It Anyone tell me how to Do it
|
|
|
|
|
/// write
TextWriter tw = new StreamWriter("test1.cs", false, Encoding.GetEncoding("ISO-8859-15"));
tw.WriteLine("//...some code ....");
tw.Flush();
tw.Close();
/// read
TextReader tr = new StreamReader("test1.cs");
string Buffer = mTextReader.ReadToEnd();
// .. whatever you wish with the whole file stored in the 'Buffer'
VirtualVoid.NET
|
|
|
|
|
I am using .net 1.1.
In my application...I am not getting my grid refreshed if i run it with out any break points.Buti am getting the right data if i use break point in the application...Any body can help me????
|
|
|
|
|
private void button1_Click(object sender, EventArgs e)
{
CrystalReport1 myReport = new CrystalReport1();
string conString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=..\\..\\123.mdb";
DataSet ds = new DataSet();
OleDbConnection con;
con = new OleDbConnection(conString);
string sql = "select * from ali";
OleDbDataAdapter db = new OleDbDataAdapter(sql, con);
db.Fill(ds, "ali");
myReport.SetDataSource(ds);//error--> The report has no tables.
crystalReportViewer1.ReportSource = myReport;
}
|
|
|
|
|
I don't know if the above question is correct, my english it's not very good.
however, i'm trying to make a safe thread call to a form :
I have declared a chatForms array with name (chatsAvailabel), so when i want to show
one of them i call the fuction ShowForm with a parameter that specify the index of the
form in the array.
delegate void ShowFormCallback(int index);
private void ShowForm(int index)
{
if (this.chatsAvailabe[index].InvokeRequired)
{
ShowFormCallback tmp = new ShowFormCallback(ShowForm(index));
this.chatsAvailabe[index].Invoke(tmp);
}
else
this.chatsAvailabe[index].Show();
}
but the problem occures when the InvokeRequired is true in if bolck, i must declare an
instance from the ShowFormCallback delegate to use with invoke, but how could i send
parmaeter index again along with this delegate instance.
thanks in advance
|
|
|
|