473,544 Members | 1,915 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET Framework Forum

Microsoft . NET Framework - Ask questions about Windows Communication Foundation(WCF), Windows Workflow Foundation(WF), applications (web, server, smart clients, console and database).
0
941
thread by: Rick | last post Feb 8 '06 by: Rick
i'm triying to import a project from vc++ 6.0 to vs2005, but vs2005 says me "corrupted file project", but i can open it in vc++ 6.0 and it runs, what can i do? Thanks!!
1
1,127
thread by: Ian Tedridge | last post Feb 7 '06 by: Chris Dunaway
Can anybody help me with a small piece of coding ? I have used some code to draw a square within my form, using the drawline function with in the Form1_Paint event handler. With in this square, I wish to draw a line which originates from the bottom right hand corner, and is of a length with in the square. The idea to produce a form of...
0
1,027
thread by: tony dong | last post Feb 7 '06 by: tony dong
Hi there I have web part function allow user to add web part to web part zone or move from one zone to other zone, but before they add or move, I want to check is the new zone size(width and height) is suitable for this action for not? if it is suitable, finished, otherwise, will give user alert to say "It may make layout change, would you...
6
1,293
thread by: LordHog | last post Feb 7 '06 by: Willy Denoyette [MVP]
Hello all, I was wondering what is the best method of launching an application/exectable from within the Managed VC++ environment? I have found some information which describe CreateProcess and ShellExecute(Ex), but I was wondering if there is a perferred way of performing this task in Managed VC++ that use Windows Forms? I am trying to...
1
3,391
thread by: Carlos | last post Feb 7 '06 by: Carlos
I'm doing some interop work and I intended to use ThrowExceptionForHR to convert HRESULTs into .Net exceptions. But ThrowExceptionForHR doesn't seem to do anything as this simple C# illustrates: static void Main(string args) { try { Console.WriteLine("before"); Marshal.ThrowExceptionForHR(5);
2
5,377
thread by: The Grim Reaper | last post Feb 7 '06 by: The Grim Reaper
Hi all, I have a small "irritant" to do with DNS resolving in .NET Framework v2.0. For this example, assume the following network information; Local IP address is 192.168.0.10, on a PC named "PC_01" Remote address is 192.168.0.20, on a local LAN, and named "PC_02" DNS.GetHostByAddress("192.168.0.20").Hostname returns "PC_02"...
0
962
thread by: Vince Varallo | last post Feb 7 '06 by: Vince Varallo
Is there anyway to prevent a postback event when a web part is moved into a different zone? I am using the MSNBC weather web part and it fires a java script which is causing an error because the page is posting back. Thanks in advance, Vince
2
1,899
thread by: GW | last post Feb 7 '06 by: GW
After the conversion and fixing some errs VS2005 threw, project ran OK. Opened xxx.vbproj file after the conversion to VS2005 from VS2003. Changed (usng wordpad) ../msbuild/2003 to 2005 thinking that should read 2005 Unable to open project after that. Chgd back to 2003. Unable to open. Err unable to read xxx.vbproj(218,16)
2
2,059
thread by: ChrisB | last post Feb 7 '06 by: ChrisB
I have a number of things that I need to do on my assemblies after a release build which I'm currently doing by executing a VBS file as a post build event. Things include Dotfuscating, re-singing using sn.exe and copying all the resulting files to a separate production folder. Is there a better way of doing this? Using the VBS file seams...
3
1,171
thread by: Joe Obergfell | last post Feb 7 '06 by: Joe
Which is generally better for database queries? I am having to make a program which will be used to enter vast amount of data for a Great Planes database. I just need to know if C# or VB.NET interacts better with this application. Currently We have Great Planes 7.5 modified to our needs, if that would help. -- Joe Obergfell Intern
0
1,021
thread by: Cleyton | last post Feb 7 '06 by: Cleyton
Hi! Someone knows if is is possible make plugins to use with MSN Messenger... Plugins that give new features to MSN Messenger. I've looked in the Messenger COM's but I didn't find nothing interesting. Someone knows something better??!! Thanks!!!
10
1,484
thread by: dotnetchic | last post Feb 7 '06 by: dotnetchic
In VS 2003, I try creating a new VC7 MFC dll. Accepting all defaults, before adding ANY code, I get compiler errors out the wazoo having to do with this CString template. I ran across the same problem in porting some code over and compiling with the /clr switch and I resolved that issue by modifying a section of code that was typecasting a...
3
6,045
thread by: Mark Prenter | last post Feb 7 '06 by: Mark Prenter
Hello, I'm trying to find a way to retrieve the MAC address from a network card in a Visual C++ .NET managed application. I've found some examples in C#, but I just can't get them to work in C++. Here's what I've found in C#: using System.Management; ..... ManagementClass mc = new ManagementClass("Win32_NetworkAdapterConfiguration");
0
1,150
thread by: Brett | last post Feb 7 '06 by: Brett
Hi, I'm using VS2005 and Enterprise Libraray 2.0.0.0 for data access. I am attempting to create a unit test that tests a function which uses the Enterprise Library to access a SQL Server 2005 database. When I run the unit test, it fails with this message: Failed 00:00:00.0111656 2 Test method myProject.mytest.ValidateBusinessRulesTest...
6
1,423
thread by: Sue | last post Feb 7 '06 by: CGW
Hello We have an application where the user would upload files (max size of 200 mb) from their client machine. This application will run on a web server (its a web server which would be used by the general public), because of obvious reason, this server will not have access to any shared directory on the network. Currently we store the...
2
1,146
thread by: niclarke | last post Feb 7 '06 by: Michael Nemtsev
Does anyone know of any good tutorials on controlling/administering a windows service? maybe something like a taskbar application. Not just stop/start but more like application settings. Cheers, Nick
0
831
thread by: Boni | last post Feb 7 '06 by: Boni
Dear all, if I have a window handle of the window in the linked frame (and handle of the frame window too) how can I find out using platform SDK messages if this window on top in the frame? Thanks, Boni
1
1,098
thread by: JAdrianB | last post Feb 7 '06 by: Peter Rilling
If you have ASP.Net pages that contain multiple user controls and reference multiple classes, is it better to: 1. Open a single connection and pass it around to all objects that need to access data, or 2. Open a connection within each individual control, page, or class for internal usage, or 3. Open a connection each time data needs to be...
2
1,560
thread by: bg | last post Feb 7 '06 by: Yofnik
Hi all, I need to get from an XmlNode the XML in an escaped form i.e. the angly bits as < and > And I also need to do the reverse, put escaped text back into an XMlNode, is this posible?
0
1,192
thread by: Yofnik | last post Feb 7 '06 by: Yofnik
Is there a way to avoid serializing an empty ArrayList? I would like the following class: public class Collection { public ArrayList Items = new ArrayList(); } ....to serialize like this:
4
972
thread by: serge calderara | last post Feb 7 '06 by: Kevin Spencer
Dear all, I have customers for which I need to developped application within vs 2003 environement and some others under 2005 environement. Is there any reported trouble on having VS2003 and 2005 installed on the same workstation ? regards
0
1,390
thread by: Juan | last post Feb 7 '06 by: Juan
Hello: I'm having a trouble making an https request to an URL using c#. If i use an internet navigator, the request works fine and it returns the XML is supposed to return, but if I make it using c#, the server returns a 500 error code. The only different thing with an usual https connection is that the destination URL is a redirected...
6
1,178
thread by: Matt Silberstein | last post Feb 7 '06 by: Joseph Kesselman
I am looking for something that would "translate" an XSD (preferably) or a DTD into something like English. The idea is to get something like: Element Person has one or more titles which are strings exactly one first name which is a string The best would be a tool, second best would be a Perl module or an
14
2,643
thread by: ThunderMusic | last post Feb 7 '06 by: Jon Skeet [C# MVP]
Hi, The subject says it all. Is there an equivalent, in VB.NET, for the C# statement Lock(Object){} Thanks ThunderMusic
9
1,903
thread by: John | last post Feb 7 '06 by: Huihong
Hi, I would like to protect my software from copying. What are best tools for it (hardware protection is not an option), do you have some reccomendation for protection or third party software that works? Thanks very much John

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.