KoeiTG's Q&A profile
Architecture Nhibernate O/R mapper with microsoft application block for data {.net 2.0}
Has any body used Nhibernate O/R mapper with microsoft application block for data {in .net 2.0} If yes please let me know how do you use it Also let me know that am i doing the right approach or not .I have chooses it with regards to my post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=325901&SiteID=1 Have I done correctly or not The two would generally be mutually exclusive ... it provides its ow ...Show All
Visual C++ MS C++ 2005 express database mismatch error when compiling
Every time that I attempt to compile a c++ program I get a database mismatch error. When I looked this error up in the included documents, it said that I needed a newer version of dbi.dll. Where can I find this file I know that my programs work because they compile with ms vc++ 6.0 and the gcc complier. Here is the artilce where it told me "how to fix it," but I still cannot find the file that I need. Visual C++ Conc ...Show All
Visual Studio Express Editions Using File Save Dialog
I am using VB Express 2005 and trying to code a process to allow the user to create a new MDB file in a selected directory. I added a SaveFileDialog control (sdlgFileName) and used some code from the Help system as a starting point but I don't understand how to actually create the file The code from the Help system shows the following code: ---------------------- If .ShowDialog() = DialogResult.OK Then My .Computer.FileSystem.WriteAl ...Show All
.NET Development drive types
Hi. I know I can get the logical drives from Environment.GetLogicalDrives() which returns me a string[] of drive letters on the computer. How can I detect if a drive is a DVD (not CD) drive I can make a call to kernel32.dll (dllimport) and use the GetDriveTypeA api and it returns me 5 as a fixed drive (which is correct since it's a CD ROM type drive) but I want to go an extra step further and detect wether the computer has a DVD or CD drive... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. draw sprite doesn't work when inside VS (executable works fine)
This may be a known issue, but I haven't been able to find it anywhere... and I'm a good googler =o)... I have this code (directly taken from Microsoft) to draw a simple sprite: public Device device=null; public Microsoft.DirectX.Direct3D.Spr ite sprite=null; public Texture tex=null; public void InitGraphics() { PresentParameters p=new PresentParameters(); p.SwapEffect=SwapEffect.Discar d; p.Windowed=true; device=new Device(0, DeviceType. ...Show All
Windows Forms A little confusion about typecasting.
I have a form with three buttons and one textBox. On the clickevent of all the three buttons i have called the same eventHandler like this. this.button1.Click += new System.EventHandler(this.button1_Click); this.button2.Click += new System.EventHandler(this.button1_Click); this.button3.Click +=&nb ...Show All
Visual C# Change CommandText to an existing dataset
Hi: Ok i have 1 dataset in my application, inside the dataset I have a TableAdapter with the SQL Statement " SELECT mytable.* FROM mytable " in the SelectCommand. then I want to change this CommandText programaticaly using a user textboxt to this TableAdapter. for example " SELECT name,email,note FROM mytable WHERE id=45 " How can I do this stuff --- To create the tableadapter I used the dataset designer, n ...Show All
SQL Server ntext syntax question
I have read the books on line about this topic and I have a very basic question about ntext. I am using SQL 2000. My question: Is there any reason why we should ever use the "updatetext " statement if we are replacing the entire ntext column Couldn't we / shouldn't we just use the update statement. Will this ever fail if the item we are inserting is very large Lets say we are inserting a xml file into this column and it is 100k, is ...Show All
.NET Development Moving in Binary File
Hello I am reading data from binary file ,some of this data is string and some is images and the length of some of this data is saved in many places in the file I need a way to move back in the file i use the Seek method with the StreamReader to do that when i read text files but there is no Seek method for the BinaryReader Any body can help me . When you create a BinaryReader object you giv ...Show All
.NET Development WCF (Indigo)
I have yet to really see a migration path from remoting to WCF, in fact everything I have heard is that there is not one intended. Am I correct and if so .. how are others handling this situation Greg, since WCF is now available as a "Go Live" release, our guidance is evolving to recommend WCF for almost all scenarios. I might still use Remoting for a heavily cross app-domain app, but in all other ...Show All
Visual Basic how can i from VB create an user in sql server ??
Hi everyone. Im developing a program and i need create a user in sql server from my code in VB. Anyone have a example to do that Kind Regards It's more SQL then VB. You'd have to connect to the SQL server with a user that has permissions to create other users. (the root or admin user) The SQL would be rather simple. (Note, i'm posting MySQL. I assume it's near MSSQL) CREATE USER tmpUser; GRANT AL ...Show All
Visual Studio Install VS2005 Beta prep
OK, I just got the Visual Studio 2005 Beta tean Suite. Rock. Now before I install, and considering the "don't install Beta 2 over Beta 1" with the Express editions, what should I uninstall or keep to ensure all is successful Current tools and SDKs are: Microsoft Platform SDK Visual Studio 8 Express Editions (c++, c#, j#, vb) .NET framework 2.0 DirectX 9.0 SDK I'm going to guess that the DirectX and Platform SDKs can stay, but I'd be ...Show All
Windows Forms newbie: Can't find the duplicate (xxx.Form1.resources) in "Resources" parameter, help please.
Using C# and the latest VS 2005. Hunted for just about every combination and twist on this error information. This happens when I try to 'create project from existing code.' Haven't yet found the answer for this Ultimate Question (42, doesn't work.) Probably a very fundamental thing but I'm missing it as yet. Output C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.CSHARP.Targets(147,9): error MSB3105: The i ...Show All
Visual Studio Tools for Office Dynamically attaching an assembly to a Dot file
Hi, I'm using a VSTO 2005 solution to create a customized dot file that uses the assembly created with Visual Studio 2005. As a deployment solution, we have chosen to place the assembly in the GAC , so that it will be accessible from every location the document will be opened from on the client's computer, regardless to the installation location of our product. As a part of the whole product, I need to supply more than one ...Show All
Visual C# MapPoint
how can i benefit form MapPoint in VS.NET MapPoint is a mapping and directions api and web service. if you need to display maps or directions on a webstite, PocketPC distributed app, or windows based app you can use Mappoint and pass very few pieces of information and get maps, directions, or both displayed on your sites if you want. HTH ...Show All
