|
I don't know. Try the "Web development" forum. Or Asp.NET[^]
if you start putting in too manay features, it no longer remains useful for beginners
quote in a CP article comment, shiraz baig
|
|
|
|
|
That's way too hard. All the work is already done for you if you use the CP WebService.
Norm Almond: I seen some GUI's in my life but WTF is this mess
Leppie: I made an app for my sister and she wouldnt use it till it was colorful enough
Norm:good point leppie, from that statement I can only deduce that this GUI must be aimed at children
Leppie:My sister is 25
-Norm on the MailMagic GUI
|
|
|
|
|
Client-side and server-side are different things, right ?
sometimes it helps to look at the IL generated code
a MS guy on develop.com "answering" .NET issues
|
|
|
|
|
Yeeeahh... But I don't think he specified where the processing had to take place did he?
Norm Almond: I seen some GUI's in my life but WTF is this mess
Leppie: I made an app for my sister and she wouldnt use it till it was colorful enough
Norm:good point leppie, from that statement I can only deduce that this GUI must be aimed at children
Leppie:My sister is 25
-Norm on the MailMagic GUI
|
|
|
|
|
What has to be done to create a new key in local_machine in the registry? I've given unlimited rights to my assembly, but that only gives me access to Current_User.
Any help would be greatly appreciated.
-Steve
|
|
|
|
|
Can somebody tell me what is a good book that i can buy that is a good started guide for VS .Net.
I am really looking forward to learning everything about VS.NET and I need a good book that will help me.
|
|
|
|
|
Although there are a few about VS .NET, you'll want to pick what language you'd like to learn, whether it be Visual Basic, C# or C++.
If you have no experience with VB then you'll probably have no problem with .NET's design, and as such should little trouble moving to VB.NET. Alternatively, you may choose to take a look at the C-style C# since this is being pushed quite heavily. It benefits from (in my opinion) a very clean syntax compare to either VB or C++.
C++ on the other hand provides the greatest flexibility, it is the only language that allows you to produce native code (i.e. non .NET), but also allows you to produce managed and unmanaged code in the same application. Managed refers to whether instances of objects on the managed heap are monitored by the Garbage Collector, unmanaged refers to those outside of the GC's control (and so you have to manually delete them as with traditional C++).
I started to use .NET with C# (primarily for ASP.NET web applications), and the odd Windows app, however, I've recently been using C++ and its actually been pretty good (if a little frustrating at times), take a look at my Email Validator Control for an example of C++.NET solution involving Win32 API calls, and also the Credit Card Validator control for an example of C# code.
Once you've chosen a language you'll be able to get a book that covers it. For C++ I'd recommend Developing Applications with Visual Studio .NET by Richard Grimes (of many ATL books fame ). I'm not aware of many other books, but if you want to get into C# development (specifically windows rich clients) then Charles Petzold's weight tome is also pretty good.
--
Paul
"I need the secure packaging of Jockeys. My boys need a house!"
- Kramer, in "The Chinese Woman" episode of Seinfeld
MS Messenger: paul@oobaloo.co.uk
Sonork: 100.22446
|
|
|
|
|
Paul Ingles wrote:
but if you want to get into C# development (specifically windows rich clients) then Charles Petzold's weight tome is also pretty good.
It's called Programming Windows with C#, I think, and he's also now translated it into Visual Basic .NET, if you prefer that.
Kevin
|
|
|
|
|
IMHO a lot of so-called .NET books these days are fluff useless marketing. You get nothing but a biased view. And there are so many new topics to be covered that the book is either 10000 pages or it is just 800 and 1000 pages (in this case, this is not enough to cover thoroughly a SINGLE topic).
I would recommend the MSDN doc itself, now that MS has figured out they had to publish tutorials to help us developers embrace the new framework. The tutorials I am talking about is not what is known as the quickstart in the docs. I am really talking about the tutorials.
And also quite of note are the samples on the VS.NET cd. Amazing, and even almost not even mentioned in the docs...
if you start putting in too manay features, it no longer remains useful for beginners
quote in a CP article comment, shiraz baig
|
|
|
|
|
Hi
I have a web control for which I am using a Designer that is derived from
System.Web.UI.Design.ReadWriteControlDesigner.
Now at Runtime I can hide certain controls using the Visible property -
however I cannot determine how to hide controls
programmatically during Design time ie so that they do not show up in the
Visual Studio Design window in HTML view.
I've overridden Render() in my Control class and GetDesignTimeHtml() in my
Designer class but its all to no avail.
Please can you assist me.
Shaun
Stupidity dies.
The end of future offspring.
Evolution wins.
- A Darwin Awards Haiku
|
|
|
|
|
I created a simple app (Localization1) with form (Form1). I want to add russian localization to this application after the compilation. I set Localizable property to True in Form1. In my main function I typed Thread.CurrentThread.CurrentUICulture = new CultureInfo("ru-RU"). After it I copied Form1.resx to Form1.ru.resx, launched "winres.exe Form1.ru.resx" and translated all I need. After it I called "resgen.exe Form1.ru.resx" that created Form1.ru.resources. Then I called "al /t:lib /embed:Form1.ru.resources /culture:ru /out:Localization1.resources.dll /template:bin\debug\Localization1.exe". This command generated Localization1.resources.dll. I copied it to my bin\debug\ru folder and launched Localization1.exe, but it ramains in english locale. What's wrong?
Thanks. Nikita Shamgunov.
|
|
|
|
|
Try to use the code below
Thread.CurrentThread.CurrentUICulture = new CultureInfo("ru").
43 68 65 65 72 73 2c
4d 69 63 68 61 65 6c
|
|
|
|
|
Hi.
How can I determine the amount of free space and total amount of space at a drive using the .NET classes?
Regards
EnkelIk
|
|
|
|
|
declaration:
using System.Runtime.InteropServices;
[DllImport("kernel32", CharSet=CharSet.Auto)]
static public extern bool GetDiskFreeSpaceEx(
string lpDirectoryName,
out Int64 lpFreeBytesAvailable,
out Int64 lpTotalNumberOfBytes,
out Int64 lpTotalNumberOfFreeBytes
);
usage :
Int64 freebytes = 0, totalbytes = 0, totalfreebytes = 0;
GetDiskFreeSpaceEx(@"c:\\tmp", out freebytes, out totalbytes, out totalfreebytes);
Warning : 64-bit output.
if you start putting in too manay features, it no longer remains useful for beginners
quote in a CP article comment, shiraz baig
|
|
|
|
|
StephaneRodriguez wrote:
Int64
Just curious; any particular reason you are using Int64 instead of long? So far I haven't had to deal with a situation where I needed a 64 bit number so please enlighten me of any problems
James
Sig code stolen from David Wulff
|
|
|
|
|
No problem until now. I want to make sure those who use interop functions such like GetFreeDiskSpaceEx know that the result is not 32 bits. You probably know that GetFreeDiskSpace() raised a lot of problems for us 32-(bit people, as this API method was there before huge drives came in the market.
if you start putting in too manay features, it no longer remains useful for beginners
quote in a CP article comment, shiraz baig
|
|
|
|
|
I attempted to use this function in J# but the compiler issues this message:
'Cannot resolve name 'System.Runtime.InteropServices'
How can I solve this problem?
Thanks
Arash
Arash Afifi
Software Engineer
Fax: +1(309)276-7070
E-mail: afifi@sympatico.ca
|
|
|
|
|
try
import System.Runtime.*;
From an MSDN doc I have just seen, this looks like the right syntax.
if you start putting in too manay features, it no longer remains useful for beginners
quote in a CP article comment, shiraz baig
|
|
|
|
|
I am trying to configure my firewall to allow access to my .NET remoting application. I set my firewall to route tcp traffic on a particular port to my internal PC. This works fine for instance if I run a web server on my machine (port 80) but I cannot get my .NET remoting server exposed. My port scanner says the correct port is open. I am simply opening up port n to TCP traffic. ANy suggestions?
Joel
|
|
|
|
|
|
Your link didn't seem to point to a relevant thread. My server is a simple server with no call backs to the client. I thought that if you configure the server to listen on one port that would be all it needed. If it needs more ports, how do I know which ones.
Thanks - Joel
|
|
|
|
|
Just to see what happening (if anything similar to this) try opening up a command window on the server and run netstat to show you a listing of all the TCP connections.
Hit your service and then see if there are any connection attempts outwards on another port.
|
|
|
|
|
I found the problem and it has nothing to do with open ports. When using CAO in remoting, the server sends the IP of the server back to the client which it then uses to get back to the server. When using a firewall, the IP sent to the client will often be the internal IP which is not the IP that the client can use to get back to the server. So you have to override this in the config file for the server with something like:
<channel ref="tcp" port="5555" machinename="firewall.something.com">
Joel
|
|
|
|
|
I need to add an Outlook toolbar to a .NET form? Does .NET come with such a feature? If not is there a free way to do this or must a component be purchased? If a componentmust be purchased does anyone recommend one for C++ .NET forms?
Many Thanks,
Derek
|
|
|
|
|
Take a look at this project
http://www.codeproject.com/cs/miscctrl/outlookbar.asp
|
|
|
|