VS 2005 Draw On Desktop With GDI
Jun 10, 2010
I've find a way to Draw line, string, shape, and so directly on the Desktop, but shape are also draw over any windows that appear over the Desktop. I wish a could only draw over the WallPaper, and not over the Windows over it.
Private Declare Function GetDesktopWindow Lib "user32" () As IntPtr
Private Declare Function GetWindowDC Lib "user32" (ByVal hwnd As IntPtr) As IntPtr
Private Declare Function ReleaseDC Lib "user32" (ByVal hwnd As IntPtr, ByVal hdc As Integer) As Integer
[Code]....
View 8 Replies
ADVERTISEMENT
Nov 6, 2010
how to make a multi language desktop application in vb.net 2005. only a small desktop application in which i can change language according to countries.
View 1 Replies
Dec 4, 2009
way to do the following in VB 2005:
I need to access, but not display, a web page out of a VB 2005 program. The web page would be an aspx page with a query string as part of the url - with the url using values acquired thru the program - e.g. www.mysite.com?arg1=this&arg2=that
So the aspx page would produce an html output with values I need placed in specific elements. I want to read that page from my app and do stuff with the resulting values.
View 2 Replies
Mar 19, 2009
Ive been thinking for awhile about this but I cant get my head around it, Ive been experimenting with physics of objects in visual basic and what (a boucing ball) and Ive been wanting to take it the step further,
View 1 Replies
Oct 13, 2009
I have the following code :
sw = New StreamWriter("scanner.txt")
sw.WriteLine("TEST")
sw.Close()
This code should write the txt file to the folder my exe is in. This is the case on hundereds of different machines.
However I have just found out that on one machine my code always writes the files to the desktop and expects to read from the desktop. I am going to change my code so it looks specifically for the application folder but I still dont get why this is happening on one machine and not on all the others.
View 4 Replies
Apr 22, 2009
is there a possible way using vb.net to lock and unlock PC Desktop? so that we will have restriction for each user? what code should i write?
View 4 Replies
Mar 12, 2012
I need a code that runs on a machine that I am remotly connected to and displays the IP address or the PC name of my computer that I'm connected from.
View 1 Replies
Feb 17, 2009
I need to refresh the whole screen/desktop.I am painting a rectangle and need to have it clean and not leaving marks when it is dragged around.There were a few claimed APIs that could do it. And then some others which were more specific to other languages.
View 5 Replies
Aug 16, 2011
i want to draw picture of circle and cylinder in my programme, i am using visual studio 2005 programme anyone able the give me guide.
View 3 Replies
Sep 3, 2009
i am trying to write a code who find a window and draw line or string on it but nothing found yet,the process can aslo be a game so did it required to use 'Direct3dx' i try something like this but not woking...
[Code]...
View 2 Replies
Sep 3, 2009
Ive been experimenting with physics of objects in visual basic and what (a boucing ball) and Ive been wanting to take it the step further, make the ball bounce around the desktop. but how.
View 5 Replies
Oct 27, 2011
some controls(e.g. buttons/labels) dont have a drawmode property. Im looking to create buttons with rounded corners because they just look nicer :P. Now, the problem is that even when you have a custom paint event, the button just gets drawn first and the custom paint event will draw on top. Especially with rounded corners, where you see the parts of the default button in the corners. Is there a way to only execute the custom paint event / block the default paint?
View 2 Replies
May 5, 2009
I have a problem using LVIF_IMAGE as a mask to the subitem, the icon is drawn but the icon's transparency is disregarded, that is there is a square around the icon when it is being drawn. And I would like to be able to draw multiple icons in the same subitem and apparently LVIF_IMAGE will not be able to do that.I have been searching for other means and learned that I could ownerdraw the subitem like the following. But the problem now is that only the first column is being selected when I click on a row even if FullRowSelect is true.[code]I just want to be able to set or draw icons to a subitem,
View 4 Replies
Sep 24, 2009
i want to draw a line on my picture box but i would like have another line but on rotate condition (on the same time i move my mouse to draw a line)
-i know how to draw a line
-i know how to rotate a picture
but i don't know how to combine that two things
Private m_LastPoint As Point = Nothing
Dim LPen As New Pen(System.Drawing.Color.Black)
Private Sub PictureBox1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PicPad.MouseDown
[code]....
View 22 Replies
Jan 25, 2010
I am trying to create a setup file which would automatically install a link to the executable in the User's Desktop and Startup--> Program. However despite following all the steps in the right order I do not see any short cut in the desktop and Start -> Program.
View 4 Replies
Dec 23, 2010
would like to send me a pure oop based desktop application developed in vb.net 2008 and sql server 2005?
View 3 Replies
Jun 11, 2012
We have a Windows Forms VB.NET application running on Windows Server 2008. Users access this app using Remote desktop.The app displays information in Excel, but Excel opens on the server.Is there a way for the .NET app to launch Excel on the users local desktop?
View 1 Replies
Sep 5, 2011
Some of u already know I'm making a 'virtual desktop'- thing.Only one problem. When switching to a new desktop it starts a new instance of my app in that desktop (works) and on the form load event it says process.start("explorer.exe") <- here is the problem. It only shows a window not the actually bar.Also this may be important it shows the window, but when I navigate to explorer.exe 'C:Windowsexplorer.exe' and open it there. The explorer bar does show up.
View 14 Replies
Apr 26, 2010
I need to get the DataGridView to perform the way it should perform. I'm new to the .NET environment, but I learn fairly quickly. However, I find it difficult to decipher themassive black box of the DataGridView control enough to make it do anything other than what it already does--Draw very slowly.
View 3 Replies
May 17, 2009
I'm working on one of my applications and I'm trying to find a way to use the "Go To Desktop" function that goes directly to the desktop without minimizing any window (This can be achieved by clicking on the Win + D buttons or on the desktop icon in the quick launch toolbar), but how can I activate it using vb? I thought about sending keys but I guess there is more offical ways to do it.
View 10 Replies
Mar 20, 2010
I would like to make a image in the form representing the icon and a label below it to represent name but is there a easy way to do this.
View 2 Replies
Oct 14, 2011
I have a form that uses a button to draw a line and a second button to draw a rectangle. I have a third button to clear the form but can't find a code example to code the Clear button.
View 4 Replies
Jul 2, 2009
I have to draw a bar graph in my vb.net program. I used AxMSChart to create a graph. Everything has gone fine but when i published this and run on Vista PC, all form was good except my form includes MSChart. It says class not registered.So i have to draw a graph except MSChart tool.
View 10 Replies
Jan 27, 2012
Environment.GetFolderPath(Environment.SpecialFolder.Desktop)The main reason is we area talking about an Environment that has XP, Win Server 2003 (TS), Win Server 2008 and Win 7. Obviously different path depending on the OS. I need to copy a file to a users desktop and would like to do so without having to hardcode the path as it could change depending on where they are working from.
View 5 Replies
Jun 9, 2011
Being new to vb.net, how do i get a exec mod for the desktop ??
View 8 Replies
Sep 30, 2009
[code]This works just fine in ASP.NET (web app) but, how do i do the same from Desktop Aplication (vb.net) ?
View 4 Replies
Sep 30, 2009
im making a program which is a sort of mock OS, and im wondering if it is possible that, when i click a certain button, a picture box appears in the space which is the desktop. The picture box must act as a shortcut, for example if i click on new text file, a picture box with a text file picture appears on the desktop space, same for folders
[Code]....
you check the tutorials that you post! I am using Visual Basic 2008 Express, not any earlier additions! One of the tutorials was about how to make labels that tell you their screen location!
View 9 Replies
Oct 9, 2009
I want to move a file from the users desktop to the running applications folder.This is what i have which works for me - but the desktop path will be different for each user so am looking for the system path
Dim FileToMove As String
Dim MoveLocation As String
FileToMove = "c:usersmedesktop est.txt"
[code]...
View 4 Replies
Apr 11, 2010
how to POST to a php file form a vb.net app: http:[url].... So now I've logged in the user user by posting their username and password to the php file, the php file then does security/checks they exist/etc and if both username and password are correct is stores the user ID in a session variable.Now if the vb.net app tries to download data off a page which needs the user to logged in, it checks this by doing:
if (!isset($_SESSION['uid'])) {
header("Location: index.php");
}
However after having logged correctly in the app the session variable is not set.How does session work with a vb.net app like this?When the user logs in successfully should I download the user id and keep it in the vb.net app and then post it to each page that requires authentication?
View 4 Replies
Feb 7, 2012
I'm making "Sticky Notes" and I want to be able to pin those stickies to the desktop. Sorta like a BottomMost function. Is there something like that I can use and if not, how would I even go about making a function that would keep my form on the desktop?
'Pins the program to the desktop
If saved = False Then
saved = True : PinToDesktopToolStripMenuItem.Checked = True : lblClose.Visible = False : Me.ShowInTaskbar = False
Else
saved = False : PinToDesktopToolStripMenuItem.Checked = False : lblClose.Visible = True : Me.ShowInTaskbar = True
End If
The reason I'm not going to mark it resolved is because if I click pin to desktop and the desktop isn't the application directly under my application then I have to minimize every program to get it to stay on the desktop.
View 10 Replies