Software Development Network Logo
  • Visual Basic
  • Audio and Video
  • SQL Server
  • Game Technologies
  • SharePoint Products
  • .NET Development
  • Windows Vista
  • IE Development
  • Visual C++
  • Microsoft ISV
  • Visual FoxPro
  • Visual C#
  • Windows Forms
  • Smart Devicet
  • Visual Studio

Software Development Network >> zenzai's Q&A profile

zenzai

Member List

mrobold
RibenaUser
raghu_grdr
ChristianBG
JVJ
Jörgen Verhart
Vasile
anydobbo
tiger10
NEW KID ON THE BLOCK
Fokus
GS80
davidacoder
Mr. Scott X
etude
sqlexpressbeginner
StickyC
Shameer A U
Auris
Robert duario
Only Title

zenzai's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Mesh built at runtime?

    Is it possible to build a mesh at runtime I don't necessarily want to use the content pipeline to load anything. Suppose I want to randomly generate an arbitrarily sized terrain at runtime. The only way I can see of doing this now is to use a VertexBuffer. Is this correct or is there another way I've read the threads on using MSBuild to use the pipeline, but I don't want to go that route. If I wanted to access DirectX directly inside an XNA project, what is the best way to go about this Basically, is it safe to continue using MDX (from what I've read, it's not in the long term) or should I just use interop to directly access it Using vertex buffers is not only the "only" way, but also the &quo ...Show All

  • Visual Studio Team System Why is TFS not available to Empower Program subscriptions?

    My beef is that TFS isn't available to anyone with an Empower Program subscription (except in prohibitively expensive editions). The TFS Workgroup Edition comes for free with Team Edition MSDN subscriptions, but it can't be bought separately. If it could, I would have bought it by now. To me, this makes very little sense. Source control/configuration management is very much a grassroots sell (i.e. it's a decision effectively made by programmers rather than by 'bigwigs'), and making TFS widely unavailable means far fewer people able to sing its praises to their peers. I work with several configuration management tools, and I'm able to engage in intelligent discussions with clients about CVS, per:Force, even good old SourceSafe, but ...Show All

  • SQL Server Inconsistent Linked Server Query Results

    Hello, I have a linked server named 'Charlie_File' to an Excel Workbook that I set up in SQLServer 2005 Management Studio. The workbook is on my local C drive. Sometimes, I get the results back that I expect when I run the following query; SELECT * FROM OPENQUERY ( Charlie_file , 'SELECT * FROM [Feb$]' ) Sometimes, on subsequent runs of the above query, I get the following message; Msg 7399, Level 16, State 1, Line 1 The OLE DB provider "MSDASQL" for linked server "Charlie_file" reported an error. The provider did not give any information about the error. Msg 7303, Level 16, State 1, Line 1 Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "Charlie ...Show All

  • Visual Studio Express Editions Numeric Only Values

    If in a Key_down event I want to ensure that the data that goes into the listbox is only numeric do I use a If then statement   I would like it so that if the user input alphanumerica data my program will show a message box say it must be numeric and then reset the textbox to empty and put my focus back on the text box   I tried the following code but I get the error message "must be numeric" even when the key pressed is numeric Private Sub TextBox1_KeyDown( ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown a = TextBox1.Text If Not IsNumeric(TextBox1.Text) Then MessageBox.Show( "Must be numeric value Text Box 1" ) TextBox1.Text = "" Te ...Show All

  • Visual Basic Posing equations

    Hi I run into trouble when I wanted to test equations. Having an array of equations e.g. {"2X+3Y<=20","5Y+7X<10"....} I like to pick the equations out and test them like Dim X As Integer = 5 Dim Y As Integer = 7 Dim Eqation() As Integer = {"2X+3Y<=20","5Y+7X<10"....} if 2X+3Y<=20 and 5Y+7X<10 then .... Question: How can I pick out the equations and make VB understand that its a equation and not a text file and put it in the If function I would appriciate all help I can get, Thanks, Tomas Just because I like complex solutions :) (using the script lib is probably the best solution, but I've never tried it ...Show All

  • Windows Forms datagrid column format date

    I need to format the output of a date field in a datagrid column to just show the "Year", nothing else. When I go to "Edit Column", "DefaultCellStyle", "format"... I get a list of Formatting Values and nothing in Date Time formatting has what I'm looking for......" Year"..... I guess I would need to use "Custom", but I"m not sure of the syntax to use in order to get just the centery, "2006". There are a couple of options here. One is to format the date in your SQL statement and the other would be to extract the year of the date using code. I don't know which DataGrid you are using (ASP.NET WinForm ) or database (SQL Server ...Show All

  • Visual Studio How to correct "#Error" when report is rendered

    Hi, I'm working on a report using a dynamic table as in the example on gotreportviewer.com. The dataSource is a generic list of business objects. Each biz object may be an instance of one of three classes, (say : ChildClassA, ChildClassB, ChildClassC) all inheriting from a common base class. All the properties to be diplayed are in the base class, but some are overriden in the base classes. When the report renders fine, except that I get a lot of property values not being displayed. The string "#Error" is displayed instead. Interestingly, it seems to depend on the order in which the classes appear in the list. Say my dataSource starts with an instance of ChildClassA. Then each line of my table displays the value of ChildClassA.So ...Show All

  • Commerce Server CS 2007 Site Configuration

    Hi All, I am a beginner and learner in CS 2007. I have a task of configuring a website in CS 2007 and going live with it. The existing site has been developed and configured using the following: PHP, MySQL, Joomla (freeware Content Management System) and VirtueMart (Open Source E-Commerce solution to be used together with Joomla, Content Management System). Now the task is to configure this similar site into CS 2007. Since CS 2007 uses SQL Server, I was wondering, do I need to transfer the database from MySQL And also simultaneously, do I need to develop almost all the web pages and the functionality in asp.net from php in order to host it on IIS The trouble with me is that I have been working on Microsoft Technologies all my c ...Show All

  • Windows Forms Hi!! How can i make the background transparent of my bitmap..... i have loaded it as win form

    well i m a bitmap of a racing car......but the car is in the center and outer portion is of white color and when i load it as form in C# vs 2005.....then the white background also...comes....with the bitmap...is there amny way that...the racing car only comes not the whole image with background... thank u... Check the answer I gave in the other thread you started with the same question. Please, only one thread per topic! ...Show All

  • Visual Studio Express Editions Populating a Dataset from an SQL Database

    I am using VB 2005 Express Edition! Also - this is my first attempty at accessing an SQL database, so I acknowledge that I have probably done something very silly but at this stage I am stumped and need some help. As a reference on how to do this, I used KB Article 301216. I have basically copied exactly what was shown in the article changing names to suit my requirements and have come up with the following code :- Dim connection As New SqlConnection(ConnectionString) connection.Open() Dim adapter As New SqlDataAdapter ReadString = "SELECT * FROM configuration" adapter.SelectCommand = New SqlCommand(ReadString, connection) Dim DSetCONFIGURATION As New DataSet( "CONFIGURATION&qu ...Show All

  • .NET Development serial port

    Hello, I have searched far and wide but have yet to come up with a way to implement autodetecting the serial port that a device is attached to.  The problems lies with deadlocks/timing issues when you try to connect and read/write to multiple comm ports.  1. i am using vs 2005 and vb.net 2. how to create one serial port and walk through the comm ports until the one that the device is connected talks back   Or do you have to use multiple instances of serial port and if so..how do you dynamically create this I have created an app that will allow user to select serial port and i can write/read back and forth from hardware using this method without any problems.  However, I need to be able to autodetect and not ...Show All

  • Visual C++ Problem

    Hello Sir, i am working on (MFC APP WIZARD EXE) in Visual c++. i have a dialog box with one list box control. now if i declare a function in the same class and try to add a string in listbox from that function, it works properly. but if a function is not in any class or any other class, in that case if i try to add a string in list box control, it gives me error Debug Assertion Failed File : Afxwin2.inl Line : 669 Pls Help Me. Thanks and Regards Munish Gupta Please use the newsgroups for MFC questions: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vc.mfc&lang=en&cr=US This forum is for C++ language issues only. Also, please use descriptive ...Show All

  • SQL Server Getting "product level is insufficient" message on flat file destination

    Hello, I have read previous threads on this, still not working. New installation of SQL Server 2005 on a Windows Server 2003 box. I have installed SP1 on both the server & the client, do I have to re-create the package Thanks in advance, Dave Where do you get the error and what are you doing Are you promoting the package to the server and then are receiving this error Have you installed the SSIS toolset on the client computer Just because you can develop in SSIS doesn't mean that it was installed. ...Show All

  • Architecture Single framework for windows forms and web app?

    A business requires same application with two interfaces: i. Web Application for customer orders ii. Windows Forms version for customer orders + additional functionality (for use by sales/corporate users to take phone orders + access to additional screens) Environment: Visual Studio 2005, SQL Server 2005 .NET Framework 2.0 Is there a framework that can been used for developing both Widnows forms and Web apps Thanks in advance! .NET can be used to build web applications and windows applications. Your logic can be placed in satellite assemblies and thus be shared between both applications if needed, and architectured properly. Your application and web application can communicate via web services , etc. Hope this helps. ...Show All

  • Visual Basic diplaying bitmap from access database

    I've seen this question posted a few times but no good results. I'm simply loading a dataset from access that happens to have a bitmap stored in a field. I have a listview with a list of CD's by Album/Artist, when I click on one of the CD's I want detailed info to populate below, including a pic box with the stored bitmap. Everything works fine except the pic box. Here's the code I have: Dim bytPic() As Byte objDataSet = New DataSet objData.SQL = "usp_SelectRecording" objData.InitializeCommand() objData.AddParameter( "@RecordingID" , OleDb.OleDbType.Integer, 4, lvwRecordings.SelectedItems.Item(0).Tag) objData.FillDataSet(objDataSet, "Recording" ) bytPic = CType (objDataSet.Tabl ...Show All

©2008 Software Development Network