Louis Somers's Q&A profile
SQL Server SqlServer2K5_BOL.msi
In July I obtained and installed the dvd's SQLServer 2005 Developer Edition CTP so I assume this is the June 2005 version and VS2005 Team Suite Beta 2. I tried downloading the above file for Sql server 2005 Books online and it fails saying I need .Net 2.0 ( seems VS2005 installed .Net 2.0 Beta ) I am also having trouble understanding some concepts ( I am relatively new at this ) Why do I even need this SQL Server 2005 dvd Seems that VS2005 installed SQLEXPRESS - When I look at the SQL Server Configuration Manager, I see MSSQLSERVER and SQLEXPRESS among other things( only SQLEXPRESS is running and that is ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SetClipPlane ????
Hi, I'm trying to create a mirror. I got the render to texture thingy done. I'm first using the technique of calculation the "virtual camera" position behind the mirror, then render the scene from that position. I need to somehow "clip" the scene to the boundaries of the mirror, so i guess theres two ways to do it. One is to set the clip planes using device->SetClipPlane(...), but ... help ... help :) :) Matrix4x4 mT(g_pApp->GetDirect3DWrapper()->GetViewMatrix()); mT.InverseTransform(mT); D3DXMatrixTranspose( (D3D ...Show All
SQL Server Please Help! Dynamic DB Connection in Foreach Loop
Hello- I'm trying to read a table that has database connection information for other DBs and use this within an "Execute SL Task" task. I have seen a number of posts that talk about this possibility, but I have not been able to get it to work yet. When I've tried to set the connection to a variable (@[User::DB_ConnectionStr]) in the Expressions area of the SQL Task, the Connection type defaults to OLE DB and I can't seem to force it back to ADO or ADO.net. I've tried doing this with the variable being set to both a connection object and a String with the connection string, but neither seems to work. Any suggestions ...Show All
Visual FoxPro Additional fields in table exported to txt
Hello, I need to output from a VFP 6 table to a text file. When I use "copy to mytext.txt delimited with ," I get an additional field before and after each of the original fields from the table. This means that in my new text file, fields 1,3,4,6,7,9,10,12,13 etc are empty fields that were not present in the table and fields 2,5,8,11,14 etc are the fields with data. Can anyone tell me how to avoid these "extra" fields please Thanks in advance, Paul. It sounds Like ypu want as CSV File... Why not use " copy to mytext.txt type csv " Dave ...Show All
SQL Server Create Table SQL 2000->2005
I have some simple sql that I use to create tables in a database in 2000. Have done it many times, many sql 2000 instances are fresh installs. Now on a 2005 fresh install it doesn't work<br> USE MyDB GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE "care"."MyObjects" ( "DId" integer NULL , "MyObjectID" integer NOT NULL , "idType" integer NULL , "name" varchar(64) NULL , "description" varchar(1024) NULL , CONSTRAINT "pk_MyObject" PRIMARY KEY NONCLUSTERED ("MyObjectID"), ) go I get "The specified schema name "care&qu ...Show All
SQL Server How to integrate reporting services with ASP.Net
Hi My current situation is how to integrate my application written in asp.net to link to my report server's report as by default anonymous user can access my report server's report without any authentication. how to configure to make the report server by using form authentication before access the reports My Application Configuration Web application (Vb.Net) - http://192.168.1.18/mobiFO Reporting services - http://192.168.1.19/reportserver/reports/mobiforeport DBMS - MS SQL Server 2005 developer edition + Reporting Services 2005 SP1 Thanks for your help. anything can email me at jack0726 ...Show All
Visual C# How to import a dll made in C++ Win 32
Hello Everyone, I have a dll which is made in Win 32, as it is not an assembly neither COM can't be used as a refrence, so I have to Import it.... Can someone tell me how to do it...As when i do it asks for the entry point and secondly how to call the functions from that dll.....A brief example will be highly appreciATED... Thanks, Harsimrat Thats simple.. u have to use System.Runtime.Interopservices in your main class: do this: [Dllimport("the dll path")] public static extern void nume_of_function(string t\his_params); Remeber that you have to adapt to c++ parameters.. ...Show All
Visual Studio 2008 (Pre-release) Will there be a WinFX CTP compatible with Vista's October CTP?
Will there be a WinFX CTP compatible with Vista's October CTP Windows Vista 5231 doesn't (and won't) have a matching WinFX release http://www.longhornblogs.com/rrelyea/archive/2005/10/19/WindowsVista5231.aspx ...Show All
Visual C# If statement conversion from VB.NET to C#
When I convert this If statement from VB: If IsNothing(Session("cart2")) = false Then Session.Add("cart2", localCart) Else Session.Add("cart", localCart) End IF to C#: if ((Session["cart2"] == null) == false) Session.Add("cart2", localCart); else Session.Add("cart", localCart); I get this compiler error: CS1519: Invalid token 'if' in class, struct, or interface member declaration The VB code works fine. I can't figure out why this occurs in C#. Any ideas Show us a little more of the surrounding code. The statement i ...Show All
Visual J# Delegate and EventArgs Question
Hi, I am very new to programming and i have a quick question. I am developing a webpage and I want a delegate to handle a button click. I am programming in J#. What I want to do is display the element found at ArrayList(i) after clicking on a button. Example: <input type="button" id="display" value="Display" runat="server" onserverclick="write(<%=i %>)" /> I want the method 'write' to take the value 'i'. The method will be: ArrayList theList; public void write(int i) { aDiv.set_InnerHtml("Value in array at index " + i + "is" + theList.get_Item(i)); } I get th ...Show All
Windows Forms How to change application connection string?
I've learned how to build connectionstrings and read them from the configuration classes, but I'm still confused. Every dataset I create using the visual database tools uses the connectionstring stored in the application settings. This is great until I want to change it. Since it's a read only property, I can't directly change it to point from my development machine to a production machine in the code. How do I do this Well, in 2.0 I believe they changed how you work with appsettings, but I haven't played with that myself. In 1.1/1.0 (who knows which version your ...Show All
Visual J# Unable to load the J# Browser Control
I've created an html page with ONLY the following code.... <OBJECT WIDTH="1024" HEIGHT="768" CLASSID="clsid:a399591c-0fd0-41f8-9d25-bd76f632415f" VJSCODEBASE="myfile.dll#_0" ID="Object1" > </OBJECT> where the dll file is named "myfile.dll" and the first class file is _0.jsl and each time I load the file into internet explorer the statusbar shows: "Unable to load the J# Browser Control in file file:///C:/temp/projects/myfile/myfile/bin/debug/myfile.dll " Well I'll be Thanks Scott, I guess I was confused because ...Show All
Visual Basic tableadapter.insert
I've been using this handy little function tableadapter.insert, but now I'm trying to figure out why I have to specify the parameters individually, rather than putting them into a nice array or collection. It seems like it should be able to be done. Here's the concept: I have a sequential file that contains data. I can parse this thing into multiple array elements, each containing the data for a field in an access table. Then, even if I had 50 fields, I could just call dim myDataArray(100) as string for i=0 to 99 'put some data in each array element next i tableadapter.insert(myDataArray) and it would work. But it does ...Show All
Windows Forms Passing base as parameter
I have a class that inherites from another class. I launch a WindowsForm within this class and I need to access a function of the base class within this WindowsForm. Any ideas how to do this This is what I use in basic: class BaseClass{...} ........... class MyClass : BaseClass { function open() { Form1 myForm = new Form1(); myForm.ShowDialog(); } } ........... class Form1 { public Form1() ...Show All
Visual Studio Express Editions Free VB 2005 Express Edition Tutorials?
Firstly let me give a big "Wassup!" to all the VB programmers out there! I have recently moved over from the Delphi platform to the VB platform and joined the ranks of a far better programming language... (Sorry to all those Delphi PPL) I have taken the www.learnvisualstudio.net tutorials and found them to be very informative and extremely helpful but I was wondering if there isn't an online community of VB 2005 Express developers where I can find further information If anyone knows of a great source of tutorials, examples, etc. please let me know The one drawback of using Sleep is, well....your app is asleep. Below is another w ...Show All
