Brian OByrne's Q&A profile
Visual Studio Express Editions serial port and chr(0)
I am a beginner (in VB Express) but reasoanbly experienced in various assembler languages. I tried the "UsingTheSerialPort" example in the 101 examples collection and ran into the following problems: 1. In the original format an error is generated as soon as data (entered in the text box) are sent: conflicting threads. This stops when the textbox for displaying received data is removed and the data is read into a string that is displayed in a message box (another thread I should think.... ) 2. Instead of text entered in the textbox for "Send data" I wrote a string. The string "TEST" works fine but as soon as (and that is what I want....!) I send a string like" sStr = chr(&H00)&chr(&a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. For Admin, Can I Share My New Experience With The Other Users?
Dear Admin, Can I Share My New Experience With The Other Users In Developing Using XNA GSE By Lessons, "How To" Topics, And Other Experience I Will Gain While Reading And Developing Using XNA Thx http://search.live.com/results.aspx mkt=en-us&q=xna&FORM=TOOLBR ...Show All
Visual Studio Team System How can I test the new forbidden patterns?
I wrote a set of forbidden patterns, and I would like to test them without having to check-out and check-in tons of files, how can I test them against local files in my machine Do you want to achive this with checkin policy, stand alone tool, msbuild task or yet something else :) You should never need to check out files - you just need to sync them to you workspace. If you are working on policy or msbuild task (which will be run during build) I wouldn't sync files on my own - just test files that are already synced (for policy it will probably make sense to test only files that are checked out). Hope that it helps ...Show All
Visual Studio Team System How to use IsDeskTopBuild in tests?
We need to have our tests do different things based on whether we are running as a local test or under MSBuild/TeamBuild. I notice mention of IsDesktopBuild but can someone explain to me how I can use that in my tests Hi Mlater, We intentionally did not implement any way to distinguish those. Furthermore, we are trying to preserve the same behavior in both the VS IDE and Team Build for executing tests, so that developers/testers could easily re-run the tests in VS IDE if needed. I am afraid that the only way to check whether a test is executed in a Team Build environment is to check the deployment directory (TestContext.TestDeploymentDir) whether it points to the enlistment on your team build machine. ...Show All
Windows Forms How can I retrieve SELECT String from VB designer generated ADO objects
I am trying to get the select string from vb.net 2005 designer generated ADO Objects. Let's say I create a new data source using the IDE which creates a dataset named TestDataSet, which in turn contains a table called Clients. 'Select * from Clients.' I would like to be able to retrieve this select string in my code. Any help will be greatly appreciated. I don't think its the dataset that actually stored the Sql/OleDb Command - the command object which contains your query/Select command you will be looking for the DataAdapter.SelectCommand.CommandText property. do you know the name of your dataAdapter you have created if so, do as above, replacing "DataAdapter" with the dat ...Show All
Windows Forms Datagrid Freeze Panes (vb.net): Rows + Columns
Hi all, Does anyone know how to freeze the first row of a datagrid table. The columns of the table are not bound, nor is the property show header set to true because the header is imported in with the rest of the table data. Therefore i need to know how to lock / freeze the first row. Also, i was also lookin to freeze / lock the first two columns of a datagrid. Any ideas, help greatly appreciated. thanks, Paul did you try: Me .BillDataGridView.Rows(0).Frozen = True Me .BillDataGridView.Columns(0).Frozen = True ...Show All
Visual Studio 2008 (Pre-release) Key reference types and customisation
Hi, I have a few questions regarding WCF, I'm currently working on doing interop with Java and I'm using the release version of WCF. - Is there any way to not sign the 'Action' and 'To' addressing elements within the message when using security to encrypt and sign with addressing turned on. - When the client sends the message to a WCF server that's using securirty, the key reference type used to sign the message must be a direct reference, otherwise the server throws an error. Can this behaviour be changed - When the client sends the message to a WCF server that's using security, the key reference type used to encrypt the message, cannot be a direct reference, otherwise the server throws an error. Can this behaviour be changed - ...Show All
Game Technologies: DirectX, XNA, XACT, etc. what comes with XNA
Is XNA a complete set of tools physics enigine, graphics eningine, coding software, all put together or just a compiller From the FAQ : Q: What is XNA Game Studio Express A: XNA Game Studio Express is a new offering, targeted at students and hobbyists for game development. XNA Game Studio is based on Visual C# Express 2005 and lets developers target both Windows and Xbox 360. XNA Game Studio Express contains the following: The XNA Framework, a set of managed code development libraries which will allow game developers to be more productive when creating games for Windows and the Xbox 360. The XNA Framework Content Pipeline which is a set of tools that allow developers to more easily incorporate 3D content into their ...Show All
Visual Studio PostgreSQL as data provider?
I would like to be able to use PostgreSQL as a data provider\data source within Visual Studio 2005. I am using the free\open source Npgsql ADO.Net data provider in my code, but now I would like to be able to use the visual tools provided by Visual Studio. Is this possible When I go to choose a data source, one of the options is "<other>", but I don't see any way to add a different data provider to the listing. See this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=998285&SiteID=1 ...Show All
Visual Studio Express Editions Connecting to a SQL server 2005 Express Edition Database with VB.net Express 2005
Hi Hoping someone can help me here. I have created a database using SQL server 2005 express edition and am trying to connect to it with vb.net 2005 express edition. I have the following code: Imports System.Data Imports System.data.SqlClient Public Class Form1 Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Dim conn As New SqlConnection conn.ConnectionString = _ "server=(MEISENSTEIN\SQLEXPRESS); Integrated Security=SSPI; Connect Timeout=30; Initial catalog=wellness clinic" Dim adapter As SqlDataAdapter adapter = New SqlDataAdapter( "SELECT * FROM Patient_Information" , conn) Dim dsPatientInformation A ...Show All
Visual C# Event tab not seen
Hello, I start work with Visual Basic .NET (Visual Studio 2003). My OS is Windows XP. The problem is that I have started new form design then looking on Properties window do not see Event tab, why How can I display it In help is written it should be there! Thank you. Yuri Staub wrote: Hello, I start work with Visual Basic .NET (Visual Studio 2003). My OS is Windows XP. The problem is that I have started new form design then looking on Properties window do not see Event tab, why How can I display it In help is written it should be there! Thank you. ...Show All
.NET Development searching data ni C# and displaying it to the text fields
hi everyone! im making a simple database project and i used MS Visual C# 2005. i used MS Access as my database. currently, i used the drag-and-drop features of the application in order to add, edit, remove and display the data inside the datagrid. unfortunately, i dont know how to do the searching part and display it both in the datagrid and the textfields. can anybody help me im just a beginner in programming and im still not yet good in using the SQL statements. thanks everyone Hi, Another way is to bind the whole data table to the data grid view and to use the Filter property binding source to filter the data from the value entered by a user in a the text box. For example private void textbox1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. ContentTypeWriter for MeshContent?
Okay, I've created a custom MeshContent from the MeshBuilder class, I put it in my custom class (that has it's own ContentTypeWriter) but when it comes to output.WriteObject<MeshContent>(customMesh) I get the error: "Unsupported type. Cannot find a ContentTypeWriter implementation for Microsoft.Xna.Framework.Content.Pipeline.Graphics.MeshContent." So I'm not sure where to go from here. Any help would be greatly appreciated. You'll need to create a MeshContent writer. Start by making a struct that contains the data you want to store (dont put the MeshContent class in there, but the individual elements of it) Now create a content reader and content writer that reads and writes to your struct format. This ...Show All
Smart Device Development Newbie with a couple of questions.
Hello all, I'm an ASP.net devloper by trade but turning my hand to CF. I just have several of questions that would really help me out - any help offered would be great. I'm using c# 2005 and deploying to Pocket PC 2003 SE Emulator. When you deploy to the emulator, where is the application actually put Can you browse to an exe or such like I typically use objects when developing, can you do the same, or due to less memory, is it not reccommended Is it possible to get my application to appear in the 'Programs' list (for demoing purposes) Is it better to write data out into XML or CSV Again, what's best for the limited memory All help appreciated and thank you for reading. Jon When you deploy to emulator/d ...Show All
Visual C# print on network printer
is possible to print word document through network printer which is not installed on local PC using c# This is window form- desktop application. Currently I execute "copy filename SharedPrinterName" through process class and it works fine. Is there any other way it is possible ...Show All
