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

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

O11y

Member List

Diego81
Nkomo
Rich S
S&#248&#59;ren Spelling Lund
Xie Guangzhuang
satya999
NewToVBInAR
George2
WebMajstr
Tryin2Bgood
yosonu
li4li4tsai4
Edwardvb
nglow
BradC4000
Jorge P
Smalldust
Henrik Dahl
KitGreen
niallhannon
Only Title

O11y's Q&A profile

  • Windows Live Developer Forums Polyline Craziness

    I am working on a mapping project that allows the user to draw polylines. It all seems to work when the user clicks points of the polyline. From there I save the gps coords to a database. When I then retrieve the coordinates and display the polyline it does crazy things. It initially displays correctly but when zooming in, the line sometimes disappears, or draws in incorrect locations. If it does draw in incorrect locations and you pan, the polyline constantly moves. Can anyone please help, this problem is starting to drive me crazy. I have included "some" of my code. function loadMap() { mapDiv = document.getElementById( "myMap" ); new VEMap( 'myMap' ); map.LoadMap(); map.HideDashboard(); ...Show All

  • SQL Server SOLUTION! - VB.NET 2005 Express and SQL Server 2005 - NOT saving updates to DB - SOLUTION!

    VB.NET 2005 Express and SQL Server 2005 Express - NOT saving updates to DB - SOLUTION! ----------------------------------- The following article is bogus and confusing: How to: Manage Local Data Files - Setting 'Copy to Output Directory' to 'Do not copy' http://msdn2.microsoft.com/en-us/library/ms246989.aspx You must manually copy the database file to the output directory AFTER setting 'Copy to Output Directory' to 'Do not copy'. Do not copy The file is never copied or overwritten by the project system. Because your application creates a dynamic connection string that points to the database file in the output directory, this setting only works for local database files when you manually copy the file ...Show All

  • Visual Studio 2008 (Pre-release) Dependency Property

    Howdy... I am a little stumped... a little tired... a little stupid (probably) I have created an object that has a dependencyproperty in it... all is well.. I create an instance of the object and do the business... no problems. When I go to create another instance I get this exception: System.ArgumentException was unhandled Message="'HeaderContent_1' property was already registered by 'Scene1'." Source="WindowsBase" StackTrace: at System.Windows.DependencyProperty.RegisterCommon(String name, Type propertyType, Type ownerType, PropertyMetadata defaultMetadata, ValidateValueCallback validateValueCallback) at System.Windows.DependencyProperty.Register(String name, Type propertyType, Type ownerType, ...Show All

  • Visual C# Sound question

    One last question: Unlike many other people who like to know about adding a sound file (.wav, .mp3), I would like to know how to get my program to just make that *lovely* beep sound that I was all to found of in QBASIC. I would like to know how to get just a simple beep when the user clicks a wrong button. Since I am so old school and out of touch with C#, I can only provide an example of it in QBASIC CLS BEEP END Any simple way of doing this in C# lol QBASIC -> C# in .NET 2.0 there is a soundplayer class which you can play sounds, including system default ones but would play on the computer speakers than the computer itself. Would this be suitable System.Media.SystemSounds.Beep.Play(); to get it to play the beep ...Show All

  • SQL Server Connecting to SQL 2000

    Is is possible to sync SQL Mobile 2005 with SQL Server 2000 using replication Or do I need to use SQL Server 2005 or drop back to SQL Server 2000 CE....... Thanks Please see an exisiting thread on this http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=126116&SiteID=1 Hope this helps you Regards Manish ...Show All

  • SQL Server Optins of trailing Database change in sql server

    Hi All, I am in need of some option using which i can trail the changes made to my database. Specially i want to track all the DDL and DMl changes. I know about the external tools provided by lumigent and some other companies to do this but i was just wondering if we have some option within sql server. I don't need extensive report as provided by lumigent. Just getting somethin on DDL and DML will help.  Even help on some work arounds to do same will be appreciated. TIA Prashant   Hi , Currently i am using "DDL triggers for the creation of database objects". Which is working perfectly fine for me. But creating trigger on each and every object in a database having more than 300 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Cross-Platforming

    Code-wise how simple is it to make a game in XNA that compiles on PC then compile it for 360 And how will devs be able to add or remove features between both WITHOUT needing to recode are their methods in the framework that will allow me to execute certain code depending on the platform ex. Control scheme, obviously I can't play a game that requires a mouse on the 360, and I cant play a game that requires a controller on the PC. Or does XInput have actively configurable schemes availalbe "I cant play a game that requires a controller on the PC" Actually you can. The wired 360 controller works just fine on the PC. I'm in the process of examing XAct and XInput now using the August SDK. I'm not sure how different it'll be ...Show All

  • SQL Server Yearly, monthly... basis report based on the parameter values

    Hi guys, I am created a bar chart report. The x-axis value of this chart is a timestamp(datetime) field of a dimension. Thousands of records are inserted in to this field everyday, as a result, I will have the timestamp information every second or minute. So here is the thing, If I want to present last month data in the bar chart(x-axis), the chart can not accomodate all the data and it doesn't look good to present a data in every second or minute. So I want to present the data on yearly, monthly, weekly, daily or hourly basis based on the StartDate and EndDate parameters value provided by the user. Any idea is appreciated. Sincerley, Amde Hi John, I couldn't find a solution for the issue. ...Show All

  • .NET Development provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server

    This is my first application I'm building with Visual Studio 2005. I have a very simple piece of code: string dbSource = "Data Source=WMCCWKTBSWZ90EZ;Initial Catalog=Aptment;Integrated Security=True" ; SqlConnection con = new SqlConnection (dbSource); con.Open(); and it fails with the error: Error reading list of names. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) WMCCWKTBSWZ90E is my local SQL Server. I've used it thousands of times. I ha ...Show All

  • Windows Forms DataGridView: One double click calls both CellMouseClick and CellMouseDoubleClick

    Now I see that my question was very badly writen so I re-write it. I am writing in C#. I have a DataGridView and two functions: One to handle the CellMouseClick event and one to handle the CellMouseDoubleClick event. The problem is that if the user double click a cell, BOTH events are called! First the CellMouseClick and then the CellMouseDoubleClick directly after. They are both called by the VERY SAME double click! It would have helped if I at least could tell if the "CellMouseClick" is caused of a double click or a single click. Anyone that knows how Isn't it alltogether a bug I do not think that a CellMouseClick should be raised by a double click at all. Thanks in advance, Keren PS: This is a car booking system. A single click on a bo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Generate random numbers for every class instance

    I'm trying out some AI techniques but I'm having a problem generating a TRULY random number. I create 20 instances of an ant class that should move and change directions on a random basis. They are doing that, but all in unison instead of each changing directions at different times. Its like synchronized ants. Anyone know how to create a truly random number each time the ants use this method Random r = new Random (); if (r.Next(100) < 5) ant.Speed = new Microsoft.Xna.Framework. Vector3 (-ant.Speed.X, ant.Speed.Y, ant.Speed.Z); if (r.Next(500) < 2) ant.Speed = new Microsoft.Xna.Framework. Vector3 (ant.Speed.X, -ant.Speed.Y, ant.Speed.Z); Thanks kindly, George. I don't wan ...Show All

  • Visual Basic Progress reporting and performance hit! need help

    Hi so i have problem with progress updating. I have my own class member wich is supplied with some 6Columns and 135lines array as an example and this class sorts it and filters out some values as specified. Class regulary reports its progress on work by raising and event and this totaly hits on performance Code example:   For x1 As Integer = 0 To RowsCount 'Some code to do all the sorting and  so on 'After one array line is completed it raises event with percent value RaiseEvent PercentDone(Format((x1 * 100) / RowsCount, "#0.00" )) Next For example sorting operation without event raising statement of 6 columns and 135rows array takes 0.3 seconds and with progress reporting nearly 2seconds. ...Show All

  • .NET Development Thread scheduling problem: (apparent) violation of "wait on event" mechanism between /CLR processes

    Out of all the available forums, this one seems to be the most appropriate for this issue. This certainly is a .Net-related problem because I have done this successfully in the past with native applications (using VC++ 6.0). I am currently using VC++ 2005 with the latest .Net on an up-to-date Windows 2000 computer with 512MB of RAM. The failure is observed with high-probability under low-memory conditions: after running two instances of the Studio (so I don't have to keep swapping the solutions when I want to consult the code), but only one debugger session (the other process is running as an executable), and the 2005 SQL Express server, I'm left with a commit charge of around 700MB, i.e., some processes are swapped to virtual memory. I h ...Show All

  • .NET Development String concatenation optimized for avg. incoming packet size

    Hi, I'm currently working on a socket server that handles incoming ASCII encoded strings and I want to optimize the concatenation and framing of the incoming strings. Messages are stored in a buffer until message boundary is detected and released for processing. So, what I'm basically wondering is, if it's of any benifit to use a StringBuilder for the concatenation of the incoming string or if I can simply concatenate strings with str += "incomingstring"; My thinking is that StringBuilder doesn't add much benefit because PPPoE MTU is at 1492 and my messages have varying lengths from 100 to 400 bytes, which "SHOULD" mean that I ususally get the whole message per incoming packet. Am I right with this assumption ...Show All

  • Visual Studio Team System Installing Team Foundation server (Beta) -Vista

    hi, i am tring all Beta ... i am tring to Installing Team Foundation server (Beta) in windows vista (Beat 2) with Microsoft Office SharePoint Designer 2007 (Beta) i done with Windows Vista !! - went well Office 2007 Beta - went well SharePoint Designer 2007 - ok VS 2005 + SQL 2005 - all done when i try to Install TFS it is looking for .. Windows SharePoint Services 2.0 with Service Pack 2 as minimum requirement should i install SP2 which is asking for dotNet 1.1 faremwork please help me ... First, the beta is long since past - if you want to evaluate TFS, use the 180-day trial edition. Second, Vista is not a supported platform for TFS - there could be any number of issues in getting it to work. If ...Show All

©2008 Software Development Network