Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > c# > january 2007 > threads for thursday january 25

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

What's the most efficent way to create a dataset table from a join
Posted by Pucca at 1/25/2007 7:54:01 PM
Hi, I'm using vs2005 and .net 2.0 I used 2 DirectorySearchers to retrieve data from Active Directory and placed them in 2 dataset tables. I need to perform the SQL equuvakebt of join operation to create a 3rd dataset table that I will then pass to Crystal Report. 1. Sometimes there could b...more >>


Typed dataset with oracle db ?
Posted by R at 1/25/2007 7:40:42 PM
Hi If I have typed dataset with sql client and I am moving the db to oracle, can I use the typed dataset I have created for the sql? ...more >>

How to retrieve DLL function detail
Posted by pizza at 1/25/2007 6:56:13 PM
Hi ! I have a dll written in manage code. (csharp). I would like to how can we programmatcially retrieve the interface for each function written in the dll. Something like function name, return value, each paramenter name and variable type, it will look something like the 'class view' , ju...more >>

display image in crystal.net
Posted by Rick at 1/25/2007 6:36:42 PM
Hi, guys, i have a dataset that has a string field with the path to a jpg file, can i display the image in crystal indicating just it path as string? or how can i do it? Regards. Rick PS: i dont have any blob object in my dataset, just strings ...more >>

FileStream
Posted by DAVE at 1/25/2007 6:28:37 PM
Is there a method of the stream (classes) where i can get a String to a Byte array tia Dave ...more >>

binary file question
Posted by Bit Byte at 1/25/2007 4:29:44 PM
If I save data in a binary format in C#, can I read the file back in C++ ? I have some data in XLS workbooks. I want to use Automation to extract the data. The application that will use the data is written in C++, and expects the data to be in a particular format. I want to know if my plan ...more >>

Exception propogation question
Posted by Adam Clauss at 1/25/2007 4:01:26 PM
Consider the following code: try { methodA(); try { methodB(); } finally { methodC(); } } catch (Exception e) { //some sort of error handling } If methodA completes successfully, and methodB throws an exception, methodC would t...more >>

[C#, MS SQL Server] String or binary data would be truncated. But not field length problem.
Posted by dtarczynski at 1/25/2007 2:51:29 PM
Hello. I have problem when i inserting strings with special characters into MS SQL 2005 database for example: http://www.netsprint.pl/serwis/search?q=http%3A%2F%2Fwww%2Ejobpilot%2Epl%2Fprofile%2Frss20%2F%3Ftitle%3Djobpilot%2Epl%2B%2D%2Boferty%2Bpracy%26region%5B%5D%3D505%26appkind%5B%5D%3D1%2C2%2...more >>



need help generating a dynamic list control <ul />...
Posted by Milsnips at 1/25/2007 2:39:21 PM
hi there, i'm creating a dynamic menu system for a CMS website application. What i am currently doing is the following: in a function called LoadMenu(), i loop through the required db records and add the menus on the fly, however because its not known which folder level the page will be on,...more >>

Nullable Types
Posted by Andrew Robinson at 1/25/2007 2:16:50 PM
Quick question: is there a difference between these? Given a nullable type: int? i = null; // option 1 if(i.HasValue) { } and // option 2 if(i != null) {} Why would you use one form over the other? ...more >>

Creating DLL for PowerBuilder as external functions
Posted by NewBieDev at 1/25/2007 2:03:17 PM
I have no idea where to start on the above subject matter. Tried GAC, static method to no avail, just don't know which way is correct. Would anybody please point me a direction? Thanks Best Regards ...more >>

threading using filewatcher object
Posted by ba.hons at 1/25/2007 1:47:01 PM
Hello, I have a file watcher object which i use to check a directory for XML files. When an XML file is placed in the directory i check the filename, to make sure it for me, then parse the XML and depending on whats in it, write an XML file back to the same directory. Now i have this all...more >>

How to keep a multiline + vertical scrollbar textbox on the LAST line?
Posted by sherifffruitfly at 1/25/2007 1:43:18 PM
Hi all, I'm using a multiline+scrollbar textbox to log output as my program runs. Basically, I pass a reference to the class instance that's currently doing stuff, and the instance can tack on whatever it needs to the text property. Initially I had trouble with getting the textbox to refres...more >>

Textbox values changed aren't appearing after update
Posted by maflatoun NO[at]SPAM gmail.com at 1/25/2007 1:34:29 PM
ey guys, I'm using ASP.NET 2.0 GridView for the first time. I have the following setup On the .aspx side I have this in my GridView <asp:TemplateField HeaderText="New"> <ItemTemplate> <%# Eval("New")%...more >>

what takes more system resources?
Posted by roger_27 at 1/25/2007 1:00:02 PM
I need to convert text. lots of it.. like over 100 different characters... TextToConvert = TextToConvert.Replace("2", "2"); TextToConvert = TextToConvert.Replace("3", "3"); TextToConvert = TextToConvert.Replace("4", "4"); TextToConvert = TextToConvert.Replace("5", "5"); TextToConvert ...more >>

C# 2.0, Generic Collection?
Posted by rh1200la NO[at]SPAM gmail.com at 1/25/2007 12:21:42 PM
Hey all. Here's my question. I'm building a Shipping rates component with the following classes: Package which contains basic package information. I also have shipper classes that implement an interface I built. They have basic shipper information to their respective API's so I will have 3...more >>

Input cursor
Posted by John at 1/25/2007 12:09:01 PM
Hi Experts, How can I programmatically move an input cursor (a vertical bar inside those input fields, like a textbox, combobox) ? Thanks....more >>

return object of an unknown type
Posted by Alexander Widera at 1/25/2007 11:57:34 AM
hi, is it possible to return an object of an unknown (but not really unknown) type with an method? i have the following situation: - a variable (A) of the type "object" which contains the object - a variable (B) of the type "Type" which contains the type of the object in (A) (A should be...more >>

Automating Excel from C#, Adding Picture Charts
Posted by saragoesnuts NO[at]SPAM gmail.com at 1/25/2007 11:44:49 AM
I have a program that automates to Excel with information in tables. I want to add charts to the excel file (pie charts, bar charts, etc). Is this possible? ...more >>

Stopping screen saver
Posted by Claire at 1/25/2007 10:41:31 AM
Hi, Our software runs on a XP system attached to a touch screen monitor and smartcard USB reader. We run our own simple corporate screen saver. When the screen is touched the screen saver vanishes, but when a user inserts a smartcard (we're polling for inserts) the screen saver doesn't va...more >>

How do I make a string longer??
Posted by roger_27 at 1/25/2007 10:27:02 AM
hey, I have a bunch of strings that are 20 characters long. The user inputs data 10 characters long and I am inserting data at character spot number 11. well what if the user inputs data that is 5 characters long? how do I insert spaces untill it is 10 characters long, so I can still use the...more >>

asynchronous socket communication
Posted by panko at 1/25/2007 9:51:43 AM
Hello, I can't manage with asynchronous socket communication. :( I wrote a class CSocket.cs. This class is taking care of sending strings to LED display. This display is actually communicating via serial port and serial/ethernet converter (MOXA NE-4100T) with TCP server. So communication is in ...more >>

going from one form to another
Posted by thegreenone at 1/25/2007 9:43:54 AM
HOw do i link two forms together via a button?...more >>

Diclaring class level variable
Posted by chandu at 1/25/2007 9:23:01 AM
Hello, declaring class level variables is good approach or not in c#. in C++ we used prefer diclaring class level variables more than local variables. i had a discussion with somebody that in C# it is disadvantage to diclare class level variables so clarify it . ...more >>

consuming managed C# DLL from unmanaged VB6
Posted by Tremendo at 1/25/2007 8:40:59 AM
Hi, I created a DLL using managed C# and this DLL needs to be consumed by two applications: - One is written in managed C#, and will run on a PC that does have the .NET framework installed (no problems regarding this one). - The other one is written in unmanaged Visual Basic 6, and will run...more >>

Project-->Project References Large Project
Posted by DonJefe at 1/25/2007 7:00:47 AM
Does anyone have experience using project->project references in large solutions? What are the plus/minuses that you have found? Currently, we are using the binary assembly references for our code, but this becomes problematic when you want to build from multiple branches/working directories. ...more >>

cSharp ( c# ) SQL and pocket pc
Posted by Sheikko at 1/25/2007 6:08:16 AM
Hi, I want to develop an application in c# (cSharp) that create a database and popolate it with some information. In my mobile device I have SQL Mobile Edition... I want a brief tutorial or example to start. thank you very much ...more >>

Casting of generics?
Posted by psyCK0 at 1/25/2007 5:25:59 AM
Hi all! I have a problem of casting generics to their base type. In the code below I first define a BaseList class that can hold items of any type that inherits from BaseItem. I then define a DerivedList that can hold items of the type DerivedItem, which inherits from BaseList. So far so good...more >>

unable to open project file by the web server
Posted by kalaivanan at 1/25/2007 4:36:30 AM
hi, i have installed oracle 9i in my system. after installing it none of my dotnet application is working. but my web server (iis) is running properly. what could be the solution and the problem. regards, kalaivanan ...more >>

Reading custom attributes
Posted by filipk69 NO[at]SPAM gmail.com at 1/25/2007 3:48:54 AM
Could someone point me in the right direction, please. I have an enum something like this: enum TextFieldType { [Description("Field ABC"), FieldLabel("abc field")] FieldABC = 3000, [Description("Field XYZ"), FieldLabel("xyz field")] FieldXYZ = 3001, ….. ….. } Wher...more >>

VS 2003 SP1 debugging
Posted by newscorrespondent NO[at]SPAM charter.net at 1/25/2007 3:19:23 AM
Since installing Visual Studio 2003 SP1 some of my projects won't execute the progam used to test them. The message simply says unable to execute with no further explaination. I have played with everything that makes sense and much that doesn't in an attempt to make it work. Has anyone else ha...more >>

Deployment & compatibility
Posted by windsim at 1/25/2007 3:18:47 AM
Hi, I have used msi to create an installed program(version 4.2) on my computer.This program can create project file(.ws),just like the visual C#.net. And now I have deploied new version(4.3) of this program. But what the problem is that when I double-click the new project file(extension .ws...more >>

creating a ram drive in csharp
Posted by krach.aran NO[at]SPAM gmail.com at 1/25/2007 2:14:46 AM
At the moment i am implementing a ghostscript application in c#. The Dll functions that i can import via dllimport all write to disk directly. As i want base64 encode the files, i don't want the slow disk access, but do all functions in memory. Could someone tell me if there is a way in whi...more >>

load assembly from different folder
Posted by peter.drienovsky NO[at]SPAM gmail.com at 1/25/2007 1:09:28 AM
Hello, let me describe my problem: ENVIRONMENT: ..Net 2.0, MSVS 2005, c#, WinXP SYMPTOMS: If assembly 'AgentDesktop' IS NOT in the (loading) application folder, Assembly.Load(AssemblyName) throws FileLoadException with Message: "Could not load file or assembly 'AgentDesktop, Versio...more >>

DataView with more than one table
Posted by Christopher at 1/25/2007 1:04:56 AM
Hi, I am writing a database application and now I need to display some data and I have a question about it. The data is stored in a typed dataset. In my MainForm I have a datagridview. the datasource of this datagrid is a dataview. The problem I have is that I have data from one table and f...more >>

Static Class, Updating DataTable and Locking?
Posted by Mark S. at 1/25/2007 12:26:08 AM
Hello, My c# aspx 2.0 web application has a static class. I would like to add a dataTable to it and have the heavy load (+100 requests a second) update it's values. This is the first time I used dataTable in a heavy load app and I'd really appreciate any advice. With my pre-existing static ...more >>


DevelopmentNow Blog