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

Software Development Network >> Jon Brammeier's Q&A profile

Jon Brammeier

Member List

Lucas Pasquali
Zach84
MagnusJ
Alexander Olekhnovich
chrisc12345
stonejc
tala
Garegin Gulyan
Musafir
Tom Janssen
Cygon4
Wildert
Billy Porter
Martijn Mulder
mrotoloni
TIENG Sunheng
prog.gabi
n0valyfe
L R
SOAC
Only Title

Jon Brammeier's Q&A profile

  • Visual C# Analog Clock algorithm?

    Hello, I have a lot of source code for how to create an anlog clock but i cant understand the algorithm, esp use of 'sin' and 'cos', so please any one can help me with a tutorial for the understanding of the algorithm, Thanks and regards I'll take this chanllenge... All these kind of algorithms draw lines from a point (center of your clock) with different length/width/color (hour arm, minute arm, second arm), towards different angle (different time). Assume your clock center is at (x,y), the length of the arm is r, and the angle is a, then you need to calculate a second point (x1, y1) so you can draw a line between (x,y) and (x1, y1) to paint a clock arm. If you have difficulties with 'sin' and 'cos', you can just use ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Heightmap Terrain Component

    I thought the whole component concept was pretty cool. So I threw together a quick heightmap terrain component. http://i9.photobucket.com/albums/a59/craigory666/heightMapTerrain.jpg http://i9.photobucket.com/albums/a59/craigory666/heightMapTerrain2.jpg http://i9.photobucket.com/albums/a59/craigory666/heightmapprop.jpg It should work with square .raw files, and for the effectPath I'm just using the default texture shader found in the help file. The view and projection matrices of the terrain are exposed, so you should be able to hook up whatever camera you have going and just update the terrains view, and projection matrices during your games update. using System; using System.Collections.Generic; using System.IO; using Microsoft.Xna.Fr ...Show All

  • SQL Server xml validation date type error

    This is my first attempt to load some XML validated against a schema. The schema is more complicated than this but I've been able to narrow it down to show the problem. After I load the schema and create the table which are successful, I try to perform an insert. The insert fails with the following error. Any help would be appreciated. Msg 6926, Level 16, State 1, Line 1 XML Validation: Invalid simple type value: '2006-08-08'. Location: /*:myReport[1]/*:Criteria[1]/@*:myDate CREATE XML SCHEMA COLLECTION myrpt_xsd AS '< xml version="1.0" encoding="utf-8" > <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs=" http://www.w3.org/2001/XMLS ...Show All

  • SQL Server I made a mistake about service name and the transmission queue got filled of them

    I want to use SSB as a mean to thread multiple SP invocation of the same procedure. When I launched the initator processes it created in the transmission queue error messages saying for each of them that it is an invalid target service name. The view (sys.transmission_queue) records them in this way in the status column: "The target service name could not be found. Ensure that the service name is specified correctly and/or the routing information has been supplied." Services and queues and activation procedure are all defined into the same database. I drop services and queues, and i tried to create a service with the initial wrong name. Nothing happened. Thanks vour your help Thanks, I tried to ...Show All

  • Visual C++ How to develop a wizard with Visual C++ 2005 ?

    Hi, where can I find a tutorial on how to write a wizard I have browsed the web and newsgroups for more than a day, and I can't find a simple howto. I am quite new to MFC and Win32 APIs. I believe than a wizard is a property sheet with property pages, and the PSH_WIZARD97 flag. I have found the CPropertySheet class, which define the AddPage method to add property pages (through the CPropertyPage class). I have written a CMyPropertySheet class inheriting from CPropertySheet, and calling AddPage on CPropertyPage instance that I have to define. I saw a code somewhere for implementing CPropertySheet by doing something like this : class CMyPropertySheet : public CPropertySheet { DECLARE_DYNAMIC(CMyPropertySheet ) public: CMyPropertySheet (UI ...Show All

  • Software Development for Windows Vista How can I get the type at design time of the value represented by an ActivityBind?

    I would like to retrieve at design time (more precisely in a specific activity designer I am coding), the type of the value that is represented/bound by an ActivityBind instance. I have found no direct API for this. Is there an easy way to get this information Thanks, Rachel Hello , I have the same problem. The ActivityBind object represents the entity. I would like to obtain all the methods on that entity to put the names of these methods into a combo box. Like the CallExternalMethod activity. 10x ...Show All

  • Software Development for Windows Vista the problem arised after install Beta2_2

    hello After installing Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2_2(EN).exe i can't create any project template except workflow. and,what's more, the workflow template project can't work normally Thanks for your reply i resolve it by uninstalling windows workflow foundation extension and windwos workflow foundation And i think the problem is i havn't completely uninstall windwos workflow foundation beta1.2 , then the beta1.2 version confront with the beta2.2 version ...Show All

  • Visual Studio Express Editions what is concat ?

    i am reading a book and it tells me to type Windows::Forms::DialogResult buttonclicked; buttonclicked = MessageBox::Show( "please click on a button" , "MessageBox::show example 3" , MessageBoxButtons::AbortRetryIgnore); MessageBox::Show(String::Concat( "you clicked on the " , buttonclicked, " button." )); what is concat and why i have to type it thanks akram........... akram_artoul wrote: MessageBox::Show(String::Concat( "you clicked on the " , buttonclicked, " button." )); what is concat and why i have to type it "concat" is short for "concatenate." For more information on methods named ...Show All

  • SQL Server Create a calculated member on one measure.

    I have a Version dimension which is used to break out the Net measure by 'Actual' or 'Budget'. Net is the only measure I'm using. By not using the Version dimsion. The net is incorrectly totaled by both values. Both are not used together. 'Actual' and 'Budget' are the only two members of the Version dimension. I want to add a third member which subtracts 'Budget' Net measure from the 'Actual' Net measure and call it variance. A caculated measure isn't working for me because obviously subtracting Actual - Budget doesn't work so well. Can anyone help me with that You add this statement to the MDX Script of the cube. It is under the Calculation tab in the Cube window. You may want to switch to Script view from Form view in order ...Show All

  • Visual C# how to copy an open file?

    I wana copy a mdf file ( sql server storage file) while my db is open. but when I call File.Copy to do this an exception has been throw. How to Copy this file while db is open Hi phpcs, Non possible copy MDF files while SQL Server instance is startup. You should stop your SQL Server service or I backup your database and restore in other SQL Server machine or instance. Good Coding! Javier Luna http://guydotnetxmlwebservices.blogspot.com/ ...Show All

  • Visual Basic compare datarows

    how do i compare two datarows for eg i have a datarow dr from some dataset ds1 now i want to compare dr with each and every datarow in other dataset ds2 pls send the code in vb.net     (typed from memory) Private function Compare Rows(byval RowA as datarow, byval Rowb as datarow) as boolean  for i as integer = 0 to rowa.table.columns.count-1     if rowa(i) <> rowb(i) then return false next return true end function ...Show All

  • SQL Server Auto URL Redirect

    Hi,Does anyone know how to redirect the report to another URL automatically conditionally based on some checking, without user interaction with the report I am trying to perform validity checking on user's input value and redirect user to a centralise error page if the input value is invalid.Thanks,J Lim You can't do this using the standard parameter toolbar. You will need to code your own textbox for accepting user input for the parameter value and pass that to the report if is valid and redirect to the error page if not valid. ...Show All

  • Visual Studio Express Editions Multithreading and and "encroachments"

    Hi, I'm developing on a new vb.net-application with the Visual Basic Express Edition . Now I have to use a backgroundworker for a longer process. But I'd like to keep the user up-to-date, what the application is currently doing. So the Backgroundworker has to change some labels in the main Form. Now the Question is: How to get the backgroundworker changing the label in another thread I know, that I have to use invoke and delegate , but I don't know, how. Can someone explain this to me Thanks, Greetings from Germany and Regards, Fabian see the following walk-through example: http://msdn2.microsoft.com/en-us/library/ms233672(vs.80).aspx Give it a try and post back with any errors or specific problems you are having ...Show All

  • SQL Server Currency Conversions in ssas

    Anyone got at link (other than books online) that describes how to implement currency conversions in ssas Here is some information for you http://msdn2.microsoft.com/en-us/library/ms180174.aspx http://msdn2.microsoft.com/en-us/library/ms175660.aspx Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Visual C# TabControl MouseHover!

    hi everybody, How can I know which tabpage I'm on when I move the mouse please! TabControl.SelectedTab will tell you which is the selected tab. Or did you mean which tab you are hovering over even though it isn't selected ...Show All

©2008 Software Development Network