Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score XML serialisation - error reflecting type
Paul E Collins - 21 Oct 2006 11:44 PM - 2 messages
I'm using XmlSerializer.Serialize method from System.Xml.Serialization on one of my own classes and getting the following error: "An unhandled exception of type 'System.InvalidOperationException' occurred in system.xml.dll Additional information: There was an error reflecting type ...
Score How to open an URL
ad - 21 Oct 2006 9:38 PM - 5 messages
How can I open a Url in C#. For example, how can I open [link] in c# ...
Score Can an WBA/XBAP directly make a call to database server
MMA - 21 Oct 2006 8:40 PM - 2 messages
Can an WBA/XBAP directly make a call to database server or does it need to go through the WS? Thanks in Advanec ...
Score Importing XML schema into SQL Everywhere using C#
Peter Hartlén - 21 Oct 2006 6:55 PM - 2 messages
Hi! Could someone please point me to a good tutorial or similar (what classes, small hint...) describing the best practice when it comes to importing database schema and data into a sql everywhere database? I've tried searching both MSDN and Google but I get millions of hits... :-( ...
Score A Comparison Of Dynamic and Static Languiges
atbusbook - 21 Oct 2006 6:28 PM - 6 messages
I'm doing a report on the speed of develipment and executionin varius programing langiuiges. write code for all these tasks in the languige of your choise if intrestied send code to atbusb***@aol.com. Task 1:   write a program that prints how many times you repeat all words in a ...
Score Distinguish between folder drop and file drop
Silvester - 21 Oct 2006 6:08 PM - 4 messages
I need to trigger some code when user drags and drops an entire folder onto my form. How can I distinguish  between a folder drop and files dropped ? Can someone point me to code or a sample, please ? Thanks ! ...
Score Help with RegExp!
celerno - 21 Oct 2006 5:28 PM - 3 messages
i need a regexp to parse some like this <AwordHere> any thing here #$% #@$#@ /./09812 anything </AwordHere> this works for that: <(?<field>\w+)>(?<value>.*)(?<field></\w+>) but when i have ...
Score Structuring a solution / projects.
JohnGoogle - 21 Oct 2006 4:39 PM - 8 messages
Hi, I'm new to Visual C# and I am looking for guidance with structuring projects. I am wanting to develop a DLL assembly which will contain all my common classes which will be used by various projects. During development of ...
Score How to include namespaces that are not shipped with C# express.
Dave - 21 Oct 2006 4:14 PM - 3 messages
Is there a way to 'download' any particular namespace that is not shipped C# express? I want to access System.Net.IrDA namespace. L. A. Jones ...
Score C# Performance question
Bill O'Neill - 21 Oct 2006 2:38 PM - 4 messages
In our business frameworks we are creating objects off of the heap to represent every small value such as a CustomerNumber. We will have thousands of these small objects in an application at any one time. These objects are very thin as most of the members have been declared static. ...
Score Integrating a Legacy Application
Jason Madison - 21 Oct 2006 12:11 PM - 5 messages
I would like to create a .net application that still uses a few screens from an old legacy application we have. I can list records from the database in my .net app, but when it comes to making updates I still need to legacy screens as the update logic is very ...
Score Windows Application Deployment Issue
Omer - 21 Oct 2006 12:05 PM - 3 messages
Hi, I am about to give a project's exe file to my manager, so that he can run it on his PC. I have compiled it in Release mode. Exe File  is in obj folder. Now I have connection srting details my project's ...
Score Scrollbars and controls in general
Jon Slaughter - 21 Oct 2006 12:00 PM - 5 messages
I'm trying to wrap all the basic controls(Button, scrollbar, etc..) to allow for skinning.  The problem is that many of the controls seem so different in the way they work. For example, right now I'm trying to wrap teh scrollbar ...
Score How to prevent the designer to create a value for a property in InitializeComponent ?
Sagaert Johan - 21 Oct 2006 9:57 AM - 2 messages
How to prevent the designer to create a value for a property in InitializeComponent ? I do not want the designer to create an initialisation entry in the InitializeComponent  method. Is there any attribute i can apply to my property in my custom control to ...
Score double buffering in child controls
ssoffline - 21 Oct 2006 8:24 AM - 4 messages
hi i have an app in which i can drop objects onto a form and move them, it consists of graphics (lines), i am using double buffering to avoid filckering in the parent control which is a panel,but when i add ...
Score Resizable lines
ssoffline - 21 Oct 2006 8:20 AM - 3 messages
hi I am developing an app for making data flow diagrams visually so i have a toolbox, from which i drag and drop objects onto a panel For obvious reasons i have lines which i use to connect objects which ...
Score UDPClient.Send Checking
Rain - 21 Oct 2006 8:18 AM - 3 messages
Hi , I need help on this one.. any help would be appreciated, heres my code: My code for sending using UDPClient: public void Send( string Message) {     if ( !isRunning ) return ;     try     {                byte[] bs = System.Text.Encoding.UTF8.GetBytes(Message); ...
Score DotNet and Firebird Embedded: Prolem with distinct clause
osmarjunior - 21 Oct 2006 5:03 AM - 5 messages
Hi. I made a method to execute queries in my database (Firebird embedded v.1.5.3). The Database class contains methods to create the database specific objects. public static DbDataReader ExecuteReader(String query) {     // Creates the DbCommand ...
Score comparing objects
netnet - 21 Oct 2006 3:44 AM - 11 messages
I have a collection of objects that I store in the session.  Then I look in that collection to see if the collection.contains an object.  it answers false.  If I dont store that collection in the session it answers true.   Is ...
Score How to get mouse/keyboard event from outside your form?
MrNobody - 21 Oct 2006 3:36 AM - 2 messages
What kind of wizardry do I have to pull off so I can capture a mouse click event or a key press event from OUTSIDE my form? Ideally, with either case I also consume the event so that it does not reach ...
Score Dealing with textfiles with multiple encodings
Gustaf - 21 Oct 2006 1:33 AM - 3 messages
I'm planning to write an app that will extract certain messages in mailboxes stored in Eudora and Thunderbird formats. These are both "plain text" formats, but the character encoding varies greatly from one message to the other. I wonder how to deal with that, so that the ...
Score 'ms-help://MS.MSDNQTR.v80.en' in invalid.
Ryan Liu - 21 Oct 2006 12:13 AM - 3 messages
Hi, I installed VS 2005, also its msdn library. But when I click on Start - Program Filees - Microsoft Developer Network - MSDN Library for Visual Studio 2005, it gives me error: Microsoft Document Explorer cannot be shown because  the specified help ...
Score C# using C++ dlls and lib
tshad - 20 Oct 2006 10:55 PM - 4 messages
I have a program in C# that needs to access a couple of C++ dlls and libs. Can this be done? Thanks, Tom ...
Score C# command Line netsh help!
ttan - 20 Oct 2006 10:42 PM - 3 messages
I'm using c# to called a command line netsh ipsec static.... and the group policy store it on local even those I used "ipsec static set store location=domain" my question is how do I keep the command line is in the netsh eviroment? ...
Score Cross-thread GUI call
Jake Weller - 20 Oct 2006 9:43 PM - 3 messages
Hi everyone, Is it safe to call a GUI control's members directly from another thread. That is, if I launch a background thread when the user clicks a button on my form, can I safely retrieve info from one of its controls on that thread. I ...
Score Breaking the 2GB barrier
Frank Rizzo - 20 Oct 2006 9:26 PM - 14 messages
I will soon be deploying an application on Windows 2003 R2 64-bit Standard Edition.  The app will also be compiled for 64-bit.  One of the reasons is that the application will really benefit from having more ...
Score ProcessStartInfo - Shell - Printing
Vinny Vinn - 20 Oct 2006 9:11 PM - 2 messages
I am using the following C# code to print a PDF to a network printer. The document prints in portrait mode, I would like the document to print in Landscape mode. Is there/What is the argument that I need to supply to ...
Score Active Directory User Name from Logon Name
Arthur - 20 Oct 2006 8:24 PM - 19 messages
Hi All, I would like to get the name of the user given their networkID, is this something Active Directory would be useful for?(For intranet users) If so, can you please point me to some sample code/examples? Thanks in advance, ...
Score Memory Cleanup
Joe - 20 Oct 2006 7:43 PM - 15 messages
I'm trying to track down where objects are referenced because I want to clean up the memory when I'm done with them. I thought I found all references but it doesn't seem that way because calling GC.Collect() doesn't ...
Score if (this.DesignMode) return ; Not working
Sagaert Johan - 20 Oct 2006 7:40 PM - 4 messages
Hi I stumbled to this : I have a form and in the contructor i put if (this.DesignMode)     return; other code here The IDE designer throws an exception and points to a line in the 'other code"  block . ...
Score Disabling Rows in DataGridView
shalakasan - 20 Oct 2006 7:29 PM - 3 messages
Hi, I am new to the forms world  and have a silly doubt. I have form with a DataGridview and an "Add" button. When the user clicks on the add button, one row gets added to the datagrid. Now I want that when the user hits the "Add" button, then new row ...
Score Arraylist - accessing object properties?
Alex - 20 Oct 2006 7:24 PM - 4 messages
Hi all, I'm trying to create an arraylist of a user control class...  I'm able to define the list and add objects (panels) to it, but I can access and of the panel properties using an index... ...
Score Is this possible
Jack Robertson - 20 Oct 2006 6:36 PM - 5 messages
Hi there, Is it possible to write the following function as a template where "EnumFlags" becomes template parameter T (where T will always be an enumerator with the "FlagsAttribute"). Nothing I've tried works, including use of a "where" clause since T must always be of type "System.Enum". Thanks ...
Score Identify a TreeNode within a TreeView
SteveT - 20 Oct 2006 6:27 PM - 4 messages
Is there any property within a TreeNode that uniquely identifies it against all other TreeNodes with the TreeView?  I'd like to "tag" several nodes within a TreeView, and then later either add children nodes to them or delete ...
Score Get a process's child processes
Agnes - 20 Oct 2006 6:03 PM - 6 messages
Hi, Is there a way to get the current process's child processes? Or given a user, get all the processes that are running as that user using C#? Thank you in advance! Agnes ...
Score Casting Issue Correct Question! Sorry
Daniel - 20 Oct 2006 5:56 PM - 15 messages
Hi guys who just answered me.....it really would have helped if i had written it right. Ok i will use better names to explain my problem. I have this:                                                  InterFaceClass ...
Score Read in XML file, output to screen...
CDZ - 20 Oct 2006 5:44 PM - 3 messages
This seems simple enough, Read an XML file, output it to the screen. Yes, I know that doesn't make sense but here's why I need it: I have a sharepoint list that I'm viewing the XML from, the URL is LONG ...
Score Casting issue
Daniel - 20 Oct 2006 5:20 PM - 12 messages
Hey guys i have a set up like this: Interface IMyInt                   //interface class myClass : IMyInt        //myCLass realises that interface ...
Score Avoiding a second click on a toolstrip button
Robert Jones - 20 Oct 2006 5:03 PM - 3 messages
I have a toolstrip button on a windows form. If my form does not have focus, when the user clicks on the toolstrip button nothing happens, and they have to click a second time for the button to operate. A System.Windows.Forms.Button also on the form does respond immediately - ...
Score very strange serializtion exception
semedao - 20 Oct 2006 4:41 PM - 7 messages
Hi All, I had working code that made custom serialization on objects that inherit from queue in the inherited queue I create my own GetObjectData: public void GetObjectData(SerializationInfo info, StreamingContext ctxt) {     lock (this.SyncRoot)     { ...
Score Encryption
George - 20 Oct 2006 3:23 PM - 4 messages
Hi, I am building application that uses MS SQL 2005 as a backend that stores sensative data (ssn, passwords....).  Are there any good articles out there that discusses the options? Thanks ...
Score How to display multiline text in a label control? Thanks!
Ryan - 20 Oct 2006 3:11 PM - 4 messages
...
Score How to get an object to inform progress via a form's status bar?
sherifffruitfly - 20 Oct 2006 2:45 PM - 6 messages
Hi, I've got main() running in on a form. When a button on the form is clicked, an object from a class I made is instantiated, and does some stuff. I would like the stuff it does to be reflected in the form's ...
Score best code profiler to get?
Smokey Grindle - 20 Oct 2006 2:43 PM - 4 messages
What are some examples of good code profilers out there (that arn't from red-gate)? looking for other options. thanks! This is for VB.NET and C# profileing (VS2005) ...
Score C# 2.0 + MS Access == Error
Omer - 20 Oct 2006 2:24 PM - 6 messages
Hi, I am using C# 2.0 along with MS Access database. All my queries are working perfectly fine, but one inner join query is ocntinously throwing. I ahve tried it both from code and running explicitly throw query builder, but to no avail. Query is ...
Score How do I get System.Net.IrDA namespace in C# express
Dave - 20 Oct 2006 2:13 PM - 7 messages
I cannot seem to locate the System.Net.IrDA namespace in C# express. Where could I get this dll? ...
Score C# 2.0 + MS Access == Error
Omer - 20 Oct 2006 1:48 PM - 4 messages
Hi, I am using C# 2.0 along with MS Access database. All my queries are working perfectly fine, but one inner join query is ocntinously throwing. I ahve tried it both from code and running explicitly throw query builder, but to no avail. Query is ...
Score Trying to understand interfaces
RSH - 20 Oct 2006 1:32 PM - 23 messages
Hi, I have been reading on interfaces working on samples I've run across on the web.  For the life of me I cannot seem to grasp them. It appears to me that interfaces are simply blueprints to a class, that when ...
Score IP Address
MMA - 20 Oct 2006 1:31 PM - 5 messages
Hi All, How do I get the source IP of a packet, not knowing if NAT has taken place. Thanks In Advance ...
Score check if a port is opened
NoOne - 20 Oct 2006 1:19 PM - 3 messages
Hi everybody! I'm want to check if a certain port is opened or closed. now I'm using try-catch to connect to the port. if it fails, it meas that the port is closed. The problem is that this method is extremely inefficient! anyone has a ...
Score Form in Form on panel/frame
Van - 20 Oct 2006 11:22 AM - 6 messages
Anyone know if it's possible to 'project' a (child) form onto a panel/frame of an existing form? (and how to do it?) i.e: Form_A has a panel_A Form_B (with it's content) has to be shown on panel_A (which is on Form_A), ...
Score What codec is required for a file?
UJ - 20 Oct 2006 10:52 AM - 2 messages
Can anybody tell me how to tell what codec is required for a file programmatically. I will have users uploading a file to our server and I want to limit the codecs we allow because the machine that is playing them ...
Score How can I ignore the "focus" click on a c# windows application
Robert Jones - 20 Oct 2006 9:48 AM - 2 messages
If my application doesn't have focus and someone clicks on the menu, the menu click is "lost" as the form gets focus, and the user then has to click on the menu a second time to actually activate the menu. ...
Score System.Web.HttpException: Control 'GridView1' of type 'GridView' must be placed inside a form tag wi
waihung.wee - 20 Oct 2006 9:11 AM - 2 messages
Hi I got the following error in my xxx.cs file (code behind file) According to the error message, I should add a form tag in the file. But form tag should not appear in a code behind file Can anyone please help. ...
Score Difference between ArrayList and List<object> ?
Murat Ozgur - 20 Oct 2006 8:31 AM - 14 messages
Hello,   Is there any difference between ArrayList and List<object> ? Which one should I use ? Thanks. ...
Score Where to store string messages?
martin-g - 20 Oct 2006 7:38 AM - 3 messages
Hi. Almost every application have to write out some messages to the user. The question is how to store them. For example, while programming for Windows in C++ we could store these messages as string resource and load them using LoadString API function. I'm quite new to C#, and the ...
Score sql server 2005, visual studio 2005, Debug database?
Iwan Petrow - 20 Oct 2006 5:52 AM - 2 messages
Hi, I have one database for which I have developed windows applications. In the same time I want to continue to develop other applications or update old ones. For this I need a database different from the previous for debug. But after I change the debug database I have to synchronize ...
Score how do I add columns from other tables to a DataGrid?
MrNobody - 20 Oct 2006 3:50 AM - 3 messages
I have one main table which references several other lookup tables, like think of on the main table for example a category_id column with a categories table which maps that id to a string value. I used the .NET IDE to make my dataGrid and all those data adapters and so ...
Score form disposal
Steve - 20 Oct 2006 3:29 AM - 8 messages
I have a method that creates of new form each time its called do i need to dipose of the form when it closes or doe the garbage collector take care of it?     code private void button1_Click(object sender, EventArgs e) ...
Score class System.Runtime.InteropServices.COMException
Teng Tao - 20 Oct 2006 2:53 AM - 3 messages
Hi:      when I debug my project , it gives back me a error message, but I can't fix it. project XXXX.exe encountered unhandled exception class System.Runtime.InteropServices.COMException with message 'class not registered'. So can u tell me the reason? ...
Score List devices on computer (newbie)
Dave - 20 Oct 2006 2:01 AM - 2 messages
I would to list all devices on computer using IrDAHints Enumeration and  I need to use the Assembly:  System.Net.IrDA (in system.net.irda.dll) but when I try to include this with the 'using' command I get the error that I may be ...
Score sql insert into MS Access
MrNobody - 20 Oct 2006 1:29 AM - 4 messages
What's the easiest way to make an insert using Microsoft.Jet.OLEDB.4.0 OleDbConnection connection to a MS Access data base file? I'm finding examples out on the net that have like 1,000 line of code to ...
Score ListView how to change text
arcade2084 - 20 Oct 2006 1:20 AM - 4 messages
I need to change the text of my listview item (not a subitem) the control will not have the current focus. I have tried the following without any luck: ListView1.Items[0].Text = "XXXX"; This does not work - please help! ...
Score Updating textbox from BackgroundWorker?
planetthoughtful - 19 Oct 2006 11:45 PM - 2 messages
Hi All, I have a Windows Form app that does some work in a BackgroundWorker. I'd like to append information to a textbox from within the BackgroundWorker but it keeps telling me that I can't do this across ...
Score close existing port using Ports.SerialPort component
ricolee99 - 19 Oct 2006 10:56 PM - 4 messages
Hi Everyone, I'm using the System.IO.Ports.SerialPort component to attempt to kill an existing component opened by another application. I use the following code: SerialPort serialPort = new SerialPort ("COM1"); if(serialPort.IsOpen) {     serialPort.Close(); ...
Score Reading from an excel document
Dan Aldean - 19 Oct 2006 10:04 PM - 2 messages
I would like to read cells from an excel document. Does anyone have a smple of code for that please? Thanks ...
Score Access Parent Method from user web control
Mo - 19 Oct 2006 9:29 PM - 3 messages
Hi, I am not sure if this is the right group but I have a web control within a page and I am trying to access a method from the control. My master page is set as : public partial class _Default : System.Web.UI.Page ...
Score .NET Threads
k.mellor - 19 Oct 2006 8:31 PM - 3 messages
Hi all, I know MsDN is good, but I love a good book.  Anyone know any good boks on C#/.NET threading/concurreny? Kev ...
Score how to set printername for Reportviewer from code (VS2005)?
Rich - 19 Oct 2006 8:21 PM - 2 messages
Hello, I need to print a report from the VS2005 Reportviewer control.  My problem is that I need to print to a tractor feed (dotmatix like) printer that is not the default printer - for printing mailing labels (thousands of them).  I can ...
Score How to add web spaces at left and right without affecting contents
dale zhang - 19 Oct 2006 8:12 PM - 3 messages
Not sure if here is the right place to ask but I have trouble to access forums.asp.net. I am using C# in VWD. Goal: I want to add the left and right spaces like  [link] if ...
Score Add to elements of a string array
Colin Williams - 19 Oct 2006 7:45 PM - 5 messages
Hi I have a file list box with which i am passing the selected items to a string array (using copyTo), however i also need to pass the path of the FLB with each string in the array. Is it possible to add this to ...
Score Interface Inheritance
Sean Chambers - 19 Oct 2006 7:31 PM - 10 messages
Not sure if this is the correct way to go about this, but it seems correct. I'm trying to eliminate dependencies through interfaces and want to minimize casting as much as possible, as a result I have interface inheritance setup like so ...
Score Can't 'CoInitializeSecurity(...)' - worked in VS '03, not in VS '0
DrBonzo - 19 Oct 2006 7:24 PM - 10 messages
In order to get events back from a DCOM server (an embedded device running Windows CE), I seem to have to turn off security for my process.  To do this, I'm saying: int ret = CoInitializeSecurity(IntPtr.Zero, -1, IntPtr.Zero, IntPtr.Zero, 1, ...
Score Translating old C to C#
Harvey Triana - 19 Oct 2006 7:16 PM - 5 messages
How to translate a old (dos) C application to C# ... Suggestions, <Harvey Triana /> ...
Score would you ever add a console app to the GAC?
D - 19 Oct 2006 7:04 PM - 3 messages
I was toying around with assemblies, signing and adding them to the GAC. I was mistakenly thinking that if I added a console app to the GAC it could be run from anywhere (anywhere meaning as if the path to the exe was added to ...
Score is this possible? an indexed property to have sub-properties?
Michael Matteson - 19 Oct 2006 6:20 PM - 4 messages
I have two classes. Class A and Class B. I give class A 5 properties int prop1(){} int prop2(){} int prop3(){} int prop4(){} classB prop5(){} what i would like to do is to create a 5th property and make its type equal ...
Score Transparent GIF using Bitmap.Save()
Dale - 19 Oct 2006 5:58 PM - 6 messages
When I create a System.Drawing.Bitmap and save it as ImageType.GIF, how can I set the transparency so that the background is transparent.  In my application, the Bitmap that I am working with has several transparent GIFs drawn on it and the transparency of each of them works within the ...
Score what is abstract class and abstract method
N.RATNAKAR - 19 Oct 2006 5:38 PM - 5 messages
hai,      what is abstract class and abstract method ...
Score Embedded XML File
Tim - 19 Oct 2006 5:21 PM - 4 messages
Hi, I have a XML file the I use as config file for a libary.  Is there a way to use reflection to access the file using XMLReader? Thanks ...
Score GUI Invoke stalls thread
k.mellor - 19 Oct 2006 5:05 PM - 7 messages
Hi, I hope someone can help.  I have written a simple form to demonstrate my problem/question.  The code follows. The form starts a thread, which using delegates updates a label (Every second adds another dot to the label).  This works great.  However, ...
Score Propose new feuture for csharp
sasha - 19 Oct 2006 4:39 PM - 13 messages
Hi! Don't know if this forum read somebody from MS team. I suppose yes, so propose new language future wich i need very much :-) I think it would be nice to have in C# something like macros, but more ...
Score 3rd Party Tools
Irvin McCoy - 19 Oct 2006 4:19 PM - 4 messages
I'm researching different component suites to use in VS 2005 and SQL 2005. I'm a beginner @ C# and ASP, so I'm looking for something stable, fast, and easy to learn. I've found 2 that I think are good, Syncfusion's Essential ...
Score Multiple Delimiter in a single string! How to count those as one?
pengb - 19 Oct 2006 3:36 PM - 3 messages
Hello All:    A pretty frustrating question to ask! I use the string [] something = stringx.split (delimiter.tochararray()) mathod to delimit a long string by space! So supposely if the stringx is : " something something1 something2 " I should get string [0] = ...
Score Adding line breaks in label
lochuanjiang - 19 Oct 2006 3:20 PM - 3 messages
Hi all, I have written a program and the label.text is retrieve from the database. However the length of the string could be very long and i would wish to have line breaks in certain portion I tried manipulating the text in the database with \r\n but this does ...
Score Storing Cookies from C#.NET Application
Jono - 19 Oct 2006 2:54 PM - 6 messages
Hi Everyone, Most tutorials I've seen address cookies from the server's perspective, assuming that the client (usually a browser like Internet Explorer) will manage the persistence. I am faced with writing a C#.NET client that uses a web reference to a SOAP web service, and I need to persist ...
Score C# COM addin - please help
news.microsoft.com - 19 Oct 2006 2:38 PM - 4 messages
Hello, I wrote a simple addin for Excel using C#. It works great on my development machine. However, when I installed the package to another machine, the COM addin does not show when open excel application. Question: What do I need to do to resolve this problem? ...
Score write a C# code inside a javascript code, before body tag
Daniel Andrade - 19 Oct 2006 2:27 PM - 2 messages
Hello, How can I write a C# code inside a javascript code, before body tag, as we wrote in classic asp? (I have a code file separated with a lot of C# code) I would like anything like this: <head runat="server"> ...
Score Change screen resolutions quickly.
UJ - 19 Oct 2006 1:31 PM - 2 messages
I have a 1600x1200 screen at my desk which I love. Problem is when my boss comes in and I want to show him something - he has to squint and get real close to the screen. So in an ideal world, I would switch it over to ...
Score C# v2.0
coltrane - 19 Oct 2006 1:27 PM - 5 messages
I currently have VS V7.1 which uses the 1.1 .Net Framework. Do I need to upgrade my VS If I wanted to use the 2.0 framework? I need to use C# 2.0 thanks for the feedback ...
Score Retrieving lead record from CRM 3.0
rfinch - 19 Oct 2006 10:42 AM - 8 messages
Very new to this but using the MS working with dynamics CRM 3.0 book to run web application to retrieve lead records from CRM 3.0. Have followed the book instructions on page 380-382. But am getting the following in ie 7. ...
Score Remove network connection
Jonas - 19 Oct 2006 10:10 AM - 6 messages
I want to remove a remote access connection when a user logs out. The connection is a dial up isdn adapter. I can access the adapter via WMI namespace \root\microsoft\homenet, but i don´t find any way to delete it. ...
Score How to register a service on a remote host with C#?
CAIBird - 19 Oct 2006 9:40 AM - 5 messages
hi, If we want to register a service on a reomte host with C++, we call API OpenSCManager/CreateService to do the job. But with C#, how to do it? Are there any relevant classes to help? Thanks in advance ...
Score Reading the contents of a page through its URL
Kuldeep - 19 Oct 2006 9:08 AM - 3 messages
Hi All, I am trying to read the contents of a page through its URL. My code snippet is as follows: public void mtdGetPageDataHWR() { HttpWebRequest objRequ = (HttpWebRequest)WebRequest.Create("[link]"); HttpWebResponse objResp = (HttpWebResponse)objRequ.GetResponse(); ...
Score Scrolling!
Rob Pollard - 19 Oct 2006 8:50 AM - 3 messages
Hi All,   I am using the flow control (can't remember its full name), to display a few dynamically created controls based on the tags the user has added to my system. This works fine, except when a user scrolls this control area (when ...
Score up cast to base
Jeff.Boeker - 19 Oct 2006 8:49 AM - 4 messages
Hello, I have a base class that is serializable and a derived class that is not.  I want to pass the base class object to an external function that requires a serializable object.  How can I cleanly create a new ...
Score Is there a ProcessMessages in .net?
Rob Pollard - 19 Oct 2006 8:46 AM - 6 messages
Hi All,   Part of my new app does some quite intensive calculations. In Delphi (my previous language) one could call Application.ProcessMessages; in the calculation loop to make sure that the system was being given enough time to process it's own messages (makes the app and desktop much more responsive). ...
Score What is the equivalent of API WNetAddConnection2 in C#?
CAIBird - 19 Oct 2006 8:40 AM - 2 messages
Hi, We know that windows API WNetAddConnection2 can make a connection to a network resource. but how to do this job in C#? i'm wondering about it. Thanks -Zhilin ...
Score Compressing several files to the same zip file output!
Jens Jensen - 19 Oct 2006 7:54 AM - 2 messages
Hello, I use the code below to zip files to a single .zip destination.  I get the expected result when i work on my developement machine (WinXP sp.2). When i deploy the web application which host the code on win2k3 , it only ...
Score Conversion
Rain - 19 Oct 2006 7:49 AM - 3 messages
does anyone know how to convert from Int16 or short to Hexadecimal and vise versa? ...
Score block diagram of C# project
GadyC - 19 Oct 2006 7:43 AM - 4 messages
Does anybody know about some project analyzer that displays modules and relations as a block diagram? GadyC ...
Next »