|
Hello!
Compared to a wide plateform availability of a web service, how a .net remoting server with http formater relates?
|
|
|
|
|
Is there a .NET equivelent to MFC's CDC::Draw3dRect?
Kyosa Jamie Nordmeyer - Cho Dan
Portland, Oregon, USA
|
|
|
|
|
I don't know what CDC::Draw3dRect does exactly but you might want to take a look to ControlPaint.DrawBorder3D, I have used it to draw a three-dimensional style border on the specified graphics surface and within the specified bounds on a control.
I hope it helps you.
Omar
|
|
|
|
|
CDC::Draw3dRect draws a rectangle on which one side of it is a darker shade then the rest of it to make it appear lit as if 3d.
"We will thrive in the new environment, leaping across space and time, everywhere and nowhere, like air or radiation, redundant, self-replicating, and always evolving." -unspecified individual
|
|
|
|
|
How do you go about adding to the .Net tab of the Add Reference dialog box? I thought adding stuff to the GAC would have done it, but that doesn't seem to work
|
|
|
|
|
I have seen this problem posted numerous times before, but alas, I don't recall the workaround. Try searching this and the C# forums.
Cheers
|
|
|
|
|
I think you need to add them some where in %WINDOWS%\Microsoft.NET\, I had the same problem with DX9beta.
MyDUMeter: a .NET DUMeter clone "Thats like saying "hahahaha he doesnt know the difference between a cyberneticradioactivenuclothermolopticdimswitch and a biocontainingspherogramotron", but with words you have really never heard of."
|
|
|
|
|
To answer my own question:
%systemroot%\Microsoft.NET\Framework\v1.0.xxxx
followed by any directories in:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0\AssemblyFolders
|
|
|
|
|
Last one didn't work as planned. According to a different site
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders
Actually tried it first this time...
|
|
|
|
|
I seem to be facing a problem with references. I have a class library A. Then I have another library B, which uses A. In the project for B I add a reference to A.
Now I create a class library C, which uses B. The .Net IDE is asking me to add a reference to B and A. Why A? This does not appear intuitive. Is there some setting that I happen to be overlooking? Also, C does not use anything from A. It only uses that which is exposed from B.
BTW: The class libraries are built using C#. Not sure if that matters.
Thanks,
Ranjan
|
|
|
|
|
Further research shows the following.
Assuming that each of the above mentioned libraries has is pretty much a class then:
If B inherits A and C uses B in any manner then both A and B must be added to the references for C.
However, if B uses A (has an A data member) then C does not require a reference to A.
Still need to understand why.
|
|
|
|
|
Further research. MS Help says that if you are inheriting or using interfaces from another class library then all references must be included. So that pretty much takes care of what I thought was my nightmare.
|
|
|
|
|
Here's what your are looking for.
If B uses A and C uses B, C will need to reference A if B expose types from A.
Understand?
MyDUMeter: a .NET DUMeter clone "Thats like saying "hahahaha he doesnt know the difference between a cyberneticradioactivenuclothermolopticdimswitch and a biocontainingspherogramotron", but with words you have really never heard of."
|
|
|
|
|
Hi all,
Did anyone encounter a problem with deploying a web project that has crystal report viewer in it to a machine that has .NET framework installed only (no VS.NET tools)?
Apparently no Crystal support is installed during the framework installation.
Does anyone know about any ways to get all those dll installed without installing VS.Net tools?
Thanks
|
|
|
|
|
I have installed .NET but it seems to be running alot slower than 6.0 did. Is there a way of speeding it up??
Also, how do I get the class view, resource view and solution explorer as one view. They are all separate at the moment..
Thanks,
grahamoj.
|
|
|
|
|
grahamoj wrote:
I have installed .NET but it seems to be running alot slower than 6.0 did.
Yes it does. You wouldn't believe how slow VS.Net beta was; the current release is a lot better. I remember a bunch of us testing the beta on a fast PIII, and growing old waiting for compilation to finish.
Turning off as much of the Dynamic Help stuff as possible, should help. It is very resource hungry. Also, disable as much of the animation eye-candy as you can (in the Options dialog along with Dynamic Help).
grahamoj wrote:
Also, how do I get the class view, resource view and solution explorer as one view.
You can just drag-and-dock them together as I did. It might be easier if you detach the windows first, size them fairly small, and then dock them.
Cheers
|
|
|
|
|
Hi all,
I have a question regarding the XML Schemas that .NET automagically generates from a class. Is there an Attribute that controls the minOccurs/maxOccurs properties of a serialised member variable?
I'm creating a Web Service and would like to control the schemas in the WSDL, so that consumers of the WS know that they /must/ supply values for some of the class's members. I'm guessing that there is a way to specify that using the XML Serialisation Attributes of the class, but I can't find anything on MSDN.
Any clues?
TIA,
Pete
|
|
|
|
|
I'm creating a series of ASP.NET Controls that are going to be compiled into an assembly. Instead of having a satellite assembly for each of the 70 cultures I have to support, is there a way to compile all of my localized resources into the main assembly and have the ResourceManager find them?
|
|
|
|
|
Does .NET architecture allow to implement a solution where a Web Service exposes an ADO.Connection object so that an ASP.NET client could retrieve such object, open its local ADO.Recordset on it, and use it at its own discretion as thou the ADO.Connection object was created on the client’s PC?
If yes, how to implement exposing an ADO.Connection object from a Web Service, and a client’s requesting to get that object?
If No, what should be the closest architectural solution?
Cheers!
|
|
|
|
|
I'm assuming that you're talking about ADO.NET and not classic ADO, so all that you have to do is return a SqlConnection or OleDBConnection from the method.
[WebMethod()]
public SqlConnection GetSqlConnection()
[WebMethod()]
public OleDBConnection GetOtherConnection()
any idiot
can write haiku you just stop
at seventeenth syl
-ThinkGeek Fortunes
|
|
|
|
|
Yes, any derivation of ADO will do, i guess
Thank you very much for your answer. I'm just starting with all the .NET stuff, but i'm getting there, thanx to valuble suggestions;)
Cheers!
|
|
|
|
|
Sure...no problem.
I'd recommend the following books for .NET development:
(MSPress)
Applied Microsoft.NET Framework Programming
Inside C# Second Edition
ADO.NET Core Reference
any idiot
can write haiku you just stop
at seventeenth syl
-ThinkGeek Fortunes
|
|
|
|
|
Hi, all:
I am totally stuck, please help. I have a datagrid on the WinForm ( using C# ). I am trying to create a combobox for one of the columns. I use the technique described in MS KB Article 323167 ( coded in VB.NET) and I port the code to C#. It works fine for the existing rows. Whe I click on the * row ( i.e., try to create a new row) on the datagrid. The combobox seems there, but when I click on the down arrow, the combobox does not dropdown. Occasionally, I can get the dropdown, but when I leave the cell, the changed value goes to the previous row ( strange!). The primary key is AutoNumber, when I click on the new row ( with "*" in front of it), I sometime get little pencil in front of the row, but sometimes I do not get it except the autonumber ( almost like it does not treat as a new row ).
Has anyone use this combobox technique and work on the new row successfully? I include the code snippet ( handling the events) here, if you can spot anything I did wrong, please let me know.
Any help is highly appreciated. Thanks in advance.
Dion
************ Code Starts here ***********
private void dataGrid1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)<br />
{<br />
if ( dataGrid1.CurrentCell.ColumnNumber == 1 )<br />
{<br />
cbType.Width = dataGrid1.GetCurrentCellBounds().Width;<br />
}<br />
}<br />
<br />
private void dataGrid1_CurrentCellChanged(object sender, System.EventArgs e)<br />
{<br />
if ( dataGrid1.CurrentCell.ColumnNumber == 1 )<br />
{<br />
cbType.Visible = false;<br />
cbType.Width = 0;<br />
cbType.Left = dataGrid1.GetCurrentCellBounds().Left;<br />
cbType.Top = dataGrid1.GetCurrentCellBounds().Top;<br />
cbType.Text = dataGrid1[dataGrid1.CurrentCell].ToString() + "";<br />
cbType.Visible = true;<br />
}<br />
else<br />
{<br />
cbType.Visible = false;<br />
cbType.Width = 0;<br />
} <br />
}<br />
<br />
private void dataGrid1_Scroll(object sender, System.EventArgs e)<br />
{<br />
cbType.Visible = false;<br />
cbType.Width = 0;<br />
}<br />
<br />
<br />
private void dataGrid1_Click(object sender, System.EventArgs e)<br />
{<br />
cbType.Visible = false;<br />
cbType.Width = 0;<br />
}<br />
<br />
<br />
private void cbType_TextChanged(object sender, System.EventArgs e)<br />
{<br />
if ( dataGrid1.CurrentCell.ColumnNumber == 1 )<br />
{<br />
cbType.Visible = false;<br />
<br />
if ( ( dataGrid1[dataGrid1.CurrentCell] + "") == "" )<br />
{<br />
SendKeys.Send("*");<br />
}<br />
<br />
dataGrid1[dataGrid1.CurrentCell] = cbType.Text;<br />
} <br />
}
|
|
|
|
|
I want to build a snap-in with C#.
How can I do this?
sadegh
|
|
|
|
|
Hi, all:
I am using Datagrid control in my WinForm application. I have two questions regarding the usage of the datagrid control.
1. In MS Access Database, you can specify a column "Lookup" to another table for available values ( show up as List when clicked on the cell ). Can I do the same thing in Datagrid control?
2. I'd like the user to update the data in the datagrid, but not add a new row. I will programatically add new rows through Dataset. Is this possible?
Thanks for your help in advance.
Dion
|
|
|
|