Drawing Guide On Another Application Window?
Jun 6, 2011
I'm attempting to make a program that will simply draw a guide (consisting of two perpendicular lines) on another program's window. I tried using a form with a transparency key and TopMost set to true, but then whenever the user inadvertently clicked the guide, it would un-focus the application. The only lead I could find was a suggestion to "Draw directly on the other application's window". I can't find anything that tells me how to do this, or if its even possible...
So I need to know one of three things:
1) Is it possible?
2) How do you do it? or
3) is there some way to make a form completely un-focusable?
The effect I'm trying to get is so that it looks like someone physically drew the line on the monitor itself.
View 3 Replies
ADVERTISEMENT
Feb 9, 2012
I have been asked to develop a small application for a friend. The current app is in Excel format but he would like it converting to a downloadable piece of software.I have been looking for well designed applications and found: url...Are there any good resources about learning to design/ develop a similar interface? Or good software design inspiration sites?I am typically a PHP web developer with VB experience but thought i'd give it a go.
View 3 Replies
Apr 15, 2009
Does anyone have or has anyone come across an in depth guide to the .net app.config? I'm having significant issues trying to find a definitive guide to this area of .net.I can already handle custom configuration sections, from basic key/value pair settings right through to complete custom configuration handlers which I struggled to find information on, but I cannot find any documentation regarding basic native .NET functionality of the configuration file...for instance, with regards to BCL configuration. I've gone through the machine.config.comments and the config.xsd files and it has provided a little insight but not enough to fully grasp the full potential of the config file. I've also trawled through everything I can find on Safari and only managed to come up with a couple of useful tidbits that I wasn't previously aware of but it seems this area of .NET is extremely poorly documented and unless you have a very specific purpose in mind, it's useless trying to find information on it.
View 1 Replies
May 12, 2009
...
Dim Desen As System.Drawing.Pen
Desen = New System.Drawing.Pen(System.Drawing.Color.FromArgb(vectorCulDrLn(0), vectorCulDrLn(1), vectorCulDrLn(2)), drwgln)
Dim Grph As System.Drawing.Graphics = programNods.CreateGraphics()
[Code] .....
If I minimize the window or drag it "out of the screen" the "inserted" lines will be "cleaned"...
How can I draw them again? OR
How can I draw them in such a way to not lose them after I minimize the window or drag it "out".
View 2 Replies
Mar 24, 2012
Im trying to add click events to shapes within a visio file.. I have the functionality to pick up the click events but i cant figure out how to assign the window control to the drawing window of the file.
my attempt..
System.Diagnostics.Process.Start("visio.exe", "test.vdx")
sourceWindow = New Microsoft.Office.Interop.Visio.Window
sourceWindow.Src = "Path"
[Code].....
I try to get the window to pass to the above code and create the vdx document within a button click event on a form
View 1 Replies
Apr 9, 2011
I have a bit of an issue here. I made a "Colour picker" dialog in my program with which you can pick the colour at the mouse. It is a simple topmost form with an OnPaint handler used to draw a coloured border around the cursor:
It uses a transparency key to make the non-drawn parts of the form transparent.
It uses the following code to prevent the mouse from clicking through the screen:
Window.FromControl(Me).ExStyle(Window.ExStyles.Layered) = True
Window.FromControl(Me).ExStyle(Window.ExStyles.Transparent) = False
It sets Layered to True and Transparent to False. This works in Windows 7, but on a XP machine it fails. When moving the mouse the event does not go to the forms' event handler and you can just click through. For a screen region selector I simply made a screenshot, but I want the Colour Picker to remain updated. (just in case you want to get the colour of an animated control)
How can I get this to work on a Windows XP machine?
View 22 Replies
Jan 7, 2009
I'm having a problem with the graphics portion of vb.net. As a school assignment, we are making "turtle graphics" applications. I have mine working perfectly, the problem that we are having (not even the teacher can fix it) is that when the window gets sent the command to be painted (ie minimized and maximized) the drawings in the picturebox I am using are completely erased. I am looking for a way to prevent this from happening. I have been trying to store the image as a bitmap in memory, which does not work. Is there another way to draw to a bitmap/image in memory and then output that to a picturebox?
View 2 Replies
Dec 25, 2009
I used a picturebox to allow user draw lines by mouse. I used this code in mouse down:
Dim D As New System.Drawing.Pen(DrawingColor, 2)
Dim g As Graphics = PB.CreateGraphics()
g.DrawLine(D, X1, Y1, X2, Y2)
but when a window appear on front of picturebox... its seams that picturebox redraw itself, so drawn lines erased.
View 5 Replies
May 2, 2012
Excuse me for posting this, but I have searched both Google along with this forum before asking this question, maybe I'm not using the right keywords but I apologize if it's easy to find.I would like to know how one could close a third-party window (application) if a specified string was found in the window title.
View 2 Replies
Nov 30, 2010
I would like to know how one could close a third-party window (application) if a specified string was found in the window title.
View 4 Replies
Dec 12, 2011
If you have ever noticed in the Task Manager, when you right-click on the running task, you have many options which include 'Minimize' and 'Maximize'. Is there anyway to do achieve this in vb?
View 1 Replies
Mar 15, 2012
i need some tutorial to implement BLS (Boneh-Lynn-Shacham) signature algorithm to create private key and public key to encrypt a message.I need tutorial to implement this in VB.NET.
View 1 Replies
Dec 29, 2011
I was trying to compile these codes in VB.NET (VS 2008), it has no error but when I try to draw, it is not working. Maybe there are some missing/wrong codes.[code]
View 1 Replies
Aug 14, 2009
drawing text on a window which is not the current form's window.I remember doing this in Win32 api with getwindowdc(handle) to obtain a DC for the Window, then textout() on the DC.
View 2 Replies
Sep 30, 2010
I have a reference to MSXML6.0 so I can handle DOM in my VBA coding (Office 2007) but I need a helpfile.If I open the Object Browser for MSXML2, select the Class IXMLDOMElement and try to open help on the member nodeType nothing happens. Can anyone assist in how I can access help on the MSXML2 Library. Many people refers to the DOM Developer's Guide for help - unfortunately the is no DOM Developer's Guide, at least I can't find it, neither on MSDN nor on W3.
View 2 Replies
Jan 13, 2009
my name's Sardor, from Uzbekistan. I have some experience in coding in vb.net, but i am having real difficulties with realizing one project. The thing is to code a simple drawing tool and embed it to an existing vb.net application. The drawing tool should be a simple object and have the functionality very similar to mspaint (windows built-in drawing software). It should also have some custom brushes, and it should support loading and saving pictures in common formats such as bmp, jpeg, gif, and png. how to code such a drawing tool? Or can I instead download any such control or tool as an add-in to vb.net and use it?
View 5 Replies
Apr 23, 2008
I am looking for general coding for performing the various functions such as elete/add/update the table in the database.
View 3 Replies
Sep 30, 2010
how to print the data in my text box and datagrid.
This is my form: If i click, the Print Button, a receipt will be printed with all the data in the text box and datagrid.
View 1 Replies
Apr 10, 2012
I'm a novice who does not need installers yet and does not collaborate and I was hoping someone might be able to point me to a simple guide for incrementing versions and backing up the source files so that if I ever needed to I could get back to the previous versions. I just don't want to get into Visual Source Safe, Team Builder, or other big hairy version management software. Also my VB Express book only talks about using the ClickOnce solution which doesn't seem like it's a fit for my needs. I'm thinking I should be able to do a build manually incrementing the version and manually archiving files or folders to a certain location.
View 4 Replies
Dec 23, 2008
Would there be a way to make the system.drawing namespace available to a console application? ( i know this sounds silly, but all my application does is take a bitmap of a window and saves it to file, so whats the point in my application being form based)
View 2 Replies
Dec 10, 2009
I'm a college student just starting out programming in VB and am having a lot of trouble trying to get my drawing program to work. Currently i am using Microsoft Visual Basic 2008 Express Edition and whenever i try to debug my program the window it's supposed to run in is just a gray block. I'm not too sure if this is the right place in the forum to post this so if it is just let me know and ill move it. c:
[Code]....
View 2 Replies
May 27, 2009
I have started a little project for myself to become a little more accustomed to drawing in VB.NET. I decided to make an application that looks a little bit like Microsoft Visio.
Until now, I have been able to create an image 'layer' on a blank PictureBox by clicking somewhere in the PictureBox. When I click on such an image layer, it is selected (and a blue rectangle, and its text are drawn). I can also drag the selected image layer.
The code for this is as follows:
The ImageLayer class:
vb.net
Public Class ImageLayer
#Region " Properties "
[Code]....
how to do all this; I'm starting to fear this project is going to be a little much for me...
So, do I really have to do everything manually? So the images locations, their size etc should all depend on the zoom level? Or is there something 'premade' I can use?
View 4 Replies
Mar 2, 2011
The BBC has created this website with a series of courses to enable people who may fear using a computer to get to grips with the basics. Some of the areas are aimed at potential "silver-surfers". Older people who may find using a computer useful for things such as email, shopping, sharing photos and such like.
[Code]....
View 2 Replies
Jul 18, 2011
Here is a link to a FREE whitepaper relating to;"From Hack to Counterattack: A Guide to Protecting Software Products Against the Top 8 Piracy Threats"in case any of you want to get it? url...If you do not want to enter your details on the above page then go here: url...Try the World's Strongest Software Protection Today.You can download the Sentinel HASP software DK Version 5.10 right now or request the full Sentinel HASP DK at no charge. The standard Sentinel HASP DK enables you to test Sentinel HASP with both HASP SL (software) and HASP HL (USB dongle) protection keys. The software DK enables you to test Sentinel HASP with HASP SL protection keys only following a simple software download.[code]
View 6 Replies
Dec 22, 2011
modify console application below to window form application for me.I've tried by myself for million times, but i couldn't console application.rar?
View 2 Replies
May 26, 2011
I am in need of a small application, that will allways be topmost and will send keystrokes to the last active application (typically notepad or an explorer window). My problem is retrieving the current active form (or application), when my application is started up. Every search seems to return old and rather complex solutions using Win32 library functions, but I was kinda hoping, that .Net allowed for a neater and more simple solution.I need a code example or link on how to retrieve the currently active application window from another application just starting up.
View 2 Replies
Sep 26, 2010
I'm creating a TV guide where you can check which movie tonight is coming etc. Everything went well till now, when I use a RSS I put the data in a DataGridView but it only goes in one column as I can't add the description in another column.
This is my code :
Dim Xml As New XmlDocument
Xml.Load("url")
Dim NoXml As XmlNodeList = Xml.SelectNodes("/rss/channel/item/title")
For i = 0 To NoXml.Count - 1
DataGridViewX1.Rows.Add(NoXml.Item(i).ChildNodes(0).InnerText)
Next
I want it to add more things then only the 'Title' in the DataGridView.
View 1 Replies
Jul 20, 2011
I am looking to call plink from a vb.net application in the background (without showing the black plink cmd screen) is it possible?
View 1 Replies
Jun 3, 2012
draw individual pixels, without resorting to drawing a line and setting it's length to 1. Is there an actual ability to draw a pixel that is just 1 pixel big?
View 2 Replies
Feb 15, 2012
What is the difference between window form application and WPF application?Also i want to know about WPF application.
View 3 Replies