|
Chen, Fu wrote:
To deploy the two features, do i need to package whole .NET?
Yes, you have to distribute the .NET framework if you want to make use of the Windows Forms framework.
What you probably don't realize is that Windows Forms relies on many different parts of the framework. In fact I'd guess it uses just about every assembly in the framework (except for the web and sockets parts).
Chen, Fu wrote:
And what's more my users still take win98 as main stream platform.
Win98 is fine, Win95 however is not supported for .NET, though I don't know if you can trick the framework into running on Win95.
James
Sonork ID: 100.11138 - Hasaki
"My words but a whisper -- your deafness a SHOUT.
I may make you feel but I can't make you think." - Thick as a Brick, Jethro Tull 1972
|
|
|
|
|
Thank you James!
well, then will microsoft prepare a public .NET runningtime for us, just like the DirectX8?
If it does exist, where is it? what's its size? tens of Mbytes?
Still a question? can visual studio .NET compile our code into native code? if not, How about the .NET virtual machine's speed?
|
|
|
|
|
Anonymous wrote:
well, then will microsoft prepare a public .NET runningtime for us, just like the DirectX8?
If it does exist, where is it? what's its size? tens of Mbytes?
http://download.microsoft.com/download/.netframesdk/Redist/1.0/W98NT42KMeXP/EN-US/dotnetredist.exe
21MB, so yes, it's kinda big...
Anonymous wrote:
Still a question? can visual studio .NET compile our code into native code? if not, How about the .NET virtual machine's speed?
Yes and No, VC++ can compile native applications. VB and C# can not.
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
how do you compile to native code in c++?
--------------------------
One problem with the programmer's mentality is insecurity. This goes deep. An insulting college litany says that failed mathematicians become computer programmers. They are also ridiculed for being nerdy losers, for being too fat or too skinny, and for having few social skills. Most programmers can be spotted easily in a crowd. Nobody really wants to hang out with them. Put thousands of these people in one company and if you can get them to work, you become a billiona
|
|
|
|
|
HJB417 wrote:
how do you compile to native code in c++?
Just use the default settings.
You have to tell the compiler if you _don't_ want to compile native code...
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
and how do you tell the compiler NOT to compile to native code =)
I didn't know about these options, so I'm only asking for my own knowledge
--------------------------
One problem with the programmer's mentality is insecurity. This goes deep. An insulting college litany says that failed mathematicians become computer programmers. They are also ridiculed for being nerdy losers, for being too fat or too skinny, and for having few social skills. Most programmers can be spotted easily in a crowd. Nobody really wants to hang out with them. Put thousands of these people in one company and if you can get them to work, you become a billiona
|
|
|
|
|
In the project options dialog...
I don't remenber where, but you should be able to find it...
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
HJB417 wrote:
how do you tell the compiler NOT to compile to native code
In project properties (settings) dialog, set "Configuration properties - General - Use Manged Extensions" to Yes.
// Fazlul
Get RadVC today! Play RAD in VC++
http://www.capitolsoft.com
|
|
|
|
|
Is it me or do you miss class wizard too???
Wudan Master
|
|
|
|
|
Li Mu Bai wrote:
Is it me or do you miss class wizard too???
Me too
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
Anyone knows what happend with the tray icon support in .NET (if i remember correctly there was a TrayIcon class) ?
Thanks,
Andres Manggini.
Buenos Aires - Argentina.
|
|
|
|
|
Found it, NotifyIcon under System.Windows.Forms Namespace.
Andres Manggini.
Buenos Aires - Argentina.
|
|
|
|
|
Hi,
Does anyone know how I can give VS a namespace that is included in every new project by default that i have created but doesnt show up in the solution?
|
|
|
|
|
Hi everybody,
I am now struggling around with a really big problem this whole week. Let me explain you what I want to achieve (which, at least, sounds simple):
I am writing a user control which is much like a TabControl. I have a tab header with several items etc. etc. The tab items are stored in a class which is derived from CollectionBase. I also can edit it well with the VS.net IDE (pressing the .. button and adding new items works well, they also show up in the header), but the problem is that the IDE doesn't store the items in the collection. They last there until compilation - then they're gone.
So this is my problem - how can I make this collection persistent, so that the IDE adds the proper code to the InitializeComponents function?
Furthermore, is there a way that I can change the tab by clicking on it during design-time? Like you can do with the normal TabControl... overriding OnClick or adding an event handler for Click doesn't do the job.
I really need help with these problems (ASAP... I need the solution on monday).
|
|
|
|
|
You need to look into creating a "Designer" for your control.
|
|
|
|
|
How do I get Javascript in to a .NET page? What I have is an asp:Hyperlink control as part of a ItemTemplate for a DataGrid control. I want the hyperlink to use the javascript 'confirm' method to determine whether or not to delete a record, but I can't figure out how to get the javascript to spit out. Any ideas?
Thanks in advance.
Here's the HTML, if interested:
<body vLink="blue" aLink="blue" MS_POSITIONING="GridLayout" language="javascript" onclick="return window_onclick()">
<form id="Form1" method="post" runat="server">
<asp:datagrid id="ClientGrid" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 32px" runat="server" Width="264px" Height="136px" AutoGenerateColumns="False" ShowHeader="False" BorderStyle="Solid" BorderWidth="1px" BorderColor="Black">
<AlternatingItemStyle BackColor="LightGreen"></AlternatingItemStyle>
<ItemStyle BackColor="LightYellow"></ItemStyle>
<Columns>
<asp:TemplateColumn>
<ItemStyle Width="40px"></ItemStyle>
<ItemTemplate>
<asp:HyperLink id=EditLink runat="server" NavigateUrl='<%# "AddEditClient.aspx" & DataBinder.Eval(Container.DataItem, "ClientID", "?id={0}") %>' ImageUrl="http://localhost/MCGDeferral/AdminWeb/images/edit.gif">
</asp:HyperLink>
<asp:HyperLink id=DeleteLink NavigateUrl='<%# "DeleteClient.aspx" & DataBinder.Eval(Container.DataItem, "ClientID", "?id={0}") %>' ImageUrl="http://localhost/MCGDeferral/AdminWeb/images/delete.gif" Runat="server">
</asp:HyperLink>
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn DataField="ClientName"></asp:BoundColumn>
</Columns>
<PagerStyle Mode="NumericPages"></PagerStyle>
</asp:datagrid>
</form>
</body>
Jamie Nordmeyer
Portland, Oregon, USA
|
|
|
|
|
You could use my ConfirmedButton control, which was designed for this scenario. It's available as a free download.
|
|
|
|
|
I have imported a project developed in VC++ 6.0.
and am getting this(these) errors when running
C:\\windows\system32\ntdll.dll , cannot find or open a required DBG file
C:\\windows\system32\mfc70.dll , cannot find or open a required DBG file
How do I fix these?
Thanks -JoeSox
|
|
|
|
|
Hi,
When trying to write my xml data to a string using StringWriter and XmlTextWriter
it writes to the string and sets the encoding to UTF-16. How do I control the encoding
when writing to a string (when writing to a file with Filestream I can control the encoding
through the XmlTextWriter constructor)?
Here is a codesnippet of my code:
System.IO.StringWriter sw = new System.IO.StringWriter();
XmlTextWriter writer = new XmlTextWriter(sw);
writer.Formatting = Formatting.Indented;
writer.WriteStartDocument();
....
writer.WriteEndDocument();
MessageBox.Show(sw.ToString());
Johannes
|
|
|
|
|
I have created a console application with Visual Studio .NET in which I am attempting to retrieve a IDirectoryObject pointer using ADsOpenObject(). The code compiles ok but will not link. The linker is unable to resolve IID_IDirectoryObject even though I have added activeds.lib to the list of libraries. Is there a define I need to set to include Windows 2000 objects or is there another reason why my program will not link?
Thanks in advance for any help you can provide.
Systems AXIS Ltd - Software for Business ...
|
|
|
|
|
I've only recently become involved with codeproject so I haven't heard much about this .NET thing (also, my first issue of MSDN decided to come looong after the whole .NET announcement thing). As far as I can tell, .NET is supposed to replace Visual C++ for web development, am I correct? Must... find... clear... descriptions... of... .NET...
First Programmer: "How many bits are in a bite?"
Second Programmer: "You spelled bytes wrong."
First Programmer: *stares* "It's a joke, moron."
Second Programmer: "Joke...?"
|
|
|
|
|
Check this
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
thanks a bunch for the link!
First Programmer: "How many bits are in a bite?"
Second Programmer: "You spelled bytes wrong."
First Programmer: *stares* "It's a joke, moron."
Second Programmer: "Joke...?"
|
|
|
|
|
|
that was the same article, my friend
the article is very informative and professional
and i appreciate how kashif actually responds to the disagreements to his article, rather than just ignore them
First Programmer: "How many bits are in a bite?"
Second Programmer: "You spelled bytes wrong."
First Programmer: *stares* "It's a joke, moron."
Second Programmer: "Joke...?"
|
|
|
|