|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
VS2005 Conditional compilation.
Bob -
22 Apr 2006 10:53 PM - 5 messages
Hi, In VS2003 conditional compilation constants and their state could be defined at project level. I was using this to control what features where offered by various builds. i.e. Feature1=true,Feature2=false, ... VS2005 seems to either allow the existance of the constant or not. ...
How to resume an SSL-Session with SSLStream
Azrael -
22 Apr 2006 7:08 PM - 9 messages
Hi, I have an SSLStream and i want to resume the SSL-Session for another connection to this server. How can i do this? I haven´t found any clues for it in SSLStream, perhaps Negotiatestream could provide me something ...
What can be the reason that KeyDown Event works but KeyUp doesn't?
Gidi -
22 Apr 2006 6:02 PM - 4 messages
Hi, I'm trying to look for an aswer to that question for long long time and i can't find it. I've a DataGrid which i want to bound one of it's cell to a KeyUp event, and ...
ListView Question...
Steve Randall -
22 Apr 2006 6:01 PM - 3 messages
I have a listview control containing a number of columns. When I populate the listview columns with data I want to size each column according to the following rules: 1. If the width of the data is greater than the width of the column header's ...
I want to make a C# library of some classes
Chris F Clark -
22 Apr 2006 5:52 PM - 5 messages
Please excuse the length of this post, I am unfortunately long-winded, and don't know how to make my postings more brief. I have a C++ class library (and application generator, called Yacc++(r) and the Language Objects Library) that I have converted over ...
using Interface and abstract classes
Tony Johansson -
22 Apr 2006 4:08 PM - 6 messages
Hello!! Assume you have an Interface called ITest with these three method declarations. interface ITest { void foo1(); void foo2(); void foo3(); } Assume that you "inherit" this interface to an abstract class called ABCBase ...
Timer issue
Daniel -
22 Apr 2006 3:31 PM - 5 messages
Hey guys Here is what i want to do. I have made a multiplayer game that needs to when more than one player is ready start a countdown that the clients can see, so players can still join in this time frame and then after the time elapses ...
DataRelation Parent/Child in DataGridView
Jan Lorenz -
22 Apr 2006 1:12 PM - 2 messages
Hello, my problem is to show a datarelation between two tables (parent/child) in a datagridview. It doesn't works. There is always shown only 1 table in the grid (in relation of DataMember-settings). My code is: DataSet ds = new DataSet(); ...
Format
Wallace -
22 Apr 2006 10:01 AM - 2 messages
Hai All, I am working in asp.net... I need to format a number in the following manner... number = 500 After formatting i need the number as string as " 500" ...
Webservices - can I post back the response to the client as a html page
narmathabala -
22 Apr 2006 8:16 AM - 2 messages
Hello, My business client communicates with the server through a url link. The link will be something like www.justforsample/webservicefunction?parameter1=value¶meter2=value2 My webservice will get the result back from the server. Now, my client expects the response in a html format. Something similar ...
How can I use TableAdapter in winform.
ad -
22 Apr 2006 12:55 AM - 2 messages
I can use ObjectDatasource to link a TableAdapter in WebForm. I want to link a TableAdapter in WinForm too. Which contol should I use to link TablAdapter in WinForm? ...
Predicates are awesome
sklett -
21 Apr 2006 10:35 PM - 11 messages
I've finally had the time to make use or predicates and convert a bunch of ugly loops over to predicates. SO much cleaner. Anyway, my question is if there are plans (or maybe already existing) to add List<> function that would call a predicate on every item like a process. ...
Killing stray GDI objects
jislord -
21 Apr 2006 10:26 PM - 3 messages
C# noob alert... I am using a third party dll file to do some processing on rtf files. This dll however leaks GDI objects like there is no tomorrow. It crosses the threshold of 10000 objects after processing just a 100 ...
I don't understand this error.
eric -
21 Apr 2006 10:06 PM - 2 messages
I have a method that queries a database table, to retrieve possible format codes. The method is as follows: public ArrayList GetDate(string frameSize, string partType) { ArrayList alAllFormats = new ArrayList(); ArrayList alDisplayFormats = new ArrayList(); ...
a dot or cross ;)
Jarod -
21 Apr 2006 9:33 PM - 5 messages
Hey I need a program that will display a red dot or a cross in the middle of the screen. But it must display it in games ;) So it will work as a aim marker( or what is called ? ;) Is it hard to do ? ...
drawing alpha-blended images
David -
21 Apr 2006 9:16 PM - 3 messages
Hello... i want to draw on my form PNG file with alpha-blended transparency. so i use this code: Graphics canvas = e.Graphics; Image Image = Image.FromFile(@".\Dragon.png"); canvas.DrawImage(Image, 0, 0, Image.Size.Width, Image.Size.Height); ...
copy NameValueCollection instance
John A Grandy -
21 Apr 2006 9:11 PM - 2 messages
Does .NET provide a mechanism to copy the contents of one NameValueCollection instance to another ? ...
Is there a C# equivalent of RUNTIME_CLASS ?
Ian Semmel -
21 Apr 2006 9:00 PM - 4 messages
In C++, I would typically have a static table of elements like typedef struct CIconListBoxItem { LPCTSTR pszText; UINT image; ...
Setting OWC11 Spreadsheet Font Properties
RBChallenger -
21 Apr 2006 8:39 PM - 2 messages
Can anyone tell me how to set the font properties in an embedded OWC11
excel speradsheet. You can get to the font properties via
spreadSheet.Cells.Font.<Property>, however if I want to set the
porperty Size I cannot simply say .Size = x; and I ahve been unable to
find the accessor method to set the field. Anyone have any suggestions?
--
RBChallenger
------------------------------------------------------------------------
RBChallenger's Profile: [link]
View this thread: [link] ...
C# as a programming language
Dave -
21 Apr 2006 8:18 PM - 26 messages
I want to spend two minutes on my soapbox. I love C#. I am so productive in it it's ridiculous. But it's so easy to write code that uses poor design principles. Example: just making ...
Error Using WMI to Get List of Shared Folders on the Server
lecnac -
21 Apr 2006 8:16 PM - 2 messages
Here's some details: Server and workstation both in the same workgroup Logged into server as local Administrator Logged into workstation as a local user that is only in the Users group The local user on the workstation is also defined with same name and ...
Debug Mode issue
Tom -
21 Apr 2006 8:15 PM - 2 messages
While in debug mode in my CMS application, I wanted to check a value so I set a break statement and in the immediate window I entered: ? parentnav and hit the Enter key. Since this is an object I got the first 99 lines or so followed by this: ...
C# coding guidelines: use "this." or not when referring to member fields/properties within the obje
Dave -
21 Apr 2006 8:12 PM - 60 messages
I'm never quite sure whether to use "this." or not when referring to fields or properties in the same class. It obviously works just fine without it but sometimes I wonder if using this. consistently may make the code easier ...
Checkered background for images with varying Alpha
illegal.prime -
21 Apr 2006 8:09 PM - 4 messages
Hi all, I'm looking for the right way to create a checkered background in a PictureBox. I will be applying various images to this PictureBox and I want to to see the checkered background based on the level of ...
Using keyword
INeedADip -
21 Apr 2006 8:07 PM - 4 messages
Are the using statements at the top of each .cs file mainly for UI and type compatibility, or do they actually create dependencies for each page. When I create a new aspx page the following using statements are included be default: ...
Port Scan - Socket Connect
dan kisting -
21 Apr 2006 7:36 PM - 3 messages
Hi, I wrote a chat program and it uses Sockets to connect. There is no intentional port scan going on, however I am seeing tons of port scans on that port in our firewall, and it (the firewall) continues to ...
Beginner question on access modifiers
Frank -
21 Apr 2006 7:03 PM - 2 messages
I have a form implemented as shown below. If I define the tp_ data member as private it is always null in the Click event handler. When I remove private and let it use the default access ( which I think is private ) then it is ok ( non null ) in the ...
Taskbar behavior and appearance
michael sorens -
21 Apr 2006 6:56 PM - 4 messages
(1) By setting an icon in my Windows Form properties, I successfully display my custom icon when my application is executed. However, as soon as I open the Options form in my application--now having two windows ...
OLEDB exception on some machines
jasco4617 -
21 Apr 2006 6:55 PM - 4 messages
I am writing an application that runs as a service and utilizes the ..NET Framework v2.0. I am using an access database and OLE as my data access driver. On the machines I am developing this application on and my own personal ...
Adding delegate function vs adding new delegate to event
Dave Booker -
21 Apr 2006 6:38 PM - 2 messages
If we have: public delegate void Test(string s); public event Test testevent; public void log(string s) {...} What is the difference between: testevent += log; and testevent += new Test(log); ...
About using inderface IComparable
Tony Johansson -
21 Apr 2006 5:53 PM - 2 messages
Hello! When this method foo is called parameter car is passed. When this Sort in the Array class is called is it nessesary that all cars is of the same type. I know that the IComparable interface must be implemented but could the ...
Context menu persisting beyond its scope
Paul E Collins -
21 Apr 2006 5:53 PM - 3 messages
A context menu is created in the scope of the RightClick event, but it continues to be displayed after that event handler terminates - i.e. after it has gone out of scope. The code works correctly, but I feel a ...
Question from a test
Doru Roman -
21 Apr 2006 5:35 PM - 12 messages
Hello, I got a test and some of the questions were: A collection a files, which is the basic unit of .NET programming, is called: 1. package 2. assembly 3. library 4. copybook I chose 3. Every attribute must have at least one of the following: ...
Load webpage
Esteban -
21 Apr 2006 4:50 PM - 2 messages
Hi, I would like to know if there's a way to load a webpage, like [link] on a CSharp app then execute a query like a search on the string "csharp" on the google's text area, then execute the search and ...
Move tab to top right
Stormy -
21 Apr 2006 4:41 PM - 2 messages
I want to create a tab control and I want tabs on the top right side. current TabAlignment only provides Top, Bottom, Left and Right. Please help. Thanks ...
Callback with unsafe double* to double[] Problem :
BlueTrin -
21 Apr 2006 4:29 PM - 4 messages
I am using a DLL written in C, it uses some pointers on functions, I have defined a wrapper around it in C# which uses some delegates: #region Delegates and Marshalling to call solvopt public delegate double funCallback(double[] x); ...
How to get app name?
Richard Lewis Haggard -
21 Apr 2006 4:05 PM - 3 messages
How can an assembly get the name of the application that is executing it? ...
Dlinq question
hammad.awan_nospam@gmail.com -
21 Apr 2006 3:53 PM - 2 messages
Question concerning deferred evalution. If one has a customer table and an orders table in the database and the latter table has a customer id assocatiated with it, when a query is executed like this: IEnumerable<Customer> customers = from c in db.Customers ...
Garbage Collection For ASP.NET's Website (w3wp.exe)
news.citenet.net -
21 Apr 2006 3:35 PM - 2 messages
I developed a few pages on a website by using C# ASP.NET and SQL 2000 Server on SBS Windows 2003 server. The memory keep occupied, even I run System.GC.Collect() function inside the proect. I don't know why. Can anyone ...
Progress Bar
Diogo Alves - Software Developer -
21 Apr 2006 3:32 PM - 3 messages
Hi, I am having a giant headache because a progress bar on a statusStrip. Ok I will describe all the details to get help from anyone.... I have a MainForm, this form as a a component that is a menuPanel in the ...
Export To Excel
Jiro Hidaka -
21 Apr 2006 3:21 PM - 5 messages
Hello, I would like to know of a fast way to export data source data into an Excel sheet. I found a way from C# Corner(Query Tool to Excel using C# and .NET) which is a neat little way of exporting dataset data to an excel using the Excel COM ...
Changing Application Title at runtime
gmccallum -
21 Apr 2006 2:10 PM - 4 messages
Is there a way to change the title of the application at run-time in C#. That is, the title that is shown in task manager. For example, in VB you would do something like: App.Title = "something new" Any Ideas? ...
ReDrawing of Bitmap is not smooth :(
Khadim -
21 Apr 2006 2:06 PM - 3 messages
Friends, The problem I am facing is that when my form resizes or is loaded (invalidated), the background image of my form (which i have drawn through GDI+ and also by putting a picture box on the form) is redrawn ...
mmx and friends with C# ?
Sebastian_Krämer -
21 Apr 2006 1:18 PM - 4 messages
Hi there! I was wondering if it is possible to (manually, on code level) use optimizations like mmx, sse etc with C#. The idea came up at some place where /unsafe is already used. Somehow I have the feeling that it isn't ...
Exception Handling Question
Chuck Cobb -
21 Apr 2006 11:40 AM - 18 messages
I'm implementing a centralized exception handling routine using the Enterprise Library Exception Management Application Block. I trap all unhandled exceptions to one place using the following method: // --- Create an Exception Handler for Thread Exceptions ---------------- Application.ThreadException += new ThreadExceptionEventHandler(OnThreadException); ...
DataSet to a Custom Collection object
npaulus -
21 Apr 2006 11:18 AM - 7 messages
Hi, DataSets are usually resource heavy. Instead of having to pass them from my middle tier to my presentation layer I was wondering if anyone has developed a custom collection object that is less resource heavy and can be passed lightweight to the presentation layer. ...
which library we have to use for using assembly codes in c#
yasin -
21 Apr 2006 11:12 AM - 2 messages
is there any internet site for assembly examples in c# ...
Debug between C++ and C#
Steven Blair -
21 Apr 2006 11:11 AM - 2 messages
I have a C++ application using a C# dll. I cant seem to step into my C# dll from the C++. Is it possible to do this? Steven *** Sent via Developersdex [link] *** ...
ListView image problem
TheJediMessiah -
21 Apr 2006 10:29 AM - 2 messages
Hi, I have a single column listview in which I want the first row to display an image and the following rows display some text. The image is displayed correctly, being aligned to the left of the column but the text in the rows below appear after the end of the ...
Available applications in Taskmanager
Kondapanaidu -
21 Apr 2006 10:22 AM - 3 messages
Hi, I am using C#.NETV1.1 How will we list which are the applications running under a task manager. Thanks in advance *** Sent via Developersdex [link] *** ...
Background Image in Listbox
Kits -
21 Apr 2006 10:02 AM - 2 messages
Hi, Is it possible to put a background image in a listBox control?? How can this be done? Specifically I would like to display an image in the are of a listbox which is not occuppied by any listbox items (alternatively ...
Serializable TypeConverter
ChriChri -
21 Apr 2006 9:06 AM - 2 messages
I have an error message telling me my class must be Seriazible, but I made it already Serializable ... Have you some ideas of what to do ? May I change the TypeConverter and how ? Thanks ...
detecting when a form is minimizing
Lee -
21 Apr 2006 8:55 AM - 8 messages
Hi, How do I detect when a form is minimizing? specifically when a user clicks the show desktop button on the taskbar, rather than the minimize button on a form. thanks in advance ...
ServiceController.GetServices( other pc )
Bram Hoefnagel -
21 Apr 2006 7:56 AM - 4 messages
Hi, On the 1.1 framework I couldn't find a solution to get a list of services from an other PC. Only a list of services on My local PC. (witch is strange i guess, as you look to the MSDN doc.) ...
List COM ports
Joachim -
21 Apr 2006 7:44 AM - 5 messages
How can I find out what COM ports that exists on my computer? ...
XmlElement Move up & down
beachboy -
21 Apr 2006 7:25 AM - 3 messages
How I can Move up or down XmlElement? Please advise. Thanks in advanced. ...
Documentation: Still nDoc or ?
Henrik Dahl -
21 Apr 2006 6:25 AM - 3 messages
Hello! Does VS 2005 offer good features for documentation or is nDoc still the way to go? Best regards, Henrik Dahl ...
Problem with reading .INI Files in C#
Kondapanaidu -
21 Apr 2006 5:40 AM - 3 messages
Hi, I am using .NETV1.1, I have the problem with reading Ini file. [xxx] a b c I am not reading this section. But when I put [XXX ] a= b= c= In this case I am reading fine. [XXX ] ...
Interface with Flash8 External API
sandy82 -
21 Apr 2006 5:04 AM - 5 messages
Hi I want to interface my winforms application with External API of Flash 8 . If any one has done a similar problem do ... guide .. ...
Is this really an Illegal Cross Thread Call?
Dave Booker -
21 Apr 2006 4:35 AM - 19 messages
I have a Thread making a callback to a Form function that alters Form data. Of course, the debugger is telling me, "Cross-thread operation not valid: Control 'FormTest' accessed from a thread other than the thread it was ...
Business Rule (Engine) vs Data Validation
kids_pro -
21 Apr 2006 1:28 AM - 5 messages
What is the different between Business rule & data validation? How much impact does it give in OOP concept? Thanks, Kid ...
How to excute IE with specified URL?
Boki -
21 Apr 2006 1:08 AM - 2 messages
Hi All, I want to excute IE with specified URL, my code: Process p = new Process(); p.StartInfo.FileName = @"C:\Program Files\Internet Explorer\IEXPLORE.EXE [link]" + ...
No scroll bar to choose event?
Boki -
21 Apr 2006 1:02 AM - 2 messages
Hi All, Why I can not see the scroll bar to choose the event I want to handle ( as in VB ) ? Best regards, Boki. ...
static event generates CS0052
Dave Booker -
21 Apr 2006 12:10 AM - 3 messages
What is the right way to declare a static event handler? I have a: delegate void TestEvent(string ID, ref string payload); namespace TestNS { public class TestFrm : System.Windows.Forms.Form { public static event TestEvent newEvent; ...
changing a folders custom picture
jeremiah johnson -
21 Apr 2006 12:03 AM - 4 messages
Hi everyone. I'm going to write an app in C# that changes a folder's custom picture to some kind of picture that represents how much 'stuff' is inside the folder... .... as soon as I can figure out how to change this: ...
Help creating a class library
AAOMTim -
20 Apr 2006 11:53 PM - 2 messages
I would like to create a class library that uses a ListItemControl, but when I try to create the class withthe following using atetments, it doesn't recognize the System.Web.UI components: using System; using System.Web; using System.Web.UI; ...
Load an object reference onto the stack ???
VivekR -
20 Apr 2006 11:16 PM - 2 messages
Hi I have a class CodeGen in which GenerateILBody is a method that uses ILGenerator.Emit to create the IL code as method body for a dynamic method DynMethod. GenerateILBody at runtime must call another method CallBack of the class CodeGen. ...
StringBuilder vs. String performance
Richard Lewis Haggard -
20 Apr 2006 10:22 PM - 13 messages
I thought that the whole point of StringBuilder was that it was supposed to be a faster way of building strings than string. However, I just put together a simple little application to do a comparative analysis between the two and, surprisingly, string seems to out perform StringBuilder by a ...
building url with StringBuilder
John A Grandy -
20 Apr 2006 9:38 PM - 4 messages
I am using a StringBuilder to build a link tag (based on categoryId and categoryName , which are populated elsewhere ) : StringBuilder sb = new StringBuilder(); sb.Append(categoryId); sb.Append("&filter=price\">"); sb.Append(categoryName); sb.Append("</a>"); ...
whole word substring search w/o using regular expressions
seannakasone -
20 Apr 2006 9:26 PM - 5 messages
Is there a way to search a string for a whole word w/o using a regular expression? i.e. mystring.IndexOf(mypattern, *WholeWord); The reason i rather not use a regular expression is because sometimes i want to search for whole words w/o the regular expression special ...
access to jpeg properties
Val -
20 Apr 2006 9:19 PM - 5 messages
I am trying to programmatically access to the properties of a picture file (jpg). These properties are available in Explorer by right clicking->selecting "properties"->"Summary" tab. Examples of these properties are: width, height, Date picture Taken, etc. ...
Managed WMI memory problem
Salvador -
20 Apr 2006 8:39 PM - 8 messages
Hi, I am using WMI to gather information about different computers (using win2K and win 2K3), checking common classes and also WMI load balance. My application runs every 1 minute and reports the status of the machines. Upon we follow the .NET object lifetime recommendations the application is ...
Trying to use nant to build and link resource files into final product
urban.john -
20 Apr 2006 8:32 PM - 2 messages
Here are my steps: create resource files from resx files: <echo message="CREATING RESOURCE FILES FROM RESGEN EN" /> <resgen todir="product\resources_en" verbose="true"> <resources> ...
Can't add UserControl to toolbox, missing reference
sklett -
20 Apr 2006 8:01 PM - 3 messages
I'm trying to add an assembly that has a couple UserControls (among other things) to the toolbar. When I browse to it, I get a message that it's can't find an assembly that it needs (ObjectBuilder) - I know my assembly ...
Iterate through files
Toco -
20 Apr 2006 7:49 PM - 4 messages
Hello. I have program which now searches for one file in a directory, because file name is hard-coded. What I wish to do is to have program go to first file in directory, do some processing, then go to next file in same ...
Initializing a class
Ikke -
20 Apr 2006 7:30 PM - 14 messages
Hi everybody, Suppose I have a class 'Dog' defined as follows: public class Dog : Animal Now suppose I have the following code: Dog fido = null; Animal animal = new Animal(); Then how do I assign the animal Object to fido? If I were to write: ...
asp.net compiling
gl -
20 Apr 2006 7:14 PM - 2 messages
I have a very general question. When you compile a website in asp.net 2.0 where do the compiled assemblies (for the individual pages) go? You used to see something in the bin directory for them, but now I don't see anything ...
convert.ToDateTime vs System.DateTime.Parse
tshad -
20 Apr 2006 7:11 PM - 5 messages
Is there any difference between convert.ToDateTime and System.DateTime.Parse? I am using them both and they seem the same. Is one better to use than another? Thanks, Tom ...
VS8 C# error - "compiler could not be created."
MikeJ -
20 Apr 2006 6:51 PM - 10 messages
In my office, we have workstations with standard Win 2000 images (OS plus standard apps like Office, etc.) as developers, we then install our development tools on top of those images. other developers in my office have installed VS8 and use it with no problems. however, on a new ...
Replacement for NDoc?
J.Marsch -
20 Apr 2006 6:24 PM - 5 messages
Hello: Since NDoc does not seem to support .Net 2.0, (and the project seems to be inactive), what are the other alternatives out there for producing HTML documents from XML Comments in C# 2.0 code? ...
Split an action and run on the servers
Venkat -
20 Apr 2006 5:21 PM - 4 messages
Hi, Ours is a windows based application and I have to perform an action which takes much time (as it requires much CPU time) on a single pc. I want to split the action to more than two and I want to run the action on ...
Calling dll functions
John -
20 Apr 2006 5:13 PM - 5 messages
DWORD _stdcall DLLFunction(DWORD Num, CHAR *Str); I call the above dll function from a C++ app. Now I need to call it from my C# app. How can I do it? [DllImport("MyDll.dll")] public static extern int DLLFunction(int Num, string Info); ...
Mutable Types and Read-Only Fields
Mythran -
20 Apr 2006 4:58 PM - 4 messages
[link](VS.80).aspx * Do not assign instances of mutable types to read-only fields. I would have to disagree with this "Field Design" guidelines...to an extent. Example: public class SomeClass { ...
Visual * Express free forever. Thank u Microsoft !
Web learner -
20 Apr 2006 4:52 PM - 3 messages
[link] ...
Why are get/set properties useful?
VMI -
20 Apr 2006 4:18 PM - 22 messages
WHy are the get/set properties so useful? I know they're used so that I don't directly access a variable, but why is that so useful? What would the difference be between using it directly and using get/set? ...
RSS in a repeater
David -
20 Apr 2006 4:12 PM - 2 messages
Hi all, I have an RSS feed that I am dropping into a repeater (using the Dataset's ability to collect from a URL). Is there a quick and easy way to limit the amount of rows from the feed ...
Start Menu / ClickOnce
Chris Rennert -
20 Apr 2006 4:05 PM - 2 messages
Hello all, is there any way I can create additional start menu items under my program folder that is being created by ClickOnce? I have created the SUpport URL, but I would also like to include a help file, ...
Dispose of Worker Thread?
joey.powell -
20 Apr 2006 3:44 PM - 4 messages
I have a windows forms app (VS 2005) that uses a worker thread to do lots of stuff in a job. When I run the job again - always after the first completes - from the app (back to the UI thread to spawn another ...
Built In Help Pages
RBChallenger -
20 Apr 2006 3:28 PM - 3 messages
Hi, Can anyone tell me how to embed help pages into an application? Im looking for the standard windows help system that you typically see... little purple books as the index pages in the other pane, ability to open the correct page on demand etc. Thanks ahead of time!!! ...
Local variables in Asynchronous socket server
Macca -
20 Apr 2006 3:19 PM - 2 messages
Hi, I am implemeting an asynchronous socket server in my app. There will be up to 30 clients sending data to the socket server. Within the socket server I will have a number of local variables for each client connection. ...
IBindingList with dynamic columns
Dante -
20 Apr 2006 3:09 PM - 2 messages
Hi Folks, I have a datagrid that could be bound to an IBindingList. Currently I don't get it how the mapping is made between the class and the grid. As far as I got I have a class with some public properties that will be ...
Running EXE's on ASP 2.0 server
joe -
20 Apr 2006 2:13 PM - 2 messages
I have the following code in an aspx.cs file: [snip] string strLocation; strLocation = Server.MapPath(".")+"\\test.exe"; System.Diagnostics.Process Proc = new System.Diagnostics.Process(); ...
How to update program when user double-clicks icon
Dan Tallent -
20 Apr 2006 2:11 PM - 3 messages
When a user launches the program, I want it to test if an update is available. You see many examples of this method to update. (Quickbooks, Norton AntiVirus, online games) I have a method already to determine if an update is available and download ...
Repeater
Doug Parker -
20 Apr 2006 1:12 PM - 8 messages
I'm trying to use the repeater control to create a column-like row of data, I've searched the net and it doesn't appear to be that easy. Use this page for reference: [link] (i'm converting this ...
Resolve Email Address
Roger -
20 Apr 2006 12:32 PM - 2 messages
Hi, I wrote code that captures a users windows nt id and sends an email in their name. However, I haven't been successful in resolving their exchange id based on nt logon. Does anyone know how to do this? ...
COM problem
Steven Blair -
20 Apr 2006 11:56 AM - 3 messages
I am attemtping to create a C# which can be used in my C++ app. Here is my source. [link] Register for COM Interop is checked and the following warning is displayed when I build: ...
DateTime conversion to its sqlServer datetime float representation.
A.Neves -
20 Apr 2006 11:32 AM - 2 messages
Hi, I'm having a problem, I have a DateTime value in Portuguese representation (dd-mm-yyyy) and I'm using SQLServer2005 with its default language English (yyyy-mm-dd), so when I assemble a WHERE clause the date that goes to ...
get information used to uniquely identify a PC system
Ryan Liu -
20 Apr 2006 11:16 AM - 2 messages
Hi, What are APIs can used to get information used to uniquely identify a PC system? Indeed the only thing I really want is to find a mechanism to generate a global unique key to identiy my software installed across customers. The ...
IE Privacy - DNS Problem - ASP.NET
rawCoder -
20 Apr 2006 10:14 AM - 3 messages
Hi, I have a case where my application built in Visual STudio .NET 2003 and ASP.NET ( VB/C# ) is installed on IIS 6.0, windows server 2003. Problem is that when I reach the site( using IE) through the public IP ...
Compare class names of interface inherited classes
Joachim -
20 Apr 2006 10:04 AM - 4 messages
Let's say I have this: interface MyInterface {} class MyClass1 : MyInterface {...} class MyClass2 : MyInterface {...} class SomeClass { MyInterface myClassX; public SomeFunc() { if (someCondition) myClassX = new MyClass1(); ...
|
|||||||||||||||||||||||