Draw Diffrent Layers It's Not Drawing Them Transparancy?
Oct 21, 2011im making a game with XNA, but when I draw diffrent layers it's not drawing them transparancy, why? (just run the game and you'll see)
View 4 Repliesim making a game with XNA, but when I draw diffrent layers it's not drawing them transparancy, why? (just run the game and you'll see)
View 4 Replies1. Is there any tutorial to draw graphic show as the picture I upload?
2. How to draw graphic with multi-layers, so that we can do modification on peaks instead of coordinate.
Something is going wrong, I have no idea what it is. I just simply want to draw over pacman so he can open and close his mouth, so there would be 5 pacman's, with different mouth positions.Note: The change of color was just to make sure I was seeing the results.)
[Code]...
I'm creating new buttons at runtime that I need to draw on. I have 4 different and I need to draw different shapes on them. I've started with the "rectangle button" and I've approached this
[Code]...
[URL] In my Windows Form, I wanted the user to give an option to draw all over the form. But, if the user while drawing, enters the region 1, I want to assign a value to variable, say a=1. Correspondingly, if the user without leaving the mouse button previously enter the region 4, I want to b=1.After the user leaves the mouse button, I wanted to compare a and b. If both of them are equal, then Result=Done else not.
View 3 RepliesI am trying to do a game application similar to chess, where i need to move the game peaces(graphics) over another graphics which is the game board. using the mouse. How can I do multiple layers of graphics and control their movement(without direct x)?
Note: I have visual basic 2010 express, windows xp home
i got a large picture box sent to the back with a default image.i got a few picture boxes set to transparent and they are placed in front of that large picture box. these picture boxes have no images, just set to transparent in the properties.
I use the mousehover event on those picture boxes so when one is hovered over, it will change the image of the large picture box which is behind it.the problem is that even though those picture boxes in front have been set to transparent, when the large picture box behind them loaps a new image due to an event, it doesnt show through those picture boxes which are in front of it!
I have a 3 layer treeview and is using the code below. I am getting it to do the following,
1) If parent is checked, check all child nodes.
2 If just one child node is unchecked, uncheck parent node.
3) If all child nodes are checked, check parent node.
Code below only works for 2 layers. Would appreciate if you can guide me how to make it three. There are much information on treeview but most of them seems irrelevant =/ Will be great if you can show me a good guide on treeview control.
Private Sub TreeView1_AfterCheck(ByVal sender As Object, ByVal e As TreeViewEventArgs) Handles TreeView1.AfterCheck
RemoveHandler TreeView1.AfterCheck, AddressOf TreeView1_AfterCheck
For Each node As TreeNode In e.Node.Nodes
node.Checked = e.Node.Checked
[code]....
I am developing a simple database with typed datasets. My employer wants to put two security layers in my database for a verifier and administrator. Anyone can change the database. But later it will be rechecked and marked as verified! and once every record has been verified, the administrator will append those verified records to the actual database. Can any bro devise me a proper method to do that? Right now what i have in my mind is that i put a verified and authenticate boolean in my database. For each edded/edited record, i mark/unmark that verified/authenticated entity as being set or unset. This approach is easy to implement and gives an option to undo any record changes but i'am afraid will compromise the database in space and time.
View 2 RepliesI was wondering if there is any way to manipulate layers of a psd from within a VB program. I would Ideally like to inserts just the psd file in and then once a command is clicked turn one of the layers on or off.
I know I can accomplish this inserting a jpg/gif for each layer and have that image be turned on or off by a button click, but I figured using the psd would save room and if something needs to be aligned differently I can just make a change in photoshop. Opposed to trying to realign the coordinates in VB
Can We control Speed of Gif Images layers / Frams using VB
View 11 RepliesHow would I go about doing multiple layers on a form?Say the first layer contains a command button that when its click, it changes to the second layer hiding the command button and showing the controls on the second layer?
View 6 RepliesBack in Visual Basic 6.0 and prior I could have a picturebox control and then have multiple images on that and using a gif file; then I'd have some images transparent. For example, I am trying to make a map where each country has it's own layer and the void is transparent so the underlying picturebox contains all the water.
However, in visual studio I've noticed the image control is now gone. I tried using a panel and a picturebox on top of that and it works but I can't use another picturebox on top of that picturebox, nor can I stack multiple panels with the same affect.
I want to create a game using visual basic 2010. I'm a specialist in VBA and Excel but not VB 2010.I want to display and hide a whole group of objects. In Acces I used for such cases the TabControl. For example in Tab1 the Game, in Tab2 the highscore and in Tab3 the options. Then I made it transparent, so that the Tabs (Buttons) are not visible, only the objects in Tab1 Tab2 and Tab3. With VBA I select the Tabs controlled by my own buttons (jpg). I tried the same in VB 2010. Without success.What can I do to switch between game, highscore and options without using popups. I want to display them at the same positions. So game objects and option objects should hide and highscore objects should be shown. And the other way round. Like the handling is with different layers in photoshop!
View 2 Repliesi have an application. this application is using findwindowa api for check if there is instance of its own. (sorry for english) so we cannot open this app two times. as you may guess i wanna open thousands instance of its. (or 2-3). i tried disassambler but code is encrytped or something like that. so what can i do? maybe i can:
* run app from diffrent application. if its possible findwindowa can fail.
* change class or window name (i think its not possible)
* block applications findwindowa call
I am working on an application which can apply tweaks to Windows XP. I populated a TreeView with some nodes, but how can I display the diffrent properties? I mean, some need some checkboxes or radiobuttons or a listview. I want something like a TabControl, but whitout buttons on the top.
Does something like that exists?
I'm done with a solution and I don't want to work with it anymore, except for small bug fixes that may come up. I have a new project assigned to me which to take the project I just finished, and add some new features to it. But I wouuld be changing alot of stuff in this program. So I want to copy my solution, save it as a diffrent name, so I can work off the old solution and start modifying it, but I will always have the original one to fix any bugs or go back to.
View 5 Repliesdraw 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 RepliesI am working on a video chat program and I have almost everything working on my network I now need to figure out how to establish comunication between two clients from diffrent networks without having a middle person to switch each meassage to each other.
To clarify: I belive that I need to have a server running that each client when they start up the program will login to the server handing thier external ipaddress and port forward to get to each respective client, this will be stored in a SQL database (I know how to add the data just not hwo to get it from the source)
Then the server would brodcast the clients name to anyone that is authorized to know (currently everyone) and has there data stored on the server.Finnaly when the client shouts down it sends out the logging-off comand and deletes the adressing information from the server.The client programs will be windows form applications that use the tcpclient connection to send text meassage And the server application will be I hope a webapp.
Datagrig with diffrent no of Rows in each Column.
View 6 RepliesI am copying data from DataTable to another DataTable with a structure.I have to hardcode coulums number in the loop and copy the data in object array.[code]...
View 2 RepliesI wanted to visualize to the user the diffrence if they opted for certain values. In mycase certain choises would show phonenumbers on intranet.To show how I wil leave the control names default. To recreate the the project. Start a windows form application, place a datagridview, and 2 bindingsources on the form To start we need some data to show and a list to choose from.To make a simple example I chosen to make a person class containing an Id, Name and Position.Id If the Position is a staff position it should be blue others should remain the default style.But lets start with the colorScheme Interface so we can store the colorscheme we want to show for a certain positionitem in the datagrdview It wil need back and forecolors but also colors for teh item whilst selected. To show the Displaymember we want to see I've also added the toString property that should shadow the toString of the object.[code]
View 2 RepliesI want to make a richtextbox what can show you diffrent colors.I've already managed how to give 1 line a special color, but I want to know how to give everyword in a sentence a diffrent color.
as example in a line on my textbox: Hello World, I want to show this diffrent colors in my richtextbox - who knows how to make it? This is the code I have to color just once line of the textbox.
[Code]...
I have a problem i need to join two table from different sql servers and as a test i have tried to get data from two table but i realizethe adapter can have only one connection statement as argument how do i get records from two table from diffrent database
Please see my code
Dim adapter As SqlDataAdapter
Dim ds As New DataSet
[code].....
I have been making a webbrowser in VB.net with a simple layout and simple things in it like a history, go buttons, back button, refresh, a menu etc(atm im trying to make a favourite, and a open file and stuff) but all of this are just things i see back in IE , as the engine or is based on it what my question was is it possible to make a webbrowser(not too hard ) with a diffrent engine.are there any lightweight engines? and how do i implent it with VB.net. how does this all in theory go, .i want to know how these engines work, and what functions i would need to use to make a webbrowser on that specific engine.
View 1 RepliesI am new to programming just started school for it and i started playing in VB Which is what my class is i have Visual Studio 2008. okay here is what i need help on. I am making a simple windows forms program it has 3 forms and on form 2 i have 6 text boxes and on form 3 i have 6 labels. I am trying to get the user entered data in the 6 text boxes to transfer to the 6 labels on form 3.
View 5 RepliesI need to encrypt a string (CPU ID). the result will be displayed in the textbox. But I want to display differents results for the same word. I tried some codes but it displays the same result for the same word.
View 4 RepliesSo I am working on a small program that will tell the engineers the status of their testers; whether they are up or down with the time and date in addition there is also a comment box. I have created a program that has all the right buttons and options. Where I am stuck is on the save option. I want the engineers to be able to make changes to the status/date/comments and by clicking the save button to save all changes(in the status and date boxes) and text(in the comment box) so that when the program is opened at a later time or by another user on the network from a diffrent work station the latest changes from whomever will be present. The code that follows only allows the changes to be seen by on that specific computer and they are not shared to everyone who uses the program that accesses it over the network. Any help would be awsome!! Hope this is clear!
How can I get it so everyone sees all changes over the network regardless of the computer they are using? any help would be amazing!!
[Code]...
I 'm trying to achieve is have 1 button that toggles between 2 batch files start/stop - when pressed the button calls for a batch file to start process - then if pressed again it calls for another batch file to stop the process. But it would be hand to have indicator or text on button stating the status.
View 1 RepliesI am working on a signout system I have a good start but am trying to solve a small problem.Signing out equipment I fill part of a form with student data from the dataset with Fillby, fill the other half with equipment data using Fillby1 I then save this combined data to my Access 2007 Database using a OleDb.OleDbConnection.
[Code]...