blah blah blah is here! blah blah » Close

1
votes
2 answers

Initializing SQLConnection string

I am using VS2008 to right an app that will query an SQL database and return certain values from the tables. Now, I want to make my connection string a class level variable because I will be calling on the connection multiple times througho ...

1
votes
2 answers

cmd line redirect while keeping prompt window running?

how would I go about keeping the command prompt window up while with the output scrolling through the window while i am redirecting its output to a text file? Thanks

0
votes
1 answers

Persist an object to a Database in C#?

Ok, I was talking to a colleague of mine, and this conversation evolved from Stored Procedures into object persistence. My colleague (who is EXTREMELY knowledgeable) is a Java guy, and I'm more of a .NET guy (but I'm learning several dif ...

1
votes
1 answers

C# Hyper Terminal Like comms

GlennP
329

Hi All, I am working on a bit of software I wrote for Serial Comms I now want an option to allow for the input to read straight out like HyperTerminal did i.e. press 'a' an a is sent out of the port. The software I wrote sends out comple ...

0
votes
1 answers

C# Com port send data as typed???

GlennP
329

and probably dirty method) of doing this in C# is there? Glenn

0
votes
0 answers

Help, Newbie with Joystick Guidance

Hello, I am very new, to the point where I don't even know where to start. I want to create a program that I can use VS C# Express to capture Joystick movements and create events for them. I tried running a bit with DirectInput, a ...

0
votes
1 answers

Serial Device Communications application design

Hi guys, I have been tasked with writing a small application that interfaces with a serial device. I have managed to create my communication wrapper which basically handles all the comms between the application and the device. So, it has ...

0
votes
3 answers

C# return and IF problem

Tried this and it gives me an "unassigned local variable" on the return returnvalue; public bool enrolCheck(Paper p, Student s) { bool returnvalue; for (int i = 0; i < papersEnrolled.Count; i++) { string names = p ...

0
votes
0 answers

C# remoting and singleton two-way calls

Hello to everybody. I'm working on a client-server application based on .NET framework (C#) that's all about communicating through the RS232 (COM) port. Firstly I wrote a standalone application which was communicating perfectly throug ...

0
votes
2 answers

login problem with sql server through c#

hi guyz! i know how to connect with sql server through c# (due to connections string), but i just dont have any login account on sql server so i will give nothing in uid section of my connection string, when im running my application it ...

0
votes
1 answers

C# Help needed with dragging and dropping an image

I'm trying move one image to another replacing the target image and erasing the source image. My code compiles and runs fine. (No Errors) It just won't drag and drop. Any suggestions? Here's my code: [code] public partial class AllyMoreIn ...

0
votes
0 answers

DLL Problem

I am working on a Setup program which creates a .msi file. There is a CustomAction program associated with it which is written in C#. There are three COM object references made in this CustomAction program which are necessary in order for i ...

0
votes
1 answers

C# Receive mail message & use the contents of it

Hello, I working on a workorder application for a small call center. Before we started working on it we tested a ton of web applications and other work order software. One feature that stuck out the most was the ability to create a wo ...

-1
votes
1 answers

how to do "presentation of desktop to parthner" using C#

Hi, as the title states, can any kind soul out there assist me? Scenario: User 1 is suppose to present its desktop to user 2, user 2 can see what's being happen on user 1's desktop on his monitor, but cannot CONTROL. it's a web-bas ...

0
votes
0 answers

Registering an EXE as a Windows Firewall exception using C# code

I have a service (say BS.exe) written using C# of which the installer is created using Wix and C# (which means it has a Custom Action program associated with the Wix installer program as well). Now, after the program in installed there is a ...

Feedback