Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score Using Databases with SQL Server 2005
Paul Aspinall - 12 Nov 2005 11:13 PM - 3 messages
Hi I know that SQL Server 2005 can allow for simple deployment with .NET 2.0 applications. Does anyone know where there is a simple tutorial, on how to attach your ..mdf DB files to the SQL Server 2005 database on runtime / install time?? ...
Score Simple array problem
Viraptor - 12 Nov 2005 10:14 PM - 3 messages
Hello I'm new to c#. I've got arrays in a class:     private DateTime[] dates;     private IPAddress[] addrs; In constructor: dates = new DateTime[5]; addrs = new IPAddress[5]; I'm adding some data to it like this: ...
Score Obfuscated code problem
Bry - 12 Nov 2005 9:10 PM - 5 messages
I'm trying Obfuscation for the first time using the community edition of dotfuscator that ships with vs .net 2005. After building my code, I load the compiled .exe into dotfuscator and let it run. When I try to execute the obfuscated code, I received an ...
Score System.IO.Compression
ad - 12 Nov 2005 8:48 PM - 2 messages
Hi, Can we create a standard .zip file with System.IO.Compression? I have tried, but the files create by System.IO.Compression can't open in xp! ...
Score How can we get client' IP in web service
ad - 12 Nov 2005 8:44 PM - 2 messages
Hi, When client connect to a WebService, how can we get the client's IP? ...
Score Where can I download the FULL (!) Visual CSharp Express software
Keith Clark - 12 Nov 2005 6:30 PM - 3 messages
Yes, I know at the webpage [link] I can download Visual CSharp Express software. But this is only a 3MB setup wizard vcssetup.exe which installs the final software in a second step. ...
Score Adding a row
Roy Gourgi - 12 Nov 2005 5:53 PM - 2 messages
Hi, I am trying to add a row to my database. I first made a data connection with Database Explorer where I have made the connection to my database royDBnew and my table tblRoy with 2 columns SOBN, BN1 (both int). Then I made a data ...
Score datagrid bound to IBindingList problem
Matthew Woods - 12 Nov 2005 5:11 PM - 5 messages
Hi, is there any way to format and order the columns displayed in a datagrid bound to a class that inherits from IBindingList? i have used DataGridTableStyle and added DataGridTextBoxColumns to it in the correct order which works fine if the dataGrid.dataSource = "ArrayList", but it ...
Score Getting a class instance from within the applied attribute
Wouter de Kort - 12 Nov 2005 4:50 PM - 3 messages
I've started looking at Aspect Oriented Programming but I've stumbled at a problem I can't solve. I want to add an Aspect that would notify a UnitOfWork that the current DomainObject has changed so that it can be marked as Dirty. ...
Score Trouble connecting to SQL Server 2005 Express
BravesCharm - 12 Nov 2005 3:09 PM - 5 messages
I am trying to connect to SQL Server 2005 Express with Visual C# 2005 Express using this code: static void Main(string[] args) { SqlConnection conn = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\temp.MDF;User ID=MyUsername;password=MyPass;DATABASE=Test;Integrated ...
Score Invisiable console application
inpreet - 12 Nov 2005 2:57 PM - 4 messages
I am trying to build a console application in C#.Net. This application is suppose to run in background without user interaction. How can I hide console to appear? ...
Score Advice Required Career Move
rajiv.das - 12 Nov 2005 12:21 PM - 2 messages
I work for a multi-domain software services provider and have been at this job since campus. I recently  got this offer for Morgan Stanley IT division as a C#/.net Dev for their in-house s/w. I am a comp sc masters graduate, with exclusive dev exp on Windows in ...
Score AxSHDocVw.AxWebBrowser prompts for download
Chance Hopkins - 12 Nov 2005 11:30 AM - 3 messages
I'm trying to use the AxSHDocVw.AxWebBrowser control in a form and when I call .Navigate, instead of showing the html page, the download prompt shows up. If I click open, it uses my default browser instead of the control. ...
Score what is wrong with this code?
Nobody - 12 Nov 2005 10:42 AM - 2 messages
I'm trying to write a class where I need to sort a list of TreeNode objects in a certain way. So I thought I'd use: List<ListNodeData> and then use the Sort method. I have the code working using SortedList ...
Score What is the need of 3 tier architecture or 4 tier architecture
RAJESH - 12 Nov 2005 9:47 AM - 4 messages
I am working with c# and asp.net in developing web applications, iam using ..netframework 1.1  ,i want to know what is the need of 3-tier or 4-tier architecture in our application development.what is its part when some body ...
Score Generic Type Instantiation
Cool Guy - 12 Nov 2005 9:37 AM - 5 messages
I don't understand the third paragraph under the heading 'Generic type instantiations' on <[link] Would someone mind putting that into different words? ...
Score How can I make my project pick up the latest .dll?
steve bull - 12 Nov 2005 7:19 AM - 3 messages
I am trying to do a build of an application against the latest .dll file for a library but the compiler insists on trying to load an older version : Graphics2D.dll(1.0.2142.164) instead of Graphics2D.dll(1.0.2142.3790) ...
Score setting shortcut keys for buttons
John Salerno - 12 Nov 2005 4:14 AM - 2 messages
Is there a way to set a single key to activate a button on a form? ...
Score Etherreal not capturing calls to localhost
Jeff User - 12 Nov 2005 4:10 AM - 5 messages
Hello I have been using Ethereal to capture and view the XML messages being passed back and forth from my web service client to my web service. When calling the service over the internet, I choose my network card connection to the internet in Ethereal and it captures all the traffic ...
Score ActiveSync 4.0 - Why no manual sync?
Rick - 12 Nov 2005 4:09 AM - 3 messages
I just want to stick my PPC in its cradle and have it charge... and nothing else. What is so wrong with that? Why won't Microsoft let me do that very simple thing?? ...
Score where to put this code
John Salerno - 12 Nov 2005 3:07 AM - 8 messages
Here's what I have: while (readSwitches.Peek() != -1)                  {                      int i; ...
Score filling an array
John Salerno - 12 Nov 2005 12:24 AM - 6 messages
I might decide to use a 3D array, but for now I'm experimenting with 2D. Here's what I have so far: for (int x = 0; x < 10; x++) {      for (int y = 0; y < 10; y++) ...
Score Can we use System.IO.Compression to zip file
ad - 12 Nov 2005 12:01 AM - 3 messages
Hi, We can use  System.IO.Compression to compress/decompress stream. How can we use System.IO.Compression to zip/unzip file in disk? ...
Score Framework availiable
Alberto - 11 Nov 2005 11:40 PM - 4 messages
As you know, there is a environment called "Mono" to compile C# code in linux platforms. This means that there is a framework to linux? Is it like the Windows one? Thank you. ...
Score Tray icon doesn't disappear after making it invisible
Bry - 11 Nov 2005 10:53 PM - 6 messages
Sorry for the repost, but this has been driving me mad for the past few days. There must be a simple solution. There are many other posts about this problem upon an application exit, but my problem is slightly different as my application does exit....... ...
Score Changing the Icon of the *.exe file
Gidi - 11 Nov 2005 10:39 PM - 4 messages
Hi, I've created a project, and after compiling the *.exe file has created, i want to change the icon of that file, i changed the App.ico file to my Icon, but still i can't change the icon, is there another way? ...
Score Union a Structure and Byte Array
brownd4 - 11 Nov 2005 10:26 PM - 4 messages
Hello All, In C#, I cannot find a way to effectively union a class (or structure) and a byte array. Essentially, I need to do this equivalent in C: union {    MYSTRUCT struct1;    byte bytearray[]; } Any suggestions? ...
Score Key Press Event
Tim - 11 Nov 2005 8:44 PM - 5 messages
Hi Guys, I want to know how to tell if the shift key is held down when another key is pressed. I am using the following code to make sure that only numbers, backspace and decimal are allowed in a text box. I want to use the decimal on the ...
Score Retrieve CustomAttributes of Child From Base Class
Michael - 11 Nov 2005 8:19 PM - 7 messages
Scenario:  I have a base class  that I want to enumerate the custom attributes of a field defined in the child of the class. Is this possible?  I've tried various versions of BindingFlags on type.GetFields() but none of them retrun any fields. ...
Score passing address of a Managed float array to unamaged DLL
dbru - 11 Nov 2005 7:06 PM - 4 messages
I need to pass an address of a Managed float array to a DLL. The following doesn't seem to work         [DllImportAttribute("xx32_.DLL", CharSet=CharSet.Auto)]         extern static float GetXXX([MarshalAs(UnmanagedType.LPStr)] ...
Score ListViewItem question
naikrovek@gmail.com - 11 Nov 2005 7:03 PM - 3 messages
Hello all. I have a ListView on a form, that has columns added at design-time but will be populated run-time.  So, I know what the columns will be, and I know that I will have an arbitrary number of 'rows' in the ListView, ...
Score Import C dll methods to C# app
kapsolas - 11 Nov 2005 6:55 PM - 8 messages
Hi this is my first post on this newsgroup!! Excited. My question has to do with importing a dll that was written in C into c#. I have been able to import it using DLLImport but the issue is the following. ...
Score creating checkbox menus
Lalasa - 11 Nov 2005 6:39 PM - 2 messages
Hi there,      How can I create a checkbox menu. Ex:  If I have 'auto' and 'manual' submenus under 'Trend' Menu I should be able to see a check mark before 'auto', if I click 'auto'. If I click 'Manual', the ...
Score UnauthorizedAccessException
ASP Yaboh - 11 Nov 2005 6:06 PM - 5 messages
I have app that writes text files to any location of the users choosing in the network. It has been working for 18months. An exception has begun occurring where a folder on a network share is denying access to the ...
Score How to print formatted text - (RTF)
Tim - 11 Nov 2005 5:50 PM - 2 messages
Hi, I have created a print routing that works great for plain text. I have some text in Rich Text format that I would like to print as it appears with its formatting. Does anyone know how to do this? Has someone invented a rich text parser? ...
Score Variable number of parameters
piotrek - 11 Nov 2005 5:43 PM - 4 messages
Hi I'd like to ask: How to create function with variable number of parameters? PK ...
Score Bug VS2005 "open with"
Hareth - 11 Nov 2005 4:48 PM - 8 messages
When  VS2003 is installed : I can open Form1.cs w/ windows "open with" contextmenu, then it opens the file w/ notepad & it works fine but after installing VS2005, "open with" doesnt function correctly. If I try to open with notepad, it forces an open to VS2005 ...
Score [ActiveDirectory] Set logonHours ?
JBrek - 11 Nov 2005 4:39 PM - 3 messages
Hi, How can i set the LogonHours to users, using System.DirectoryServices? I think I must create a byte array, but it doesn't work. Thanks in advance,  JBrek ...
Score VS 2003 to VS 2005 problems
Roy Gourgi - 11 Nov 2005 3:48 PM - 6 messages
Hi, I just installed VS 2005 Express with SQL Server and when I try to run the code that was working with VS 2003 is no longer working. Is it not backward compatible. What has changed. Below is my code. ...
Score Differentiating between a CD drive and a DVD drive
Pete Davis - 11 Nov 2005 3:33 PM - 3 messages
I'm trying to figure out how to distinguish a CD drive from a DVD drive. I thought it would be as simple as using WMI, but the properties that would distinguish between the 2 don't seem to exist (at least on my system). ...
Score http cookie serialization
gl - 11 Nov 2005 3:33 PM - 4 messages
Can someone give me an example of serializing an object to an http cookie and then getting it back out? Most examples serialize via stream to a text file, but i'd like to see the best way to get it into an out of a cookie (a small ...
Score Getting the written text from ComboBox DropDown Style
ACC - 11 Nov 2005 3:05 PM - 5 messages
Hi, I have a Combobox with DropDown style, and I have same items in it. But if none of these items fits the user choice, he can just write what he wants. Now, my question is, how do I get the text that the user wrote? ...
Score How to programmably move a GroupBox in C#
Minfu Lu - 11 Nov 2005 2:35 PM - 6 messages
There are no public events such as mouse down, mouse move and mouse up for GroupBox in C#. It is possible to move a GroupBox programmably inC#? Thanks Minfu ...
Score Display Custom Dockable window in Microsoft Excel
venkat - 11 Nov 2005 2:11 PM - 2 messages
Can we create our own Dockable windows (having our own controls) in excel (Windows 2003) like Getting started, The dockable window that appears when we click on File -> New. Please tell me the whether it is possible or not. If so what are the classes ...
Score open report
Hrcko - 11 Nov 2005 2:11 PM - 5 messages
How to open .rpt Crystal report from a code? Hrcko ...
Score namespaces when reusing source code
Andy Fish - 11 Nov 2005 1:51 PM - 3 messages
Hi, With languages like c# having namespaces, I was wondering what's the recommended practice for reusing source code. I'm not talking big stuff like log4net that's version controlled and usually distributed as binaries, just packages of a few classes. ...
Score Q: HttpWebResponse Transfer-Encoding chunked - how to read trailers?
Jacek - 11 Nov 2005 12:53 PM - 5 messages
Hi! My app does quite a bit of work downloading large chunks of data from different web servers. One of problems I face is to provide approximate progress reports to users showing download progress. While task is trivial when web servers set Content-Length header in response its getting to be ...
Score Merging toolbars
Steve Barnett - 11 Nov 2005 12:53 PM - 4 messages
I developed an app using VC# Express Beta that included an mdi parent and an mdi child form. Both forms contain a ToolStrip and, while using the Beta, these ToolStrips merged together as I expected them to. Now, I've updated to the final release of VC# Express and my ToolStrips no ...
Score Saving a steam to disk
Mark - 11 Nov 2005 11:06 AM - 4 messages
Hi, I have put together a script in C# that takes a text file, then streams it into a SQLServer database. What I am trying to do now is create another script that does the exact opposite: selects a file in the database, extracts it then saves it to a ...
Score Stop databinding on form load.
Steven Blair - 11 Nov 2005 10:09 AM - 5 messages
I have a web form with a GridView and a DataSource. As soon as the page loads, my GridView is populated. My form has several querying capabilties, which on postback repopulates my GridView. What I want is to stop the data binding when my form first starts up, so ...
Score Deleting items from a ArrayList
Dave - 11 Nov 2005 10:06 AM - 7 messages
This is a little problem that has been driving me nuts. I have an ArrayList of objects, and I want to delete all the objects that satisfy some condition: foreach (MyObject myObject in ObjectList) {     if (MyObject.DeleteCondition()) ...
Score DotNet is behind where we were with VB, about a dozen years ago
JustObserviing TMH MVP - 11 Nov 2005 10:05 AM - 15 messages
I know I'm asking for a flamewar, and I really don't mean to because I love programming in C# and VB.Net almost equally, just as I enjoyed C++ 13 years ago and COBOL and Pascal 4 years before that. ...
Score windows service in c#
Ankit Aneja - 11 Nov 2005 9:12 AM - 7 messages
Hello to all I have to make windows service(in C#.NET) and use (ATL Com dll made in visual studio 6) in my service How can i use that.Is by just add reference or there is some other way ...
Score How to remote debug?
ad - 11 Nov 2005 7:44 AM - 2 messages
I use VS2005 to develop WebService Can I debug after I depoly the WebService to remote service? ...
Score Crashes while exiting from c# application
GL - 11 Nov 2005 7:26 AM - 7 messages
I am getting a crash while exiting from my application. Pl find the Stack Trace of the crash: System.Windows.Forms.Application.ThreadWindows.ThreadWindows(System.Windows.Forms.Control parent = <undefined value>, bool onlyWinForms = true) + 0x8c bytes system.windows.forms.dll!ThreadContext.DisposeThreadWindows() + 0x54 ...
Score Auto sorting of TreeView
Vishy - 11 Nov 2005 7:23 AM - 2 messages
Hi, I have a problem on reanming a treenode of a treeview control. The requirement is that once i re-name a node, it should get automatically sorted  by name. The way it does in explorer. But in my case, it's not happening. Am i missing something. Any help on this ...
Score is FileStream necessary?
John Salerno - 11 Nov 2005 7:23 AM - 5 messages
In Murach's C#, it shows that StreamWriter and StreamReader both take a stream object as a parameter, and the book's examples of these two classes all first create a FileStream object. But I notice in the VS help files that they use the two classes directly, without creating a ...
Score CSharp application slow at startup
Andrea - 11 Nov 2005 7:09 AM - 9 messages
I've created an application is CSharp. My problem is that it's very slow to startup the very first time I run it. The second time it's much faster. Is this normal? Is there anything I can do to boost its ...
Score drag-drop showing tooltip at cursor while dragging
Sagaert Johan - 11 Nov 2005 6:54 AM - 2 messages
Hi While dragging an object onto another, i want to show a tooltip or text balloon that informs the user where it can be dropped. What about showing a 50% opague thumbnail image ? I need some hints to get started. (any samplecode ?) ...
Score Express Editions
Jeff Louie - 11 Nov 2005 6:35 AM - 2 messages
If you have not downloaded the free Express edition of Visual Studio C# and C++ you are missing out on a great deal :) I have tried using both and I am impressed. With the new managed syntax it is just as easy to ...
Score RealTime Data Over HTTP (Push Based Refresh)
rawCoder - 11 Nov 2005 4:57 AM - 2 messages
Hi, (NOTE: For the following post, please Only Consider HTTP Via WebBrowser) Data Publishing over HTTP is 'pull' based, i.e. the browser has to request(refresh) to get data. Is there any way that the data is published(pushed) to the browser in ...
Score Confused beginner
Blaze - 11 Nov 2005 4:31 AM - 13 messages
I am doing the first walk through on the Visual Studio .Net walkthrough book to learn a little about programming.  I am having issues with the first tutorial not running correctly.  It seems that the build fails with what the ...
Score CheckedListBox in Windows Form
xiuyu_0129 - 11 Nov 2005 4:25 AM - 2 messages
Hi All, How do I store a string value for an item in a CheckedListBox in Windows Form? For a web based application, CheckBoxList allowed us to store 2 string values for the item in it. How do I achieve that when making use of the ...
Score db choice with c# .net
Washington - 11 Nov 2005 4:14 AM - 4 messages
I have a small application connected on MS Access db. MS Access is not safe DB and everybody can open it irrespective on password protection. I would like to get a little more protection with DB and question is what ...
Score Inheritance and static factories
Ken Kast - 11 Nov 2005 3:51 AM - 3 messages
I have a class C that uses a static factory and a protected constructor to create instances.  I now want to derive a class from C.  What I can't figure out is how to create either a public constructor or static factory (either ...
Score How does C#.Net update data?
Jason Huang - 11 Nov 2005 2:16 AM - 2 messages
Hi, In my C#.Net Windows Form, I can insert 10 rows into MyDataBase.MyTable, using SqlDataAdapter and SqlParameter with no porblem. But this raise my question, HOW does this 10 rows insert into the MyTable. Is this 10 rows inserted into the MyTable one by one, or that 10 rows is ...
Score event arguments
Pohihihi - 11 Nov 2005 1:25 AM - 16 messages
This might sound little stupid to many but I was thinking that when we can use object why we really need event args to pass in any functions e.g. bool MyFunction(object sender, System.EventArgs e){} my question is targetted more on the customized event arguments that we ...
Score Loading plugins in separate AppDomains
Pete Davis - 10 Nov 2005 11:02 PM - 7 messages
I'm confused about what precisely the limitations are on loading plugins in separate app domains. In all my previous apps that supported plugins, I've loaded them into the same domain as the app, but I've just started playing ...
Score DataAccessBlock, DataView and conflict SQLReader
andrewcw - 10 Nov 2005 9:43 PM - 3 messages
I am seeing how the DataView ( dVue1) control works with this code - but something must be wrong since I am getting no rows. dVue1.DataSource = SqlHelper.ExecuteReader(strDefConnTxt, CommandType.Text, strSql); dVue1.Refresh(); int rc =dVue1.DisplayedRowCount(false); Then I added this line :   ...
Score basic listbox question
orahm - 10 Nov 2005 9:36 PM - 2 messages
How do I add an item to the listbox and label it? The "...Items.Add" property only takes one argument. That confuses me. for example: ListBox.Items.Add("My Car", picture object); //this does not work How would I store picture objects but label them with strings that show in ...
Score Problem appending to an encrypted file
jasper - 10 Nov 2005 9:23 PM - 5 messages
How can this be done? Thanks ...
Score combox not changing when it's bind to a listbox with dataview sour
Alpha - 10 Nov 2005 8:55 PM - 3 messages
I have a window application.  On one of the form, there is a listbox and a few combox.  The lstSchItem has a dataview as a datasource.  The comboxes are bind to its selected value  but through the dataset table.  Now when I change ...
Score listbox object different from listbox item name
orahm - 10 Nov 2005 8:53 PM - 7 messages
I added an object to a listbox. This object is a complex number and not a string so it shows "Consolapplication.Complex" as a list item. If I convert the complex number to a string then it shows a string which is correct but ...
Score Exception Removing/Deleting Appointment??
Crash - 10 Nov 2005 8:52 PM - 2 messages
Windows XP SP2 C# .NET v1.1 Outlook 2003 {via Office 11.0 PIA} I'm manipulating Outlook's calendar via OLE automation from my C# application.  I would like to iterate through the calendar items collection and delete appointments from the items collection based on ...
Score RemoteCreateDBInstanceEX warning in VS 2005
Rich Wood - 10 Nov 2005 8:07 PM - 4 messages
I'm getting the following warning when I build a solution in VS 2005 which I did not get in VS 2003: At least one of the arguments for 'DataLinks.RemoteCreateDBInstanceEx' cannot be marshaled by the runtime marshaler.  Such arguments will therefore ...
Score Control Data Entry in Console Applications
Just close your eyes and see - 10 Nov 2005 7:11 PM - 2 messages
Hi All I am using "ISO ANSI C++",and i am beginner in C++, and i am working now in console applications , and i want to know if is there any way to control data entry in "ISO ANSI C++" ...
Score DataSet frustration
BlackHat - 10 Nov 2005 6:50 PM - 3 messages
I am currently working on a program that will connect to a MySQL server, and manipulate data in a datagrid.  However, I'm having trouble understanding a lot of the process.  I need help understanding DataSets in a context I can ...
Score by ref or by value
sean rogers - 10 Nov 2005 6:32 PM - 9 messages
hello, I ran the following code ////////////////// XmlDocument dom = new XmlDocument(); dom .Load(@"C:\BindingFile.xml"); string mystring = dom.SelectSingleNode(MyXpath).InnerText; mystring = mystring.Substring(0, 2); //////////////////////////////////////// first time around mystring  contained the xpath selectsinglenode return the word "sean". the second time i ran the code the xpath selectsinglenode returns the word ...
Score Application design standards
Chris - 10 Nov 2005 6:02 PM - 5 messages
Hi All, I'm looking for C# application design standards in Visual studio 2005( controls & variables naming conventionas, security designs standards and application designs) Thanks in advance, Chris ...
Score Problem using App.cofig
inpreet - 10 Nov 2005 5:18 PM - 7 messages
I am using App.config to read strings. But when ever I try to read strings in my C# application it always returns null. My App.config ************************************************************ <?xml version="1.0" encoding="utf-8" ?> <configuration>     <appSetings> ...
Score Get Column length of string in column
Matt - 10 Nov 2005 5:06 PM - 8 messages
Have below code AcctNbr give me result of  30. That is the database column length, Column stores 10 why is giving me 30 ? while(objRead.Read())     {         AcctNbr = (string)objRead[0].ToString().Length; ...
Score Logging soap requests in a web service client
v. Seydewitz - 10 Nov 2005 4:05 PM - 3 messages
Hello, I want to log the soap requests (and responses) in my C# webservice consumer. I have extended my class with the SoapExtension, but the debugger don't step into the overridden methods. The WSClient class is running as part ...
Score double.Parse(double.MaxValue.ToString()) yields an Exception
Markus Kling - 10 Nov 2005 3:54 PM - 6 messages
"double.Parse(double.MaxValue.ToString())" yields the following Exception: Value was either too large or too small for a Double.    at System.Number.ParseDouble(String value, NumberStyles options, NumberFormat Info numfmt)    at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info) ...
Score getting selected values from multiselect listbox
Mike P - 10 Nov 2005 3:41 PM - 2 messages
How do I get the values selected from a multiselect listbox? Cheers, Mike *** Sent via Developersdex [link] *** ...
Score How can i determine - assembly using in Application or in Web.
Alexander - 10 Nov 2005 2:52 PM - 3 messages
I use same assembly in Application and in Web. How can i determine - assembly using in Application or in Web? (Some feautures i cant use in Web) ...
Score re-use EventArgs or not
pRumpf - 10 Nov 2005 2:41 PM - 2 messages
Hi I use a event in a extensive calculation method to inform a client. therefor i implement a eventhandler and eventargs (e.g.  myEvent, myEventArgs) and a OnMyEvent(myEventArgs e) method to fire the event. e.g. // extensive calculation in 2 dim. ...
Score Newbie question regarding scripts
Dyl - 10 Nov 2005 2:30 PM - 3 messages
Hi all, I feel stupid for asking this, but I would like to use a script to run a program written in c#.  I have to put in a value for a password, and I'd like it to "select" a command button on the program.  I just need ...
Score Failure to load custom cursor resource
Paul Cheetham - 10 Nov 2005 2:18 PM - 3 messages
Hi, I am trying to load a custom cursor from my programs resources. I have successfully included the cursor resource, and I have confirmed that the name I am using is correct. Below is the code I am using to try and load the cursor - which always ...
Score Web Services: The operation has timed-out
Joško_Šugar - 10 Nov 2005 2:05 PM - 2 messages
I have a data transfer between an c# application and web service. The application is in local network and connects to the internet thru a gateway. Connection is ADSL. Web service is on the remote server. Timeuots are configured as follows: ...
Score Console keypress
Salvatore Di Fazio - 10 Nov 2005 1:16 PM - 3 messages
Hi guys, How can I check what key was pressed on a console application? tnx ...
Score Re: Looking for Internet Componets : anything comparable to IP Works ?
Paul Lesnikowski - 10 Nov 2005 1:02 PM - 2 messages
For  POP3 and SMTP try using this library: [link] *** Sent via Developersdex [link] *** ...
Score How to simulate the VB6 Autodraw in C+.NET ?
Minfu Lu - 10 Nov 2005 12:56 PM - 5 messages
Hi Folks, I have a VB6 project moved to C+.NET. I got some problem with GDI+. 1. VB6 forms have a Autodraw property which allows the Windows to repaint it automatically. But there is not so property of forms in C+.NET. If any part ...
Score Re: how to send attachement with pop3
Paul Lesnikowski - 10 Nov 2005 12:46 PM - 2 messages
SMTP is for sending not POP3. You can use System.Web.Mail namespace it's is a wrapper on CDOSYS (COM). You can also try this library: [link] It's simple and effective. Allows sending, receiving and parsing email messages. ...
Score Re: POP3
Paul Lesnikowski - 10 Nov 2005 12:42 PM - 2 messages
Try using this library: [link] It's simple and effective. Allows sending, receiving and parsing email messages. Encodes/decodes any kind of attachment. Includes POP3 and STMP clients. Written entirely in managed code in C#. ...
Score Undocumented Serialization error
Sek - 10 Nov 2005 12:26 PM - 2 messages
Hi Folks, While deserialization in C#, i came across this error: "No assembly ID for object type <MyClassName>". The error is very abstract. Pls find below the stack trace. StackTrace at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped ...
Score Example creating Table in Crystal Report
Fabian - 10 Nov 2005 12:22 PM - 3 messages
Hi, i need to get an example, to create a Table in my Crystal Report only by having a Dataset. Can someone give me an small example please. Thx for help regards Fabian ...
Score Simple console application for sending mails not working
savvy - 10 Nov 2005 11:01 AM - 5 messages
i'm trying to compile a simple console application for sending a mail, my main idea is to schedule it to a particular time for sending mails using the windows schedular task lateron. Therefore i need an exe file to make that work. I compiled my file Emailtest.cs using this command ...
Score Simple console application for sending mails not working
savvy - 10 Nov 2005 11:00 AM - 10 messages
i'm trying to compile a simple console application for sending a mail, my main idea is to schedule it to a particular time for sending mails using the windows schedular task lateron. Therefore i need an exe file to make that work. I compiled my file Emailtest.cs using this command ...
Score Animation
tedd_n_alex - 10 Nov 2005 10:34 AM - 2 messages
I am looking for and AVI animation to include in my application,  I will show this while some long running tasks are executing to keep the user interested while they wait.  There are a few .avi files that come ...
Score Winform property
Alex Bibiano - 10 Nov 2005 9:55 AM - 2 messages
I have a winform with a new property. The property type is UserControl. This is my code fro the property: private UserControl userControlDetalle; public UserControl UserControlDetalle {   get { return userControlDetalle; }   set {     userControlDetalle = value;     if (userControlDetalle != null) ...
Next »