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

Software Development Network >> T. RUIZ's Q&A profile

T. RUIZ

Member List

xplosiv_1
LeeC22
detzX
gidyeo
kschuler
Jarodtweiss
DaveRogers
NoEgo
curly_cam
VoiceOfExperience
FugersonHall
narasiman_jayachandran_2b5374
Zero_
JohnJustice
bambuk
Nick E
abowman
Sweta Jha
Guostong
igorbaITALY
Only Title

T. RUIZ's Q&A profile

  • .NET Development safer method to read DateTime from database?

    hey all, when i read DateTime data from database, currently what i'm doing is: //System.Data.DataRow row; //System.Data.SqlClient.SqlDataReader reader; try { System. DateTime t; t=( DateTime )row[ "DateColumn" ]; //or t= DateTime .Parse(row[ "DateColumn" ].ToString()); //or t= DateTime .ParseExact(row[ "DateColumn" ].ToString(), "formateString" , cultureInfo); //or t=reader.GetDateTime(0); } catch { //... } but the above mehtods will have format mismatch problem when the region/culture setting of sql server is different from the setting of the environment that application is running on. (eg. when date formatted as "MM-dd-yyyy" with "dd-MM-yyyy") therefo ...Show All

  • Visual C++ unresolved external error

    I am having an unresolved external problem. This is my error output: Linking... tryagain.obj : error LNK2019: unresolved external symbol _furnsh_c referenced in function _main C:\Documents and Settings\sharyl\Desktop\cspice\exe\tryagain\Debug\tryagain.exe : fatal error LNK1120: 1 unresolved externals I have the enviroment variables set so that the library that contains furnsh_c is in the lib path, and the include folders, etc are also in the system's enviroment variables. I have also added the lib that has furnsh_c to the additional dependencies. What am I missing Is it possible that I changed another setting that is causing this Thanks! ok thanks. here is what i came up with: running dumpbin on the object file ...Show All

  • SQL Server Copying my SQL Database to another server

    Hi guys, I have created a new SQL database (named “DB”) on my personal pc at home. I want to copy “DB” to my job’s computer, which works on a local net with SQL server. What should I do Thanks a lot, Aldo. Hi Mathew, thanks for anwering. I want to know how to make the SQL database copy. I've tried copying the mdf file but getting some strange stuff. (I want to copy the table and views configuration). Thanks, Aldo. ...Show All

  • SQL Server hot rebuild all indexes

    how can run a command to rebuild all indexes in a database Do you want to just update the statistics or rebuild the indexes The latter does more than just update statistics of the index. You can use sp_updatestats to rebuild statistics for all tables in the current database. There is no equivalent one for rebuilding indexes however and you will have to write your own. Lastly, you do not want to perform both these operations without knowing the ramifications. Check out the blog from the SQL Server Storage Engine team for more details on these operations and also a whitepaper: http://blogs.msdn.com/sqlserverstorageengine/default.aspx http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/ss2kidbp.mspx ...Show All

  • Visual Studio Tools for Office Cached Data from Website to Word Doc

    Hello, I am having an issue with cached data in a Word document that is getting setup by a web page, but it only has an issue on the web server. I have a word document report that is being triggered to open from a web page and it is auto populating based on cached data and a web service. The code is very similar to the Benefits Registration Sample:http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOBenefitsRegistration.asp When I run the code locally, the cached data is populated correctly and the report generates fine. When I deploy it to the server, the cached data is coming up null. I have coded around the null and found that the document is running correctly and generating the report data co ...Show All

  • Visual Studio Express Editions migration of the __try_cast operator

    Hello, I am migrating code from the old Managed Syntax to the new C++/CLI syntax. To do this transformation I followed the hints explained in several articles of the MSDN. But what I didn't find there is how to convert the __try_cast operator when the type being casted is unmanaged. Does I have to use dynamic_cast and append an assertion Or there is a special operator like safe_cast but for unmanaged types Thank you in advance. Interesting. __try_cast was supposed to work with managed types, I see no reference anywhere about it being used with unmnaged types. Testing (in VC++ 2005) shows that __try_cast with used with an unmanaged type generates a dynamic_cast so the rules seem to be: use s ...Show All

  • Smart Device Development PDA TO PC communication From Scratch(Via .Net)

    Hi Friends, I want to use my pocket pc(PDA) to connect with pc and just try to explore files in the pda. Actally then idea is to made a software to transfer data between PDA and PC but i dont know any thing. I am totally newbie to this. SO please anyone can tell me what i have to do, someof question i had written below. 1)which will Good to use .net 2003 / .net 2005 2)what is actually activesync one dll is there in our program files is only we have to use or also i have downloade activesync.exe 4.2 (what will be use for it) 3)A option is there in .net tools-->connect to device is the way to commmunicate with pc Can Anyone help ThanX Regards, Malhar 1. As ...Show All

  • .NET Development To Learn RegEx

    Hello, I will be working with text from files and manipulated them. Thus, I need to learn about RegEx. I know the HELP in visual studio has it and it even has examples, but those examples are not explained....all I see is a bunch of symbols that work together to get their results....They do not explain them So, if anyone knows where I can go for better explanation of regex, that would be great. I am working on c# visual studio 2003 .net MSDN docs are the way to go as well as your fav search engine. http://www.windowsdevcenter.com/pub/a/oreilly/windows/news/csharp_0101.html http://www.csharphelp.com/archives/archive21.html http://www.regular-expressions.info/dotnet.html http://www. ...Show All

  • Visual Basic usercontrol and parents

    if i create a user control "A" that has 3 text boxes in it and add several instances of "A" to a panel...when i mouseover one of the text boxes how can i tell which instance of A it belongs to Thanks! Dan exually (i think) it would give you the panel where the usercontrol is hosted in But whatever works. right Remco ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Random and tileing

    I am a newbie at the C# language and XNA so I was wondering if I could get some help on some aspects of my game. So far I have a blob bouncing up and down, you can move him, and there are walls. For the floor I created a sprite that I can tile across the screen. How do I draw it so it tiles across the screen Then I created grass, holes and fruit sprites. I want to now how to create a certain amount of each ( depending on the LV ) and randomly place them on the map and be able to now the fruit and holes x and y values so my character can interact with them. Thanks for the info. The xna resources site will defiantly keep me busy for a while. If that is your site at the bottom of your post that ...Show All

  • Smart Device Development e.Cancel does not work in validating textbox

    I use Windows CE 4.2 with CF 1.0 SP3 (WinCE Device). After pressing the tab key, the Validation method will be called, but the "e.Cancel = true" does not stop the moving of the cursor to the next field. private void textBox1_Validating(object sender, System.ComponentModel.CancelEventArgs e) { e.Cancel = true; } Any suggestions That is a known issue, fixed in NETCF V2. Possible workaround is to memorize failed control in Validating event and get back to it from control which got focus (by handling respective event). Alternatively you can download and install NETCF V2 SP1 which supports CE 4.2 and try running your application as is against V2. ...Show All

  • Visual Studio Team System TFS Graphical Interfaces for non-programmers?

    Hi, Where can I find a list of available graphical interfaces (besides Team Explorer) for TFS for non-programmers For example, are there interfaces available for: Microsoft Office Graphical editing tools (e.g. Adobe Photoshop) Looks like TortoiseVSTS (plugin for Windows Explorer) is not yet available Thanks, Tony If you have Office and Team Explorer installed in your machine, you can use Excel or MS Project to open work items, add work items & make some changes to work items. Although not all the functions in Team Explorer can be found in Office, it's easier to use and sometimes it could be useful. ...Show All

  • Visual Studio Express Editions which feature do you mainly miss form the VS2005 full version?

    Hi all (hopefully i am asking to people owning the VC# 2005 Std or PRO versions) I have started using VC#2005 EE and i find it's really great! I have checked the page with Product Feature Comparisons http://msdn.microsoft.com/vstudio/products/compare/default.aspx I wonder what or (which ones) features among the list could be "mainly" missed, say, in a real production environement I suppose it could be depend on personal view points but say generally speaking which features could be considered really " fundamental " to a professional Another "curiosity": as the VC#2005 EE FAQ clarify that this wonderful product can be used also for commercial applications do you know if currently there are actually people/comp ...Show All

  • Visual Basic interfacing to map web sites

    I've written a vb app linked to a customer database that contains addresses. I'd like to add a button to a form that simply passes the address to a free map website that will open the map with IE. I don't want to use mappoint as that is a pay service, and the low usage of this app wouldn't justify it. Don't want to embed a map to a form either, simply want to pass the address information in a script if need be and have it open ie with the map. Does anyone have any information as to a direction I could go with this Everything I've found concerns using an api for website development but this is not what I'm looking for. Any advice is appreciated. If you need help with properly formatting the URL, manually en ...Show All

  • Visual Studio 2008 (Pre-release) Problem using event of Timer to set text on TextBlock

    Hey, I'm trying to set the Text property on a TextBlock when the Elapsed event is fired on a Timer object. But I'm getting an InvalidOperationException with the follow explanation "The calling thread cannot access this object because a different thread owns it." This is the line of code that fails, it sits inside the timer_Elapsed() method textBlock1.Text = node.SelectSingleNode( "description" ).InnerText.ToString(); I've also tried moving it outside in a service method, but no luck. does textBlock1 need to be in a specific scope or something If yes how do i managed that when the <TextBlock> element is pure XAML You can use the Dispatcher property to get the d ...Show All

©2008 Software Development Network