|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
DataGrid OnPaint/? -How Do I Draw A GDI Type Circle On Top Of A DataGrid
Richard -
26 Mar 2005 10:33 PM - 3 messages
I want to put a GDI type circle on top of my DataGrid (actually I want to put GDI colored border around the entire selected row, but if I can figure out how to put a circle on top of it I can do the border) ...
How to format a DataGrid with a DataRow[] as DataSource?
Juan -
26 Mar 2005 9:42 PM - 2 messages
I have a DataGrid control with a DataRow as Data Source and need to format the displayed columns (Can i use a TableSytle?). Thanks, Juan. ...
exporting datagrid to excel
Mike P -
26 Mar 2005 7:02 PM - 1 message
I'm exporting a datagrid to excel, but I can't get non-English characters such as ö, ä and å to appear properly in the Excel document (they are fine on my webpage). Here is my code : Response.Clear(); ...
ASP.Net How to
Jacek Jurkowski -
26 Mar 2005 6:37 PM - 5 messages
How to put a site into a DIV of parent site? Or should I use other control maybe? ...
Passing a Derived Object as a Reference Parameter
Bruce -
26 Mar 2005 4:58 PM - 6 messages
How can I create a method that will take any object derived from a base class as a reference parameter? Something like this: void DestroyObject(ref BaseObject obj) { obj.Dispose(); obj = null; } DestroyObject(ref derivedObject1); DestroyObject(ref derivedObject2); ...
folderBrowseDialog.Location
Wilfried Mestdagh -
26 Mar 2005 2:53 PM - 1 message
Hi, How to set FolderBrowseDialog.Location ? I want to position it in the center of the calling form. Is this possible ? ...
Visual 2003 and .net framework 2.0
pzielinski@hotpop.com -
26 Mar 2005 2:04 PM - 3 messages
I use visual c# 2003. I have downloaded .NET framework 2.0(sdk). How can I use components(from .net 2.0) in visual c#? ...
Asynchronous Beep
Ferhat Akcin via .NET 247 -
26 Mar 2005 1:47 PM - 2 messages
Hi all, I have a picture box which blinking each quarter a second. I want to Beep() whenever it blinks. I tried the PInvoked Beep function, but it blocks the thread. I am sure it is pretty simple, but need to use another thread, but I could not synchronize the visual and audio parts. ...
Capture audio - make visualizations
.:.:. igor_sb .:.:. -
26 Mar 2005 1:47 PM - 2 messages
I would like to make Vu-meter (audio level meter). I found axControl for drawing audio level but now I have to capture audio... HOW?? Thanks! Igor ...
How to implement a big interface
Ronchese -
26 Mar 2005 1:18 PM - 4 messages
Hi all. I need implement a interface in my new dll project. The problem is the interface class have so much methods, properties and events, and seems that i need implement that manually. There are some way to get that inteface automatically in C#, like VB.NET do? ...
Drawing images and see by people in the same network or internet?
Chua Wen Ching -
26 Mar 2005 12:45 PM - 2 messages
Hi, I need some ideas to get this started. Just say i draw a UML diagram and all my friends who in the network (just say 3 people), can see the diagram. So it must be real time. ...
c# winform text editor control
Devhead -
26 Mar 2005 12:08 PM - 3 messages
i have an delphi application that i'm converting over into c#. one of the controls on one of my forms is a rich text control. the text is saved as html to an sql server db. is there a winform text edit control out there ...
Ado error?
perspolis -
26 Mar 2005 11:56 AM - 3 messages
hi all I configured a SqlDataAdaptor to generate dataset but in the final step it gives me following error "ADO error: Cannot resolve collation conflict for column 2 in SELECT statement." what's this error??and what am I doing wrong?? ...
Passing arrays to seperate class files
David -
26 Mar 2005 11:31 AM - 2 messages
Hi all, I am fairly new to C#. so go easy on me :-) Anyhow, I have a class file that I have set up properties and a method. I am calling this class file directly from and aspx.cs file. So far, it ...
ASP.NET and javascript
Viktor Popov -
26 Mar 2005 11:23 AM - 1 message
Hi, I have an javascript function: function handleSelectClick() { selectObj = document.forms[0].functionselect; // <select> control in which I have many names of people textObj = document.forms[0].functioninput; //<input> control in which I ...
Documentation wiki for HtmlEditor
Tim Anderson -
26 Mar 2005 10:56 AM - 1 message
I've set up a documentation wiki for the HtmlEditor, a C# control which wraps Mshtml: [link] It's still very early days; but I expect a lot of the material will be ...
project or solution ?
Wilfried Mestdagh -
26 Mar 2005 10:55 AM - 2 messages
Hi, I use C#2005 beta. If I start a new project I have a .csproj and a .sln file (project and solution). What is the difference ? I can open both with same result. ...
dynamic class loading
KC Eric -
26 Mar 2005 9:55 AM - 5 messages
Hi all, If someone has compiled a dll for the some classes, and I want to use the dll in another project, how can I know the class available in that dll file? Thanks! KC Eric ...
Best language for music apps
_R -
26 Mar 2005 9:53 AM - 3 messages
I know VC++ and C# fairly well, but I'm trying to weigh pros and cons for use of each on a music project. It will entail MIDI and sample playback, use of fairly high-res timers (if available) and quick ...
broadcast engine for file transfer
parijat parimal via .NET 247 -
26 Mar 2005 9:09 AM - 2 messages
hello everyone i'm developing a broadcast file transfer engine.kindly tell me how i should i begin with. i've done the development of multicast file transfer engine. is it the similar way to go. kindly help me out ...
Asynchronous UDP Server not working..help pls????
Chakkaradeep -
26 Mar 2005 7:19 AM - 4 messages
Hi all, i tried creating a UDP Asynchronous Server.....but am getting errors and am not able to figure out why!!!......... here is the code........... *****************************code starts ******************** m_mainSocket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ...
DTS execution fron C#
Andres Romero -
26 Mar 2005 4:19 AM - 2 messages
Hello I need some help for dealing with DTS executions and take errors by tasks. Some help? Thanks ...
calendar
chris -
26 Mar 2005 4:13 AM - 4 messages
Hi, I get the date from a calendar and put it into a text box. TxtDate.Text = Calendar1.SelectedDate.ToShortDateString(); But I would like to also do it the other way around. That is, convert the textbox to a calendar date, so that the calendar (when you open it) has the ...
How to make VS always build program when project configuration are out of date instead of asking me
zlf -
26 Mar 2005 4:12 AM - 1 message
While I build the project after making a few changes to it, visual studio will prompt me :"These project configuration(s) are out of date:...Would you like to build them?". It is annoying. What I want to do is make visual studio automatically choose ...
TextBox Sound Problem.
ShoCkwave -
26 Mar 2005 1:36 AM - 3 messages
I assigned Enter key to do sth after I write sth to a TextBox but I gives me a system sound like "this is not multiline textbox enter does not work here " and Beeps. I dont want this sound to be played. How can I avoid this? Thanks... ...
export datagrid to excel
Mike P -
26 Mar 2005 1:17 AM - 1 message
I'm exporting a datagrid to excel, but I can't get non-English characters such as ö, ä and å to appear properly in the Excel document (they are fine on my webpage). Here is my code : Response.Clear(); ...
how to work with 3rd party SDK
Sam Carleton -
26 Mar 2005 1:05 AM - 2 messages
The 3rd party SDK that I would like to use in C# (I am an C/C++ programmer) is designed to be used from C/C++. This is how it works: The vendor is abstracting things a bit. The real DLL has only one ...
socket non blocking of receive
Dave -
26 Mar 2005 12:17 AM - 2 messages
I'm using the following statement to receive info from a TCPListener socket, Int32 bytes = s.Receive(RecvBytes, RecvBytes.Length, 0); It works fine but it blocks. I need the receive to not block. On my TCPListener I just check intermittently for a connection using pending. This ...
Turn Off Windows Form DataGrid Selected Row Little Pointer On the Left Of The First Row And the Area
Richard -
26 Mar 2005 12:10 AM - 2 messages
DataGrid Row Second Row Selected. How do I not show that blank row with the abc abc abc abc abc abc abc abc abc abc abc abc ...
Ownerdrawn Combbox
mnsindhu74 -
26 Mar 2005 12:03 AM - 2 messages
hi I am creating an ownerdrawn combo box. I will need to display icons/images in the edit portion of the combobox. I retreived the handles of Edit and List portions with ComboBoxInfo structure. Then I created a class inherited from NativeWindow. This class is assigned the ...
head scratcher...
Robert Megee -
26 Mar 2005 12:00 AM - 7 messages
My development platform is a widows2000 pro. I built a web app that takes a file name and opens a file from an nfs mounted directory. The files reside on a unix based server. This works fine. ...
Text property and the Toolbox
steve bull -
25 Mar 2005 11:22 PM - 3 messages
I have created a label control and got it to appear in the toolbox. The problem I have is that while all the other properties appear for the contro I can't get the Text property to appear at all. I have tried in both the DataBindings ...
Database paths in a web app
Adam Clauss -
25 Mar 2005 11:21 PM - 3 messages
I am developing a C# web application from a machine running Windows XP. The web server is a remote machine running Windows Server 2003. As a data source in this application we are using an Access database (.mdb). Right now, this database is simply residing in the root folder of the ...
converting c/c++ programs to c#
neil morris -
25 Mar 2005 11:08 PM - 2 messages
Hi Other than manualy goto though line by line of c/c++ source code to rewrite for the c# language is there an automated way of doing it? or is there a good c/c++ compiler that can compile GNU source code? ...
COM+ and .NET
Bill Gregg -
25 Mar 2005 9:57 PM - 1 message
I'm trying to create a .NET dll and make it available to a web server running old ASP pages. My current application consists of VB6 DLLs exported via COM+ and created as objects on the Webserver. I've created a simple ServicedApplication and registered it on the ...
different types of Controls as a parameter
Craig -
25 Mar 2005 9:45 PM - 4 messages
I want my method to be able to take any control and manipulate the control....for example change the Location of the control. I get error messages when I compile saying for example "Can't convert from ref Label to ...
Linker error Help!
Jon Pope -
25 Mar 2005 9:23 PM - 4 messages
For the last six months, I've been able to compile my C# solution in VS2003. Suddenly this morning I get the following error: "Satellite build for culture 'fr' failed. The assembly linker could not be launched. The system cannot find the file specified." ...
Capture cmd line traffic for windows application
thompson_38 -
25 Mar 2005 9:09 PM - 5 messages
I have a COM object that wraps a console application. This console app outputs strings, using tprintf statements, throughout execution. I would like to capture that output from the console app and display it in my C# Windows.Forms test application. I have tried StreamWriter, ...
Adding a column
web1110 -
25 Mar 2005 9:04 PM - 1 message
Hi y'all., I have a DataGrid displaying data from a table. I have used DataGridTextBoxColumn to format the columns sucessfully. Now I want to add another column to the DataGrid. I tried creating another DataGridTextBoxColumn and adding that to the ...
Attributes and Properties
Chuck Bowling -
25 Mar 2005 8:35 PM - 7 messages
Is there any justification - from an OOP perspective - for wrapping an attribute in a Property beyond the ability to restrict access? private int myInt; public int MyInt { get { return myInt; } set { myInt = value; } } Is there any value in the above as opposed to simply making myInt public? ...
Handling Properties Limits
Demetri -
25 Mar 2005 8:19 PM - 2 messages
I am developing the middle tier of an application. The middle tier will return custom classes that represent the data in the database. So then let me illustrate my problem: Database has a table called Person. In the Person table is a job description ...
Associating an Embedded Icon with Application's Documents
carl.manaster@gmail.com -
25 Mar 2005 7:43 PM - 1 message
Hi, In <[link], back in 2003, "SleazySt" wrote that Is this still true? I am trying to associate an icon with my documents; I'm using the Inno Setup installer ...
Refreshing an aspx mobile page in CSharp
Chumley Walrus -
25 Mar 2005 7:42 PM - 3 messages
I'm trying to either have a user hit a Refresh button to refresh a mobile aspx (c-sharp behind code) page , or using an automatic refresh every 3 minutes on the page. <META HTTP-EQUIV="Refresh" CONTENT="180;url=mypage.aspx"> just does not work on any of my aspx ...
Debuggin a form in VS.NET
John Bailo -
25 Mar 2005 7:05 PM - 5 messages
I am trying to debug a form in VS.NET 2003 I set some breakpoints for a treeview click event. This is what happens: The form loads. I click a node in treeview The break point is hit At this point, the form is frozen...I cannot minimize it and it blocks ...
byte code libraries....
Dean Hiller -
25 Mar 2005 7:03 PM - 5 messages
I would like to clone the verifydesign ant task from Java so I can use it with NAnt. Are there any C# byte code libraries available(like Apache's bcel for Java). thanks, dean ...
One thing I miss from VB6
John Bailo -
25 Mar 2005 6:56 PM - 3 messages
Doing some c# client programming in VS.net One thing I miss is that in the code view I could set the focus to a form object in the left hand drop down ( like a TreeView control ) and then the right hand drop down would expose only the properties and ...
Interop COM in C# - can't get the object released
Alan -
25 Mar 2005 6:55 PM - 4 messages
I am trying to develop an ATL COM object together with a C# web application that will host it. I am following the COM Interop Part 1: C# Client Tutorial, Example 2, The C# Code Approach from the April 2004 ...
How'd they do that?
dkocur -
25 Mar 2005 6:47 PM - 3 messages
I'm trying to implement a custom collection, but I'm having trouble trying to duplicate some of the "features" found in the generic collections. Specifically, implementing both the IEnumrable interface as well as the IEnumerable<T> interface. When I click on "Goto Definition" of List<T> it ...
problem exporting datagrid to excel
Dave Bailey via DotNetMonster.com -
25 Mar 2005 6:46 PM - 2 messages
I am using the following code to export a datagrid to excel from an asp page: private void exportButton_Click(object sender, System.EventArgs e) { Response.Clear(); ...
problem exporting datagrid to excel
kscdavefl -
25 Mar 2005 6:43 PM - 1 message
I am using the following code to export a datagrid to excel from an asp page: private void exportButton_Click(object sender, System.EventArgs e) { Response.Clear(); ...
How to display multicolumns and get back multi selections form lis
Alpha -
25 Mar 2005 6:43 PM - 19 messages
Hi, I'm working on a Windows applicaton with VS 2003 on windows 2000. I have a listbox that I have binded to a dataset table, "source" which has 3 columns. I would like to display 2 of those columns, "scode" and "sname", as 1 column ...
dll import
Jason -
25 Mar 2005 6:09 PM - 3 messages
I have created a dll from a C++ class using .Net and have imported it into my C# applications (one webservice, one standalone app). It works fine for a while, but will eventually fail to produce the error "System.NullReferenceException: Object reference not set to an instance of an ...
Enterprise Services
mark -
25 Mar 2005 6:02 PM - 3 messages
Could someone please summarize in 3 sentences or so what exactly Enterprise Serivces from Microsoft comprised of PRIOR to .NET's existance? Comparing it to what it is comprised of after .NET was released would be useful as well. Thanks in advance for the clarification... ...
OutputCache with Page not working propely
Sudhir Sharma -
25 Mar 2005 5:36 PM - 2 messages
guys, I have this code in my .aspx file. <%@ OutputCache Duration="500" VaryByCustom="OrganizationID" VaryByParam="None" %> and I have overriden the method "GetVaryByCustonString()" in my global.asax.cs file. whenever the organization is changed for the Page, it should invalidate ...
RemoveMenu or EnableMenuItem not always working
Joe -
25 Mar 2005 4:06 PM - 2 messages
I have a MDI app where 2 children forms should never be closed. I'm using RemoveMenu API to remove the close X and context menu item. This works fine on one form but not on the other. The major difference between these 2 forms ...
Development machine recommendations...
craig -
25 Mar 2005 3:52 PM - 17 messages
This is a little off topic, but I thought it couldn't hurt to ask... I am about to purchase a new development laptop computer. Before I do, I thought I might ask the C# development community if there are any ...
Shared .cs files, and file locations
Dan Baker -
25 Mar 2005 3:45 PM - 3 messages
I'm relatively new to the .cs world. I would like to have some "shared" .cs files, which several solutions can use. I don't want to place these in a ..dll, I simply want them included into various applications. I have tried ...
Returning a string* as a result in WndProc
Kurt -
25 Mar 2005 3:35 PM - 5 messages
I have a C++ dialog that is sending a message to my C# window and I need to pass a string* back in the result of the message. On the C++ side this result is cast as a CString*. How do I create this string on the C# side and convert ...
Selecting text in an MSHTML component
Blake -
25 Mar 2005 3:31 PM - 2 messages
Hello, I am using an MSHTML component to allows for HTML editing in my application. I am trying to integrate this component with a spell checker component that I am using, and I would like to be able to ...
EventHandler not being caught.
vidalsasoon -
25 Mar 2005 3:24 PM - 3 messages
here is my inheritance class hierchy... System.Windows.Forms.Form Global Form1-------Form2 - Form1 and 2 each set their own form parameters. e.g. Size, color etc. - Form1 and 2 each catch their own KEYEventHandlers. This is good. ...
How do you test for an empty dataset
Mike P -
25 Mar 2005 3:09 PM - 7 messages
I have written a simple web service that basically takes a value input by a user and returns a dataset with all related data found in a database. In my client app use this code to get the data from the web service : ...
PropertyGrid CollectionEditor question
Bill Gauvey -
25 Mar 2005 3:01 PM - 3 messages
I have a class that works great within the propertygrid with an exception of one member. It is a collection of a simple class objects that I have. I have tried everything but cant get the class to display in the CollectionEditor. ...
Large xml
toto -
25 Mar 2005 2:56 PM - 2 messages
hi, how do to for optimize bind a dataset with a large xml file ? (40Go) ...
ASP.NET + javascript
Viktor Popov -
25 Mar 2005 2:49 PM - 3 messages
Hi , I have a javascript function which returns a string value in My ASP.NET applivation. Is it possible this string value to be appropriated to ASP.NET Label or some other control? If yes, coudl you give me an example how? ...
Array subset copying
Derrick -
25 Mar 2005 2:41 PM - 3 messages
If I have an array.. object[] myObjs = someMethod.SearchForObjs(); and the length of that array is 100, but I want to extract the last 80 objects into another array, what's the cleanest way to do that? Array.CopyTo seems to allow specification of target index to start copying ...
Getting types and structs defined elsewhere
Peder Y -
25 Mar 2005 1:48 PM - 1 message
Hi! [partly a cross-post with win32.gdi, but noone answers questions there, it seems] I'm working on a C# project where we need to get glyph vertices from fonts. There are several examples on how to do this in C++, but interop ...
regular expressions
Mike P -
25 Mar 2005 12:47 PM - 6 messages
I have a regular expression that I use on text boxes where I want to limit the user to letters a-z and spaces. I now need to allow characters such as ö, ä and å (Nordic characters). Does anybody know ...
Passing the name of a component and use it to do something to that component
Ivan Sammut -
25 Mar 2005 12:28 PM - 2 messages
Hi, I have an form with 64 picture boxes named pic1 ... pic64. Then I have a procedure which create a bitmap filled with red and then I place it in the PictureContainer. Now I would like to know if it is possible ...
Colour Detection In C#
Peter Hogg -
25 Mar 2005 11:43 AM - 1 message
Hello, I'm using he Windows Media PlayerT SDK header file 'WMPLib' that allows me to play media files in my windows form using the Media Player GUI. I'd like to be able to play the video and as it plays track a range of ...
asp:repeater and hashtable
Joe Fawcett -
25 Mar 2005 10:24 AM - 1 message
I'm having a problem binding an asp:repeater control to a Hashtable. Originally my code was: <ItemTemplate> <%# DataBinder.Eval(Container.DataItem, "Key") %> = <%# DataBinder.Eval(Container.DataItem, "Value") %> ...
Problem with maximating a windows Form in Pocket PC 2002
Ryan Learns Sharp -
25 Mar 2005 10:11 AM - 1 message
I've changed the WindowState of the Form to "Maximized", however, it doesn't maximate while running in Pocket PC 2002. Can anyone explain this? Thank you in advance~ ...
negative int to positive int value
bardo -
25 Mar 2005 9:21 AM - 5 messages
Does anyone know if there is a easy way to change a negitive int value into a positive int value. int a = -105 > change this to 105. With other words is there a command to change to neg sign into pos sign ? ...
WMI
Troy -
25 Mar 2005 8:08 AM - 5 messages
Hello, I'm just starting out with c# and WMI and have a few questions that seasoned coders might be able to help me with. I'd like to write a console app that would query a server and pull out all the errors in the system and ...
ÈçºÎ°ÑSQLÊý¾Ý¿âͼÏñÊý¾ÝÖ±½Ó·ÅÈëImageͼÏñ¿Ø¼þ
xkw -
25 Mar 2005 6:46 AM - 2 messages
¸÷λ¸ßÊÖ£º ÈçºÎ°ÑSQLÊý¾Ý¿âͼÏñÊý¾ÝÖ±½Ó·ÅÈëÖ¸¶¨µÄImageͼÏñ¿Ø¼þ£¬ÒòΪÔÚ·þÎñÆ÷´´½¨Í¼ÏñÎļþÊܵ½ÏÞÖÆ¡£Ð»Ð»£¡ ...
picturebox image property
Jeff -
25 Mar 2005 5:58 AM - 5 messages
I've seen a couple of posts on the Internet with others having this problem, however, no one seems to have a good answer. I am working on a C# Smart Device application and have been able to browse for a PictureBox image and insert in the Visual Studio .NET 2003 PictureBox1 ...
How to switch form resource file ?
cyshao -
25 Mar 2005 5:35 AM - 2 messages
How to switch form resource file ? I have a project developed by Chinese. Now, I want to compile an English version. ( Chinese version must be remained.) How can I do that? Thanks Charles Shao :-) ...
How can i convert to c#? (typedef void (*SWFByteOutputMethod) (byte b, void *data);)
Michael -
25 Mar 2005 4:45 AM - 2 messages
Now, i'm converting some c source to c#. Then I can't convert the following statement? Help me... typedef void (*SWFByteOutputMethod) (byte b, void *data); Following is usage of it... void writeSWFFontToMethod(SWFBlock block, SWFByteOutputMethod method, void *data) ...
C# 2005 Express - Browser App Problem
JohnT -
25 Mar 2005 4:19 AM - 1 message
Hello all, Please excuse my ignorance, but I'm a newb. I was creating my first windows form app as described in the help file. I'm fairly certain that I entered everything as I was supposed to, but the ...
DataGrid Width
web1110 -
25 Mar 2005 4:02 AM - 10 messages
Hi y'all, I have resized the columns in a DataGrid and I want to set the width of the DataGrid to fit the columns. Just summing the column widths is too short due to the grid and gray row selection column on the left. ...
I have Microsoft Visual Studio 2005 express beta, is there a way to insert a print button?
paulrosenthal@juno.com -
25 Mar 2005 3:39 AM - 1 message
Hello, I have Microsoft Visual Studio 2005 express beta, and I am building a browser, is there a way to insert a print button? Thanks for the help in advance. ...
refresh()
David Sobey -
25 Mar 2005 3:26 AM - 2 messages
i'm calling refresh() on a custom UserControl, but for some reason other functions get processed before OnPaint. Any ideas why? cheers dave ...
How to add system users and groups by programming?
cyshao -
25 Mar 2005 3:22 AM - 2 messages
How to add system users and groups by programming? Thanks:-) ...
How to set default options into debugger
cyshao -
25 Mar 2005 3:01 AM - 2 messages
How to set default options into debugger I want to let debugger to run a program with special options: "-a -p" "MyProject.exe "-a -p" Where shall I set "-a -p" ? Thanks Charles Shao ...
Windows Forms
L -
25 Mar 2005 2:40 AM - 2 messages
Hi, I am writing an ftp program and I provide a form interface (say Form1) to display the status to the window. This form1 reads an ini file, which has all the settings needed to do the ftp (Ex: IP address, ...
Debugger and watch issue with strings and own defined type
Girish -
25 Mar 2005 2:09 AM - 4 messages
Ok, starting from the basics. Reference types and value types are all objects underneath. So, a String is an object as well. Now, when when we are debugging and we examine the contents of a String object - the debugger actually shows the value of containing string object ...
Windows Form DataGrid - Need A Color Border Around Only The Selected Row - Will GDI Be Required
Richard -
25 Mar 2005 1:33 AM - 2 messages
I have a lot of colors, fonts, etc. to set for rows and possibly columns, based on the information contained in the row and/or the selected row. A main one is putting a border around the entire selected row only. The border ...
Implicit conversion design issues
Girish -
25 Mar 2005 1:32 AM - 10 messages
Im trying to understand implicit type conversions from object -> string and vice versa. I have two classes, one Driver and one called StringWrapper. These are just test classes that try and emulate the pattern im trying to follow in an ...
CLSCompliantAttribute on executables
Jon Shemitz -
25 Mar 2005 1:16 AM - 1 message
I put [assembly: CLSCompliant(true)] in my executable's AssemblyInfo.cs file - and suddenly a library project it referenced stopped compiling: "... Referenced class ... has base class or interface 'System.Web.Services.Protocols.SoapHttpClientProtocol' defined in an assembly that is not referenced. You must add a reference to ...
Calendar Control in UserControl and look through usercontrol asp.n
chris -
25 Mar 2005 1:15 AM - 1 message
Hi there I want to create a UserControl which simply uses a textbox and a calendar. The calendar's visibility is set to false. If I click the ImageButton the Calendar is visible. When you select a date, the date is ...
DataSetBinding vs DataSource
web1110 -
25 Mar 2005 1:02 AM - 1 message
What is the difference between dataGrid1.SetDataBinding() and dataGrid1.DataSource= ...
Changing a default property's value
cashdeskmac -
25 Mar 2005 12:47 AM - 5 messages
I have a string which has been assigned the value of "OneTwoThree". I have created a property because I want to be able to assign a new value to this string. I have: string numbers = "OneTwoThree"; public string StringToCompare ...
MonthCalendar remove button next&previous
Dan -
25 Mar 2005 12:05 AM - 1 message
HI, How can i hide the 2 buttons (next/previous month) in the MonthCalendar Control ? Is there a way to do it ? Thank is advance Dan ...
Accesing the Active Directory
Lalo -
25 Mar 2005 12:03 AM - 2 messages
Hi everybody : I need to access the Active Directory of a server (\\server01) and check if an user exists (User : user01 / Pass : pass01). First, i need to check if the user exists and then check if the password is the user's password (user01's ...
multi-threading: locking to return a value?
Zeng -
25 Mar 2005 12:02 AM - 4 messages
Is the lock in these two places needed for multi-threading? I thought accessing a variable value should already be atomic. Thanks for your help or comments. bool stopping = false; public bool Stopping { get ...
DateTimePicker and Null Values
John Smith -
24 Mar 2005 11:56 PM - 4 messages
Hello all: Does anyone happen to know the best way to handle null values for DateTimePickers? We have quite a few columns in our db that will not necissarily have a date for certain entries. How do you allow for this? ...
Can't call objects in my business layer from a console application in my solution.
Mike Malter -
24 Mar 2005 11:37 PM - 7 messages
I am getting a error that should not be happening when I instantiate an object from my business layer in a console application within my solution. I get an "object reference not set to an instance of an object." I checked ...
set security on folder/file programmatically
Grei -
24 Mar 2005 11:29 PM - 2 messages
I need to set folder security to full control to everyone is it possible from code? example would be nice. Thanx ...
Odd Thread Problem
NWeller -
24 Mar 2005 11:06 PM - 4 messages
Well, I think it is odd. I have written an application that fires off requests at a COM component written in VB6. I am creating multiple threads, one for each test. I know that the threads are being created, I know that the calls are ...
Application design consideration
Przemo -
24 Mar 2005 10:31 PM - 4 messages
Hi, I have two applications. One is a WinForm (in future it will be a service) and gets some data from serial port and adds them into database. It can be named as a beck-end appliacation. The second one, fron-end application, is a ...
System.Windows.Forms Namespace completely missing from my library. Any Ideas?
Rob Deacon via .NET 247 -
24 Mar 2005 10:12 PM - 2 messages
I am just getting into this .NET stuff. Looks really handy. I was trying to run some standard tests, like throwing up a MessageBox.Show("Code Hit Here - ln 124"); Just to make sure I was building things right. I realize I needed to use a few things from the library to make this work, one of the big ones being System.Windows.Forms, but it wasn't there in my library at all. I checked at MSN Library to find out all the System namespaces and I am missing these namespaces: ...
AcceptTcpClient() generates a exception A blocking operation was interrupted by a call to WSACancelB
How do I make my project in microsoft visual c# 2005 express edition beta viewable outside of the pr
| |||||||||||||||||||||||