Flávio Alves's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. construct models
I'm just starting to play around with Managed DirectX. Can anyone recommend a site to get free mesh data (.X files) or textures Or maybe free tools to model (simple) 3D objects Yea Milkshape is the way to go. I am not a "great" modeler, but Milkshape has tools to generate a nice terrain as well as basic 3d meshes like a torus, box, plane, etc... ...Show All
Windows Forms Inherited forms and the designer (again)
Hi I've found many threads in this and other forms dealing with similar issues to my this, but none which provided what should be a simple answer. I have a form which inherits from a base form. In the constructor of the base form controls (typically lists) are populated with data. We're currently using firebird embedded database. The designer pops up with the familiar red message, and the following exception text: Unable to load DLL 'fbembed': The specified module could not be found. (Exception from HRESULT: 0x8007007E) (etc) My question is around the mechanics of the designer. I gather that it instantiates an insta ...Show All
Visual Basic Don't work
why don't works this code, I can't see what wrong is Private Sub Afsluiten_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Afsluiten.Click Dim Response As MsgBoxResult If TextBox1.Text <> "" Then MsgBox( "Opslaan " , MsgBoxStyle.YesNo) End If If Response = MsgBoxResult.Yes Then OpslaanFunc() Else End End If End Sub now works it only with double click by the msgBox how can I set it to oneclick ...Show All
Smart Device Development window mobile 5 screen orientation with different tab order
I am developing a WM5 dialog base pocket pc application. my dialog has two screen orientation (portract and landscape) base on the PPC screen orientation. Changing of the orientation dialog work fine but I can't had two set of tab order for the two dialogs. The tab order will always follow the .h enum { IDD= XXXX} screen. Example, my portract dialog tab order should be edit1, edit2, edit3 but my landscape dialog want to had tab order edit1, edit3, edit2. Anybody know how to do that Thank you Hi, From the above description I fail to understand which tabs are you taling about. Can you please elab ...Show All
SQL Server Pros and Cons of saving to serverstorage versus file system
What are the pros and cons of saving the SSIS package using serverstorage versus file system It appears to me that the file system is much flexible and can be promoted anywhere without going through the hassle of exporting off from msdb etc. Thanks, Lito Kirk has blogged about some of the Pros and Cons of saving to SQL Server Vs File System. See http://sqljunkies.com/WebLog/knight_reign/archive/2005/05/05/13523.aspx - Ranjeeta ...Show All
Visual C# Changing the return type of a check box to 0 and 1 from true and false
Hi, Is there any way I can change the value returned from a checkbox to 0 and 1 from true and false, the reason being that I want to pass a a value of 1 or 0 to database (bit datatype) Many thanks If you use paramitrimized queries you don't have to whory about this. Here is a sample of using paramitrimized queries: bool value = true ; const string query = "INSERT INTO [Table1]( BitField1 ) VALUES( @BitField1 )"; SqlParameter pBitField = new SqlParameter("@BitField1", SqlDbType.Bit); pBitField = value; // Create connection and open it. SqlConnection dbConn = new ...Show All
Visual Basic Help w/ Printing Please!
So far I have been able to set up the document I wish to print, but once I initiate printing I am pretty much lost. I use the following code: 'Print Setup PrintDocument.DocumentName = (FilePath & "\print.pdf") PrintDialog.Document = PrintDocument Dim Result As DialogResult = PrintDialog.ShowDialog() If (Result = DialogResult.OK) Then PrintDocument.Print() End If Now I am aware that I need to have a subroutine that wil handle the actual printing, but this is where I am stuck. The documents that I wish to print are always going to be in PDF form, but I have no clue what I am supposed to put in here: ...Show All
SQL Server Having trouble getting connections
I have a custom Data Flow Destination Adapter that is looking for a particular type of ConnectionManager. I want to check that this connection exists in the Validate method. I first checked the ComponentMetedata.RuntimeConnections, but it was was an empty collection. I am guessing that it gets populated at runtime. Is there anything available for to check at design time Another way of asking this would be, Is there a way to programatically select which ConnectionManager gets assigned to a RuntimeConnection Normally, this is done on the Connections tab of the Advanced Editor. Thanks, Graham I would ...Show All
Visual Basic Debugger is extremely slow
Has anyone else experiance really slow debugging in VB.Net Beta 2 Yesterday was the first time I used it to step through code line by line and I was shocked. It's a simple project with one form using a datagridview and it was horrible. We are talking a 3 - 5 second delay every time I hit the F10 key to step over... Thanks, Aaron I have found a workaround posted here: Would this be sufficient for your team to try out (or have 1 of them maybe try this out to see if it solves the problem) http://lab.msdn.microsoft.com/ProductFeedback/ViewWorkaround.aspx FeedbackID=FDBK31126#1 The other workaround is to reset y ...Show All
SQL Server raw file destination and environment variables
when using a raw file destination it would be nice to be able to use an environment variable for the filename property. like %my_extract%\data.txt instead of c:\my_extract\data.txt Could you turn your screen round a bit... ...no, sorry, still cannot see it from here. Could you describe which OK button it is, any errors you may have when clicking, and perhaps briefly what lead up to this point. ...Show All
Windows Forms Minimize to Tray Window Form button.
Hello. How easy will it be to add a Minimize to Tray button beside the Minimize button on a Window Form this was a big problem with XP cause the classic theme would look fine but then the XP theme was all weird looking the minimize to tray buttont that is... How come Microsoft hasnt added the Minimize to Tray button on Window Forms like Messenger im talking about the button with a square dot that communicates minimize to system tray... I hate putting this feature in menus or sub it with Minimize or Close button... its to WEIRD dosnt communicate please let it be easy to add this button to the Main Window Forms I find this is the best ap ...Show All
Visual Basic i like to thank bill gates and those people who made vb.net free
i like to show off my achievements with you, my dream has awaken after nearly months of hardship figuring reading understanding trouble shooting god knows how much Pepsi bottles i drunk since then. but anyways its all operational now, and i feel great after all those long nights i feel i have achieved something that could entertain people around the world. so i must thank who ever made the vb.net Free and thank You Sir Bill Gates. my application was built on a web server,Xml, Html,Javascript,dhtml scripting & iframes ,Flash, notepad, macromedia8, WYSIWYG Web Builder: photoshop7 & a nice vb.net interf ...Show All
Visual Studio 2008 (Pre-release) problem with ProgressBar
in WPF, ProgressBar control, how can we set the interval for increase. Is there any method through which increment can be made, like we use to hav in System.Windows.Forms ProgressBar control. ...Show All
Visual C# MSB3331 Warning After Project Rename
I recently renamed an existing project and thought I got all the references but I get the following warning when I do a build. Any ideas Thanks. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3331: Unable to apply publish properties for item "dna.radworkflow.worklist.workitems.pdb". Me, too. How can I let them disappear Regards, y.m ...Show All
Visual Studio 2008 (Pre-release) Data Binding "Best Practice"
Hello, I am confused about the best way of data binding. I have a Class named SMS with the string Member SmsText. I want to databind this SmsText with a TextBlock on my UI so it always keeps updated. Shall I make my SmsText a DependencyProperty or just implement the INotifyPropertyChanged What is the best way to do it Thanks I think it all comes down to the needs of the application. My recommendation would be to not tie yourself to WPF (via DO and DPs) unless the data objects are created specifically for use in an WPF application. Even then, all the perf testing you mentioned needs to take pla ...Show All
