| Thread | Last Post | Replies |
|
| Compiling to EXE succeeds but not to DLL | 31 Aug 2005 23:29 GMT | 1 |
I have two classes, A and B, both in the same namespace. If I compile files to a DLL, the A class does not compile. The error message is "[C# Error] BaseObject.cs(69): The type or namespace name 'Logger' could not be found (are you missing a using directive or an assembly ...
|
| int to string | 31 Aug 2005 23:21 GMT | 3 |
Given this: string s; int i = 0; why does this work:
|
| Hungarian Notation | 31 Aug 2005 22:48 GMT | 11 |
Good or bad? I've always used HG in VB6, but the .NET guidelines say no. I think it's useful as you can have similar named variables differentiated only by identifier type, hence more variable options. What's the standard? Is it still considered choice of team?
|
| Problem to remove \0 in the array in the best way | 31 Aug 2005 22:40 GMT | 3 |
I have a windows C# app which read data through socket from a C++ app in a linux box. After a marshal a pointer and get an array of string ends with \0, I did something like this string s=new string(array);
|
| I think C# is forcing us to write more (redundant) code | 31 Aug 2005 22:39 GMT | 38 |
I think C# is forcing us to write more code by enforcing a rule that can be summarized as 'A local variable must be assgined *explicitly* before reading its value.' If you are interested in what I mean, please look at this feedback my me:
|
| Issue with comparing line breaks | 31 Aug 2005 22:26 GMT | 2 |
I am updating a C# web project which stores the contents of an ASP web form in an SQL Server 2000 database. Originally the code deleted all the current contents of the database and then re-inserted them. However, the requirements have changed and
|
| .NET (C#) and file handles | 31 Aug 2005 21:47 GMT | 4 |
I have an API DLL with a handful of methods, which I wrapped in DllImport-attributed methods in C#. Everything works fine, however, one of the methods takes an open file handle (as an int) to write its execution log into.
|
| Q: Autogenerating menus and executing forms. | 31 Aug 2005 21:39 GMT | 1 |
I have an SQL table containing a menu number, level, title and formname. What i want to do is to generate the menu automaticly from the table, and set the onclick event to execut the form from the given name of the table...
|
| Documentation | 31 Aug 2005 21:25 GMT | 2 |
i work with c# windows application, and i want to know how to do documentation? if i use UML or Flowchart or DFD ? if exists some site or book or same example to help. Thanks
|
| Finding occurences of many strings in another | 31 Aug 2005 21:19 GMT | 4 |
This is probably more of a algo question than specifically c# (although a c# solution would be great. I'm trying to parse a string and ensure that at least one occurence of a number of other strings within the main string. These must not
|
| using UpdateResource() with PInvoke | 31 Aug 2005 21:03 GMT | 7 |
i'm trying to use the Win32 API UpdateResource function to add a file to an exe file, but somehow i'm getting a NullReferenceException when i call the function. here is a piece of the code: GCHandle gch = GCHandle.Alloc(fileBuffComp);
|
| HotSpot? | 31 Aug 2005 19:35 GMT | 1 |
I want to have hotSpot on my image. I put some lables on it and when I click image I can know where I select. it works but if my image zoom in/out I lose positions of lables.. what's your opinion about that??is there a better way to have hotspot??
|
| Using Word | 31 Aug 2005 19:01 GMT | 4 |
I'm building an app that uses MS Word. I'm developing it on 2 machines, one with Office XP, the other with Office 2003. I found that one of the methods (SaveAs) has changed signatures between the versions. In this case there is an additional, optional calling parameter at the end ...
|
| compound interest calculation | 31 Aug 2005 18:43 GMT | 4 |
I need a calculation that allows for monthly calculations Dave
|
| Newbie question - execute VB DTS package | 31 Aug 2005 18:33 GMT | 1 |
I have created nice DTS package and saved it as .BAS file. How can I customize and execute it now from C#.NET? I have found on the net that I have to create custom task. I have customtask.dll, now I should implement something new there or I can just use it? Can I set
|