all groups > c# > may 2007 > threads for saturday may 5
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
Optional Parameters
Posted by Joe Cool at 5/5/2007 11:49:08 PM
I take it Optional Parameters for functions are not supported in
C#.NET. Is there a workaround of some type?... more >>
XML: empty namespace?
Posted by BLUE at 5/5/2007 9:33:58 PM
<GTM.Data:GRTMData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:GTM.Data="http://www.pippo.com/GTMData"
xsi:schemaLocation="http://www.pippo.com/GRTMData GTMDataSchema.xsd">
w.WriteStartElement("GTM.Data","GRTMData","");
w.WriteAttributeString("xmlns","xsi",
null,"http://www... more >>
FFT in C#
Posted by Jon Harrop at 5/5/2007 9:04:17 PM
I just implemented a decent FFT algorithm that works for all "n" (not just
powers of two!) in C# and made it available as a DLL:
http://www.ffconsultancy.com/products/signal_processing_net/
Perhaps surprisingly, there are some very expensive .NET implementations
that are O(n^2)!
--
... more >>
Arithmetic Division
Posted by Joe Cool at 5/5/2007 6:45:32 PM
Hello, I am using VS2005. I am trying to convert a VB.NET app to
C#.NET. The VB app uses a progress meter to indiate how far a file has
been read. I use the following assignment statement in VB:
Progress.Value = (lFileReadCount / fi.Length) * 100
lFileReadCount is a Long that contains the cu... more >>
Barcode Programming
Posted by Alper Ozgur at 5/5/2007 5:56:30 PM
Hi;
How can i capture and decode the barcode that reading by an usb Barcode
reader?
... more >>
Newbie question
Posted by Robert Dufour at 5/5/2007 4:16:37 PM
I am trying to understand what the following code does. More specifically
after the :base word
I understand that it Creates an Object MembershipUserWrapper to which a
parameter of type MembershipUser that will be named mu in the function is
passed.
The : base means that it creates a new obje... more >>
Structs vs. Classes
Posted by Dom at 5/5/2007 4:01:58 PM
I'm really confused by the difference between a Struct and a Class?
Sometimes, I want just a group of fields to go together. A Class
without methods seems wrong, in that it carries too much overhead (I
think). A Struct seems more appropriate. At least it is what I would
have used in other lan... more >>
Simple question on CSharp style
Posted by Dom at 5/5/2007 3:46:29 PM
Can I have a consensus. Is it common to start every variable,
control, etc, with "this"? I tend to do it, because I like the
Intellisense window. But is it considered amaturish?
Told you it was a simple question.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
The INSERT statement conflicted with the FOREIGN KEY constraint "FK_ATM_Accounts"
Posted by weird0 at 5/5/2007 2:44:14 PM
I have two tables accounts and ATM and i am trying to insert a tuple
in ATM with accountId as foreign key. But even this simple work,I
encounter the following error:
The INSERT statement conflicted with the FOREIGN KEY constraint
"FK_ATM_Accounts". The conflict occurred in database "G:\DOCUME... more >>
Slow Renaming of Labels
Posted by Bhadan at 5/5/2007 1:33:38 PM
Using Visual Studio 2005
I have a tab with 200 labels displayed. These have not yet been employed in
code. I need to rename each label with a unique identity. However the
renaming of a single label takes about 30 seconds of processing before I am
allowed to move from one label to the next.
... more >>
"sgen.exe exited with code -532459699"
Posted by Asaf at 5/5/2007 11:44:00 AM
Hi,
I have a C#.NET 2.0 application that when I try to Build it I am receiving
the error:
"sgen.exe exited with code -532459699"
Thanks in advanced for any help.
Asaf... more >>
Problems creating COM wrapper for C# dll (regasm.exe)
Posted by tom at 5/5/2007 9:45:51 AM
I called regasm.exe /tlb CameraManagement.dll and I got
CameraManagement.tlb
When I look inside with OleView.exe or create C++ header I see
something like that:
struct __declspec(uuid("37944845-f74f-3999-b972-d42355a78bcd"))
_AlarmSetting : IDispatch
{};
struct __declspec(uuid("5e6ab... more >>
How to extract all links/url from web page?
Posted by learnyourabc at 5/5/2007 5:59:37 AM
For a webcrawler, you need to extract all links from the web page. For
normal html anchor tags or any of the src and href attribute on the
tag can be easily extracted using ihtmldocument.
What about links inside of javascript function like below??
<HEAD>
<SCRIPT language="JavaScript">
<!--h... more >>
|