chris441962's Q&A profile
Visual C# How to use a driver in .NET
I have a ".sys" file was written in asm and I want to reuse its function int C#. How can i do I haven't worked on assembly lanaugage (other than the early days on 8088), but I guess you can create a dll wrapping up the assembly code, then call it in C#. Take a look at this article: http://www.codeproject.com/csharp/unmanage.asp ...Show All
Visual Studio How to publish website on server from Visual Studio 2005?
I program with Visual Studio 2005. It works well and now my program is finished. So I published the site on my server. For the first time, I used VS, clicked " Build " > " Publish Website (I use Chinese Version, not sure whether it is these two words exactly in English)", and select my server's ip address "ftp:// . . " and it began to upload file. Upon completion, when I run this site on IE, it complained and didn't work. For the second time, I simply copied all folders and files within site to the corresponding folder on server, and it still doesn't work. How can I publish my site It works fine in VS 2005. (my server is Windows Server2003 + IIS + (Framework Redistribution Packet 2.0 +S ...Show All
SQL Server SQLCE team: Call to Get___ methods entail boxing?
Greetings - It appears in tests that the calls to the type specific Get___ [e.g. GetInt32()] methods of the System.Data.SqlCeClient.SqlCeResultSet type result in an internal unboxing from some internal storage of values. I've been calling these methods diligently to avoid the boxing tax... Can you confirm this behavior If this is the case, will you be improving the internals or would it be better for me to wrap the native interface myself to avoid this -rory But of course, GetXXX is probably looks like this: return (XXX)getObject(...); Same thing would happen with typed DataSet, by the way, you can see the same cast in designer’s generated code. That’s because core ADO.Net code is des ...Show All
SQL Server help needed ...to update the datatable
hi, I have my database stored in the sqlserver 2005. Using the table name i am retrieving the table and it is displayed to the user in the form of datagridview.I am allowing the user to modify the contents of the table, including the headers. Is it possible for me to update the table straightway rather than giving a sql update command for each and every row of the table . Pls reply asap.... -Sweety Sure is. Though this really isnt a SQL Issue you have. You also forgot to mention what programming language you are using (VB.NET, C# etc) If you are using the datagrid and a dataset, then its easily possible however, depending on what .net platform you are using (1.1, 2.0) if you tell us, we ...Show All
Visual C# Application.Run() without showing the parsed form
Evening all, My question is can I have an System.Windows.Forms.Application.Run(MainForm) statement and execute it without having parsed MainForm visually appear. I have attempted to set properties such as Visible and methods like Hide() in the Form_Load event to no avail. It still shows the form. //This is the class where i try and run my mainForm code Trip_GenericWebBrowser _newGenericBrowserForm = new Trip_GenericWebBrowser (); _newGenericBrowserForm.Controls.Add(_newBrowser); _newGenericBrowserForm.Visible = false ; _newGenericBrowserForm.Hide(); System.Windows.Forms. Application .Run(_newGenericBrowserForm); //This is my form code using System; using System.Collections.Generic; using ...Show All
Visual C++ why i can't find the definition of the function throw()?
LONG_PTR SetWindowLongPtr(int nIndex, LONG_PTR dwNewLong) throw() { ATLASSERT(::IsWindow(m_hWnd)); return ::SetWindowLongPtr(m_hWnd, nIndex, dwNewLong); } it is included in the <atlwin.h>,vs2003.net,please help me! The throw() in this declaration is part of the C++ syntax. throw is not an identifier, hence there is no definition. ...Show All
Visual FoxPro Cursoradapter Browse - Enter Key Doesn't Work
Hi, In VFP8, I have a cursoradapter and do a browse. Users noticed that sometime when the edit a field it doesn't get saved. We narrowed down to discover that if you change a field value and press Enter and then Ctrl-W, the change is NOT saved. If, however, instead of pressing Enter, you mouse click on another row or cursor up/down to another row, then the change DOES get saved. Why doen't Enter (or Tab also has same behavior) followed by Ctrl-W work for saving changes Thanks, Rob Thanks Cetin and AndyKr! That worked... I set BufferModeOverride = 5 and then after the BROWSE I did a TABLEUPDATE(1). Now all changes are saved regardless or whether/how I navigate off the changed field(s) and row(s). Rob ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Viewport depth buffer / draw order issue?
Apologies in advance if this question has been covered elsewhere. I've searched through literally hundreds of posts here, but couldn't find anything relevant to my issue. I'm working on some code to simultaneously display a 3d model from several different camera angles in several different viewports. Unfortunately, I've run into a rendering problem whenever I draw the model in a viewport. For reference, here is a perspective rendering in 3DS Max of what the model looks like: http://www.hph-tech.com/modelPerspective.jpg This is a screenshot of the model (as seen from above) when I render it normally (i.e. not in a viewport): http://www.hph-tech.com/modelNormal.jpg And this is a screenshot of the model from the same angle, but when rendered ...Show All
SQL Server Createing SQL data base record for comma delimted records
I am a new user to SQL an I need to create a data base record from a comma delimted file (.CVS). The CVS file has up to ten fields all alpha/numeric. I must create this data base file using a stored procedure! The data base records will be displayed on a grid screen but this grid view will not be used to update the original CVS file. hi, I do apologise and please excuse my poor english, but I'm not able to understand your requirements... can you please rephrase again, please excuse my poor understanding.. regards ...Show All
Software Development for Windows Vista Value of LOCALE_ITIMEMARKERUSE
I don't know it this is the right place to post - if not apologies. Can anyone tell me the value of LOCALE_ITIMEMARKERUSE. I can't find it in any Win API include file; Google returns one result, straight out of the MSDN documentation showing what it returns; this site apparently has no mention on it. Any help would be appreciated. > Let me save you some time here. :-) But that I had looked here first! :( Thanks for the help. I assume then I'll just have to look at the values returned by LOCALE_S1159 and LOCALE_S2359. ...Show All
SQL Server error 0xE0040200
Hello, I’ve got this problem when I’m creating a new cube with the Microsoft Visual Studio 2005 8.0.550727.42 (RTM.050727-4200) and my operative system is Microsoft(R) Windows(R) Server 2003, Standard Edition. It isn’t the first cube I’ve created in this project, but it’s the the first time I get the problem. Could someone help me Can you provide bit more informatio about the problem. At what point you are getting the error Is that at deployment time or you get the error while running Cube Wizard Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
SQL Server track a specific procedure in profiler
Hello I am using SQL Server 2000 and How should I track a specific procedure and DMLs in it with profiler, I was trying to filer ObjecName=MySP but it seems it does not track only the SP. Any idea Did you try catching the STMT event HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Software Development for Windows Vista New xp pro machine, MSDTC not installed or configured?
Hello everyone, I purchased a brand new shiny development machine last weekend (one of the new dual core 2 processor machines...two thumbs way up!). The operating system on the machine is XP Pro. I am coding a C# 2005 winforms application which requires MSDTC and after opening my C# project and running it I noticed that MSDTC is not installed on my new machine. I thought MSDTC was installed on every windows machine but apparently that is not correct. So when I go to component services to look at the Distributed Transaction Coordinator the "my computer" icon has a red arrow over it instead of a green arrow which makes it look like there is a problem. If I click on the "distributed transaction coordinator" folder under co ...Show All
SQL Server confident of data mining
in associate rule, there's confident and support or probabilty values. but i use sql 2000, no support associate rule so i create a model with Microsoft _decision _tree to predict other products when customer choose product in superMarket basket_id table... { productid } is it have confident or support values. what value of it how can i change the minimum_support and minimum_probabilty it can use in Microsoft _ decision tree. i had download AddIn at http://www.sqlserverdatamining.com/DMCommunity/SQLServer2000/Links_LinkRedirector.aspx id=97 and read document that requid you must regist file dll and registry. after, right click on model dataming you want to modify param and choose me ...Show All
.NET Development Getting Table Column Names
I am looking for the best way to identify the column names of a database table at runtime, especially with using as little memory and time as possible because it is possible that this file will grow quite large. Ideally, I would get just the column names back with no data. I can do this using a datareader and filling a dataset- it occured to me to create a query that would return a single row and access the resulting dataset to get the column names. This still seems like a waste of steps, is it possible just to get these names directly Thanks all! The fastest way is to just quering directly the database schema. For example for Sql Server, this means to query the INFORMATION_SCHEMA.COLUMNS ...Show All
