VS 2008 Capture Text From Chatprogram?
Mar 28, 2010Using Winspy++ I've figured the structure of this program is as following
Main Window = BRWindowClass
Children of BRWindowClass =
MDiclient
[Code]....
Using Winspy++ I've figured the structure of this program is as following
Main Window = BRWindowClass
Children of BRWindowClass =
MDiclient
[Code]....
I had an idea for an MSN (Windows Live Messenger) "addin" today, which I thought was a great project for me to try.Basically, I want people to be able to type LaTeX code in their MSN conversations, and my application parses the LaTeX code and displays (probably in a separate window, but if possible inside the conversion window) the math formula.
I am probably not going to get it to send the image in the conversion window, but I will be happy if I can get it to display in a separate window.Basically, all I need for this to work is to capture the text that a user receives over MSN. If it contains a certain token (like "$$ ... $$") then I can try to parse the text between the dollar signs, and if it is valid LaTeX I can show an image of the result in a separate window.
So, I probably don't even need an actual MSN plugin / addin, if I can just get the received text by some other means.
1. some basic Windows Live Messenger add-in programming examples / tutorials? I've never done this before, and have no clue how to do it... VB/C# are both fine.
2. how to retrieve the text that you receive using either an addin, or some sort of windows API ?
So I'm looking for either an addin, or, if possible, a completely separate application that basically monitors each and every window and sees if it's from MSN, and then retrieves the received text...
I have an app. (with out source code) that has some where about 20000 records in it. I want to extract all those records through my app. and save them somewhere (in vb.net ).
View 3 RepliesSo the app that I am working on requires me to launch shell commands that output text into a command prompt window. I need to be able to capture that text into a string.
View 3 RepliesI was a professional software designer using VB6. Now that I've converted to VB2005 years later, use, with pages of unrelated information. With VB6 I could use Left$, Mid$, etc to parse keyboard input into a string. For example in the KeyPress event of a name box I could use
Case "A" To "Z"
CFName$ = Left$(CFNameBox.Text, CFNameBox.SelStart) + Key$ + Mid$(CFNameBox.Text, CFNameBox.SelStart + CFNameBox.SelLength + 1)
When converting a program from VB6 to VB2005 the software changed the line to
CFName = VB.Left(CFNameBox.Text, CFNameBox.SelectionStart) & Key & Mid(CFNameBox.Text, CFNameBox.SelectionStart + CFNameBox.SelectionLength + 1)
When writing another program I used the VB.Left(), etc, but it gives me an error. So, the question is, what is the correct way to capture keyboard input from text boxes and construct strings?
Just trying to capture some text data flowing in on COM1. The port opens but the data does not flow in. I have a textbox on the form and a SerialPort in the tray.
Public Class Form1
Private Sub IncomingData(ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived
[code].....
Is there any way to automatically capture the text displayed on HyperTerminal using a dos command or using visual basic without having to go to the program and click on Transfer|Capture?
View 3 RepliesI have a TextBox control being used to capture an IPAddress from the user.I want to be able to allow them to change that IPAddres at which point the new value will be utilized by the appropriate .NET socket class to ping that new address.What other event is used with TextChanged to indicate that the user is done making changes to the TextBox. The Leave Event?
View 3 RepliesI am trying to capture when the user pastes some text from the windows clipboard. At the moment, I don't care about files or images. Here is the base code that I am using.
[Code]...
how can I capture an event like a button click or timer event, if I created the controls at run-time?
Ex: Dim a As Button
Dim b As Timer
I want to capture the click event of the button "a" and the timer event of the timer "b".
Ok, I have an Ambir Signature Pad, and i just want to get the signature as an image (lol just).Well, I was wondering if there is a way to 'connect' to the device via usb and treat it (the pencil) as a mouse and get the coord's when they drag.
View 1 RepliesSo I am hacking together an app which listens to traffic using SharpPcap library, it reconstructs the packets from sessions using the code from TpcRcon.
Listening and reconstructing part work on their own . What I want is on each packet arrival main window gets an event so it can display the packet , and when session is reconstructed display a complete packet (I am interested in HTTP ones) . -That is where it breaks with weird symptoms: for example right now it does not stop on invoking stop listening method - the sharppcap library function hangs there forever waiting on this line of code : m_pcapThreadEvent.WaitOne();//wait for the 'stopped' signal from thread
I also had it not working and crashing in sharppcap function because I had omitted one parameter in form delegate- which makes no sense, because form delegate does not deal with packet capture at all and only reacts on "New Packet" event from my "Listener" class (which is only there to notify main form)
My app starts as module main instancing class "Listener". MainForm has it
registered as friend with event and handles even "New Packet"
Main Form:
Private Sub uiListenStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btListenStart.Click
aLogger.AddMessage("Started Listening")
[Code]....
Project about queuing of clients with face capture feature and text to speech and auto generate of reports.
View 7 RepliesI'm doing program that I can capture a part of the screen. Heres code, I don't know why it's not working.
[code]...
I have a picturebox with controls on it. I wanna save it as a pic with controls. I have seen a getimageofcontrol() func. on vbforums earlier that does exactly this. But I am not able to find it now...
View 3 RepliesAfter a long while I started a project in VB.Net. I am making a security cam application for my own room. What I have done so far is capturing image from webcam (15 fps) to a imagebox and copying a still image from that imagebox to another in an intervall I have decided. Afterwards my code saves the image with a date and time as jpg. The code for capturing image I have found in this forum (iCam). My problem is (by the way I am an amateur programmer ) that the first imagebox (for realtime image capture) is not being showed (I dont want to see it). But if it is not active then all still images (saved as jpg) are all black. I think it is a drawing issue. I think imagebox is not being drawn (because it is not visible (actually the form is not visible)) and that is why still images are black. But I really don't know how to fix it? The class for capturing still images is very useful but only works with an imagebox.
(I really tried to understand the code. Especially the function, which copies a still image from 15 fps webcam output to a imagebox (which is used to save image as jpg file). But there are objects like: IntPtr, Hdc (getHdc, releaseHdc) and BitBlt. I really don't know anything about those objects.)
Code of iCam:
Option Explicit On
Option Strict On
Public Class iCam
#Region "Api/constants"
[CODE]...
I get realtime images with: iCam.initcam(me.picturebox1.handle.int32) and copy with: picturebox2.image= iCam.copyimage(picturebox1,New RectangleF(0, 0, Me.picturebox1.Width, Me.picturebox1.Height))
i just want ask you guys how to capture images from 2 different webcams.is there any dll out there that i can use?
View 14 RepliesWe have a client server application that 650 users are using everyday. Lately they have started complaining about over all slow responses and slowdowns in normal application usage like searching, reporting etc.We are using .NET Framework 3.5 and .NET Remoting is the technology we have used for client connection to the server side. We can't remove that and use something else due to legacy application maintenance. We are using SQL 2008 R2 x64 on a very good server.We have gone though the basic steps of making sure that all the SQL side is ok everything is well tuned but we need to convenience the client that it is not the application but the database that needs to be regularly maintained by a DBA in order for it to run smooth due to the nature of the application making tons of changes and inserts in the database everyday.
Anyways I need to write some sort of module that can plugin into the .NET Remoting calls so it can log the normal usage of different methods on the server like;* How many times a remoting method is called* What params a remoting method is called with* How much time it takes to execute each remoting callIs there anything available in .NET Framework that can help me? I read something about .NET Remoting Sync but not too sure if that is what I need to use? If any can shed any light on the subject or nudge me in a right direction with some sample code, that would be great.
I'm developing an application and it needs a facility to take photo of the customer using the webcam.
View 6 RepliesI would like to be able to open up notepad/word/etc and type in a keyword/password and have my program use that text.
The idea behind this is for our CMS application. Want to be able to capture the customer numbers as they are put in and have my program pull all the customer products etc. I am currently able to capture the keyboard text just not how to filter it as it is being typed.
I'm working on a project. I've gotten all the kinks out of my Client/Server tcp chat. But I need to find a way around this problem.
In my chat room, you can have other users view your desktop remotely. But I'm having a problem with this.Does anyone know how I would get a screenshot or possibly video of the desktop and write it to my stream? I can convert it to a string already. and my old method used screenshots written to the disk. I would like to avoid touching the hard drive if possible, so that means extracting the screenshot/video from memory.
[code]I can save it only from PictureBox1, I wanna save it directly without loading it in a PictureBox component.
View 4 RepliesI want to capture the original value and the new value from a cell in the DataGridView control. When leaving the row, I tried:
dgDataEntry.EndEdit()
Dim row As DataRow
row = tbl2.Rows(e.RowIndex)
Dim m_orig, m_curr As Decimal
m_orig = row.Item("amount", DataRowVersion.Original)
m_curr = row.Item("amount", DataRowVersion.Current)
And the values were the same. How can I capture the different values?
I'm trying to save a screen-shot from a FlowLayoutPanel without the desired success. Here's the code I'm using to same the panel as image:
vb.net
Dim bmpScreenshot As Bitmap = New Bitmap(FlowLayoutPanel1.DisplayRectangle.Width, FlowLayoutPanel1.DisplayRectangle.Height, PixelFormat.Format32bppArgb)
Dim gfxScreenshot As Graphics = Graphics.FromImage(bmpScreenshot)
gfxScreenshot.CopyFromScreen(Me.PointToScreen(SplitContainer1.Location), New Point(0, 0), FlowLayoutPanel1.Size, CopyPixelOperation.SourceCopy)
bmpScreenshot.Save("C:FlowLayoutPanel1.Emf", ImageFormat.Emf)
Problem is, when the panel is full of controls and using scrollbars the hidden controls are not captured, since I'm using the CopyFromScreen().
My application was designed in Visual Basic 08. There is a feature in the application that allows users of the app, to view a "Recording" page from the application, and works with a Soap API. Once the application sends the requested data to the API, the API responds with a custom URL, which must then be opened in a browser.How do I capture the response, or to be more specific, the URL that is being sent back from the API? Below, I have included the full parameters of the api, as well as the code that I have so far. What I really need to do, is figure out how to caputure the URL that is being sent back from the API to a text box. This will allow me to then transfer that text to the browser. But again, I have listed the full specifications, or parameters of the api below, as well as the code that I have so far. In case it helps, the app was designed for Windows Mobile using Visual Basic 08. [code] I am able to send the correct information to the api, but when the api returns the response, with the URL in it, I am unable to obtain that URL, and therefore unable to open that URL in a web browser, which has to be done as you can see from the API specs.
View 18 Repliesshowing script for make a snapshot from an usb webcam?
View 4 RepliesI need to capture what keys the user presses and put it in a textbox. However, I need to capture multiple combination. For instance, if the user presses (and briefly holds) SHIFT and 1 (number one) the text box should say "SHIFT + 1." I also want "real time" capturing, meaning as the user presses the keys the value changes.
View 3 RepliesI want to know if I can put live video from a capture device into a picture box using image.fromstream or any other way of getting the video into the picture box.
View 1 RepliesI have a code which registers keypresses even if it's running in the background.Is there a way I can capture the keypresses, but prevent the keypress from going to any other app? Microsoft Word and my program is running.if I press to 'Activate' button the program starts capturing all keypresses. This makes it impossible to type into Word, or any program for that matter as long as my program is activated.Once my prgram is deactivated I can type in any program normally.
View 11 RepliesI need to capture a picture from webcam for a project... But there seems to be no easy code available... Also am not able to find any working code for it... saw a codeproject code, but couldnt get it to work..
View 5 Replies