Lovericky's Q&A profile
.NET Development Dataset.datarow parameters
Hello there, I have a simple question, any answer will be appretiated. I have recorded a set of values in a datatable, i want to read a coloumn value in each row of that datatable and perform a loop operation to run some more queries and get more data from the database. the problem is that i am not able write a loop to implement this code. so need help...if possible a sample code will be useful thank you Saad We need more information. Looping though a datarow is easy enough.. For Each dr As DataRow in Datatable.Rows PerformQuery(dr.Item("ColumnName")) Next but are you trying to put more data in to the same table Maybe you can write the query so that you don't need to loop through the ...Show All
.NET Development Time zone conversion problems
Hi, I'm trying to parse a date time string that is always in ET time zone. The resulting time should be converted to local time. I could do that by backadjusting the ET time and converting to UTC. However, the issue is that I don't know if ET is currently in DST or not, so that I don't know how many hours I have to backadjust. Is there a framework built in way to get the UTC offset for any time zone Thanks, Tom Note that Windows generates file time stamps in UTC. It depends on what happened to those when the file got transferred to your PC. If you used FTP you're probably toast. If you know for a fact that the file was stamped in the Eastern time zone, you'll always have a constant number of hours diffe ...Show All
Visual Studio Team System Is it possible to run Schema compare and Data compare from the command-line?
Hi, Question is in the subject line. The background to this is that we have our database builds occurring in our build environment as part of TFS Continuous Integration builds and we would also like to automate the steps to produce the change scripts that Schema Compare and Data Compare would give us. Thanks Jamie Hi Jamie In V1 we currently do not offer this level of support in the schema compare or data compare tools, but it is an interesting feature for a future release. If you want to track the status of feature request/suggesion please do log a bug in connect Thank you Mairead PM, TS Data ...Show All
Visual Studio Local Report has Report Server Error???
I have created a local RDLC report and on my development machine (WinXP) all is well. But once I move the application and report file to another machine (Win2000Server) the report throws an error : Microsoft.Reporting.WinForms.LocalProcessingException An error occured during local report processing --> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a congifuration error. See the report server log files for more information. The problem is that I am not, and do not intend to use a Report Server. The RDLC files have already been created, and the data is passed to them like... reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("My_DataSet",dt)); r ...Show All
.NET Development Reflection - Strong Name
Hello, Pls any1 can help to answer my question. Why when ni use Reflection in my Exe to get the path like: Me .m_RunningPath = Reflection.Assembly.GetExecutingAssembly.Location 'including filename and i try to use the Strong Name to verify the Dll. I found that if i'm not using "Reflection" to get the path and direct call the dll, the same way of Strong name will work fine.However if i use reflection,even version wrong it also verify as approved. Is it anyway wrong or i can't use reflection for calling dll in my Exe. Thank you. Now i want to do 1 checking when run Exe at branches that if found 1 of the dll calling in Exe was not developed by us, then the system will block who Exe ...Show All
Visual C# how to return null from a constructor
say, i a m trying to do something like: class something something(streamreader){ if (wrong format or end of file) caller receives null as result else build object from what has been read in file } i tried 'return null', but it says it can not do that since a constructor is 'void', so i can not place a return sentence. i'm not sure something like this.dispose would retunr a null, since the 'dispose' may be asynchronous (or something) i have the next alternative class something blah blah somehting(string) (build object from string, check if string==null or wrong format before calling) static bool checkformat(string) check to see if string is adecuate to build somet ...Show All
Microsoft ISV Community Center Forums How to track changes
Hi Can any one tell me how to track the changes brought by other admin users in ISA server or any option modified by them. Any log or .... any one Muhammad Essa wrote: Hi Can any one tell me how to track the changes brought by other admin users in ISA server or any option modified by them. Any log or .... So far no one has answered this question any one ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Need Info On The Basics
OK, Ive read a large part of this forum and HAVE recieved alot of answers. With that said, over the past few days Ive been burshing up on my old C++ skills and plan to start learning C# here in the next week. My plan is to do this as a Hobby (Mainly cause Im an electrician with a family) so ive set some really long goals. Im not expecting to pump out a 3d game in a year. Ive been very interested in writing code for years now and have been a lover of Game design ever since Missle Command came out in the Arcade (Just Dated Myself). Since Ive taken this up, a Tattoo Artist buddy of mine has become interested inthe graphic end of the whole thing. So in short, what would be a great 3D design software for a begineer (with years of drawing expert ...Show All
Game Technologies: DirectX, XNA, XACT, etc. dem Bones
Can someone tell me what Model.Bones are or point me at some documentation Specifically, I'm doing the "How to: Render a Model" tutorial on a model of a cube that I made. There are some lines in the code: Matrix[] transforms = new Matrix[m.Bones.Count]; m.CopyAbsoluteBoneTransformsTo(transforms); ... effect.World = MyWorldRotation * mesh.ParentBone.Transform * Matrix.CreateTranslation(Position); I've commented out the Bone-related code and my model still renders fine, so I was wondering what it's for. Thanks. The bones represent the "scaffolding" of the model and is used for animation. The sample code doesn't use any of the bone info that it copies to the t ...Show All
Windows Forms Finding Path
I have created a setup and deployment project.for custom action i have also created class library. so i have two project: CustomAction Installer my requirement is as follows: after clicking setup.exe.i have to find path from where it is running. if i place both Installer.msi and setup.exe in "c:\FindPath\Test" so i need to display this path "c:\FindPath\Test" i tried many options but it gives me either "c:\windows\system32.. path or program file path. how we can find path. Hi, I placed Installer.msi and setup.exe in "c:\TestInstaller".but i clicking on setup.exe it (using your code) gives "c:\program files\SampleInstaller". problem is as follow: ...Show All
SQL Server Report Paging
i want to give a page size for a report in sql server 2005 reporting ..for example return 40 rows per page... ...Show All
Visual Basic How to charting in the VB 2005?
My Project in VB 6.0 is using the Chart Viewer (.COM Component) to do the charting, but after i migrate to the VB 2005, the Chart viewer is not compatible anymore. So in the VB2005, it is posibble to do the charting based on the List view Table create on the program running Because my program is generate the chart on the spot when user select the differ data. Thanks. VS200x doesn't have a chart control, rather a gaping hole I'd say. You can use one of the many commericial charting controls. Or you can still use the old VB6 MSChart control. Right click the toolbar, Choose Items, COM components tab, select "Microsoft Chart Control 6.0". Stay away from the EditCopy() method, it causes an AccessViolation exception. ...Show All
Visual Basic VB .Net Express ? (not VB 2005)
Is there or was there an express version of VB .Net (2003) available for download. My work PC is stuck at XP SP1 and VB 2005 requires SP2. I'm "stuck" because it's a work PC and the MIS department has not OK'd upgrades to SP2. I was able to install .Net framework 2.0. I'm not really interested in building applications so much as how the forms editor works. An application that I do use at work has changed over to a (very) poorly documented "VB .Net similar" forms editor. Not being familiar with VB and it's editor I wanted to install VB in order to familiarize myself with it as well as VB's accompanying documentation. I've since found a command line option for the setup command that appar ...Show All
Visual Studio Package "Visual Studio Common IDE Package" failed to load
I just installed the VS 2005 Beta 2, including the MSDN documentation. I can look at topics via the Index and Contents just fine; however, when I tried to click on the Search icon on the toolbar, I get a message that reads... Package "Visual Studio Common IDE Package" failed to load ...and then nothing happens. The same thing happens if I click on the How Do I icon. Also, if I click on the little arrow next to the How Do I icon, MSDN--or, more specifically, Microsoft Document Explorer--crashes. Any ideas Thanks in advance, Jeff copy the file C:\Program Files\Common Files\Microsoft Shared\VSA\8.0\VsaEnv\microsoft.visualstudio.commonide.dll to C:\Program Files\Common Files\Microsoft Shared\ ...Show All
SQL Server SQL Server 2005 "Login failed for user" sa
I have not been able to install SQL Express SP2 (standard or advanced) on Vista Ultimate (RTM). Every time I try to install, I get the following error message: SQL Server Setup could not connect to the database service for server configuration. The error was: [Microsoft][SQL Native Client][SQL Server]Login failed for user 'sa'. Refer to server error logs and setup logs for more information. When I check the logs, the only information I can find that is at all useful is: Doing Action: Do_sqlScript PerfTime Start: Do_sqlScript : Thu Mar 01 21:35:42 2007 Service MSSQL$SQLEXPRESS with parameters '-m SqlSetup -Q -qSQL_Latin1_General_CP1_CI_AS -T4022 -T3659 -T3610 -T4010' is being started at Thu Mar 01 21:35:42 2007 SQL service MSSQL$SQ ...Show All
