Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score Unmanaged C++ DLL use in C#
Nuno Magalhaes - 11 Feb 2006 11:44 PM - 2 messages
I made a simple DLL in C++ application and exported the fnQuickTimeWrapper that returns the value 42. I the C# application I do the following: [DllImport("C:\\Work\\QuickTimeStreamer\\QuickTimeWrapper\\Debug\\QuickTimeWrapper.dll")] private static extern int fnQuickTimeWrapper(); When I try to get the 42 value of fnQuickTimeWrapper() from the DLL it ...
Score directx or opengl
Jessica Weiner - 11 Feb 2006 10:33 PM - 15 messages
I am writing an application in C# which need to plot graphs and simple shapes (polygons, circles, squares etc). Which library is better for this purpose and why? Thanks. ...
Score ComboBox Blank Entry
Steve B. - 11 Feb 2006 10:32 PM - 6 messages
Without adding whitespace to the ComboBox datasource is there a way I can add a blank entry or, a reset entry, to the ComboBox dropdown Thanks Steve ...
Score Events seem to execute on a new thread - why?
Erik - 11 Feb 2006 10:30 PM - 5 messages
First, I am not creating any new threads via invoke or any other intentional means.  As far as I know, there is just one thread, which is the main thread. My windows form class creates a new DeviceController() object which ...
Score how ti sort hashtable by Value
max sharma - 11 Feb 2006 9:43 PM - 7 messages
Hi all, I am using a hashtable for my application. Its similar to word count application. How can I sort the hashtable w.r.t. the VALUE and not the KEY. The sample data of the table is given below ...
Score Making C++ DLL to use in C#
Nuno Magalhaes - 11 Feb 2006 9:42 PM - 7 messages
Can I code all I want in a C++ DLL (say sockets or files) and then import and use in C# using P/Invoke? Are there any good samples on how to code a DLL (using .lib and .h files) and then use in my C# application? ...
Score Scrolling text - like a marque
UJ - 11 Feb 2006 8:57 PM - 2 messages
Does anybody know how to do scrolling text like the HTML marquee? I need to be able to set the text programmatically. I have to do it two ways - across the bottom of the screen and also scrolling up the screen for news. ...
Score C# DataSet question please
irnbru irnbru - 11 Feb 2006 8:54 PM - 4 messages
Hi I am learning ADO.NET, I use DOTNET 2003, I wanted to know when you create a dataset objet and fill it with data from Data Base with DataAdapter fill method, the fill method only creates a datatable with ...
Score autogenerate columns in datagridview
hazz - 11 Feb 2006 7:56 PM - 3 messages
in a databound scenario I have a database column value that is of type varchar with 3 discrete text values. Binding to this table column with autogenerated columns displays the text values in a DataGridViewTextBoxColumn column type. I would like to display images as follows but I need to do so with the ...
Score beginners question API
Hello everyone - 11 Feb 2006 6:16 PM - 4 messages
Hello everyone, Ive been trying to get this code to work for very long now, but I havent been able to catch the problem. Im trying to use the SendMessage method but when I execute the program nothing happens. Thats ...
Score switch vs Select Case
ME - 11 Feb 2006 5:46 PM - 17 messages
In C# the following code generates a compiler error ("A constant value is expected"): public void Test(string value) { switch (value) { case SimpleEnum.One.ToString(): MessageBox.Show("Test 1"); break; case SimpleEnum.Two.ToString(): MessageBox.Show("Test 2"); break; case SimpleEnum.Three.ToString(): ...
Score Asynchronous socket server
Macca - 11 Feb 2006 5:23 PM - 5 messages
I am writing an application that uses asynchronous sockets to get data over ethernet from embedded devices, up to 30 concurrent devices.(These devices are written in C). My application implements an asychronous socket server while the embedded devices are the clients ...
Score Operation not allowed on non-connected sockets
Curious - 11 Feb 2006 3:00 PM - 4 messages
Hi, I am using the following code to transfer messages between client and server. Upon running that code I am getting the following error message in method ReceiveFromClient on line Stream s =.... "An unhandled exception of type 'System.InvalidOperationException' occurred in system.dll ...
Score Seralisation the final question
Daniel - 11 Feb 2006 12:54 PM - 4 messages
Hi i want to be able to check if information read that came from over a socket is serilisable, if it isnt i want to handle it differently. Basically i am trying to make a generic receivedata function that i can send any form of ...
Score DATATYPE PROBLEM(cross)
Savas Ates - 11 Feb 2006 12:54 PM - 2 messages
I have a column in my table BizdekiFiyat . The datatype = float length =8 (to save money values).. It is impossible to change these attributes for some reasons. It has records like This BizdekiFiyat 110 24 29.5 31.35 I use Vb.Net . I use  ExecuteReader To select values from my db.. ...
Score Accessing an SQL Server database file
AlexDP - 11 Feb 2006 11:09 AM - 5 messages
My program has to access an SQL Server DB file that is in the same folder as the executable. i dont want to setup a server. i was able to do this on my own computer, the program would access any sql server db file without it ...
Score ReportViewer and ActiveX
Soren S. Jorgensen - 11 Feb 2006 10:22 AM - 3 messages
Hi, I need to (somehow) show the ReportViewer (Microsoft Reports) in a ActiveX control. I got a 3rd. party app (SAP Business One) where I need to use the ReportViewer and the only way to show the control (using SBO's internal API) ...
Score Find specific pattern in a string
ksrajalakshmi - 11 Feb 2006 7:19 AM - 11 messages
Hai , in a textbox am having text as "(20/100)+pay1*pay2" .it's a formula. and stored in a particular variable. string strformula="(20/100)+pay1*pay2" ; i've to substitute the value of  the variable 'pay1' & 'pay2' and ...
Score UserControl Validation
wirawan ngurah - 11 Feb 2006 6:39 AM - 3 messages
Hi all, I make a user control that need validation. So before one control is validated another control cannot focus. but when iam trying to check/uncheck checkbox and radiobutton, click button with different usercontrol, these controls can focus and executed. it makes me very ...
Score C# DataTable Question
Jason Huang - 11 Feb 2006 5:37 AM - 4 messages
Hi, C# Windows Form project. string strQry="SELECT * FROM Customer WHERE CustName='John Doe' "; SqlDataAdapter MySqlDataAdapter =new SqlDataAdapter(strQry,rConn.ConnectionString); MySqlDataAdapter.Fill(MyDataSet,"MyDataTable"); And the MyDataTable now has a Row like this: 00000001 John Doe ,so in the MyDataTable the Rows.Count=1 ...
Score c# Crystal Report SetParameter question
Jason Huang - 11 Feb 2006 5:10 AM - 2 messages
Hi, In my C# windows form project, it has a form frmReport and a crystal report rptCustomer. The rptCustomer has 2 parameters, CustID and CustName. Saying now in my frmReport, I build a DataSet rDS on the runtime and it has ...
Score button images..
Jessica Weiner - 11 Feb 2006 4:06 AM - 3 messages
I need buttons in my application that have a jpeg skin. However, I dont want to include the jpg file in my distribution package. How can I incorporate the jpg into c# code? Maybe by converting it to Hex code? Please let me ...
Score button images.
Jessica Weiner - 11 Feb 2006 3:15 AM - 2 messages
I need buttons in my application that have a jpeg skin. However, I dont want to include the jpg file in my distribution package. How can I incorporate the jpg into c# code? Maybe by converting it to Hex code? Please let me ...
Score button images
Jessica Weiner - 11 Feb 2006 3:14 AM - 2 messages
I need buttons in my application that have a jpeg skin. However, I dont want to include the jpg file in my distribution package. How can I incorporate the jpg into c# code? Maybe by converting it to Hex code? Please let me ...
Score jpeg icons
Robert - 11 Feb 2006 3:08 AM - 3 messages
I need buttons in my application that have a jpeg skin. However, I dont want to include the jpg file in my distribution package. How can I incorporate the jpg into c# code? Maybe by converting it to Hex code? Please let me ...
Score Recomendation for third party tool to create glyphs/images on toolbars
Luis Arvayo - 11 Feb 2006 2:58 AM - 2 messages
Hi, I hope this is the correct place for this post. What is your favourite graphic tool for building the glyphs/images/icons on toolbars ?. Photoshop, PaintShop Pro, or ?. I mean 16x16 or 24x24 - 24 bit bitmaps to use on toolbars. ...
Score Speed of switch/case vs hash table for parsing XML
_DS - 11 Feb 2006 12:34 AM - 6 messages
I'm currently using a switch with about 50 case statements in a stretch of code that's parsing XML attributes.  Each case is a string. I'm told that switch statements will actually use hash tables when number of cases is around 10 or more, so I haven't changed the code. ...
Score C# version of clsftp?
David - 10 Feb 2006 11:36 PM - 5 messages
Is there a c# version of Microsoft's vb.net clsftp code? ...
Score getting a reference to a property of an object
hamerb - 10 Feb 2006 10:55 PM - 6 messages
So the line of code I'm working on is something like this: func(ref obj.GetType().GetProperty(PopertyNameSring).GetValue(obj, null)) This ofcourse doesn't work since the GetValue method gets me a read only value, not a reference to the property. ...
Score Forms Designer and Dynamic Panels
Zach - 10 Feb 2006 10:12 PM - 3 messages
I have a situation similar to what you see in Visual Studio Options menu.  A Tree View on the left, and depending on what type of node you click it dynamically loads a panel into the right hand side of the ...
Score Enumerate directories on a FTP Server
sri_san - 10 Feb 2006 9:37 PM - 2 messages
Hello,         I wonder if there is a way to enumerate the directories ( not the files in a directory) on a FTP Server? There has to be. Just that I am not sure how to implement it in C#/VB.NET. ...
Score Which interface to implement
preport - 10 Feb 2006 9:22 PM - 3 messages
Hopefully someone can clarify some of this for me. I am confused on what classes I should implement if I want to utilize the List<>.BinarySearch() and Sort() My class currently looks like: public class MyClass : IComparable, IComparer, IEquatable<MyClass> ...
Score Form.Height depending on Windows style?
Rune Jacobsen - 10 Feb 2006 9:04 PM - 2 messages
Hi all, I have an application with one particular form that lists a number of items in a listview. In addition to the listview, there is a panel on top with some simple controls to go back and forth to the next and ...
Score delegates and inheritance
codefragment - 10 Feb 2006 8:59 PM - 10 messages
Hi   I just had a bit of a surprise, I expected this to work! public class A { } public class AChild : A { } public class B { } public class BChild : B { } public delegate A TheDelegate(B b); private AChild Func(BChild b) ...
Score quick easy answer for this question
jimi_xyz - 10 Feb 2006 8:31 PM - 8 messages
I am kind of new to C sharp; I have a quick question I have multiple text boxes 12 of them to be exact. What I want to do is fill them with values that are in a array of integers. The way I am currently doing ...
Score Where to download the Framework from?
Doru Roman - 10 Feb 2006 7:57 PM - 3 messages
Is there a link where we can download the framework from for free? ...
Score Inerop help
yuriy_zubarev - 10 Feb 2006 7:55 PM - 2 messages
Greetings, I apologize for re-posting this, but I'm running out of options on my side. I've got a DLL that's not COM compatible and I'm stuck using interop for the first time. I got couple of simple DLL calls all right but ...
Score What's the name of my own process?
UJ - 10 Feb 2006 7:36 PM - 3 messages
I need to find out what the name is of the process that I'm running. I can get a list of processes but I don't which one is me. How do I figure that out? TIA - Jeff. ...
Score Socket.Send Exception Delay
CKane - 10 Feb 2006 7:35 PM - 2 messages
i am trying to build a "missed message" queue on a C# TCP server. many of the devices connecting are mobile and may drop out in bad signal areas. i want to store any messages missed for when they reconnect. ...
Score Excel Data
Peter - 10 Feb 2006 7:28 PM - 5 messages
Does anyone know a way to import excel data very fast? I have spreadsheet data that has to be processed, the spreadsheet has 256 columns and 20,000 rows of data. That's 5,120,000 cells. The cells can contain any type of data, but the data has to be coverted to ...
Score Dictionary<> and Inheritance
Brian P - 10 Feb 2006 7:19 PM - 9 messages
I want to expose a property of Dictionary<string, MyAbstractClass>. I tried to do it this way: private Dictionary<string, MyChildClass> _dictionary; public Dictionary<string, MyAbstractClass> {    get { return _dictionary; }    //error: no implicit conversion. ...
Score Retrieving Custom Attributes from a property using StackTrace
Mark R. Dawson - 10 Feb 2006 6:59 PM - 4 messages
Hi all,   I am trying to get custom attributes from a property.  I can do this if I pass in the name of the property i.e. "Name" to the reflection methods, but if I pass in set_Name which is what the set piece of the Name property gets ...
Score Why ProjectName.pdb exists in the release dir?
GG - 10 Feb 2006 6:58 PM - 2 messages
I see ProjectName.pdb for console applications and ProjectName.vshost.exe for windows application after compiling a release with C# 2.0. Is this normal? Why is the debug file needed in a production machine? Is this going to slow performance? ...
Score SHould I use Crystal Reports or Active Reports?
VMI - 10 Feb 2006 6:54 PM - 4 messages
I know this may not be the best NG for this, but I feel you guys know more about this than any of the other NGs. I need to build several simple reports (over 50 of them and they get their ...
Score Why can't I use SortedList<T, T>?
Brett Romero - 10 Feb 2006 6:28 PM - 6 messages
I'd like to type a SortedList as very generic on class instantiation: SortedList<T, T> _sl; Then in two particular methods of the class that is called first(of which only one or the other is used per instance), I will do ...
Score Explorer context menu problem
gilad - 10 Feb 2006 6:15 PM - 3 messages
Hi, I seem to be having a problem getting a context menu to work in Explorer. The menu item installs fine, but when I click it a message box should pop up indicating the command was received and handled. Unfortunately, nothing occurs. ...
Score determining the status of a stream
Lee Crabtree - 10 Feb 2006 6:09 PM - 2 messages
Is there some way to find out if a stream is already open?  In particular, I want to be able to switch from a NetworkStream to a FileStream depending on input.  I know I can use a Stream object and ...
Score Going from string to enum?
Brett Romero - 10 Feb 2006 6:07 PM - 3 messages
I'm trying to supply an enum value to an enum property but get a specified cast is not valid error: fr.CompareC = (Comparison)this.cmbCCountComparison.Items[this.cmbCCountComparison.SelectedIndex] Above errors out.  In the fr class is: public enum Comparison{Equal, Greater, Less}; ...
Score Checking an ENUM
Jon - 10 Feb 2006 5:52 PM - 4 messages
Hello all, Is there a way to loop through a ENUM, like using a foreach loop? I'd also like to know if you can do a 'Contains' or like method on an ENUM. Thanks all, JY ...
Score Mutexes....
UJ - 10 Feb 2006 4:55 PM - 3 messages
Is there a way to get a list of all the mutexes that have already been defined? TIA - Jeff. ...
Score multilingual solutions
Andrew Bullock - 10 Feb 2006 4:49 PM - 3 messages
Hi, Does VS 2005 (C#) have built in support to allow applications to be multilingual, or will i have to program the functionality myself? Thanks Andrew ...
Score char[] to char
Gras666 - 10 Feb 2006 4:04 PM - 3 messages
Hi, I'm trying to learn some basic encoding with c# for a command line program and i have the following code:         static void Main(string[] args)         { ...
Score Repeater Problem
Frank - 10 Feb 2006 3:55 PM - 2 messages
I am having a problem with using a repeater control. I have no idea what I am doing wrong. It compiles but nothing displays. Can anyone help? Here is the code: ASPX File: <%@ Page language="c#" Codebehind="profile.aspx.cs" AutoEventWireup="false" ...
Score C# FTP using .NET 2.0
Tim Cowan - 10 Feb 2006 3:53 PM - 3 messages
Hi, Does anyone have any examples/tutorials of FTP functionality using .NET 2.0? I want to connect to the server, get a list of files and download/upload all in C#. Can someone help? Thanks Tim ...
Score the dismatching error with "unsafe"
shengmin.ruan - 10 Feb 2006 3:52 PM - 3 messages
i need to use the native code(unmanaged code),and i have to use void*,so i use the "unsafe" symbol then i meet the trouble c++code: SC_InitAsk sca; memset(&sca, 0, sizeof(sca)); sca.m_Head.m_nType = SC_INIT; ...
Score C# on Non-MSFT OS's?
Obergfell, Joe - 10 Feb 2006 3:45 PM - 2 messages
Sorry if this is an ignorant question but I am just shooting in the dark here... I am just wondering if it is possible to have C# on non Microsoft Operating Systems.  Like, lets say.... Linux.  Is anyone out there using ...
Score Constants for DB Fields in Front End a good idea?
OldMacDonald - 10 Feb 2006 3:40 PM - 5 messages
Was wondering if anyone uses constants for field names coming from the db stored procedure whihc return the query result? If the field name in the DB changes, it surely helps but the work around I usually use is the alias in the query? Any suggestions or idea? ...
Score C# counterpart to VB.NET Redim
Niklas - 10 Feb 2006 3:39 PM - 5 messages
Hi What is the best way to enlarge an C# array which already have values? In VB.NET I would do ReDim Preserve A(10) regards /Niklas ...
Score Using american dates by default
thechaosengine - 10 Feb 2006 3:09 PM - 7 messages
Hi guys, I'm developing a web app on a UK computer. When I put a date into a textbox, its in the format DD/MM/YY. The DateTime object takes that in and handles in perfectly. Now, I need to start using the american format MM/DD/YY. ...
Score Xml-Rpc + Mysql.NET = Threading problem
# Cyrille37 # - 10 Feb 2006 3:08 PM - 13 messages
Hello all, I come to you to getting help for managing multi threading and database connection. My project use Xml-Rpc to receive messages, so each call come from a different thread. Incoming calls are executing SQL on a MysqlConnection. ...
Score Process Name = ?
UJ - 10 Feb 2006 2:36 PM - 5 messages
Is the name of process always the name of executable that is running? I'm assuming a single process for a program. So in other words - if I want to check if a program is running, can I do a ...
Score Setting properties by name
Alexander Walker - 10 Feb 2006 1:58 PM - 12 messages
Hello I would like to write a method that allows me to pass a reference to an instance of a class, the name of a property of that class and a value to set that property to, the method would then set the property of the instance to the value ...
Score Global Constants?
Greg Smith - 10 Feb 2006 1:54 PM - 7 messages
Is it possible to declare a global constant? I would like to have a constant visible throughout the application but I can't get the syntax correct to make it global. Any help is greatly appreciated. ...
Score Suggestions for Trade Shows
UJ - 10 Feb 2006 1:45 PM - 2 messages
My company is thinking of sending me to a trade show/training but the classes they offer look pretty lame (their emphasis seems to be Access/Lotus Notes/...) Not real technical. Can anybody make suggestions of shows/training that they would recommend for ...
Score ReleaseComObject
Christian Havel - 10 Feb 2006 1:39 PM - 2 messages
Hi, I have the problem, that I receive a ReleaseComObject exception from a used framework which is based on the Microsoft Enterprise Library. How can I find out, from whom this exception is thrown? Thanks Christian ...
Score Forms widget updating
PT - 10 Feb 2006 12:09 PM - 3 messages
Hi, I have created a basic form that contains a menu and tab control and a widget that a directx is rendered too, if I remove the directx rendering all is well, but when it's rendering non of the other widgets on the form will ...
Score transparent
Hrvoje Voda - 10 Feb 2006 12:05 PM - 3 messages
I manage to put an image into popupmenu, but I can't get a transparency. BackgroundColor is white. Hrcko ...
Score Dispose() in Partial Class
JamesB - 10 Feb 2006 12:00 PM - 2 messages
I have been migrating my code from .NET 1.1 framework to .NET 2.0 framework. With the designer generated code, the Dispose() method is put in the <Name>.Designer.cs partial class. How is it possible to add resource cleanup code to a user control/form (as I ...
Score Form Maximize problem
John - 10 Feb 2006 10:44 AM - 14 messages
Hi, I have on form MenuBar, Toolbar, and Grid control. Form property is set to form opens as Maximized. Form maximizes through whole screen, but I don't see bottom part of grid, because TaskBar (of Windows) is above grid. Why form maximizes below ...
Score serialisation issues
Dan - 10 Feb 2006 9:47 AM - 7 messages
I seem to find serilisation strangely difficult, i do the following: Create a memory stream Create a binary formatter Read my object into the memorystream by using the binaryformatter serialise method then i send the memorystream.getbuffer over the socket. ...
Score Can't open Workbook...(Excel 2003 and C# Visual Studio 2005)
Dominic - 10 Feb 2006 9:22 AM - 3 messages
Hi I've done a lot in Excel Automation in prior C# and VB.Net Versions...but I've no chance just to open an Excel Workbook with Visual Studio 2005. I've go always these HRESULT-Failures...:-( Thanks for your help... ...
Score Tabpage Renaming
Ratan - 10 Feb 2006 9:17 AM - 5 messages
I have a form that has a tabcontrol with 5 tabpages. i want to rename the tabpages in runtime. Actually i want to right click the tabpage i want to rename and edit the text there itself.   How to acheive it?   Any help will be greatlty appreciated. ...
Score ListChangedEventArgs.PropertyDescriptor always null
tomb - 10 Feb 2006 9:16 AM - 2 messages
[2.0] My CustomCollection has several events based on ListChanged collection management, when the ListChanged event is raised the ListChangedEventArgs.PropertyDescriptor property is always null. Any suggest? ...
Score C# counterpart to VB.NET Implements
Niklas - 10 Feb 2006 9:12 AM - 7 messages
Hi I have an Interface with some methods but I dont want the class which implements this Interface to have the same method name as the interface method names. In VB.NET I can use implement but have do I do it i C#? ...
Score DOS exe output?
AxOn - 10 Feb 2006 8:59 AM - 2 messages
Hi, I have a small dos program that compiles txt files. The dos program checks the text file, and if there's an error or if the text is ok it sends a message to the dos prompt. I would like to capture this message ...
Score Newbie
Chak - 10 Feb 2006 8:50 AM - 3 messages
I have 4 newbie questions regarding C# . Hope they are not too raw :- 1) As a migrant from COBOL to Java, i was amazed to see a main() method of a class creating an object of its own class !  I used to ask myself how a ...
Score mouse event won't fire again until click on other cell
Ryan Liu - 10 Feb 2006 7:34 AM - 3 messages
Hi, I need the MouseDown event be trigged everytime when you press mouse in a datagrid (System.Windows.Forms). But seems mouse event will only fire once, and it seems changed to edit mode for the cell (even the cell is read).  The mouse event won't fire again ...
Score Registering in GAC
Kiran A K - 10 Feb 2006 7:21 AM - 3 messages
hi, i registered a .NET Assembly (a DLL) in the GAC. i am able to view the assembly (named "Vehicle") in the GAC. however, in VS.NET this assembly is not appearing in the list of ..NET components when i click on "Add Reference". ...
Score "&" symbol in querystring
beachboy - 10 Feb 2006 5:15 AM - 3 messages
I have a problem if the parameter has a "&" symbol in querystring, i think asp.net will split the value into 2 values as "&" is a spliter any advise can give me to solve this problem? P.S. I can't restrict user don't input "&" symbol when input ...
Score Multithreading and Database operations.
bob - 10 Feb 2006 5:01 AM - 4 messages
In an effort to keep my UI responsive I have begun to run my time intensive methods on their own thread and in particular the database inserts. I open my DB connection in the constructor and close it in the dispose ...
Score Singleton class in C#
Tim - 10 Feb 2006 4:42 AM - 3 messages
How can I expose a Singleton C# class to COM? I have implemented the singleton pattern for the C# class. The 'constructor' of the class is protected. Now, I want to expose this class to a VB6 exe. But COM expects the default constructor of the class to be available for ...
Score WMI only loads process in background in remote machine
madhavan s - 10 Feb 2006 3:13 AM - 2 messages
would like to launch an application on a remote computer that is interactive with the desktop. I am using C# and WMI. The code I have here just loads the process in the background and that is not what I ...
Score GetProperties and Property Order
Bevan Arps - 10 Feb 2006 2:55 AM - 14 messages
I have a simple question, but one to which I haven't (after a whole bunch of Googling) been able to find an answer:          Are there any guarantees to the order of PropertyInfo ...
Score can c# translate a language to another one?
tt1027 - 10 Feb 2006 2:01 AM - 4 messages
for example,  japanese to chinese,  how? ...
Score Is this right?
J-T - 10 Feb 2006 12:23 AM - 4 messages
Is there a problem of defining a category object like below. I am just trying to create a proof-of-concept sort of application (and I don't want to use database) , so I have to sort of hard code the data. ...
Score form over form
Pohihihi - 10 Feb 2006 12:03 AM - 4 messages
How can I have say FormA over FormB, very much like ShowDialog but still able to work with FormB that is below it? Thank you, Po ...
Score How to get extended attributes about a file/folder in c#?
rh.krish - 9 Feb 2006 11:46 PM - 3 messages
I'm writing a web application where I have to present an interface in browser which looks like a windows explor. I need to populate filename, size, type, modified date, owner, attributes, etc... I'm able to get filename, size, type and modified date from FileInfo ...
Score Make Thread-Safe Calls to Windows Forms Controls
Alexander Walker - 9 Feb 2006 10:59 PM - 8 messages
Hello I want to get the value of a property of a control from a thread other than the thread the control was created on, as far as I can see this is not the same as invoking an operation on a control on a different thread I have used the ...
Score DAL design, assemblies and OO ?(s)
Steve - 9 Feb 2006 10:57 PM - 8 messages
Hi all, I'm designing my DAL layer(s) for our suite of applications and I'm designing myself in circles, it's gotten to the point where each idea just mixes me up more :) We have 3 loosely related applications and I would like to use an assembly ...
Score How to XMLSerialze an object which has an object array as filed?
Jack - 9 Feb 2006 10:36 PM - 2 messages
Hi, Could anyone give me some help about the following problem? I need to XMLSerialize an object of the following class: [Serializable] public class FunctionCallingList {        public string typeName;        public string methodName; ...
Score Event and Event Handlers.
00unknown.user00@gmail.com - 9 Feb 2006 10:26 PM - 3 messages
I'm trying to figure out if there is any way to determine if a class has already registered as a handler for an event.  Let's say I've got a class Emitter that has an event EmitterEvent ...
Score Is this a Late Binding question?
Michael H - 9 Feb 2006 9:51 PM - 3 messages
Hi all, I am trying to write code that works against Microsoft Office Primary Interop Assemblies (PIA) and Windows Desktop Search (WDS). The problem is, whereas I have these available on my dev machine and have written a lot of functionality regarding these DLLs and placed them into my ...
Score Archetictural Question?
kalamantina - 9 Feb 2006 9:34 PM - 4 messages
what is the best solution to create an object that contains data representing a SYMBOL.  The object should be able to accept changes to the internal data and alert other objects when the data has changed. I am thiking of a broadcast situation. ...
Score DataGridView Flaf (Create columns)
BrianDH - 9 Feb 2006 9:31 PM - 3 messages
Hi VS 2005: C#: I have a DataGridView controls that I bind to a dataset.table[0] froma web service. .. At design time I add my columns via the collection within the grid control. However, when I run the application it loads the data in new columns that it ...
Score Please help! HTTP protocol violation error using HttpWebRequest
Tom - 9 Feb 2006 9:23 PM - 8 messages
Hello all: I have a method that does a POST to a secured website using HttpWebRequest. It worked when logging in the site, but it failed with an HTTP prococol violation error when it is used to retrieve a report. ...
Score mileage chart program
t - 9 Feb 2006 9:10 PM - 4 messages
Does anyone know of a software that calculates mileage chart(not msmappoint or what ever they call it please)? If not, how do you write the software? I just can not figure it out.  Has anyone tried it.  By the way it is a non us country where I have to ...
Score returning a string back after a HTTP Post
arfeengodil - 9 Feb 2006 8:21 PM - 2 messages
Hi, I need to have a web application such that other applications should be able to do send data to it using HTTP Post. So I created a ASP.NET web service and defined a web method for other people to POST data to. But the string returned back to the person who ...
Score Masked textbox alignment?
Brett Romero - 9 Feb 2006 8:19 PM - 3 messages
I have a masked textbox that excepts values of 0 thru 99.  The mask is 00. Tabbing into this box is fine but if you click into it, you are one space over from the left.  This means you can only type one number.  So ...
Score Calling SQLServer Proc: If nulls passed, proc changes value to '0.0'
Phil Mc - 9 Feb 2006 7:49 PM - 2 messages
Trying to call a stored proc but some times don't want to have values inserted in some fields. Hi I am rewriting a VBS script which called a stored proc in a SQL server db. The proc takes a number of values both char and floats. ...
Score Panel and Checkbox have been created and NullReferenceException was thrown ...
Wolfgang Uhr - 9 Feb 2006 7:44 PM - 5 messages
Hello I've the following code    Panel pnlData = new System.Windows.Forms.Panel();    CheckBox checkBox = new System.Windows.Forms.CheckBox();    checkBox.AutoSize = true;    checkBox.Dock = System.Windows.Forms.DockStyle.Top;    checkBox.Name = "checkBox"; ...
Next »