2bee's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. drawing order for multiple passes
I'm porting a MDX project to XNA, and have found a problem. In MDX, when drawing using a multi-pass technique, the scene first is drawn using the first pass, then using the second pass and so on. In XNA, I have the impression that first, the first object is drawn using pass1, pass2, etc. When the first object has been drawn, the second object is drawn. Summarized: MDX: (foreach pass: draw all objects) XNA: (foreach object: draw using all passes) In more detail, the XNA case would be (foreach triangle : draw using all passes). The screens I get quite convince me of this, and if you want I can post some code and some screenshots of both cases. But first I would like to ask if there is some kind of way to instruct XNA to (foreach pas ...Show All
SQL Server Letter Report keeps printing on Legal Paper
I have a report that fits on letter paper, is set up to print on letter paper but always renders on legal paper. If I export it to PDF it works fine but if I try and print directly from the browser using the printer icon it always set the paper length to 14 even though none of the papers run that long. Any help is appreciated. TP If I change the PageHeight and PageWidth to 8 x 10 with L/R margins = .25 and T/B margins = .5 and try and print from the browser it thinks it's a custom paper size. If I then click on the "Custom Paper Size" button, it looking for paper that is 8x10 ...Show All
Visual Basic Application Configuration
Hello. A question, please. I am working with VS 2005. I don't find how can I set the working enviroment. I mean DEBUG, RELEASE. I know that I must see a bouton called SOLUTION CONFIGURATION, but I dont have it. Can anyone help me Thanks... Not, It is the same if my application compiles fine, Configuration Manager is disable... Any idea ...Show All
Visual Studio Debugger.StepOut - how to obtain returned value?
Is this possible in any way ...Show All
Architecture Reverse Engineering Column Notes into Visio from SQL Server 2005
I would like to reverse engineer a database schema from SQL Server 2005 into Visio 2003 and populate the notes property for both the Tables and individual Columns. I have discovered that if you create an extended property called 'Notes' in SQL Server on the table definitions, that the notes property in Visio is populated correctly. However, if I do the same thing for a column, it does not populate the notes property within Visio. Does anyone know of a way to have the Notes property of a column definition populated from SQL Server 2005 into Visio Thanks, Scott Mead ...Show All
Visual Basic need to create an array of classes
This is probably a fairly strange thing to want to do but it would sure simplify the code. I have many (10 so far and more coming) classes that all derive from the same base. The all process different types of files. The new operation currently is a little expensive and the objects are not small. What I was thinking about doing was creating a SHARED method in each derived object that can look at the input and decide if ir is a file it can process. That way New is only called after determining which of the derived objects will really process it. What I wanted to do was something like: dim processors() as filereader = {processor1, processor2, processor3) dim p as filereader dim realreader as filereader for each p in process ...Show All
Visual C++ MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup
Hi Justin! i am completely new to this and have to learn the language fairly rapidly, got myself a decent book, but when i try and compile a simple hello world program i get the error: Linking... MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup Debug\dont know.exe : fatal error LNK1120: 1 unresolved externals Build log was saved at "file://c:\Documents and Settings\Justin Pyfrom\My Documents\Visual Studio 2005\Projects\dont know\dont know\Debug\BuildLog.htm" dont know - 2 error(s), 0 warning(s) the hello world code is in a .cpp file format and t ...Show All
Visual Basic Enabling/Disabling USB port using VB6
Hi , I am creating a VB6 program in which I need to Take Backup of Data to USB(Thumb dirve) . But for security purpose USB port must be disabled always. So when I start taking backup I need to enable the USB port take the Backup and disable it. How to do that using VB6 I have tried the option to enable using Wscript as follows . But it is not refreshing the USB port autotomatically. ********************************************************** Set objReg = CreateObject("Wscript.shell") objReg.Regwrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\USBSTOR\Start", 3, "REG_DWORD" ********************************************************** Is there any way we can refresh the Windows devi ...Show All
Visual C++ Unhandled exception error with Debug mode in a VS C++ project
Hi, I am debugging a C++ project in VS 2005. When the program is run from Debug mode in the IDE, a VS error message comes up, saying "Unhandled exception at 0x104817fd (msvcp80d.dll) in addingham-vc80-debug-md.exe: 0xC0000005: Access violation writing location 0xeefeeefe." Nevertheless, this program runs well with the Debug mode in its Release build. Could anybody give any tips to solve the problem Your help will be appreciated very much. Thanks in advance. Jason Thanks for your info. The problem seems more related to a system conflict, as the error message indicates the error is associated with msvcr80d.dll and the VS debugger refers the error to somewhere in output.c of VC 8. My progr ...Show All
SQL Server Question: Can i synchronize the mobile device which has a SQL Server CE database with the Access database on the desktop?
Dear All, i have a question abt winCE 4.2 and SQL server CE. i am using VB.net of Visual Studio 2005 My platform is using a PDA with winCE 4.2 and SQL server CE. The Host program is using dbf files on desktop side. I got a problem of how to sync / read the sql CE data from a windows application. so, i wanna ask, 1. any method to access the data from winCE data by windows application or can i convert the sdf file to windows readable files or any others 2. Can i use a MDB to sync with SQL server CE can i synchronize the mobile device which has a SQL Server CE database with the Access database on the desktop last question, 3. is that windows CE .net 4.2 not support pocket access (cdb) anymore please help me out ...Show All
Windows Forms How to enter text into a Formview TextBox
Basically what I'm trying to do is this: When I click a pstartButton, the calendar appears and it should update PStartTextBox inside the Formview, after I select the date, but instead I get an error stating that PStartTextBox does not exists in the current context. It works fine for a simple TextBox not in the Formview of course. I can I pass the calendar info to the textbox inside the Formview protected void pstartButton_Click( object sender, EventArgs e) Calendar1.Visible = true ; PStartTextBox.Text = Calendar1.SelectedDate.ToString( "yyyy-M-d" ); Calendar1.Visible = false ; Alright!! This is not working so far as I intended. It works well on one instance (one button), but if I use the m ...Show All
Visual Studio Express Editions If and Buttons
After quite a bit of searching I have yet to turn up anything. So I was wondering if anyone here knew the answer. What I did was create a button. What I basically want to do is create it so if that button is pushed it'll go to a certain method. Basically the method is a different screen and if the button is pushed on the next screen it'll go to another method. I also have a few other buttons for splits that are deactivated when not in use. So can I do this through if statements or is there another longer path that I have to go through Hi, Sounds like you want a toggle button If so, use a checkbox with Appearance property set to Button. If that's not what you want please explain more :) Charles ...Show All
Microsoft ISV Community Center Forums Registration Limits and Useage Rules
I recently downloaded Microsoft Visual Basic 2005 Express Edition, and have a few questions: 1.) How many computers am I allowed to install Visual Basic 2005 Express Edition on 2.) How long will each registrartion last 3.) Am I allowed to use the Express Edition for non-profit organizations with multiple users for an extended period of time Hi mikalyo, As the Express Editions are free, you can certainly download it to each machine in your organization. You can learn more about Visual Basic Express and download it here: http://msdn.microsoft.com/vstudio/express/vb/download/default.aspx See the FAQ on all Express Editions at: http://msdn.microsoft.com/vstudio/express/support/faq/default.aspx All the best, -brend ...Show All
SQL Server Upload a Sql website to a host server
Hi I have built a site in Visual Web developer Express 2005. it works fine on my local machine but when I load it up to the server I get the following error message: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) My connectionstring in my web config file: < add name = " ConnectionString " connectionString = " Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True " providerName ...Show All
Windows Live Developer Forums Windows Live ID SDK, seriously
Does it exist Is the team still working on it Is there any news at all For something that seems critical to the MS Live ecosystem being adopted by developers, it sure seems like its been all but abandoned. According to earlier statements, the SDK should either have been released by now /or/ be released in the next few weeks. What's going on The Live ID blog may be the best place to find an answer... even though they haven't updated it in a lil while. ...Show All
