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

Software Development Network >> jonas k's Q&A profile

jonas k

Member List

Muhammad Imran Zafar
Ranier
F. Gsell
DBAMANI
Mike Hayes
Yngwie
Craig Manning
Puffarbubbole
waishan
*Rick*
h1
goku_simon
Snickel65
jayaraja
Cammyr
i3baid
kevin delafield
koder monkey
Gidon Sela
Manash
Only Title

jonas k's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. GraphicsStream.Write not writing as expected

    I have a method where I write a 2d array into a texture. It is used for running some ordinary calculations on the gpu. private void writeToInputTexture( Vector4 [,] inputData, Texture inputTexture) { GraphicsStream graphicsStream = inputTexture.LockRectangle(0, LockFlags .None); unsafe { Vector4 * textureData = ( Vector4 *)graphicsStream.InternalDataPointer; for ( int y = 0; y < dataHeight; y++) for ( int x = 0; x < dataWidth; x++) textureData[x + y * dataWidth] = inputData[x, y]; } inputTexture.UnlockRectangle(0); } That works as expected. However, if i try to use the graphics sctream write as below, it does not do as expected. The input is not written corrently into the ...Show All

  • SQL Server putting dbo explicitly in select staetement

    I have witten a lot of stored procedures in my project where I did not put dbo before the user tables.My colleague told me that I have to put dbo for all statements other there could be a problem. Any thought , Please assist. I've heard it said that not including the schema owner (usually DBO) on your object prefix can result in a "Compile lock" against your stored procedure while the client determines whether there is an object in existence for its own schema. In this situation, multiple users executing the same stored procedure would suffer from a queuing effect as each would place a compile lock on the procedure (or statement). That being said, I've never been able to repro this ...Show All

  • Visual C++ Compiler Crash

    OK I know I shouldn't have written it, it was a result of some slow responses on the machine that a class name got replaced by a bracket, and I;ve thrown away a lot of unnecessary stuff however:make a file containing typedef struct {} (; And the compiler will crash. .Net 2005, I haven't tried it on 2003 or Team System. BTW I saw another "compiler crash" thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=323623&SiteID=1 That referred the submitter to http://lab.msdn.microsoft.com/productfeedback/default.aspx So I went there - and ended up back here. Andy   Andy Champ wrote: Still, if Corporate Microsoft's view of a report that someone raises saying that they (MS)  ...Show All

  • Visual C++ cant check to see if a string contains certain data

    erm got a slight problem with my program and i cant see the problem...any help please here is my code: private : Void NextQuestion( Void ){ // Seed random number generator with date and time DateTime moment = DateTime::Now; Random^ randNumGen = gcnew Random( moment.Millisecond ); // Create variable for random number Int32 intQuestNo = 0; // Get a number between 0 and the number of words in the array intQuestNo = randNumGen->Next( strQuestionsarray->Length ); // Use random number to select a question strQuestion = strQuestionsarray->GetValue(intQuestNo)->ToString(); // Check to see if question has already been added to the string. If not, add the number to the string so it cannot be ...Show All

  • Visual Basic How to create a web service that enable to comunicate with an exisitng window appliacation

    Hey Guys How can we convert a html report to an xml format with values.Is it possible Thanks. The report look like this.And we want the html document in a xml format.  http://knxs.bms.umist.ac.uk/results/20060705041642-359-1236/20060705041642-359-1236.html ...Show All

  • Windows Forms Convertion from ObjectDataSource to BindingSource

    I have a custom type named MyDataSource used for an ObjectDataSource and a GridView (in ASP.Net). I would like to perform the very same binding pattern but with a BindingSource and a DataGridView (for WinForm) If possible, I would like to re-use as much as possible the custom type MyData (that implementis already a CRUD layer). Does anyone knows how to do that Is there any tutorial available Thanks in advance, Joannes Lokad.com , time-series forecasting provider I would load my Class into a bindinglist and use that for my bindingsources datasource. Any properties contained in the class are bindable. ...Show All

  • Internet Explorer Development Programatic control of IE: Please help, anyone! - An IE instance created by a host lang - e.g. VB6

    Hello, Do anyone know how to programatically create an instance of IE and pass a local .htm file to be processed by using the BOM from a host lang. like VB6 -Kevin Have anyone every loaded an object variable with an instance of IE Want to programatically control IE objects from a host lang. Is this possible ...Show All

  • Windows Forms How can I set a digital clock on my windows form project in C#?

    Hi, The question is very simple. " How can I set a digital clock on my project " I want to put a digital clock seems like that " 2006-09-23 Wendsday 23:12:48 GMT " means " YYYY - MM - DD ' DAY ' HH : MM : SS ' GMT ' " I am master of C and php however I am newbe in the visual languages. Thank you... Edit: I am using C# Hi, a very quick and dirty implementation -create a winforms project -put a label on the form1.cs -copy paste the class :) - F5 and enjoy public partial class Form1 : Form { private Timer _Timer = new Timer (); public Form1() { InitializeComponent(); } private void Form1_Load( object sender, EventArgs e) { _Timer.Interval = 1000; _Time ...Show All

  • Smart Device Development Signature Control in DOt NEt 2003

    Dear all,   Currently I’m using one signature control in my application. It is giving signature as bmp file format and size of the bmp file 40kb to 60 kb. First I convert the bmp file to byte array and storing in SQL Server using Web service. Now my problem it is taking too much of time to store the value. Is any other signature control is available with low file size output () or any other way get the signature   Final I want to show the signature in the web page.   My Config is   Device OS: Windows CE .net 4.2 Development: VS.net 2003   Pl. don’t suggest for commercial controls.   Thanks & regards Hi, there is an old eVB Sample here that should do what you w ...Show All

  • .NET Development Sharing wizard-created datasets in a solution

    Hi there, I've created a solution that has multiple projects in it.These multiple projects compiles to become .dll dependency files that is used by my application. I've then used the datasource wizard (vs2005) to convert a large access database to a SQL Express dataset, and placed in under my main application. I have been doing work on it for many months now. All was well until I realize that I need to use some of the tables from that dataset in those dependency dlls as well. However as they are under a different project (or namespace ) , I can't seem to use them. 1. Is there a way we can share the dataset between projects which is in the same solution I tried copying the same dataset into another project and it came up with al ...Show All

  • SQL Server strange problem with SQL Server CE 2.0

    recently I am enhancing an PPC application using VS 2005. I decide to use sql ce 2.0 cuz the old system is using this version. I am using the SqlCeEnging to create a new database, and create two tables: TableA and TableB. Inside the two tables, there are few fields without any primary key or index. Of course I dint insert any data so far. Below is part of my coding. query="Select * From TableA Where Con1= And Con2= " SqlCeCommand cmd = new SqlCeCommand(); cmd.Parameters.Add("@Con1", SqlDbType.Float); cmd.Parameters.Add("@Con2", SqlDbType.Float); cmd.Parameters["@Con1"].Value = con1; cmd.Parameters["@Con2"].Value = con2; ...Show All

  • Visual Studio Express Editions ALT+F4

    Is there a way to stop ALT+F4 working on a form If possible I would also like to stop CTRL+ALT+DEL working as well. Thankyou Jeremy6996, not the solution i was hoping for but it works fine. Thankyou to everyone for their input on this topic. I relalise that it may have seemed a bit odd to want to disable alt+f4, but if i were making some kind of application to prevent people using their computer as it should for malicious purposes i would not post in a public forum and besides i would have no idea how to execute such a task and i would not want to do it in the first place. I also realise that nobody knows the context in which the program will be used or how good my knowledge of vb is, so i see the cause for suspiscion. Howe ...Show All

  • SQL Server How to view field list on the left side of report layout

    I want to see all the fields list on the left side of report layout, you can drag a field and put it on the report. Thank you very much. From the View menu, click 'Datasets' and it will open the box for it.  Then you can dock it to the left side of your screen and navigate through your dataset to your fields. Hope this helps. Jarret ...Show All

  • SQL Server Connecting to SSAS on workgroup W2K3 server using SQL Server Management Studio...how?

    Hi All, I'm trying to connect to SSAS on a workgroup (i.e. non-AD) Windows 2003SP1 server from my XPSP2 PC, using SQL Server Management Studio and/or Visual Studio, with no luck. I have set up SSAS to accept anonymous connections, firewall is off, no anti-virus software, etc. I have added 'Everyone', 'NT Authority\ANONYMOUS LOGON' to the SSAS 'server' role (I don't care about security at this stage). I can connect to SSAS from my PC via code , though I have found out by trial-and-error that I need to specify a connection string that includes a User ID and Password; e.g.: "Data Source=sandbox; Provider=msolap; Initial Catalog=Analysis Services Tutorial;User ID =some_user; password= password ;" When I try to connect ...Show All

  • Visual Studio Team System tfpt treediff - I'm missing "Get specific version..."

    Hi, Using the treediff feature in tfpt, could often be done with the purpose of detecting files, deleted by mistake in the local folder. This is nicely detected, but to get the missing file from the server, "Get latest" isn't enough - you have to "Get specific version..." and force the get from the server. It would be nice to have this command in the treediff view! Regards, Carsten Upon further investigation, we feel that Get Specific Version is nice to have but Get Latest Version is much more often used. In the spirit of keeping TreeDiff simple, we'll refer that functionality back to the Source Control Explorer. Thank you for your feedback. -Tan ...Show All

©2008 Software Development Network