|
See the update [^] to my earlier response. You'll need to target the .NET Framework 2.0.
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
If you are stuck with having to support Windows 2000 in your app, you'll need to stick with .NET 2.0. If it is a requirement to utilize .NET 3.5 in your app, then there isn't much you can do for the Windows 2000 users. They'll need to upgrade whether they like it or not.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
As has been said you will have to target .NET 2.0.
However, they have said that Silverlight specifically will eventually be available for Windows 2000 and that is a subset of .NET 3.5 (there's a graphic somewhere on the web showing this).
Kevin
|
|
|
|
|
Kevin McFarlane wrote: However, they have said that Silverlight specifically will eventually be available for Windows 2000 and that is a subset of .NET 3.5
Yes, I have seen the same thing although I can only find some forum posts (here[^] and here[^]) that confirm this is the case.
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
hi.. i use c# wpf blend..
i cant do the menuitem in wpf project like what i did in vs where the designer will handle the thing for me..
how should i display drop down in my menu ?? e.g. file.. save.. open...
|
|
|
|
|
You have to go into the Collection Editor for the menu items and take it from there.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
thansk for the reply...
i still do not get menu dropdown done through c# wpf project..
hope can get some samplecode here. thanks
|
|
|
|
|
Look around at Josh Smith's articles on WPF around here. He might have something on it ( I'm not sure but it seems like he's done 15-20 articles on WPF ).
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
hi
so far see that when u execute this command in sql server 2005 :
select * from Sales.SalesOrderDetail
result set display result immediately and loading continue until all data load.
(the elapsed time to load all records [121317 records] is 3-4 seconds)
but when i use BeginExecuteReader in my app, my app did not display result set immediately and wait until all records load and then display result, how to i execute like sql server that display result set immediately and don't wait until all data load ?
thanks
|
|
|
|
|
it's a tad worrying that you want to display 121317 records to the user in one go. Can they really assimilate that quantity of data?
To get a faster response time to your user, page the data. Go get a 100 records, display them, then go get 100 more.
Small angry dogs
|
|
|
|
|
thanks for reply
my question is how to sql server implement this technique for display loaded data and loading other data at the same time ?
thanks
|
|
|
|
|
Hi,
I'm using a property grid to update some settings that are stored in my database.
PropertiesControl.OnPropertyValueChanged; 'CurrentDirectory' has been changed.<br />
SqlStatements.Update; Formatted SQL == UPDATE MetaData SET Value = '/sadasd' WHERE Name = 'CurrentDirectory';<br />
DbConnection.ExecuteNonQuery; Performing SQL.<br />
DbConnection.OnStateChange; Connection State Change: Open<br />
A first chance exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dll<br />
DbConnection.ExecuteNonQuery; Exception: System.Data.OleDb.OleDbException: Syntax error in UPDATE statement.<br />
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)<br />
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)<br />
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)<br />
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)<br />
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()<br />
at UNet.Server.Database.DbConnection.ExecuteNonQuery(String sql) in D:\DbConnection.cs:line 153<br />
DbConnection.OnStateChange; Connection State Change: Closed
I cant see whats wrong. The table is correct, both the values are strings and the sql seems fine to me.
Any ideas?
Regards,
Gareth
|
|
|
|
|
Is MetaData a keyword? Should it be surrounded with [] or something? Maybe you should choose a different name for your table?
|
|
|
|
|
Hi PIEBALDconsult,
I dont think its the table name as i can insert values into it.
Regards,
Gareth.
|
|
|
|
|
Value is a reserved keyword. Rename the field in the table, or if that is not possible, put brackets around the name: [Value].
Experience is the sum of all the mistakes you have done.
modified on Sunday, January 06, 2008 3:19:33 PM
|
|
|
|
|
Hi Guffa,
Thanks, that worked.
Regards,
Gareth
|
|
|
|
|
Hello,
Is it safe to develop windows application with MS Access Database now as I am thinking, Windows Vista and other future versions may not support MS Access ? If I develop MS Access based windows application and I have Office 2003 installed in my machine, do my customers need Office 2003 to run my ACCESS based windows application or they can have any office version installed like MS office 2007 or do they need to have office at all ?
Regards
|
|
|
|
|
bashiwala wrote: Is it safe to develop windows application with MS Access Database now as I am thinking, Windows Vista and other future versions may not support MS Access ?
Can't think why not. What has lead you to think this?
bashiwala wrote: If I develop MS Access based windows application and I have Office 2003 installed in my machine, do my customers need Office 2003 to run my ACCESS based windows application or they can have any office version installed like MS office 2007 or do they need to have office at all ?
Assuming that you are developing your Windows application in .NET and only using Access as a data store, your users don't need Office installed on their PCs.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hi,
thanks for your reply. Actually I read an article and it was said that, using MS Access for data storage by applications is discouraged by Microsoft, rather microsoft encourage to use SQL Server Express instead. But I found MS Access is more convenient because my user dont need to install SQL Server. Anyway, thanks for answering me, now I am comfortable to use ACCESS.
Moreover, it is a good news indeed that my user dont need MS office installed in order to run windows application that uses MS Access. Before I though negative.
Regards.
|
|
|
|
|
|
Hi,
I am a .NET developer and I have developed my products using C#.NET 2.0 (.NET framework 2.0). I am using Visual Studio 2005. Now, I am seeing that new Visual Studio 2008 has taken place of VS2005, .NET 3.5 is here. I am worried, do I really need to go for update my development environment for .NET 3.5 and VS 2008 in order to suit my products in my future customer's PC who are running Windows VISTA ? Moreover, If I dont update now, will I stay very backdated ? I learned .NET 2.0 and I am very much comfortable about it, but This new and new versions of VS and .NET coming up which is making me frustrated that, I will have to run and run all the time for updating myself. My question to you all Gurus, Is it very required to update or I can still stay with .NET 2.0 ?
Recently, I visited ASP.NET website and I found another new things, SilverLite, now I feel that, I will have to learn SilverLite too ? few days ago I updated my web applications with latest ASP.NET Ajax, now new and new things....
I would appreciate your response.
Regards.
|
|
|
|
|
Of course not. Vista was working with 2.0 and continues to. In fact, you can build 2.0 apps with 2008.
bashiwala wrote: Moreover, If I dont update now, will I stay very backdated
You will not learn the new language features until you update, but how important that is, is up to you.
bashiwala wrote: I will have to run and run all the time for updating myself
You must be new. The life of a software dev is always like that, get used to it.
bashiwala wrote: few days ago I updated my web applications with latest ASP.NET Ajax, now new and new things....
Just because something exists, doesn't mean you need to use it, and it sure doesn't mean your existing apps need to use it. ASP.NET AJAX is not that great, I'd prefer just to use AJAX by hand.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thank you sooo much for giving me positive hopes.
|
|
|
|
|
hi .. i am able to view picture for this
pictureBox1.Image = Image.FromFile(Application.StartupPath + @"\Picture\" + textBox1.Text);
but when i do that in wpf .. i cant write Application.StartupPath..... no such word startupPath for me to choose..
also no such pictureBox1.Image
below is c# code which last time i did.. no problem..
<br />
private void ShowPhoto()<br />
{<br />
if (!textBox1.Text.Equals(""))<br />
{<br />
try<br />
{<br />
pictureBox1.Image = Image.FromFile(Application.StartupPath + @"\Picture\" + textBox1.Text);<br />
<br />
}<br />
<br />
catch (Exception ex)<br />
{<br />
MessageBox.Show(ex.Message, "Error Loading Photo", MessageBoxButtons.OK, MessageBoxIcon.Error);<br />
}<br />
}<br />
<br />
}
modified on Saturday, January 05, 2008 10:28:56 PM
|
|
|
|
|
WPF is ridiculous ( and very buggy ). You need to use reflection to get the startup path of the application. Image.FromFile isn't going to work either, you need to use the WFP classes that represent an image.
I recommend buying a WPF book, nothing you know from WinForms is going to help you much.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|