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

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

Joymon

Member List

jasonboetcher
xtw
clam0391
Xelestial
SPWilkinson
Quimbo
explode
VBScriptor
Bazzer
vinod_psg
Cesar Francisco
KC416
Tigerwood2006
NJCoughlan
MasterModeler
DegreeZ
ReLoad
Evan Mulawski
Simone1
M.D
Only Title

Joymon's Q&A profile

  • .NET Development How to convert string to expression

    I am having an string "3<2", I would like to use it in a if statement as if(3<2). How to convert this string into an boolean expression. Can we convert a string like "a<b" into a boolean expression. You could use CodeDom - which is used to dynamically build up code (using code) to execute... have a look at the System.CodeDom namespace, in particular the CodeExpressionStatement class. If you have a look through the documentation (and on the internet for examples) you should be able to put something together. Hope that helps. Simon ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Spacewar Performance Problems

    Finally got my hands on a 360 controller today, so I thought I would give Spacewar a spin, unfortunately, it was a very, very slow spin. 2.5fps slow, even in retro mode. My laptop isn't the greatest (Pentium M 1.7Ghz, 512 RAM, X300 128mb w/ latest Omega drivers), but it should certainly be doing better than that. I've compared stats in PIX with some of the MDX samples, and nothing seems out of the ordinary. I tried the CLR Profiler on it, but from my limited experience with it, I wasn't able to interpret the results well enough to come to any conclusion. Any ideas Hey nuvem, We think we've found a bug in the Spacewar sample that may impact performace issues on some machines, we're still looking into ...Show All

  • SQL Server SQL Server 2005 X64 Linked Server error

    We use Windows 2003 Server (64) on AMD64 and SQL Server 2005 Developer Edition x64 + SP1 P roblem: I can not execute any sql on a linked server using the native Provider (SQLCLNI) Example (create a linked server on the same machine, other database (msdb) and try to execute any simple select using OPENQUERY s p_addlinkedserver @server = 'ls' , @srvproduct = 'SQLNCLI' , @provider = 'SQLNCLI' , @provstr = 'Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=msdb;Data Source=localhost;' Select * from OPENQUERY ( ls , 'Select * from Sysobjects' ) Msg 7356, Level 16, State 1, Line 1 The OLE DB provider "SQLNCLI" for linked server "ls& ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 3D picking - possible solution?

    I was pondering, and something occured to me. Let's say I have a 3D model. Now lets say I want to enable 3D picking for that 3D model. That is to say, I want the mouse to be able to change its properties / response when it is over the 3D object, or clicking while over the 3D object. I assume that one way to solve this would be to create a ray that originates from an equivalent point in front of the camera, and passes along a Vector3 through the scene. I could then test the ray to see if it colides with any 3D objects (or their bounding boxes) and return values for that particular object. But it also occured to me that this method for picking would be a huge pain in the neck, and would probably end up being far more costly in terms of pr ...Show All

  • Visual Studio Tools for Office Using interop to connect to an already running instance of Excel

    I have a small test application which successfully opens up an instance of excel, opens a file called "myExcelSample.xls", activates the primary worksheet, and pulls data from specific cells in the excel file. Here's my question: If a user has already opened Excel, opened a file named "myOtherExcelSample.xls" and made it the activated workbook, how can I at runtime connect to this (already opened) instance of Excel and pull data from ranges on that worksheet I have found code snippets which let me poll for the instance of Excel and get back a ProcessID from Process.GetProcessByName("Excel"). Am I heading down the wrong path If I get ProcessID, is there a proper way to create an Excel.Application o ...Show All

  • Visual Studio Team System Access tests stored in shared folder

    Hi, Is there any way to access the webtests stored in a shared folder and run the test locally I tried by mapping the shared folder to my machine, but not able to open the project. Hello, To be able to run the tests, you have to trust the shared folder; but you should be able to open the project if you have Visual Studio installed in your local machine. Why can't you open the project, are you getting an error message If so, what does it say Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All

  • SQL Server How do I get a RS report onto an Internet app?

    I've written our first Reporting Services report, using SQL Server 2005. Since we've never used RS before, we may, or may not, have done some things correctly. One of the things is that we only have the Reporting Services, and Report Manager, on our SQL Server 2005 server, which is in our network behind our firewall. We also have an ASP.NET 1.1 application which is used by external users (other businesses that do business with us). Because of the nature of our business, we don't want people from one agency to access data from another agency. Since calling the report in RS involved passing parameters to the report in the URL, I decided that I would hide those details by putting the web page returned by RS into an IFRAME in an aspx page. ...Show All

  • Windows Forms what is the syntax for declaring and instantiating a shared class

    Thanks A LOT. It very rarely is good practice. It is equivalent to the old global variable. Only ever use a static class if there is only ever one instance of the data it represents... ...Show All

  • Architecture CRM products

    Hi This with regards to comparing CRM products with another standard non-microsoft products. If we were to compare Microsoft CRM Dynamics 3.0 with any other non-microsoft CRM products then what would be technical evaluation Mkft supports Sales, marketing, etc in their CRM but less with reports and integrity with exisiting system, or workflows. thanks Paresh. Oddly enough, my company builds CRM software that competes with MS CRM in the US, but we also sell MS CRM outside the US (it's a long story). I would look at the functionality you need ahead of any specific technology approaches. Buy the product that has the macro-functionality you need -- account management, forcasting, market ...Show All

  • Visual Studio Express Editions Visual Studio Express Edition and MySQL

    Is there any way to connect Visual Studio Expres Edition to MySQL and collect data with C#   Thank's That's not true Figo Mei I just ported an Application I was building from MySql to Sql Server Express and both of them were / are working TCP Based, you just need to change your connection string to indicate the use of TCP instead of Name Pipes . And I'm programming in Visual C# Express Edition. For MySql using ODBC is the easiest way out, while not the best performing one. OleDB should be able too. I'm using OleDB now, but on SQL Express. It's all a matter of finding a valid provider. In the MySql homepage there are all the providers you need to install to make it work. Hope I have been useful. ...Show All

  • Visual Studio Express Editions storing a date

    i am trying to aquire the system date and time from a click event. i can get the date and time...how do i store that time for later...if i use the date.now.date it will run everytime and i will never reach the end date...i am using this for a trial period trigger and need to be able to reach that end date. anyone have any ideas on how it can be done. i had thought of that....but as the excel file requires the users to input data i cant lock it out like that...then it becomes useless...and as i dont have the visual basic office edition..just the basic i cant move it to the program itself and build the interface there...not to mention all the work is already done in excel already...so i dont want to loose all ...Show All

  • Windows Forms numerical textbox

    dear all I want to have a textbook with only number entries allowable in it. When a non numeric character is enteredm it shouldnt do anything. I tried using the masked textbox but the problem is if we select only numbers in the properties for the mask, we can still enter digits anywhere in the middle like... 12 45 as a single number with a space, can someone suggest. I want the textbox to be from left to right and ’no spaces allowed. thank you in advance, cheers, prasad.. Hi, Add a keypressed handler with this code If e.KeyCode < '0' Or e.KeyCode > '9' Then e.Handled = True End If Or use If IsNumeric(e.KeyCode) Then e.Handled = True End If ...Show All

  • Visual Studio Team System How do I exclude a database project from a solution for a build

    This is along the line of other posts I've seen but, doesn't cover a database project. I have a solution with a web project, libraries, and a database project. The database project doesn't show up in the Configuration Manager of the solution to include or not in the build. When I create a build to run on our build server it fails with the D:\Build\Project\Project Build\Sources\Project\Project.sln(0,0): warning MSB4078: The project file "...StoredProcedures.dbp" is not supported by MSBuild and cannot be built. It builds fine in VS since it's not being included. How do I exclude it from the build server build Unfortunately, this is a limitation of MSBuild, and there is no fix for the pro ...Show All

  • .NET Development ASP.NET Remoting over TCP and User authentication

    Hello, currently i developing a object-oriented business framework in C# (.NET Framework 2.0) for asp.net applications. I have 3 layers: Web-Browser (GUI), Application Server and Database (SQL Server 2000). The Web-Server and the Application server using a tcp remoting channel for communication. Now i have some trouble with user process impersonation. I need the original user call context in all layers (Web-Server->Application Server). In the web.config i have set the identity tag to: impersonate="true". The web-context works fine, the process run under the calling user account. Server-Machine: Web-Serve = Windows 2003 OS Application-Server = Windows 2000 OS Current remoting configuration (Server): TCP Port = 8900 aut ...Show All

  • SQL Server Combining multiple subreports into a single report

    The goal is to produce a single PDF consisting of a number of subreports. Some are landscape, others are portrait. The subreports may also be run as independent reports. The master report that contains them defaults to the width of the widest subreport, which is landscape. This causes all portrait subreports to spill over producing blank pages. Are there any work-arounds to concatenate multiple, single report PDFs into a single PDF and have page numbering too Thanks! I did check the landscape width for the reports both individualy and in the master report. They all render fine independently. I also tested the report rendering as I added each subreport to the master report. The moment I added the Landsc ...Show All

©2008 Software Development Network