briandra3's Q&A profile
Visual Studio Express Editions Dual threaded bitmap creation
Hi there, I have a simple example below showing how I create a bitmap from a data array: void Form1::ImageUpD(array<double,2>^ image) { ImageBmp = gcnew Bitmap(image->GetLength(0),image->GetLength(1),PixelFormat::Format24bppRgb); BitmapData^ data = ImageBmp->LockBits(Drawing::Rectangle(0,0,image->GetLength(0),image->GetLength(1)),ImageLockMode::WriteOnly,PixelFormat::Format24bppRgb); unsigned char *bits = (unsigned char *) ...Show All
SQL Server generate a strong name key file
I am a Newbie to programming and databases and would like to create a simple program for doing full text searching on a SQL database. I have downloaded and installed Visual Basic 2005 Express, Web Developer 2005 Express, and SQL Server 2005 Express. I have watched several hours of video tutorials and done numerous tutorials. I feel I am making progress and having a lot of fun. My machine is running XP home edition. I have fo ...Show All
Windows Forms How to change the layout of a control at runtime
how do i change the layout of the controls at runtime while the application is running then save it to load the modified layout again next time. i have an form, which I want to customize a certain portion of it by allowing the user to change the layout of the form. say, the address field would be placed below the postal code or the email text box will be located on top of the phone text box. I want the user to edit it, then save it's settings t ...Show All
Windows Forms How to set default item in ComboBox
How can I set a default item as selected in a ComboBox when a form loads I tried adding "this.FilterCostOperatorComboBox.SelectedItem = 2;" to the InitializeComponent function, but when the form loads, the combobox is still blank... I'm writing in C#/VS 2005, if it makes a difference... Gabe Is what is seen in the box numbers Have you set a value for each item Try this, using the index of the box instead ...Show All
SQL Server SqlCePeplication.Synchronize
I am attempting to follow the example from VB.NET 2005 on synchronizing and SQL Database and an SQL Mobile 2005 db. I have verified that the PALM device (Treo running WM 5) when the device is connected to my desk top by using IE on the Palm to browse to the shared Folder I set up with IIS and the Configuration Web Synchronization Wizard. The error I get is "An incorrect or unsupported HTTP function call was made." and I have not ...Show All
Visual Studio Express Editions SP2?
Is there any way I can install Visual Basic Express 2005 on my XP SP1 computer or do I have to upgrade to SP2 Could I just use an earlier version of Visual Basic Express. It's surprising how many people are asking this. The reason the install says you need SP2 is... you need SP2. There is no earlier version to install. ...Show All
Visual Studio Team System (sharepoint) accessing document library as regular folder win2k3 sp1
Hi, I have a Sharepoint specific problem on my TFS server: When using windows xp as a client I can access all document libraries as regular folders in the windows explorer ie: \\myserver\sites\mysite\mydocumentlibrary While on Windows Server 2003 (standard sp1) I cannot. (Note: this is not the same as TFS, but used as a regular client.) Accessing the folders as web folders in my network places or from Word 2003 is not a problem. I have tri ...Show All
Visual Studio Express Editions Add line numbers to code
Does any one know how to add line numbers to your code for error handling I want to use Information.erl in my error routines so I know the exact line the error happend. In vb6 I had an addin that would add line numbers for me. Is there anything simillar for vbExpress Note: This is different from adding line numbers by going to Tools > Options > Editor Options. Thanks Assuning that you are debugging, if you either call The ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Early Out
Hi. I tried at the "regular" DirectX forums but since there was no answers or even faint ideas I am gonna post my question here. I have a fairly simple shader which loops over a numer of calculations. With ps_3_0 can we exit an loop and the fragment program early on if a certain condition is obtained for( ... ){ if( b > constant ) return Output; } } return Output; The compiler tells me ...Show All
Visual Studio Express Editions Using the compier and linker functions...help please
Hi, i am relatively new to C++ programming,and as i am currently using Visual C++ verion 6 at TAFE, would like to use a similar program at home. As such,i have downloaded the new Beta Express pack,and installed it,but am having trouble using the Compiler and Link functions as i am not used to using a command line compiler. I find them too confusing for a beginner,and find using a GUI based one that is similar to the visual studio one much easier ...Show All
Visual Studio Team System error when trying to create a new class diagram
When I try to add a blank class diagram to either a new or existing project, I get the following error: VSLangProj80.VSLangProjWebReferencesEvents VSLangProj80.VSProjectEvents2.get_VSLangProjWebReferencesEvents() I just installed VS 2005 Team addition for Software Developers after uninstalling the VS2005 Team System Beta 2. Any ideas on what could be causing this error Thanks, Scott Mead ...Show All
Visual Studio 2008 (Pre-release) SOAP Headers
Hi, In classic web services I could define services like this: [ WebMethod ] [ SoapHeader ( "SessionHeader" , Direction = SoapHeaderDirection .Out)] public bool Logon( string user, string password) To achieve the same thing (including the SOAP header) with WCF, it would appear that I have to do this: [OperationContract] LogonResponse Logon(LogonRequest request); As such I have to define LogonResponse and LogonReque ...Show All
.NET Development Sockets: two way comm. and extended conversation?
My ideal is to have a continuoulsy open connection where either system can initiate a conversation, and that conversation can consist of multiple sends and recieves. The simplest socket connection is delightfully easy: client.connect stream.write stream read But that is only a single call + response. Is is possible to have multiple write + read pairs in some kind of loop All the examples I have seen always close the connection.&nbs ...Show All
Windows Forms DataGridView KeyDown?
(VS2005 - beta 2) Hello, is there anyway to capture a keypress or keydown event in the DataGridView I know there's events called KeyDown and Keypress, but if the DGV is in edit mode, they never get caught. My ultimate goal is to make it so pressing enter moves to the Cell to the right, instead of to the next row but I need to know what key is being pressed before I can do that. Thanks -Adam Ive ...Show All
SQL Server Migrating Registered Servers between EM 2K and 2005 SSMS
I have a couple of hundred servers buried in many Groups using win & sql auth. - i'm looking to capture all those settings and import it into SSMS - i see in SSMS that i can create a *.regsrvr XML file to import settings but that apears to only support 2005 to 2005 migrations - is there an undocumented feature i'm missing here.... Thanks Phil different computers so nothing to scan i did see that on ...Show All
