Forum: C# Jul 25th, 2009 |
| Replies: 2 Views: 681 Hey guys,
Is there a standard library for communicating with a USB device? I've got a smart card reader that works via USB, and implemented the PC/SC interface. To my knowledge and googling I've... |
Forum: C# Jul 15th, 2009 |
| Replies: 4 Views: 231 Hmm interesting. Well I've *fixed* it but just out of interest, what consequences could this have? Cheers for pointing me in the right direction |
Forum: C# Jul 15th, 2009 |
| Replies: 4 Views: 231 Hey guys,
I'm really puzzled about this error:
Generics IS supported, I've done it on more than one occasion in the same manner too.
Here's the code: |
Forum: C# Jun 17th, 2009 |
| Replies: 1 Views: 242 Hey guys,
I'm not sure where to post this but I've got some code written in C#. Now I'd like to talk to the device, I can't find any information on obtaining a connection to an S60 device. Could... |
Forum: C# Apr 21st, 2009 |
| Replies: 5 Views: 819 Your method is the tree I'm trying to bark up. However I'm not sure how to turn a string into a class implementation.
The text file contains paths from interfaces to the actual concrete... |
Forum: C# Apr 11th, 2009 |
| Replies: 5 Views: 819 Jerry I'm not asking *How* to implement each class, more how to tell the compiler at runtime which object to create based on a text file. |
Forum: C# Apr 11th, 2009 |
| Replies: 5 Views: 819 Hey guys
I've got a Factory that can return a database writing object. It takes in a config file that points it to which class to create an object of. Now this is were I'm stuck.
Factory ->... |
Forum: C# Apr 9th, 2009 |
| Replies: 4 Views: 1,095 from another class.
Class X
IndividualPCSpec m_individualPC = new IndividualPCSpec (this);
ComputerHardware dto = new ComputerHardware(...);
..
..
Function X()
{ |
Forum: C# Apr 9th, 2009 |
| Replies: 4 Views: 1,095 Hey guys,
I've got a multithreaded application done in C# but the label on one of my forms won't update! It doesn't do anything
public IndividualPCSpec(AllKnownDevicesFrm parent)
... |
Forum: C# Apr 8th, 2009 |
| Replies: 1 Views: 385 Hey guys,
I've got a multithreaded application. The GUI runs on its own thread whilst a background worker thread will get invovked later on. Now the problem occurs when the bakground thread trys... |
Forum: C# Feb 19th, 2009 |
| Replies: 3 Views: 297 That sounds good, but I'm not sure how to implement such a thing |
Forum: C# Feb 19th, 2009 |
| Replies: 3 Views: 297 Hey guys,
I've got a GUI thread, which creates a new thread to compute some data. Depending on how big that data is more threads get spawned from the new thread.
My problem is this
GUI -... |
Forum: C# Nov 18th, 2008 |
| Replies: 3 Views: 325 it contains a join(), but shouldn't all threads spawned from the parent contain this? |
Forum: C# Nov 18th, 2008 |
| Replies: 3 Views: 325 Hey guys, my main thread seems to stop when i start 2 new threads and start them off. It sits and waits for the 2 threads to finish.
The two threads are created off a factory class. Is this why?... |
Forum: C# Nov 15th, 2008 |
| Replies: 3 Views: 942 namespace pb
{
using System;
using System.Drawing;
using System.ComponentModel;
using System.Windows.Forms;
using System.Threading;
/// <summary> |
Forum: C# Nov 14th, 2008 |
| Replies: 3 Views: 942 Hey guys, I've an issue when it comes to multithreading
i seem to get this error after updating a variable...
Basically I'm trying to use a progress bar indicator to show the applications... |
Forum: C# Sep 8th, 2008 |
| Replies: 12 Views: 1,390 How can you the interface type has the type? Its just an interface in C# rather than a class isn't it? |
Forum: C# Sep 8th, 2008 |
| Replies: 12 Views: 1,390 The obly bit I'm struggling with is creating an HashMap that takes classes, otherwise how am I going to say
GetClass(x) where X is a key if they are all objects? Somewhere I'd have to cast it to... |
Forum: C# Sep 8th, 2008 |
| Replies: 12 Views: 1,390 I'm not sure its proxy that I'm looking for? Perhaps the name deems that opinion. Here's more information on what I'm trying to acheive.
-----------
I've got an interface called DAOInterface,... |
Forum: C# Sep 7th, 2008 |
| Replies: 12 Views: 1,390 hmm,so you can't pass a class into a method and cast it?
Eg
loadAllClasses(class T) {
//load through all DLL's...
create object of type T |
Forum: C# Sep 7th, 2008 |
| Replies: 12 Views: 1,390 One question from that, whats newcmd? |
Forum: C# Sep 6th, 2008 |
| Replies: 12 Views: 1,390 Hey there,
I'm quite new to C# but have an extensive background in Java so I know all the basics and perhaps more. But I've found i'm struggling with C#'s answer to dynamic binding at runtime.
... |
Forum: C# Aug 28th, 2008 |
| Replies: 4 Views: 433 Whats wrong with this syntax? I can't figure it out for the life of me!
String str = ((String)result[i][1] ? (String)result[i][1] : "");
its doing me trunk in :p |
Forum: C# Jul 7th, 2008 |
| Replies: 2 Views: 1,113 idiotic me! It needed a constructor. Man can't beleive i overlooked that.
Cheers for your help btw |
Forum: C# Jul 7th, 2008 |
| Replies: 2 Views: 1,113 Hey guys,
I'm hoping you could explain why this doesnt work:
main file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text; |
Forum: C# Jul 2nd, 2008 |
| Replies: 9 Views: 1,881 cause vuyiswamb sometimes it takes rewritting some code to understand it, and learn what goes on behind the scences. |
Forum: C# Jun 24th, 2008 |
| Replies: 9 Views: 1,881 Ok well Ive tried the following
private Label lb;
however i get the following error:
In the references though I've added the link to WindowsFormsInteragtion, and added the using... |
Forum: C# Jun 23rd, 2008 |
| Replies: 9 Views: 1,881 Right based on what you said I've gone for an ASP.net application, that gives me the best of both worlds. However the import for System.windows isn't there. |
Forum: C# Jun 23rd, 2008 |
| Replies: 2 Views: 485 For the number of record you can run a query
Select * from <TABLENAME>; which selects the whole thing and passes it back, or you can just use the SQL Count which will return the number of rows. |
Forum: C# Jun 23rd, 2008 |
| Replies: 9 Views: 1,881 Hey guys I'm new to C#.NET but I'm trying to create my own Form using my own GUI code. However I'm unsure which project I need when using Visual Studio 2008. A normal person would assume that... |
Forum: C# Aug 5th, 2005 |
| Replies: 1 Views: 5,015 Having coded a bouncing ball in VB - not to exciting, I'm wondering how hard it would be to code that in c#? Anyone got a good place to start?
Thanks
:-) |