Xna - Content Pipeline - Asset And Screen Management ?
May 8, 2012
I am new to XNA and this is a philosophical question. In most examples I have seen, game assets are defined as private class variables, loaded in the LoadContent method, and then drawn with the Draw method. If I have a large game with a lot of screens, there could be quite a bit of declarations at the top of this class.
With that said, here are my questions
Should I use the content pipeline over Texture2D.FromFile().
What are the advantages other than faster loading.Should I call Content.Load(Of T)([some asset name]) outside the LoadContent() sub.
How are you handling loading assets for different screens? Are you declaring all assets at the top?
View 1 Replies
ADVERTISEMENT
Apr 4, 2011
im looking to develop application for my small office similar to but all i want is only to get IT assets[workstation,servers,printers,OS] and software's install in my office
View 5 Replies
May 12, 2012
I have coded an asset management application which can submit asset information,retrieve and update it.The application can also send emails with excel file as attachment to employee's id by reading the name of the employee from the source excel file.I am using gmail as smtp host. Now I need to prepare a report on it which requires me to mention the requirement specifications which include
[Code]...
View 1 Replies
Jan 11, 2012
I'm looking at creating an asset management system for all our electrical equipment, the equipment already have security labels with barcodes on them. What I am wanting is to be able to do is create a form where i can state some general information about the piece of equipment and then scan a barcode to register the equipments security number. so that if an employee needs to use that piece of equipment off site then I can just scan the barcode and register that the employee has taken the equipment.
My understanding is that the barcode reader is generally plug and play and acts as an input device? So what I would need to do is find a way to identify which input device is used, and if it is the reader find a way to assign a labels text to the value that has been read, rather that insert it into a textbox? I also want to display the actual barcode itself above the label, so I assume I would need to re-generate the barcode as an image and then display the image?
View 2 Replies
Apr 4, 2012
I am coding an asset management system for telecom as my major project.It features submitting asset information,retrieving an asset information by entering the id of the user responsible for it,checking the number of live,stock and scrap assets and downloading it in an excel file and updating any asset information if needed.It has an admin login to it and even a change password form.
View 2 Replies
Sep 18, 2011
In my project is a form called "Secondary". It is suppose to appear on any and all screens (if any) other than the primary screen. The following code seems pretty logical to me, but Secondary is not appearing on any screen.
[Code]...
View 6 Replies
Feb 2, 2012
Now I'm creating at app in VB (Microsoft's, Visual Basic 2010) which will be in full screen but I want to know if I can put all my content in the centre of the screen. At the moment it's at the far top, left of the screen. When the screen size varies I want it will stay in the middle for all shapes and sizes. Like :
<div style="margin: 0 auto; width: 500px;"></div>
But this is for web pages using HTML and CSS.
View 1 Replies
Dec 24, 2011
I have limited programming with Visual Basic Express and I was looking at creating a pipeline inspection program which generates reports from data entered after viewing the CCTV footage of the inspection. There is a program called WinCan which does this but the license is in the thousands of $$$ per year and is alot more then what I need. how to create the diagram. Is this project simple to do myself or should I look at using freelancing websites?
View 3 Replies
May 19, 2012
I know the code of full screen is
If Me.WindowState = FormWindowState.Normal Then
Me.WindowState = FormWindowState.Maximized
Else[code]....
but i want the content be expanded when it is full screen.
View 6 Replies
Mar 22, 2012
I am trying to make a project, but I am beginning and the examples that I see in the forums are giving certain. desire to make a program where web opens definitive page. When opened, the shown content is copied and recorded in an archive. Desire not to copy code HTML, but yes, the text that is appearing in the screen.
View 6 Replies
Mar 14, 2009
i working in a pda developed how can i resize all content at exact size of screen?
View 2 Replies
Apr 26, 2010
What I am attempting to do is make a form for a tire shop. I want to put comboboxes on the left side of the form that the employees make choices from. I then want to put some kind of a table or grid looking thing on the right side of the form that will display their choices so that everyone in the shop can look at it see that "John is on bay 5 until 3:00pm". At the end of the day I want all of the combobox choices to save to a file..I dont really need the table or the grid thing to save..just the choices. If I want to do this, do I need to use that gridview tool? or can I make my own table thing to display the choices in.
View 9 Replies
Feb 27, 2010
basically I would like to create a Web Browser that displays the Content in it's screen. I started like this:
[Code]....
The 1st Struggle already is that hitting Enter after adding the Address does not display the content. I need to click on the Search Button. Additionally it would be nice if the Address is an IP Address that the last Part of the IP address could automatically be incremented and show the next Device in the Browser.
View 7 Replies
Apr 15, 2012
I have a database of asset information with asset age as one of the columns..now i wish to display all the assets which crossed 4 years in the current year
View 8 Replies
Aug 26, 2010
I am starting a large project here at the office. This project will be an asset tracking software. If time permits I would like to be able to develop the system so that I could put a file on a flash drive and then insert that drive into a pc, run the file and then have all the information pulled automatically but this is where I have no clue as to where to start, how to pull this information automatically. I am also planning to have the ability within the program to generate and print barcodes and maintain the database internally, would I be able to do this with ado.net ? I maintain 4 locations, all together 15 servers and 400 plus nodes.
View 4 Replies
Jun 29, 2011
BTW this issue occurs in any MS office program when the VB.Net (or even VBA) is processing information.Example: In Excel, a worksheet is displayed on the screen. I start either, a VB.Net or VBA procedure and within 30 seconds the Excel worksheet (previously displayed) blanks out. In both VB.Net and VBA,ScreenUpdating = False. My expectation is that the previously displayed screen would stay static as if I left my desk to get a cup of coffee; came back and the same ole Excel worksheet was still there?Of course, setting VBA Screen Updating = False accomplishes two goals: 1) speeds up processing and 2) saves the user from seeing unnecessary "garbage-processing" steps.Why does VBA or VB.Net ScreenUpdating = False not freeze the screen at the time of its invoking?
View 11 Replies
Dec 30, 2010
I have a sample app here I could use a hand with Basically I'm trying to update the TextBlock on the main page using MVVM when the content the frame updates the the property. Please find the code attached below:[URL]..How do i get the button inside the frame to change the variable and update the TextBlock on the parent control?
View 1 Replies
Jun 20, 2009
loop through a textbox control content and extract specific content from it
View 20 Replies
Nov 25, 2010
1)This is my code.. (below)what i am trying to do here is to insert username and confirmed password into a sql table called login via a pre created form.I have 1 textbox, 2 Maskedtextboxes and a button.
what i would like is if the passwords do not match in both maskedtextboxes for the system to throw out a message saying passwords do not match please try again..which then clears previous content and requires the user to enter details again. once details are correct and system commits the new user details to the table and throws up a confirmation message.
[Code]...
View 1 Replies
Jul 6, 2011
Currently I have the following VB.NET code to make a screenshot of my desktop, but it only takes a picture of the active screen:
Public Function SaveScreen(ByVal theFile As String) As Boolean
Try
SendKeys.Send("%{PRTSC}")[code].....
The following code is how I execute the above function, if it makes any difference, which I don't think it does:
SaveScreen("C:Lexer_tracescreen.png")
Now, I need to be able to take a picture of the entire screen, not just the focused window.
View 4 Replies
Feb 29, 2012
I'm trying to get coordinates on my screen by holding down my mouse and placing it over different parts of the screen. I'm using the mouse_up and down events in a button to kinda simulate the mouse being held down. The problem I'm running into is that anytime I go past the button's bounds, the coordinates I want stop. This is what I have so far:
[Code]...
View 2 Replies
Sep 6, 2009
Sometimes when updating the entire screen or moving around controls etc, there is some fairly bad screen flickering.
View 2 Replies
Feb 8, 2011
I have created a GUI and have set my 'Form1' window to match that of my PC monitor ( 1280x1024 ). However when i move the project to work on my netbook, the screen on my netbook is only 1024x600 and half my GUI is missing. Is there any way i can adjust my settings so that my 'Form1' GUI will auto adjust and display in full on both screen when i move the project back and forth?
View 2 Replies
Dec 20, 2009
I'm coding a splash screen in VB.Net that displays for 3 seconds then shows a login screen. But the splash shows up even when login shows and I have told the splash to hide. Here is my code:
[code]...
View 3 Replies
Jul 1, 2009
I send a message a while ago and no one answerd, how can I draw directly on the screen (not on a specific window) just on the screen, neither if it's on the desktop or anything else.Is there is any option to bring up the switch between applications window (Alt + Tab), I don't want to use sendkeys because the user need to keep the key down and I just want the user to select the application with his mouse.
View 3 Replies
Jun 23, 2009
im about to develop a small appliacation for a bet system, which needs 6 screens, each screen will be a touch screen for each client... the application will be running in one computer only just with 6 screens. my question is does anyone knows how to control each screen separately?. somethign that would allow me to output each forms in different screens would work fine.
View 2 Replies
Jun 14, 2011
I am using VB Express 2008, and I'm experimenting with querying WMI. I have tried the code samples from MSDN, but they do not compile. Here is an example of code that my IDE doesn't like:
Imports System
Imports System.Management
Public Class Query_SelectQuery
Public Overloads Shared Function _
[code]....
In this case, SelectQuery and ManagementObjectSearcher are underlined with squiggly blue, and it doesn't know what these are. What am I missing here? Please help, because I'd love to be able to write console apps that query WMI.
View 2 Replies
Aug 1, 2006
I am using vb 2005 and need help with trying to do the following :A Form that has a combo box , a listview and 2 command buttons( When the form loads ) i need the combo box to be enumerated with the printers that are on my server ( so will need to connect to my server which is obviously a remote machine ).Then when ever I select a printer from the combo box, it enumerates the listview with any print jobs that are in that printers que and I am able to select either one or multiple print jobs and click on the cancel print job button ( which will cancel any selected print jobs ) or click the cancel all button which will just delete any print jobs in that printers que.I know this is a lot to ask but even if I could just get an example of how to enumerate the printers into the combobox and get the listview to display the print jobs ( If any exist ) for that specific printer.That would be great.
View 1 Replies
Feb 18, 2010
I am making a program that will put a black mask over an application (like a full screened game). This black mask will fade in and out, depending on certain criteria. Is there a way I can do that with VB? It's to help me dim my monitor without having to push anything.
View 3 Replies
Aug 20, 2010
I wanted to make a screen recorder (not screen capture) program, but I am not entirely sure how to get it started. I have seen many videos and things on how to make one, but all of these just take multiple pictures and then don't compile them into a movie file, and I don't want to take many pictures (unless that is the only way possible.) I am using Visual Basic 2010 Express and I have looked at the Windows Media Encoder, but I can't seem to figure out how to use/implement it (yes, I have downloaded and installed it.) Maybe I can use some kind of ActiveX control?
View 3 Replies