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

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

martinx1

Member List

jdavidroberts
jheddings
HinDRAncE
ShaunOlsen
Zolt
hemo
Hoon1234
Kapalic
Recep TARAKÇIOĞLU
Alex-MyRpg
BinFolder
JFoushee
Marc Rush
Stéphane Beauchemin
Brian Schwarz
Gurhan
Amir5656
KingArthur
LeonR
Becker2
Only Title

martinx1's Q&A profile

  • Smart Device Development Unable to cradle V2 emulator under Vista

    I've installed the new WM6 Standard SDK under Vista and have all the varous emulator images running fine, but when I select "Cradle" from the emulator manager, nothing seems to happen.  The Mobile Device Center shows nothing, and there is no indication that any cradling action is occurring.  Seems to fail silently.  I know this was a problem prior to the V2 emulator release, but I'm still having this trouble with V2. How can I diagnose what is wrong Other notes: I have eVC3, eVC4, and VS 2005 installed (which included the V1 emulator).  I also had the V2 emulator previously installed, but uninstalled that prior to installing the WM6 SDK. todd, does WM6 sdk include the device emul ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Managed C# performance loss.

    I caught some people quoting managed performance loss at only 2% (over unmanaged). I am just curious how accurate that assessment is. Last time I was looking into it, DX programmers were quoting 90% of managed performance as a BEST case scenario. (usually much lower) If the margin has grown so low, is there any large scale games developed using C# Manuel Wenk wrote: The perfomance point is not easily to be answered, you can't say: .NET is XY Percent slower/faster than C/C++. QFT. It depends on what you're doing and how much you offload to the GPU. Also, does it really matter if a C++ game runs at 150 fps and an XNA game runs at 140 The user isn't going to notice the difference. Anything & ...Show All

  • Visual Studio Team System Bug - UI crash & Build fails without errors or warnings

    This is related to http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=848718&SiteID=1 but now I can reproduce the other error (project does not build) and it goes off topic, for that reason I'm starting a new thread. In the previous thread I (several other threads indicate this problem too) reached a state where it was no longer possible to build or deploy the project. In this state there were / are no errors or warnings when an attempt was made to build. I have found that this occurs when a file is deleted from the project and for some reason the project file is not updated to reflect the deletion. In this case it was a crash of the IDE caused by being to quick changing the focus after a delete. On restart the IDE did indicat ...Show All

  • Smart Device Development Extract and modify file from a cab.

    Hi, I've create a CAB file with the CABWIZARD, and now i need to replace one of the file. I've download the CABSDK from microsoft site. And when i use CABARC to extract all the files I don't get the exact file that i put inside the CAB, but file with extension like .001, .002.... I want to replace a file with a newest version (same name and same size), how could i do Sorry for my english :p Thanks. You’d need to rebuild CAB from scratch using new file as you've done the first time. There might be 3rd pa rty tools to edit CABs but that is off topic here. ...Show All

  • Smart Device Development Timer Issue on Pocket PC

    Hi, I'm trying to create a timer so I can delay my program for 5 seconds. I have this: public int delay; public void somefunctin () { timer.Enabled = true; timer.Interval = 1000; // Delay is set to 5 seconds... delay = 5; // Show on form in begining of countdown... lbCountdown.Text = delay.ToString(); this.Text = delay.ToString(); // Start the timer... timer.Start(); } private void timerDelay_Tick(object sender, EventArgs e) { delay--; lbCountdown.Text = delay.ToString(); if (delay <= 0) { EndSequence(); } } private void EndSequence() { // Stop and disable... //timerDelay.Stop(); timerDelay.Enabled = false; // Reset countdown label... lbCountdown.Text = "_"; } ...Show All

  • Smart Device Development Api Hooking alternative

    I'm trying to make an app to get rid of a default today plugin in my wm5 enabled phone. right now i have it looping (it reappears every time the phone is accessed) However i know there must be a better way. I noticed setwindowhook is not on coredll is there another way to check if a certain events happen on a plugin thanks. ...Show All

  • .NET Development passing runtime queries to DB...

    Hai, I'm using these codings to pass  values to insert query during runtime i.e; from TextBox control. Given here is partial coding, anyone pls give me a sample coding just to insert atleast 2 values to db Table from the user. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Data.OleDb; namespace Student { class InsertDemo: System.Windows.Forms.Form {//start of class private System.Data.OleDb.OleDbConnection myCon; private void InitializeComponent(){ this.myCon = new System.Data.OleDb.OleDbConnection(); this.myCon.ConnectionString = @"Provider=SQLOLEDB.1;Persist Security Info=False;Use ...Show All

  • Visual Studio 2008 (Pre-release) Listview: dynamic loading content possible?

    I've got a listview containing a GridView. I'd like to fill the content of this listview dynamically. So, instead of loading all my items (could be thousands) into an observablecollection I'd like to give the ListView the count of items, and just load those items that are displayed right now. To get this data from the database is no problem, but I need a way to know which lines I need to load to be displayed right now, need to know when scrolling, resizing or similar is changing these. Is there any known way to achieve this Thanks, Sam jzhang wrote: So if I have 1000 Person objects each with property Name. If only the first 30 are visible, then if you set a conditional breakpoint for whe ...Show All

  • Visual C# Checking for registry value

    How will I do a code that will check if a certain registry value is currently in the registry, if not create it. I did somethign like this but I get an error: if (Microsoft.Win32.Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Run").GetValue("CA", "C:\\windows\\consoleapplication2.exe"); == false) { Microsoft.Win32.Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Run", true).SetValue("CA", "C:\\windows\\consoleapplication2.exe"); } Try to modify false to be null if (Microsoft.Win32.Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Run").GetValue("CA", "C:\\windows\\consoleapplication2.exe"); == null) //Chec ...Show All

  • SQL Server Slow Report

    As I sit here waiting for a test run of the report to complete, I'm forced to wonder why it's taking over 10 minutes... so far. The query itself, when run through Management Studio takes about 50 seconds, so why would it take over 10 minutes to generate the report   It's the only query being run, and it's not doing anything especially tricky with the data.  It's all actually being processed in the query, returning some counts and displaying them in a simple list. Any thoughts EDIT:  I should mention that the query itself isn't very simple, so I can understand the query itself being slow... just not the report being 10 times slower than the query in management studio. Could you be more specific please Is it an ...Show All

  • Visual C# __DATE__ equivalent

    I'm new to C# coming from a C background. I would simply like access to the build date of my application. In C, I could do this using the __DATE__ macro. How would I do this in Visual C# TIA JeffM OK, I was close... It is "days since 1/1/2000" -- this code will work: Assembly assem = Assembly .GetExecutingAssembly(); Version vers = assem.GetName().Version; DateTime buildDate = new DateTime (2000, 1, 1).AddDays(vers.Build).AddSeconds(vers.Revision * 2); Console .WriteLine(vers.ToString()); Console .WriteLine(buildDate.ToString()); ...Show All

  • Visual Studio Team System No backslahes in regular expressions for work item rules? (MATCH pattern attribute)

    I attempted to write a regular expression to disallow backslashes in work item titles. It looks like this in the work item type definition XML: <FIELD name="Title" refname="System.Title" type="String"> <MATCH pattern="^[^\\]*$"/><!--disallows backslashes--> </FIELD> However, the server rejects it: Xml validation error at row 11, column 13: The 'pattern' attribute is invalid - The value '^[^\\]*$' is invalid according to its datatype 'http://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typelib:NonEmptyPlainConstant' - The Pattern constraint failed. Looking up the "Non empty plain constant" in typelib.xsd, I can see that backslashes are prohibited! <!-- Non-empty plain constant --> ...Show All

  • Visual Studio 2008 (Pre-release) What's the distinction between "c:" "src" and "x:"

    What do they really designate to the XAML compiler I presume you mean the x:Code etc. usage in XAML markup. If so, the x: and strings like it are namespace identifiers. At the risk of oversimplifying, XML Namespaces are kind of like namespaces in C#. They serve to qualify type and attribute references. This lets you, for instance, to rely on local names, as opposed to universal names which would be the case if XML Namespaces didn't exist. As an experiment, you can replace all "x:" in your XAML with "local:" and also change the "xmlns:x" declaration to "xmlns:local". Rebuild and launch... things still work fine. So there is no magic to those values. The XAML compiler doesn't care, as long it can unambiguously refer to the type you int ...Show All

  • SQL Server Use an ActiveX module from a view/stored procedure?

    I was wondering if it is possible to use an ActiveX module from a stored procedure or view I have a table that contains some biochemistry, in particular, glucose and insulin as floating-point values.  I have an ActiveX module (as a DLL) that takes these two values and returns some measures of insulin resistance.  (I didn't write the module - it is available (without source code) from a university). The university provided a spreadsheet that does what I want to do.  I am wondering if I can use the ActiveX module and the function in the spreadsheet in a view in my database instead. Here's how you'd convert glucose and insulin in the spreadsheet: =HOMA2_Insulin(A1,B1) And here's the source code of the function th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Does Xbox 360 controller also work for Windows?

    Does Xbox 360 controller also work for Windows or do I HAVE to buy the Windows version of the Xbox 360 controller kcchesnut wrote: right now you just need a wired XBox 360 wireless controller, and the drivers installed. " wired XBox 360 wireless controller" ...Show All

©2008 Software Development Network