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

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

markand

Member List

PDav
Anthony McGary
erbenji
Al_xx
Troy Lundin
kymaita
sarika
Kevin Dente
Nick Palmer
TimmyG15
yfradkin
AkerMan
Harald Köstinger
Blair Allen Stark
Puffarbubbole
StealthyC
Siteadm
Sweed
casfus
bjarneds
Only Title

markand's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. avoid tearing

    Just running throught the basic "How To"s in the help pages and adding sprites. I'm getting tearing as it's rendering. Anyone find how to get a swap chain working so I don't get as much tearing Heh, i'm guessing this question gets ignored because no one really has a good answer :) Thanks guys for trying. I'm going to ask again in the specific context of Spacewars. With Spacewars i get absolutely terrible performance in windowed mode. The game is not even playable the framerate is so low. It's the same problem with every sample game I've downloaded. ...Show All

  • Visual Basic How to get a Combo Box to feed from another Combo Box

    Hope someone can help me!! I have a form with two combo boxes. One displays different Areas(e.g. Area1, Area2, Area3) and the other one displays different Regions(e.g. Region1, Region2, Region3). What I want to do is to populate the Region Combo Box depending on the Area selected in the Area Combo Box. For Example if the user selects Area1 have the Region Combo Box filter/display on those Regions that belong to Area1. I relly appreciate any feedback. Thanks alot!!! I'm a noob, so bare with me. What happens if you decide not to call a selectedindexchanged event for comboBox1 What if you just called the method and entered the comboBox1.text to it, like so: ' Call the function Populat ...Show All

  • Visual Basic How to open a CSV text file and import that data to a database?

    I work for a medical billing and accounting firm and we get these massive medical reports that are not sorted. What I am trying to do is write a program to add these reports to an Access database so that i can recreate the reports using crystal reports. I already have a system in place to sort add these reports to csv files and importing those files into a database and then refreshing a Crystal Report I already have setup with the new data. My goal for this program is to be able to open the program select a csv file, import that file to a access database, then generate a crystal off the updated database. Where I am having trouble is getting that csv data into the database. Any help will be greatly appreciated. ...Show All

  • Windows Forms Handling events at runtime

    Hi I work on a windows forms App. I add events at runtime to many of my controls using AddHandler and removing them using RemoveHandler my question is : How I can know that this control has an already handled event Or NOT e.g: before adding FormClosing event to my form , I want to know that this form already has this event added or NOt please provide me with any VB.NET sample Thanks Mohamed Hi, You have to keep track manually of whether you added the handler or not. For example: Public Class Form1 Private m_handlers As Dictionary ( Of String , Boolean ) = New Dictionary ( Of String , Boolean ) Private Sub Form1_Load ( ByVal sender As System .Object, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to get distance from point to triangle or plane in XNA

    Hi all Ok, I'm trying to do ray picking in XNA with mesh positions and some terrain geometry, but I only found these classes: Ray Plane BoundingBox BoundingSphere BoundingFrustum Intuitively, I tried to use Ray with Plane to test for intersection, but it’s actually impossible. I need realistic intersection for vehicle positioning on my terrain, but I don’t know how. I search this forum and others but I didn’t find anything really useful. I tried to use height-maps to store de heights, but the result isn’t good. Any suggestions Thanks in advance I noticed that Ray.Int ...Show All

  • Visual Studio Tools for Office can I create a an exe that I can copy into a folder?

    Hi, I want to create an exe from VS 2005 for Office that will run (once the user allows rights to run if necessary) without any install. I would like that whatever additional files (dll's or whatever) could be copied into a folder and the user would be able to just run the program without any installation. The app would be a standard program (no non-MS refererences/dll's/add-ins) and the user would have MS Office 2003 installed. The program runs fine from within VS 2005 for Office. How can I determine what files I need to include The program would be run once outside of Office. The program does not stay resident as the user runs Office. Do I use Publish with an option that I have yet to notice This is sort of equivelent to providing ...Show All

  • SQL Server Schedule SQL Express back up from ASP Page

    Hello, I need to schedule SQL Express backup from ASP Page. I was trying to use SQLDMO to schedule jobs but found that SQL Agent is not supported in Sql Express. I tried to use Scheduler.SchedulingAgent.1 to add task in schedular but getting Invalid class string error. Schedular dll is only supported in site server. What would be the best solution for me to schedule back for SQL Express hi, as you already noticed, SQLExpress does not provide the native SQL Server Agent to support scheduled jobs like backups.. you have then to rely on third party scheduler, like http://www.valesoftware.com/products-express-agent.php , http://www.codeproject.com/useritems/SQLAgent.asp (free code) perso ...Show All

  • SQL Server Stored Procedure Recompiles

    Books online says that a recompile occurs : the first time a stored procedure is run after Microsoft SQL Server 2005 is restarted and if an underlying table used by the stored procedure changes. Are these the only times the stored procedures are automatically recompiled There can be several reasons for recompiles including statistics changes to your table(s), use of certain SET operators in your procedure (I.E. SET CONCAT NULL YEILDS NULL, SET ARITHABORT). Check out the following KB article for more information on recompiles: http://support.microsoft.com/kb/243586/en-us Edited to add: Although the above ariticle is specific to SQL Server 2000, most of the issues in that article also apply ...Show All

  • SQL Server Question to ytd()

    Hi, Ihave a Time-Dimension with 2 hierarchies: (a) Year - Semester - Quarter - Month and (b) Year -Week. Than I have a calculated member in my Cube like: CREATE MEMBER CURRENTCUBE .[MEASURES].[Sales Volume KG (kum.)] AS Sum ( ytd (), [Measures].[Sales Volume KG]), FORMAT_STRING = "#,#.00" , VISIBLE = 1 ; When I browse the cube and I use the (a) hierarchy on the colums, all works fine; I get the accumulated sums over Semesters, Quarters, Month. When I use the (b) hierarchy, in each cell I get the normal week-sum and not the accumulated. What's my mistake Thanks Hans   Not sure whether you've read the " Time calculations in UDM: Parallel Period " entry in Mosh ...Show All

  • Visual Basic Problem Related to harddrive serial number

    Hi I have a problem regarding hard drive serial number. I have used GetVolumeInformation of kernel32 .The main purpose is to use the serial number as password to enter our website On the window where i am displaying the serial number appears with code and i just enter it to our website's access area .When the serial number is greater then 8 characters then its working fine but when it decreases it fails to login .i am unable to find out the solution The serial number decreases mainly in the case of Laptops Please help me. Shailendra Should we guess at what the problem should be Perhaps you should stop using laptops Is this a web application (see http://forums.asp.net ) a Windows application What code is failing More information, pl ...Show All

  • SQL Server Merge Join vs. Lookup vs. Custom Script - which is fastest?

    Very often we have 50'000+ rows which you need to pull values from different source (e.g. CityNames from citycode in Excel file). Currently we are using Lookup - but the questions is which of those 3 options is best in performance wise Ken - is your script performing a lookup from another source in pipeline <boy i'd like to know how to do that > Also - any suggestions how to improve performance of OLE DB Update command ...Show All

  • SQL Server Already have sql 2005 sp1 want to install sql 2000 on same box

    Most of the posts here for co-existence of sql 2005 and sql 2000 are for upgrades to 2005 or installing sql 2005 on a box already having sql 2000. This is a bit different.. I have an application installed on sql 2005 sp1, on a default instance, no other instances installed. Because of issues the application is having with sql 2005, the vendor is recommending install of sql 2000 on the same box ('should not have any problems' they say), then script out the user databases in SQL 2005 and back in to the sql 2000 instance. Has anyone tried this (installing sql 2000 after install of sql 2005) or can point me to an article about it I've googled around and searched the knowledgebase to no avail. thx ...Show All

  • Visual Studio 2008 (Pre-release) children order in LogicalTreeHelper.GetChildren() method

    Hello, I'm Using LogicalTreeHelper.GetChildren(FrameworkElement e) to iterate on All the XAML control. my question - is the order of the children enumeration return from this function corresponds to the order of the controls in the XAML itself ...Show All

  • Visual Studio Express Editions TabControl (x) to close the tab

    Is there a way to put an (x) @ the top right side of a particular tab or all tabs in the tab control. Similar to what IE7 has. William Dman1, I think he also wanted the other half, like putting the mouse in the rectangle described by the cursor, clicking on it and having the tab disappear if the mouse is in the rectangle described by the cursor. ...Show All

  • .NET Development How do you check for null values in a dataset column

    I have tried a large number of options to check for DBNull for a column returned in a dataset and I can't seem to figure it out. What I basically want is Dim ds As ADMDS.PGListDataTable Dim ta As New ADMDSTableAdapters.PGListTableAdapter ds = ta.GetDataByPropertyGroupID(propertyGroup) if (ds(i).prop_description is not null) then ... do something How do I correctly check for DBNull Everything I try gives me the same error. "The value for column 'prop_description' in table 'PGList' is DBNull." Option 1: l_tooltip = CType (ds(i).prop_description, SqlTypes.SqlString) If (l_tooltip.IsNull = False ) Then Options 2: if (ds(i).prop_description.isnullorempty = true) Option 3: if ...Show All

©2008 Software Development Network