Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

allenmpcx

@allenmpcx
About
Posts
64
Topics
34
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Combinations or Permutations or something else??
    A allenmpcx

    I have the following string "1100" (or any string of size N with N/2 '1' followed by N/2 '0). I want to make a function that returns all the possible arrangements of "1100" for example: 1100 1010 1001 0110 0101 0011 How would I go about doing this?

    I love to program!

    C# tutorial question

  • Wirelss Camera Communication
    A allenmpcx

    I have a wireless webcam that has its own network on it. I can connect to it using my wireless card, and I can Ping it using the Ping class, but I need to get the data from it. Is this possible at all?

    I love to program!

    C# sysadmin question

  • Wireless with C# on WindowsXP ??
    A allenmpcx

    Hello. Is it possible to connect to a wireless card and/or send data over the network the card is connected to using C#?

    I love to program!

    C# csharp sysadmin question

  • monitoring specific USB
    A allenmpcx

    Is there a way to monitor the information sent to a specific USB channel and mimic it?

    I love to program!

    C# question

  • Project settings
    A allenmpcx

    Thanks a lot! I got it to work with msbuild *project_name.sln* and it worked. Thanks a lot again.

    I love to program!

    C# question tutorial

  • Project settings
    A allenmpcx

    The samples provided with the SDK won't compile. I ran the program that the ReleaseNotes.Htm file said to run and it said the environment variables were set, but the samples still won't compile. If I keep them in the same directory I don't have write access, and if I move them to another directory, it can't find anything.

    I love to program!

    C# question tutorial

  • Project settings
    A allenmpcx

    hello. I have downloaded sample code from microsoft, and under the Project Properties --> Additional Dependencies, they have "$MSSdk"\Include. I know that "$MSSdk" is a variable, but I'm not sure where/how to define it as the path to the Microsoft SDK I have installed. My question is, how would I do so?

    I love to program!

    C# question tutorial

  • A better way than multiple case in switch statement
    A allenmpcx

    nevermind on that. Your method worked perfect because I can call Type.GetType() and pass in a string to get the type, so thats exactly what I did. Thanks a lot.

    I love to program!

    C# css design tutorial question

  • A better way than multiple case in switch statement
    A allenmpcx

    That function looks like it depends on System.type, however the function I have depends on a custom enumeration (ObjectType). Would this way still work? Would there be a way to create a type using a string?

    I love to program!

    C# css design tutorial question

  • A better way than multiple case in switch statement
    A allenmpcx

    Hello. I have the following function: public BaseClass SpawnClass( ObjectType type ) { BaseClass retval = null; float X = 5; float scale = 0.3429f; switch(type) { case ObjectType.Class1: { retval = new Class1(X,scale); break; } case ObjectType.Class2: { retval = new Class2(X,scale); break; } case ObjectType.Class3: { retval = new Class3(X,scale); break; } } return retval; } I have about 11 classes but I didn't want this to get too long. This works, but it's very ugly. Is there a better way to do this? I've thought about the "Gang of Four" design patterns, but I'm not sure if they would be less ugly. I noticed the TypeConverter class, but I don't know how to use it. Any suggestions?

    I love to program!

    C# css design tutorial question

  • drive name [modified]
    A allenmpcx

    All very good answers, however the codeproject reference gets the drive letter, as does the DriveInfo class for C# 2005. Lets say you plug in an external hard-drive and assign it the drive letter (which is the Name property of the DriveInfo class and the ManagementObject["name"] property for WMI) "V:", and you also name it "External hard-drive". How would I get the "External hard-drive" text? I love to program!

    C# tutorial question

  • drive name [modified]
    A allenmpcx

    Is there a way to get a the name of the logical drive? Not the drive letter, but the name. For example, the drive C: usually appears in under My Computer as "Local Disk ( C: )". How would I obtain the "Local Disk" text? I love to program!

    C# tutorial question

  • TWAIN on Windows 2000
    A allenmpcx

    After referring to an article here, I was able to successfully build a TWAIN program and get pictures from a digital camera. I was told that it works with Windows2000 (and even as low as Windows98) but when I run the code I made in .NET, it doesn't work. Any suggestions or ideas? I love to program!

    C# csharp question

  • Windows .dlls
    A allenmpcx

    Is every function of windows contained in a .dll? If I wanted to mimic a specific function, is there a way to know which .dll to choose? I love to program!

    IT & Infrastructure question

  • Still Image Architecture
    A allenmpcx

    STI is still image architecture. It's a way to access digital cameras. WIA is Windows Image Acquisition. It's also another way to access digital cameras. My problem is WIA doesn't work on all operating systems where as TWAIN and STI will. I just need a way to access a digital camera on most operating systems (Windows 98 and above). Also, the digital camera does not mount as a drive or this would be a simple matter. I love to program!

    Managed C++/CLI csharp c++ architecture

  • Still Image Architecture
    A allenmpcx

    I am not sure if I am posting in the right area, but I am looking for STI resources. I heard that WIA is just a wrapper for STI, however WIA 2.0 doesn't work with older Windows versions. Any C++/C/C# or other .NET supported language resources for STI is what I am seeking. Thanks a lot. I love to program!

    Managed C++/CLI csharp c++ architecture

  • List Device Instance Id
    A allenmpcx

    Hello. Is it possible in C# to retrieve the Device Instance Id of all connected USB devices? I've tried USBSharpLib but it doesn't do what I need. My ultimate goal is to detect a specific USB Camera and save files on the SD card inside. I've tried listing the logical drives, WIA, TWAIN and some (not all) of the WMI code snippets found on MSDN. The reason is, I need to make sure that data is being sent to the SD card. The camera does not show up as a logical drive. When I plug it in and go to "My Computer" it shows up at bottom with just the name of the camera. It also shows up under the Device Manager --> Imaging devices and I can get the Device Instance Id from there. I need a way to do the above programmatically. I must also mention that I can't drag and drop files onto the camera when I double-click it under "My Computer". Any help or further resources or source code would be greatly appreciated. I have been trying for weeks to accomplish this. :sigh: Mike

    C# csharp help question

  • WIA 1.0
    A allenmpcx

    Is it possible to add files to a digital camera using WIA 1.0? Mike - I love to program!

    Managed C++/CLI question

  • Windows Image Acquisition Problems
    A allenmpcx

    I want to develop a simple .dll, or application that deletes images from a usb digital camera. I don't have to use WIA, however I have been looking for tutorials or source code and I can't find any. MSDN has IWiaItem::DeleteItem, but I don't know how to use since it doesn't provide samples. The application/.dll has to be gui-less. ANY help would be greatly appreciated. Mike - I love to program!

    C / C++ / MFC css help tutorial

  • Read data from Outlook .msg items
    A allenmpcx

    Is there a way to open an outlook .msg item saved on my hard-drive and read data from it (such as the attachments)? Mike - I love to program!

    C# question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups