|
If you read the info behind that link, you would know it IS possible to compile 1.0 at a 1.1 framework. In VS, go to your project properties, and select 1.0 at 'supported runtimes'.
Althought you said it wasn't possible, you helped me well.
Cheers,
Theo
|
|
|
|
|
This changes the applications configuration so it is ALLOWED to run under 1.0, with the restriction that you can't use 1.1 specific classes.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dave Kreskowiak wrote:
This changes the applications configuration so it is ALLOWED to run under 1.0, with the restriction that you can't use 1.1 specific classes.
I don't see the distinction you're trying to make.
|
|
|
|
|
This doesn't change the code generated by the compiler at all. What you're actually doing is changing a configuration option in the applications .config file that say that this application CAN run under the 1.0 Framework.
There is nothing guaranteeing that though. The .NET Runtime is trusting YOU to tell it that it is OK to run this particular 1.1 code under the 1.0 Framework. It's taking YOUR WORD that the code doesn't use anything that is 1.1 specific.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
salaam 2 all!
i m a student of BS(7th semester), i have done good work in VC(MFC, socket programing,WMI,dll's) and now want to mov towards C#, tell in how much time it would take me to learn C#? so that i am able to make a normal application on my own, a am above average student__hardwoking and serious one!!
|
|
|
|
|
|
c# is closer to VB than to VC++ as far as developing a GUI. With your experience in VC++, the programming side should pose little problems - just get a good reference book and you'll be fine. If you have VB experience the whole transition should be a piece of cake for you.
Darryl Borden
Principal IT Analyst
dborden@eprod.com
|
|
|
|
|
Hi..
I have connected to a Unix based data base server by using the tcpclient class of c#, for a synchronous transmition of data i am using the receive function provided by the above mentioned class. as it is said in its help that "receive() function stops untill it receives that data from the host"
My problem is when i send a query to the host, Reply does come from the host but the function "Recevie()" does not stop for the new data to come from the host or does not wait for the new data all it does is keep on giving the same old data that it sent before ,due to this my client is not working fine... if some one has information regarding this do help me.
|
|
|
|
|
Hi,
I am having a problem when trying to update a table in Access 2000.
At (apparently) random times, it throws the following exception. It is translated from spanish, might not be exactly the same in english;
'Can't update. This record is currently locked'
There is no concurrent access to this database. Any ideas?
Thanks in advance
|
|
|
|
|
The first thing I'd ask is, "Did you close all of your object when you where done with them? DataSet's, DataReader's, Connection's, ..." Don't keep a connection constantly open to a database. Keep it open only as long as you need to complete the transaction you need.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Well I have a couple datatables pointing to the database through the same connection, but NEVER had problems until now.
Thought the locking policy came into play when there was more than one user accessing the database. Still, I'll give a look and try to keep 'data objects' to a minimum.
Thanks for the reply
|
|
|
|
|
How to convert excel to csv with details such as font color,size using c#
|
|
|
|
|
And can i move an object at a bearing of, say, 65 degrees?
I've done something like this before, but it runs really slow, and i cant move in certain angles.
|
|
|
|
|
What kind of object?
Moving an object is simply changing it's position. If the object supports changing of the position, it can be moved.
---
b { font-weight: normal; }
|
|
|
|
|
i've created an application, i want by the instalation set for files with extension .xyz an icon defined by me.
And double clicking on these file automatically run my application passing the path of the file at the main function.
How?
|
|
|
|
|
create new project... Setup and Deployment project
go to solution explorer,
click on File Types Editor Icon,
in central screen now add new file type on target machine...
SergioSuperStar inventions
|
|
|
|
|
Hi,
How to read datagrid column’s headertext?
I am creating datagrid columns dynamically. I am specifying the datagrid’s headertext in th aql query only, like, “SELECT empname ‘Employee Name’, desg ‘Designation’ FROM emp”. In this case *Employee Name* and *Designation* will be datagrid column’s header.
How to get these header texts?
Thanks in advance…
~Mahantesh Hongal
|
|
|
|
|
Hope all are fine
i want to restart the system when the installer complete how it is implemented .also tell me the code that only restart the system .
i want to write the code onAfterInstall() method
|
|
|
|
|
You have an executable named shutdown.exe in windows, you can run it to restart the computer.
The command line is: shutdown -t 0 -r -f
I know the Windows 2003 and Windows XP provide this executable.
Good luck,
Ami Bar
|
|
|
|
|
but i want that it work on win 98 to 2003 not only on XP or 2003
I found the Best Solution that is Wrapper classes writeen in . NET for Restart Hibernae and Shutdown standby
Explore it
http://www.mentalis.org/soft/class.qpx?id=7
-- modified at 0:24 Tuesday 27th September, 2005
|
|
|
|
|
Hi, I am creating my own datagrid control, as I needed the vertical scrollbar to be thicker than standard (because this dg is targeting touch screen users). Anyway, I am overriding WndProc, seen in the code below:
protected override void WndProc(ref Message m)
{
try
{
if (m.LParam == this.VertScrollBar.Handle)
{
object result = m.GetLParam();
}
}
catch (Exception ex)
{
string test = ex.ToString();
}
base.WndProc (ref m);
}
My problem is that GetLParam takes a System.Type cls parameter, and I have no idea what I should be putting in there. Please let me know how to fix this if you know what should go there. Thanks in advance.
|
|
|
|
|
Hi!!
I am a bit confused with regards to constant variables. I have a class called something like MYGlobals (for example). In this class I want to define global variables used throughout my web project. I think there is 2 ways of doing this, or am I mistaken. For example, are the following 2 declarations basically the same thing?
public static const int C1 = 5;
public static readonly int C1 = 5;
What is the correct way to define constants?
Please help and advise!!
I appreciate your help.
Regards,
Brendan
(South Africa)
|
|
|
|
|
A constant can not be static.
public const int C1 = 5;
Be ware that the value is compiled into the code wherever you use the constant. If you change the constant you have to make sure that all code using it is recompiled. This is not a problem within a single project of course.
public static readonly int C1 = 5;
When the class is loaded the integer is created and initialized. (The initialization is done in the static constructor of the class.) The value is not compiled into the code, but referenced whenever it's used.
---
b { font-weight: normal; }
|
|
|
|
|
Hi All,
Am Harikaran from Chennai. I wanna to get some help how to get a media player control in Windows CE.NET 4.2 using c#.
Have tried with PIAs also. But, no help. If anyone has the sample code, please post it and help me out.
Am using Windows XP SP1 and .NET 1.1 environment and WinCE version 4.2.
I wanna to play some Video / Audio files in my Windows CE application using C#.
Thanks in Advance,
HRK-Chennai
looking for good future
|
|
|
|
|
Can anyone explain me about the differences between HashTable and ArrayList
|
|
|
|