JohnH
You're AWESOME!!!!
That was it! I used your code passing the CommandCode object and it worked!!!!
Thank you!!!!
Think I used enough exclamation points?!?!!!!!!!!!!!!!!
Okay, I'm done.
!
;)
Hey, InertiaM. Thanks for replying.
Please see my comments to your post:
It's already in its own class. I didn't include that code in my post, but on the main form's load event the scanner class is instantiated. The scanner itself is an always-on model, so the DataRecieved event (which is in...
I was told by an MS moderator at the MSDN forums that the delegate must be an instance of EventHandler, so I can't Invoke a method.
I'm wondering if there's some other way to accomplish what I'm trying to do: from the DataRecieved event of the scanner class/thread call a method in a form that...
This is for .NET Compact Framework 2.0
Here's the flow of what I'm trying to do:
1. On the main form a scanner class is instantiated that (in the scanner's constructor) sets the scanner settings (baud rate, parity, etc) and opens the scanner for use
2. A barcode is scanned (via a scanner...
Hello, all
I'm pretty new to VB programming (or any kind of programming for that matter!) - only about a year. I'm working on a project for WinCE.
I'm trying to use the following block of code to save to an existing record in a database on the device:Dim i As Integer
m_cWOs =...
This really is such a simple problem I know that many of you will be able to answer it. I think my not knowing the answer really is the result of learning Web design in the "drag-n-drop" design environment VS2005 allows... but that's for another thread...
Anyway, due to the functionality I...
Essentially, yes. Originally, there was an Access interface/module writing to a SQL table and a different, separate Access module reading what the first Access module wrote. It appears that Access adds information on to what it writes to the image datatype/OLE column. That's how the 2nd Access...
Thanks for replying, cjard.
The bigger picture is, I am replacing (with a Windows program) a module that was created in Access. To do its job, the Access module mixed VBA, macros, and queries for both Access and SQL 2000 database tables.
Part of what it did/does is save an email attachment...
I barely understand what I need to do myself, so if you need clarification, let me know.
Here's the relevant code from a Sub I'm working in (in Visual Studio Pro 2005):
Dim mailAtmtName As String
mailAtmtName = redempMailItem.Attachments.Item(atmtCounter).FileName
Dim filePath As String...
Thanks for the explaination, jmc.
Currently my code iterates through an Oulook folder and determines if an email has an attachment (and how many). Then, if it does, it writes that email's information to the SQL table.
'Get attachment's file name to write to db table
Dim mailAtmtName As...
Thanks jmc,
Actually, I'm going to include both columns. Currently it has to be saved as an image due to the way it's displayed in another Access module. However, eventually I'll be able to change that to just providing a link to the file itself.
So, to answer your question, my question is...
Hello, everyone
This is kind of a big project (what I'm posting here is only a very small part), so any suggestions on different approaches in what I need to do would be greatly appreciated!
I have a Sub in a VB.NET 2005 Windows form that, among other things, copies an email's...
[Resolved & Lessons learned]
Okay, after a lot of more searching, trial and error, a good night's sleep, and some more trial and error this morning, I finally got it working
properly! :D :)
Below is the final, working code.
For the benefit of others, I'm going to include some...
Apparently Tracy's problem was resolved, as there haven't been any posts here since Oct. 26th.
Much of what Tracy posted here is what I am dealing with. My code looks very much like the examples posted. I've encountered all of the errors mentioned here, but still can't get my data written to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.