P MOORE's Q&A profile
SQL Server since uninstall of ADAM service does not start anymore
hideho, since the uninstall from ADAM and delteting the VSTFS databases and reboot the sqlserver cannot be started anymore, not after many reboots and trials with whatever.... does anyone have expirences on that problem already Irie Mikky Hi Thanks buddy! You have to just rebbot the machine then turn off the VIA protocol and start the database service. Regards, Satyadev ...Show All
Visual C++ How can use both VC++ and C# in same solution
How can use both VC++ and C# in same solution Thks *grin* I don't think so. This guy has posted across four forums, and his question is, can he take a VC6 project and turn it into a C# project. In any case, you can add C++ and C# projects to a solution, but you can't compile C++ and C# in the same project, can you Perhaps in ASP.NET you can, although I've never seen C++ used in ASP.NET. ...Show All
Visual FoxPro Primary key + delete....
General Design Question…. Suppose I have a table (Table1) with a primary key (PKId), if a user deletes a record then wants to add a record with the same PKId value there is a Primary key violation because the table has not yet Been packed. What is the best solution to this I have Considers the Following… 1) Indexing on PKId+!deleted() , but this would only solve the problem if he delete the record once, what happens if he deletes the second records he created The Delete will fail( ), or a primary key violation. 2) When deleting, replace the primary key with a value from a counter table. This will work but I ...Show All
Visual Studio Reports does not work in Visual Stufio 2005 RTM
I have 2 problems with Crystal Reports in VS .NET. I already asked this questions but don't see answers. I have report with 3 subreports. Report and subreports uses stored procedures on MS SQL 2000. Report was created with Crystal 9. 1. Reports that work in VS .NET 2003 don’t work in VS 2005. I use this schema: Instantiate ReportDocument (ReportDocument rptDocument = new ReportDocument()). Load document rptDocument.Load(“report.rpt”). Redirect report to another server: rptDocument.SetDatabaseLogon("", "", strServerName, strDatabaseName); //strUser foreach (Table tblCurrent in rptDocument.Database.Tables) { Tab ...Show All
Visual C# C# Equivalent of SqlDataReader.Item
I'm new to C#, moving over from VB... Is there an equivalent to VB's SqlDataReader.Item Here's what I'm trying to do: SqlCommand cmdSelectedRecord = new SqlCommand (SQLStmt,conn); SqlDataReader SelectedRecord = cmdSelectedRecord.ExecuteReader(); txtLastName.Text = SelectedRecord.Item("lname"); txtFirstName.Text = SelectedRecord.Item("fname"); SelectedRecord.Close(); Obviously I have defined my SQLStmt and conn as the connection. "lname" and "fname" are tables in the database that I am querying. The build error I get is: System.Data.SqlClient.SqlDataReader' does not contain a definition for 'Item'. Thanks, Jeff ...Show All
Game Technologies: DirectX, XNA, XACT, etc. HLSL: receiving a handle to a struct
Hi! I'm having trouble receiving a handle to a structure in a hlsl file. This is the structure: struct VS_SIMPLE_INPUT { float4 pos : POSITION; float3 normal : NORMAL; }; And I try to receive the handle like this: pEffect->GetParameterByName( NULL, "VS_SIMPLE_INPUT" ); It doesn't work, I get a NULL ptr. Can anybody help me Well, I just noted it seems not possible what I'm trying to do. A handle to a structure seems not possible. What I'm trying to do is to receive information about a vertex shader input structure from the fx file, to automatic ...Show All
Visual C# Shrinking "if" statment
Hi All, I wonder if any one know how to Shrink "if" statment. like we can do if function ( the plus / minus sign in the left side ). It's make me crazy, because I have a lot of lines of code inside the bracket. AND if this option is exist , it's will be very useful. I don't want to use the #region Options. Please Help BOAZ. I am not sure if I understand what you mean by shrinking an if statement are you saying that you have alot of code to execute on either side of the condition - if (test) { LOTS OF CODE HERE } else { EVEN MORE CODE HERE } I contend you may ...Show All
SQL Server Trying to attach an older version MSDE
I created a local development database and had tables that I imported thru Enterprise Manager. It was version 2000 (I think). I installed express 2005 and did a "previously registered servers" thing and it won't connect stating that TITLE: Microsoft SQL Server Management Studio Express ------------------------------ Attach database failed for Server 'ITPETELXP\SQLEXPRESS'. (Microsoft.SqlServer.Express.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attach+databa ...Show All
Visual Studio Team System Not letting me rename web projects after branch
If I have a project called WebUIApp in a solution called MySolution that exists in a Main line, in source control explorer I have $/MyTestProject/Main/MySolution/WebUIApp. In this case, I might have the WebUIApp at http://localhost/MyTestProject/WebUIApp . Then I branch the Main line to $/MyTestProject/V1/MySolution/WebUIApp. I then get latest versions on this and then try opening the solution. When opening the solution, it recognized that I already have http://localhost/MyTestProject/WebUIApp and asks if I want to use it. I do not want to use it since this is my main line so I choose no and it automatically cre ...Show All
SQL Server i created a login in SQL SERVER 2005 EXPRESS, but cant login...
create login dave with password='abc', default_database=tempdb when i use this account to login my sql2005, i got Msg 18452, Level 14, State 1, Server DAVID-398113F7C\SQLEXPRESS, Line 1 Login failed for user 'dave'. The user is not associated with a trusted SQL Serv er connection. why You have probably installed the server such that it only allows Windows Authentication, so you cannot connect with a SQL login. See the "How to: Change Server Authentication Mode" topic in Books Online for additional information on how to allow SQL authentication. Thanks Laurentiu ...Show All
Visual Studio Express Editions Text boxes
I am making a program that on click it will take info from textbox1 (user inputed) and out put it to textbox2. I have figured out how to onclick textbox2->Text = "This is text."; and that out puts This is text to textbox2, but i need to know how to get the text from textbox1 and then put it into textbox2. thx for the help edit: i would also like to know how to put the text info from textbox1 into an array. So if the message was "text file" the first part of the array would be t What technology are you using I don't believe the Express edition has MFC. So what other technology are you using Could you ...Show All
.NET Development searching string in substring
Hi, How can I find out the number of times a substring appears in a string. Thanks, I can think of 2 ways right off the bat. Here's some code that counts the number of angle-brackets in a XML string using Regular Expressions, and then just some simple iterating code: string myString = "<product><name>Prod1</name><price>248.74</price>" + "<fields><field><name>Shipping Cost</name>" + " <value>3.00</value></field></fields></product>"; // metho ...Show All
Smart Device Development call the WIFI
do any one knwo how to call the WIFI signal form in pocket pc 2003 2nd Edition. SOrry i mean the form that builtin in the pocket pc 2003 that use to switch on/of of the WIFI. How do i call up that windows CE form. ...Show All
Windows Forms Web Browser problem
I was following the MSDN web browser tutorial (http://msdn2.microsoft.com/en-us/library/360kwx3z.aspx) and whenever i selected an address from the combo box it works fine, but whenever i enter in a URL i get this error: System.NullReferenceException was unhandled Message="Object reference not set to an instance of an object." Source="WebBrowser" StackTrace: at WebBrowser.goButton.goButton1_Click(Object sender, EventArgs e) in C:\Documents and Settings\HP_Owner.MATT\Local Settings\Application Data\Temporary Projects\WebBrowser\Form1.cs:line 25 &nbs ...Show All
Visual C# System Model
Ok. On the Form_Load Event, I have a messagebox pop-up. I think the correct term is System Model. I am not sure. But what I would like is for the user not to be able to do anything..and I mean anything, on the computer..until she/he presses the ok button on the messagebox. Can someone tell me how to do this Like this: ( put this in your Form_Load event ) if(MessageBox.Show(this, "Press ok to continue", "Press ok", MessageBoxButtons.OKCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1) == DialogResult.OK) { // continue form loading } else { // user pressed cancel } Some explainations ...Show All
