|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Simple optimization
Bob Cummings -
6 May 2006 9:50 PM - 3 messages
Not sure if this is the correct place or not. Anyhow in school we were taught that when trying to calculate the efficiency of an algorithm to focus on something called FLOPs or Floating Point operations and disregard all integer operations. ...
Threads vs Thread Pool
vzaffiro -
6 May 2006 11:38 AM - 8 messages
Does the magic number of 25 only apply to the thread pool? Does it also apply to manually creating threads? ...
DataGridView, DataSource, Columns and Datatable.
George -
5 May 2006 8:39 PM - 8 messages
Hi, I have been trying to see if I can do the following: 1. Create a DataGridView 2. Create 2 columns in the DataGridView (1 textbox and the other combobox) 3. Create a DataTable containing my data. (AutoGenerateColumns is true). ...
How Do I Pass Bindingsource to Another Winform.
Rob Dob -
5 May 2006 8:21 PM - 2 messages
Hi, I have two c# Winforms. the first form has a datagridview who's datasource is a bindingsource. when you double click on a datagridview row it then opens my second form, which has some databound controls, text boxes that are bound to ...
Crash without dump file
Droopy -
5 May 2006 12:27 PM - 7 messages
Hi, I am running an application on 74 PC (1 instance on each PC). This morning, 2 applications crashes. There were neither popup windows signaling it nor dump file created. I only find in the event log an entry signaling a dotnet 2.0 runtime ...
Event handler for context menu; help needed
james -
5 May 2006 11:41 AM - 5 messages
Hello, I am having a little trouble creating an event handler for a context menu toolstripmenuitem. I've seen various tutorials and so on, but I keep getting a bit stuck! So far I have a second class defining the eventargs I want to use: ...
ASP.NET Generic template
Celine -
5 May 2006 7:10 AM - 20 messages
I have a set of similar classes (c1, c2, ...). I would like to create a template (or a page with as much abstraction as possible) to copy/paste, and create ASPX pages to edit (add/update/...) these classes. A customised page for each class, beacause there are few differences ...
Difference between namespace { using System; } vs. using System; namespace {}
Keith Patrick -
4 May 2006 8:15 PM - 3 messages
Can someone tell me the difference in terms of actual implications using: namespace MyNamespace { using System; class MyClass {...} } vs. using System; namespace MyNamespace { class MyClass {...} } are? There's a framework recommendation that the former be used (and some ...
Sql Code generation tools
helpful sql -
4 May 2006 7:07 PM - 2 messages
Hi all, Are there any good Sql code generation tools out there in the market? If not can you please give me tips or sample code for creating one? I need to automate code generation for data integration. Here is what I ...
Combobox, datasource and text file
George -
4 May 2006 5:31 PM - 8 messages
Hi, Does anyone know how to bind text file to a datasource (of a combobox in my case)? I went through the properties, but it seems like the only "boundable" sources are databases such as Acess, SQL server or Oracle? ...
ComboBox confusion
Paul Cheetham -
4 May 2006 3:53 PM - 5 messages
Hi, I have a combo box in a Windows Forms app (c# VS2003, .Net 1.1) where I am adding items at runtime using the Items.Add method. I need to be able to also set the Value for each item in the same way. ...
extract cab file with C#
Bill -
4 May 2006 2:02 AM - 4 messages
Is there any way to programatically extract a cab file using C#? ...
Need date part of datetime variable
tshad -
4 May 2006 12:09 AM - 3 messages
I can't seem to get the Date portion of a datetime variable put into a string: I tried: DateTime dateTime; dateTime = Convert.ToDateTime(dr[ktr][1]).Date; stemp = Convert.ToString(dateTime); This will give me "5/5/2006 12:00:00 AM" ...
Attribute order
Ole Nielsby -
3 May 2006 11:28 PM - 3 messages
When calling myType.GetCustomAttributes(typeof(MyAttribute), false) it seems the attributes come in the reverse order of that in which they are written. Can this be relied on, or might it change or be different in other ...
Structs cannot contain explicit parameterless constructors
Ole Nielsby -
3 May 2006 10:51 PM - 4 messages
Why is this? I've stumbled on this restriction more than once, and I'd like to know the philosophy behind it if there is one. I figure I'd be less prone to make this error if I knew the reason. ...
C++ and C# Interop
John -
3 May 2006 10:07 PM - 2 messages
In C#, are byte buffers setup as a sequential group of bytes? If I define: private byte [] m_byBuffer = new byte[8192]; // The message buffer Will m_byBuffer contain 8192 bytes sequentially in memory? Will the garbage collector move these bytes? Thanks, ...
Check to see DataColumn DataType is Boolean?
Jay Balapa -
3 May 2006 9:50 PM - 2 messages
Hello, Iam trying to do the following- if(myColumn.DataType==typeof(bool)) { } this does not work either Type.GetType("System.Boolean") instead of typeof(bool). I get the error "Operator == cannot be applied to operands type and object and bool." ...
CodeDom Question
Russell Mangel -
3 May 2006 9:29 PM - 2 messages
Sorry about the crosspost, I posted in the wrong group... I am using C# CLR 2.0 CodeDom: I need to create the following array: SqlParameter[]sqlParameters={ new SqlParameter("@invID", SqlDbType.Int, 4, "invID"), new SqlParameter("@imaID", SqlDbType.Int, 4, "imaID"), ...
forms
Stefano -
3 May 2006 8:36 PM - 2 messages
Hello, I inclosed in a proget a form that contains information about the version. The classic form which sets out during the start of a program. This is all ok, and when I close it the program running. ...
Regex Select HtmlTags
Harry Leboeuf -
3 May 2006 8:31 PM - 2 messages
Hello, I'm looking for a way to strip all html tags from a string. I've found several good regular expressions that do that job. I'm using <(.|\n)*?>, But now i would like to keep the tag if betwene the < and the > appears some ...
Access nested child data within a dataset
Steve Teeples -
3 May 2006 8:03 PM - 2 messages
Can someone tell me how to access the "nested child" data of a specific parent from within a dataset? I read an XML file into a dataset with its schema and want to access the child nested data. The one I access is ...
Default property display in debug windows
Michael Bray -
3 May 2006 7:06 PM - 5 messages
I have a recollection that there is some way (an attribute on the class, perhaps) that tells the VS.net debugger to display a particular property in the Auto / Locals window when I'm viewing a particular type of object... ...
Generics Serialization Exception
ashraftm -
3 May 2006 7:03 PM - 2 messages
Hi, I am getting following error while XMLSerialization a class with nullable generic member. Public Class Car { [XmlAttribute] public Nullable<decimal> Meter; } Car car = new Car(); ...
System.Configuration.ConfigurationSettings.AppSettings.Get(...)
RSH -
3 May 2006 6:57 PM - 5 messages
Hi, I have a situation where I am attempting to print the contents of an AppSettings property in the aspx file of my website. Basically here is the code I am using: <% Response.Write("Email:" & System.Configuration.ConfigurationSettings.AppSettings.Get("WebMasterEmail") ...
Fill a DataSet with DataTable questions?
dauphian@gmail.com -
3 May 2006 6:55 PM - 7 messages
Hello, I am new to .net and am trying to build a report application that queries 4 different tables based on a id, and I need to return them in the same table for easy viewing. Basically, I have one querie that grabs all of the id's I need for the ...
Security Permission Issue with C# EXE on Intranet
Johann Pietschnig -
3 May 2006 6:27 PM - 7 messages
Hi, My Problem: I have a C# EXE which writes a TXT file with results. It works perfect on my local computer, but when I try to run it from our network server (Drive G:), I am getting a System.Security.Permissions.SecurityPermission error. ...
remoting
Leon Habinsky -
3 May 2006 5:30 PM - 2 messages
Hi all. I have a situation when I will need multiple clients connected to a server. The server will periodically send some XML data to the clients. What would be the best way for me to accomplish this? I can use either Sockets or .NET ...
ListView or Grid component
Padu -
3 May 2006 4:52 PM - 3 messages
I'm looking for a component to make listviews (perhaps grid). I have two requirements for the component for two different situations I want to use it. In the first situation, I need a listview that either allow to have an image ...
Loosing ListView.SubItems on Sorting [#C] Win
MikeY -
3 May 2006 4:45 PM - 3 messages
Hi everyone, After reading various posts I'm still scratching my head and unsure of what approach to take. I have created buttons that upon clicking, the buttons add an item name (myName) to my ListView (lvBody) and at the same time, also add ...
Catching PostMessage from a service
Stephan Steiner -
3 May 2006 4:00 PM - 2 messages
Hi I'm trying to launch a native application from a C# service. Searching the various dotnet groups on Microsoft I found that there's a solution for windows forms: [link] ...
Efficient local data-handling
Mantorok -
3 May 2006 3:49 PM - 3 messages
Hi all I have a DataTable containing around 25000 rows. For each row I want to query the entire DT to find out if potentially duplicate items exist, problem is - this is reeeeeeaaaaal slow. I'm using the Select method: ...
Exception Handling Techniques for ASP.NET Application with Multiple Layers
metsys -
3 May 2006 3:18 PM - 2 messages
We have an ASP.NET 2.0 (C#) application that is divided into multiple layers. The multiple layers come from having a web project and 2 different class library projects in the same solution. I'm having difficulties figuring out the best way to handle (catch) ...
downgrade wav file
heidi.mu -
3 May 2006 2:57 PM - 3 messages
Anyone knows how to downgrade wav file? For example downgrade from 22k 16-bit wav file to 8k 8-bit wav file ? ...
double.TryParse only gives 13 decimals
Joachim -
3 May 2006 2:35 PM - 2 messages
When I run double.TryParse("12.01234567890123456789", out value) I only get 12.0123456789012 as result. How can I get double.TryParse to translate more than 13 decimals (if possible)? ...
Urgent print problem
Code Monkey -
3 May 2006 2:33 PM - 3 messages
I'm about to deploy a program that prints out Word documents. However, due to licensing issues, we don't actaully have Word 2003 or Office 2003 installed on the machine - only the free Word Viewer (Microsoft Office Word Viewer 2003). ...
newbie: two new errors
IndyChris -
3 May 2006 2:22 PM - 3 messages
Okay, I'm getting the following errors for the respective code. Can anyone help me get around them? Error- Cannot implicitly convert type 'System.Web.UI.Control' to 'System.Web.UI.WebControls.PlaceHolder' Code- PlaceHolder ExpandedContent = e.Item.Cells[ConfGrid.Columns.Count - ...
Validate Zip Code
rtejera -
3 May 2006 2:15 PM - 3 messages
I'm new using c#.net I need to validate the zipcode. How I can be sure that only zipcode are typed and when the users type 5 digits zipcode the "-" do not get save in the record. Rafael Tejera ...
Interop: failure returning a value from unmanaged dll
ConfNoob -
3 May 2006 2:00 PM - 3 messages
part 1: there is a NON - COM unmanaged dll in VC++ 6.0 BOOL function(char * name, int nOption) part 2: there is a C# web service that has to consume the above DLL used DLLImport to call the Non-COM Dll. ...
Beginner - basic inheritance problem -- public/protected
Ranginald -
3 May 2006 1:56 PM - 14 messages
I am new to oop so please bear with me: Could someone please explain to me why the "protected void runCategory() method" cannot access the local ddlCategory object that is easily accessed in the "createNav() method"? I thought that because ...
data grid error
IndyChris -
3 May 2006 1:45 PM - 6 messages
I'm getting the following error. 'System.Web.UI.WebControls.TableRow.Cells' denotes a 'property' where a 'method' was expected It's happening on two lines of code. PlaceHolder ExpandedContent = e.Item.Cells(ConfGrid.Columns.Count - 1).FindControl("ExpandedContent"); -AND- ...
Playing audio from a stream
dmeglio -
3 May 2006 1:41 PM - 4 messages
Lets say I have a MemoryStream. This stream contains either WAV, MP3, or WMA data. Is there anyway to play this in C# without creating temp files? If anyone knows of an existing component, either free or not free, that will let me do this, please let me know! ...
TransactionScope fails but can't enable network DTC in Windows Server 2000
zoro -
3 May 2006 1:39 PM - 3 messages
I am trying to use TransactionScope with C# on VS 2005. I am working against SQL Server 2005 on Windows Server 2000. I get an exception that suggests I should enable network DTC. However, all the resources I could find talk about how to do it in Windows ...
How to send string from 'child' user control to main form
Richard Lewis Haggard -
3 May 2006 1:39 PM - 4 messages
I have a form that has a label. This form also has a tab control. The tab control has a user control pasted on its page. Under some conditions, the user control needs to send status strings back to the main form for display. ...
Resource file
Al -
3 May 2006 1:04 PM - 3 messages
Hi, I have created a solution with two projects in it - a class library and a windows forms front end. I have added a resource file (Resources.resx) to the class library and filled it with icons. Does anybody know how would I go about using an icon from this resource file ...
TNEF again. Attachment extraction with C Sharp
centur -
3 May 2006 12:34 PM - 4 messages
I have a service, which acquire IMessage (CDO Interop) object from datasource (binary restored eml (RFC822) message from SQL database). And due to ms-tnef format of message - i can't extract attachments from it. Is there any example how I should parse TNEF part ...
q: enum as a param
dllhell -
3 May 2006 12:13 PM - 13 messages
hi all, I have a problem with creating proc with a enum as a param. I wish to pass an enumeration in proc in which one I intend to do some operations with enumeration, but I don't know which one enumeration I'll ...
Object Design Question
Don Miller -
3 May 2006 11:58 AM - 8 messages
Here's what I want to do... sorry for the lengthy description ;-) I have an inventory tracking system with items that I track stock levels on. Some items are counted with decimal precision (double) and others are counted using integers; the database record has a flag that says what kind of item a ...
Urgent requirement of C#, ASP.Net developers
nitu -
3 May 2006 11:24 AM - 6 messages
Urgent requirement of C#, ASP.Net developers Hi We are pleased to inform you, that we have couple of positions with our prestigious clients who are looking for 'C#,ASP.NetDevelopers ' . Kindly let us know your interest for this opening, so that we can go ...
datagrid and Delete
Rodrigo Ferreira -
3 May 2006 11:04 AM - 3 messages
Hi How can i delete a row from a datagrid with code? I want the same efectt that when i click in delete key. Greetings ...
How to run VB script from my C# windows application program?
Gidi -
3 May 2006 10:12 AM - 4 messages
Hi, I want to run a VB script file from my C# windows application program, how can i do it? (i want to do it, with a Button Click event...) Thanks, Gidi. ...
Help with button text
Aahz -
3 May 2006 10:01 AM - 2 messages
Can somebody help me with this simple problem: I have an asp.net button and I want to make "if" statement that depends of button label ( or caption text), i tried like this: private void Button0_Click(object sender, System.EventArgs e) ...
GDI+ Transormations
Fabio -
3 May 2006 9:44 AM - 4 messages
Hi all! A question about transformations. Let's have this piece of code that transforms the coordinates of the Graphics object: --------- Graphics g = e.Graphics; Matrix m = g.Transform; m.RotateAt(45, new Point(100, 100)); g.Transform = m; g.DrawRectangle(Pens.Blue, 50, 50, 100, 100); ...
How to show the desired topic of .chm file ?
Oleg Subachev -
3 May 2006 9:42 AM - 2 messages
How to show the desired topic of .chm file ? Neither this call: Help.ShowHelp( this, "Test.chm", "Registration" ); nor this one: Help.ShowHelp( this, "Test.chm", HelpNavigator.Topic, 21800 ); do nothing. The topic I need to show has assigned keyword "Registration" ...
how to detect if System.IO.StreamReader has data?
jens Jensen -
3 May 2006 7:51 AM - 2 messages
!=null does not seem to help. Thanks jj ...
Some doubt about reflection
jibesh.vp -
3 May 2006 7:23 AM - 4 messages
Hi all, I have a doubt in using C# Reflection mechanism . What i need is to get method info alone from a class type. Following code gets all the Properties inside the class too and there is no way to ...
casting issue
Glenn -
3 May 2006 7:18 AM - 3 messages
I am kind of new to c# language and looking for assistance on how the following piece of code works. objectDefinitions.Add((ObjectDefinition)((ArrayList)myGenericAnalysisWindow.comboBox2.Tag)[myGenericAnalysisWindow.comboBox2.SelectedIndex]); - ObjectDefinition: is a self defined class - objectDefinitions: is an instance of the ArrayList class ...
Want a key value collection that maintains ordering
illegal.prime -
2 May 2006 11:21 PM - 17 messages
Hi all, is there a key value collection in .Net that maintains the ordering in which I add items. I'm finding that I'm creating a number of classes that contain a name and then some object. I would prefer just to use some collection that ...
Copy files to a shared folder with User /pass
Dámaso Velázquez Álvarez -
2 May 2006 10:03 PM - 3 messages
Hi, I need to copy files to a shared folder protected by username/password. I don't now autenticate me in the server to copy the files. Do I need to use the credentials to do it? How can i do it? ...
Architecture with a DataReader
Andrew Robinson -
2 May 2006 9:42 PM - 3 messages
I am working on a data access layer using a pattern that I see more and more. Define a class that is a data container that is then added to a generic List<>. I am then using this List and support classes in conjunction ...
web services and multi-threading
VMI -
2 May 2006 9:35 PM - 7 messages
I'm working on a web service that processes an ascii file by storing its information in a sql server table. This process takes a few minutes to complete, so I want to display something in the aspx that's consuming this ...
Help me with this error message
amita -
2 May 2006 8:04 PM - 3 messages
when i am writing a program in c# using windows app I am getting this error message as System.Windows.Forms.Control.Text is inaccessable due to its protection level. In the design window when i am placing some controls like textbox,label and ...
string limit
tshad -
2 May 2006 7:09 PM - 9 messages
Is there a string limit is C#? I have a Textbox that I am allowing users to paste into (can be a word document). But I am finding that I am losing data when I write large files to my Sql Server database. ...
Is this possible?
mitch -
2 May 2006 6:26 PM - 4 messages
In a c# client I have the following: double [] data = {1.0,2.0,3.0,4.0}; I have an OCX wriiten in c++ using dev studio 6.0. Can I pass the array to the OCX? How would you do this? ...
Sorting dataset (C#)
Hushpappy -
2 May 2006 5:50 PM - 5 messages
Hello, I'm trying to sort a dataset, for some reason, when i use the writeXml of the dataset obeject I don't see any change. i'm trying to put the view into a dataview and then sort it but ...
DropDownList DataTextField and ToString()
Andrew Robinson -
2 May 2006 5:47 PM - 3 messages
I am binding a List<Item> to a asp:DropDownList control. Is there any way to bind to the ToString() method of the Item class or can I only specify a property? The same goes for a Bind("") field on a GridView. ...
How to add total in datagridview
amit.vasu -
2 May 2006 4:59 PM - 3 messages
Hi I am using visual studio 2005 windows forms to create an application. The heart of the application is datagridview which reads the data from the database and display result to the user. Now the data is numeric value and Some column needs to add total of the ...
Dynamic UI
DH -
2 May 2006 4:41 PM - 2 messages
Hi All I was wondering if anyone could point me to some good resources on creating dynamic winforms. I would like to allow users to add, position and resize buttons on a winform. Cheers, DH ...
What is the equivalent of a Java package in .Net
vivekian -
2 May 2006 4:28 PM - 11 messages
Hi , New to dot net and C# and was wondering what is the equivalent of a java package in dot net ? thanks, vivekian ...
Inherited form doesn't have controls from parent
Steve Teeples -
2 May 2006 4:06 PM - 3 messages
I have a simple form with a panel that is docked in the base form. The panel has three controls - two buttons and one treeview. I use "Inherited Form" when creating a second form derived from this parent form. The only thing is there are no controls in the inherited form. I made ...
Controls overlap
Dan Aldean -
2 May 2006 2:50 PM - 3 messages
Hello, I place in a web application some controls: labels, text boxes, buttons. Labels tend to overlap the text boxes if the text is long and the text box is not placed far enough from the label. Is there a good method to determine where to place the controls so ...
C# fixed array in structure
dzar -
2 May 2006 2:49 PM - 4 messages
I'm new to C# and have the following problem that I hope is simple for you C# experts out there! I have a need to call an unmanaged DLL (written in C) that needs the following structure defined (C syntax): ...
Same ConnectionString in designTime & runtime from App.Config. How?
A.Neves -
2 May 2006 2:28 PM - 2 messages
Hi, I'd like to have my ConnectionString retrieved from the same place in RunTime or in DesignTime (in VS2005). Is It possible? How? Any help would be very much appreciated. Thanks. ...
starting application with a service.
Lamis -
2 May 2006 2:14 PM - 4 messages
Hi, i have just created my first Windows service and it is working great.. my problem is that I need to start an application in my service: protected override void OnStart(string[] args) { eventLog1.WriteEntry("In OnStart"); this.frm = new Form1(); ...
Change my hostname
Lamis -
2 May 2006 2:11 PM - 2 messages
Hi, I need to change my hostname in my machine using .Net and C# thanx for the help ...
Threading: Stopping, restarting, etc
Steve -
2 May 2006 1:54 PM - 11 messages
I'm having a problem with my Thread usage and I think the general design of how I'm working with them. My UI class calls a method in another class that does a lot of work. That "worker" class looks something like this(pseudo ...
OT: HTML Generator
Materialised -
2 May 2006 1:42 PM - 5 messages
Hello all; Sorry about the offtopic post. I am wondering if a add-in exists for Visual Studio 2005, which will automatically format highlighted code to HTML. The type of output I am looking for is something similar to what enscript for Linux/Unix systems ...
Mouse over location
bk -
2 May 2006 1:28 PM - 5 messages
Hello C-Sharpers, Lets say i have a UserControl which draws a circle of radius r at co-ordinates x,y. How can i tell if the cursor is currently inside or outside of the circle? thank you, bk ...
Global variables in windows forms
None -
2 May 2006 12:41 PM - 2 messages
Hi, I want to maintain gloabl variables in windows forms like session in asp.net. How can i do this. Is there anyway to do this? If anybody knows the solution pls let me know.. Thanks and Regards, ...
Removing Context Menu Items
WhiteWizard -
2 May 2006 12:19 PM - 4 messages
I have an Windows app that allows users to save "bookmarks", on pages they have been to, and then navigate back to them. That all works. In addition, we have restricted them to 15 bookmarks, and if they select a 16th, the first ...
Security question...
Jacek Jurkowski -
2 May 2006 12:12 PM - 3 messages
My application (Net Framework 2.0 C#) is connecting to a remote server running SQLServer2005. When it does, a firewalls are activating asking me if I really do want to allow my application to connect. Whatever i chose (allow or not) the connection to SQL server fails ...
Custom compiler warning message
Sorskoot -
2 May 2006 12:09 PM - 6 messages
Hi, I'm currently building a DoublePoint class as an extention on the standard Point and PointF classes. The DoublePoint class will be part of a bigger library and may be used by serveral people. It's posible to convert from Point to DoublePoint. But when this is done implicit I ...
Remoting question
Sagaert Johan -
2 May 2006 12:01 PM - 2 messages
Hi Can remoting fit the following problem ? I have a client PC with a form containing an RTF Control. Can i from another PC using remoting write to the RTF Control on the client PC so it appears on the clients PC screen ? ...
Clickonce deployment and args
Anders Elm=e9n -
2 May 2006 11:40 AM - 7 messages
Hi! I have an application as takes 1 argument. When i start the application from the command line it works, but after clickonce deployment the deployed my.application does not takes arguments. The assembly is deployed using an unc path. How do pass an argument to the ...
Replacing international characters
Alain -
2 May 2006 11:11 AM - 3 messages
Hi, I am working on a project where I need to convert international characters with acii values. Like André -> andre and Björn -> bjorn. How can I do this without replacing every single character? lastname = lastname.Replace("â", "a"); ...
how to trim off trailing spaces and or commas from a string - thankyou
garyusenet -
2 May 2006 10:51 AM - 4 messages
In my continuing education regarding string manipulation, can someone advise me how to take any trailing spaces, and commas from a string. these strings are comming from the streamreader for instance. string 1 = 'abcd ' string 2 = 'abc,' ...
Inheritance
Al -
2 May 2006 10:50 AM - 5 messages
Hi, I have a class (ClassA) which inherits another class (ClassB). I need to instantiate ClassB using a value determined in ClassA's constructor - ie can I have a constructor as follows; public ClassA() { //Do various things base(iMyValue); ...
Best way to retrieve more than one field in a single record
zoro -
2 May 2006 9:44 AM - 7 messages
Hi, I am looking for the recommended way to retrieve several values from a single record, i.e. a typical lookup scenario. An example would be a query that needs to retrieve user_name, user_addres, user_email for a given user. ...
Aborting threads
Mantorok -
2 May 2006 9:44 AM - 3 messages
Hi all I have an app that can kick off one or more threads, a thread will run a COM EXE Server. What I want to do is provide the facility to cancel a thread that is running, and also, when the app closes down to close all running threads. ...
How to check if a string starts with a certain character
garyusenet -
2 May 2006 9:11 AM - 7 messages
Hello, Can someone tell me how to check if a string variable starts with a dash. ' - ' Thanks, Gary. ...
get default program name
Nico -
2 May 2006 7:51 AM - 4 messages
Hi all, Is there a way in C# to know which program will be launched when I do: Process.Start(new ProcessStartInfo(@"C:\video\test.avi")); thanks in advance for your help. ...
How to control Bluetooth?
Boki -
2 May 2006 7:38 AM - 4 messages
Hi All, I wish to get a demo/introduction about Bluetooth application in VB/VB.NET/C#... ex: paring, connection, disconnect....etc. Best regards, Boki ...
How do I create Toolbar Dropdown Button?
Joseph Geretz -
2 May 2006 7:25 AM - 2 messages
I'm writing an Addin for Outlook using C#. I am able to create the interface to my Addin by adding Menus and Buttons to the Outlook Menu and Toolbar, respectively. I'd like to add one particular button to the Toolbar, but I'd like it to ...
Write Formatted text in a doc file
sonu -
2 May 2006 7:23 AM - 4 messages
I am getting some data 'strData' from database through reader object. The data 'strData' is sent to a doc using FilesystemObject line by line in doc file located on a specific location. 1.Code for writting line to doc is: ...
Free toolkit for dicom in c#
Neeraj -
2 May 2006 5:58 AM - 4 messages
hi guys, i am going to develope an dicom viewer with use of c#.but i cannot find any free toolkit for that ..plsease suggest me how i start the project. If you have knowladge about any free toolkit please tell me. ...
Beginner - Assemblies and Multiple .cs files
Ranginald -
2 May 2006 3:46 AM - 2 messages
Hi, I have an asp.net project and I am in the process of trying to make it into a truly object-oriented project -- as I have just learned I cannot have multiple codebehind files in a single page. (The big picture is that I have a template file that has methods called ...
ShowDialog and Adverting Cancel button
Matthew -
2 May 2006 2:57 AM - 2 messages
I have a popup "Property" form that I want to be used as a dialog box. I want the user to be able to cancel their addition of the property wtihout closing the form. .Net however automatically catches the "Cancel" button and processes it as such and closes the form. How do I ...
Custom Paint with Gradient Panel
Robert W. -
2 May 2006 1:34 AM - 4 messages
In my WinForms app I'd long ago implemented a drag & drop mechanism just like is used in PowerPoint when one wants to rearrange the order of the slides. Specifically, a thin black line is shown between thumbnails to indicate where ...
WinForms & Remoting
mitch -
2 May 2006 1:10 AM - 6 messages
Hello, Basically, I want my application to run only one instance at a time and pass command line arguments to a running instance. I have all of this working, I used the IPC Remoting channel and my program handles the command line ...
cost of object instantiation in .NET 2.0
John A Grandy -
2 May 2006 12:33 AM - 8 messages
I'm trying to get a decent idea of the relative performance of three types of implementations of data-access classes in ASP.NET 2.0. I believe this boils down to a more basic question regarding the cost of ...
Static Class and Synchronization ???
Vivek Ragunathan -
1 May 2006 11:51 PM - 3 messages
Hi Are the members in a static class in C# class synchronized for multiple thread access. If yes, are all static members in a C# class auto synchronized ? Regards Vivek Ragunathan ...
Desperately needing direction with EncoderParameters and saving images under different compression/q
Next »
|
|||||||||||||||||||||||