jbreaux's Q&A profile
Visual Basic how can fix the form size same
hi, i was creating windows application 800*600 Resolution i think the form size is (750,520) to display for the whole screen but as soon as 1024*768 the form the form size reduced can anybody suggest me i think we have taken into the account of only two resolution but at present the form size and control inside the form should not change should be same size for all resolution than what should we do ...Show All
Game Technologies: DirectX, XNA, XACT, etc. lefthand to righthand
hi, im using c# directx and i would like to turn my projection from RH to LH, ive done the obvious bit where i change the view and proj to LH: Matrix .LookAtRH to Matrix .LookAtLH and Matrix .PerspectiveFovRH to Matrix .PerspectiveFovLH ----------------- but now my map is rendered back to front heh, it was quite funny to start with but now its got annoying as im not sure what to also change :( any help would be appreciated All of your z values should by multiplied by -1 to compensate for this. E.g: foreach (Vert in TerrainVerts) { Vert.PosZ = -Vert.PosZ; Vert.NrmZ = -Vert.NrmZ; } Euler rotations need to be changed as well (i.e. if you're doing any)... ...Show All
SQL Server SQL Express install issues
Hi there: I have a tiny problem with installing SQL Express -- more exactly to get my application to run after installing it :-) In my application I have a selection box for SQL Server instances installed -- this to allow the users to create their database(s) on whichever instance they want. To populate the selection box I tried various methods, the one that stuck was using SMO: SmoApplication.SqlServerRegistration.EnumRegisteredServers(); I tried the following before deciding on it, but they all had problems returning instance names: SqlDataSourecEnumerator.Instance.getDataSources(); SmoApplication.EnumAvailableServers(); DbProviderFactories.GetFactory("System.Data.SqlClient"); Anyway, long story short, after instal ...Show All
Windows Forms ListBox and MultiThreading
Hey, I need to create a listbox usr control that behaves just as normal list box except that when adding new items the following will hold: - The list box will be populated and the rest of the gui still responds to events. (meaning it will be created/ manipulated on a separted thread) - the user could see/select the items that were already inserted, as the listbox continuosly being populated with the items that haven't inserted yet. Just to have an image in mind, it very similar to what happen when loading a hugh web page... you can view it and while doing it you see the scroll bar getting smaller as the rest of page is loaded.... Can someone give me a starting point for this (related paper/ close example) - I've checked ...Show All
Visual Basic Function to open a form, then when it is closed, return a value back to original form
Hi Guys! Basically I'm after a way I can open a form (say, form2 for the exercise), then when form2 is closed, the function will return a value from a textbox on form2, obviously calling the function from form1. I've got something like the following... #FORM2 Public Class Form2 Dim Showing As Boolean = True Public ReadOnly Property ValueIWant() As String Get ValueIWant = Me .TextBox.Text End Get End Property Public Function GetValueFromForm2() as String Me.Show() If Me. IsShowing = False Return Me. ValueIWant End Function Public ReadOnly Property IsShowing() As Boolean Get IsShowing = Showing End Get End Property 'There is also a sub that alters "Showing" to false when a button ...Show All
SQL Server Indexing a table
I've created a new table and added data to it. Now I want to index a given column. Will simply creating and saving the index index the column or do I need to do something else to create the actual index Barkingdog Once the index is created it will be maintained by itself, you don’t need to refresh the index. ON the other side, index can get fragmented leading to throttle your response time on the server. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Team System Migrating Team System Project from one server to another
hi, How can i migrating a Team System Project (with all the relvant data and configuration) from one server to another There are many issues with any approach to this problem, including the unique item ids in both version control and work item tracking, and how moving projects on/off of a server might affect all of the cross links between items. Several folks are actively investigating potential solutions, but I am not aware of any definitive decisions being made. That being said, we do hope to add some functionality to improve this experience in a future release. Cheers, Adam ...Show All
SQL Server XML stylesheet available for .dtsx ?
I am having more luck editing the dtsx files directly than using configs. Also for documentation purposes this would be helpful as I don't know enough about xml to find or build a tool to create a style sheet for me. Thanks! Ken Well that's obvious of course and the solution is to back up before editing. Let me tell you, it sure seems to beat using the designer and building a ton of expressions, variables, updating config files, etc. to get the dynamic behavior I am looking for. Also, I can break the package easily enough without editing the file directly ( try setting the inputid of a script transformation incorrectly- that seems to work really well at breaking the package :) But thanks for the warning. In any case, I plan ...Show All
SQL Server Native Code: 25009 while executing SQLCECommand
I'm getting this error while executing a SQLCECommand (ExecuteNonQuery): Native Code: 25009 Massage: Unspecified error HResult: 2147467259 Source: SQL Server 2005 Mobile Edition ADO.NET Data Provider This happens only sometimes. If I recreate the command object and executing it again (with the same connection object) no error occurs. Except for this case the application works fine. Thanks, Laschek According to http://msdn2.microsoft.com/en-us/library/aa256772(SQL.80).aspx the error means: The path is not valid. Check the directory for the database. - So, where is your database located Is the path to the database long. ie. longer than 128 or 256 chars ...Show All
Windows Forms create a "masterpage" in winforms
Hi, When you create a website you can use masterpages with contentpanes. Now I want to create that on a winform application. So let us say that you've got on the left and top a navigationpane and that the contentpanes are the forms. Is this possible Grtz Annihil8 Hi Annihil8 I'm not sure if this is what you're after but it may serve as a nice starting point. Try creating just a basic form with navigationpanes setting on panels on the top and left. Once you have the form exactly as you like it you can save it as your own master form and then create new forms which inherit from it using visual inheritance. It won't provide any automatic navigation capabilities but it should help to give you a ...Show All
Visual C# Recompile from C# to VB.Net
I downloaded the BeerHouse Starter Kit, E-Commerce website, to find it C#, could i convert it to VB.Net If yes, Kindly advise in detail how Thank you actually it is written in C# and compiled to IL you need it in VB.NET and there is no easy way to translate from C# to VB.NET (at least not one that is fully automated) HTH ...Show All
SQL Server Locally processed Reporting Services reports and Datasets
Does anyone know if Reporting Services reports, particularly those which are locally processed, recognize relations that exist in typed datasets ...Show All
SQL Server How to restore Master DB in SQL 2005????
I've tried starting SQL from the command line in single user mode (-m). When I try to open Management Studio I receive an error that it can't connect. Can you only restore master from a command line in SQL 2005 Or can I do it from a GUI Thanks, Mark I would use the command NET START "MSSQLSERVER" /m Connect with either SQLCMD or management studio, and use the TSQL command: USE master GO RESTORE DATABASE master FROM TAPE = '\\.\Tape0' GO Obviously substituting your backup device/file as appropriate. See Books Online for specifics. ...Show All
Visual Basic MissingManifestResourceException - previous solutions don't seem to work
I get this error on every page in my web app after converting from VS 2003 to VS 2005. I have read KB article 318603 , but there is no class defined before my form class. so I don't understand why I am getting this error. sqlfuncs is the name of a component that VS insists goes in the App_Code folder. I have an sqlfuncs.resx also in the App_Code folder. The forms that are trying to use this component have DataSet objects in them, and the designer generated code sets the Locale property of the datasets via " System.Globalization.CultureInfo( "en-US" )" The failing line in the component code is this: Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager( Ge ...Show All
SQL Server Adding a web reference to a Report Server project
Hi there, My company has a centralised user profile repository that all new applications worldwide use for authorization and user details; we access it from the various apps via a web service. What I'd like to do in a report is to pass a user's ID to the web service and return their name and contact details to display in the header. I imagine I'd need to do this in a custom function and I can see where I can add a reference to use in this function but not where to add a web reference. Is this possible Regards, Uzum4k1i. One possible solution to the issue is to add custom code to the report: custom code (e.g., a C# library project in which a web reference cou ...Show All
