Pete_101's Q&A profile
Visual Studio Team System TFC installation, Cannot see workspace in Visual Studio
I have installed TFC and in Visual Studio 2005 things look ok. I can connect to the TFS server and see all projects but I cant perform any actions. I can see that there is a workspace set up for my account and machine using the tf tool. I can alos map projects to folders using this tool. In Visual studio I cant perform any actions. THere is no workspace defined and there is nothing added to the File-> Source Control menu. What am I missing The TFC installation went fine as far as I could see. Thanks Hello, In Tools->Options->Source Control does the "Visual Studio Team Foundation Server" is selected If no solution is open and you are connected to TFS server (you can see ...Show All
Windows Forms How to process keydown event while dodragdrop
Hi all: Dodragdrop is a process to consume message, when mouse or key status change, will raise an event named OnQueryContinueDrag. My question is: how to let my Form get the Keydown message while dodragdrop. OnQueryContinueDrag can not give which key is pressed. Thanks alot! ...Show All
SQL Server MDX Query Help...Please
Hi, I have a fact table containing the following columns: CustomerID RegionID CategoryID ItemID Price Relationships: A customer belongs to only one particular region and category Each customer can buy the same item at different prices The measures are LowPrice and AveragePrice Query For a particular customer, what was the customer price, average price and low price for some other combination of region and category ( this not the region and category,the customer belongs to) For ex: CutomerId RegionID CategoryID ItemID Price 1 1 2 1 2.00 2 2 3 1 6.00 3 2 3 1 4.00 Report should display for Customer 1 , ...Show All
Windows Forms What did I do wrong?!?! - New Controls not showing when ran in debug
-------------------------------------------------------------------------------------------------------------- Development Environment: Visual Studio 2005 Language: Visual Basic Issue Summary: Add new controls to form, run in debug, controls do not show ------------------------------------------------------------------------------------------------------------- DEATILS: Okay, so a strange thing happened to me when building my application. I created a 3-form application. I deployed the project using a setup project. I found that there was one dropdownlist I needed to add to the form. So, I went in and added the control and corrected the code behind to work with it. I had to shorten a textbox control in order to fit t ...Show All
SQL Server Login failed, user is not associated with a trusted SQL Server connection
I set up SQL Express and Visual Studio Team System for the first time yesterday. I created a web service (on my localhost IIS) and added an MDF file to my App_Data folder. I added a table with five fields. I'm trying to connect to the database in my web service, but when my web service gets to the connection line it returns the error System.Data.SqlClient.SqlException: Login failed for user ''. The user is not associated with a trusted SQL Server connection. When I add in my domain name and password to the connection string I get the error System.Data.SqlClient.SqlException: Login failed for user 'redmond\danmor'. The user is not associated with a trusted SQL Server connection. I've queried these SQL forums, and the advice is u ...Show All
Visual Basic .
SQL Server SQL Beginner's Question - Computed Column
I'm currently writing an app in VB Express. One of the VB modules is a timesheet where I have to subtract "finishtime" from "starttime". I created a computed column in SQLExpress that accomplishes this, but of course updating the table from my frontend causes an exception. I know within SQLExpress this can be worked around by running the update twice. Question: Should I place computed columns in a seperate table that is not updated or Stuff programming protocol and not handle the error and just run the update query twice from the frontend or A suggestion of your choice, please be nice, a novice SQL user here. I don't particularly want to have to do the calculations each time the data is downloa ...Show All
.NET Development Remoting serialization question
I have a very simple type called TypeA that contains a property on it called Prop1 of TypeB. I've decorated Prop1 with both SoapIgnore and XmlIgnore however every time I make a call to a singleton MBR type, I get an exception from SoapFormatter telling me that TypeB isn't decorated with [Serializable]. Do I have to decorate TypeB w/ Serializable even though I don't want it included in the serialization of an instance of TypeA Thanks! Hi As I understood, you should use the attribute NonSerializedAttribute, and you should apply this attribute to fields not to properties. ...Show All
Visual C++ Thread Missing
Hello All, Does the moderater removes any threads I posted a question on FILEDESCRIPTOR structure and it is missing now. What would be a probable reason for removing the thread Thanks, There is a number of reasons for a thread being deleted. The most common one is being an off topic specially if it is a general win32 API programming issues and not VC++ specific. I will search the deleted threads and bing it back. Hopefully it is not an off topic one. Thanks, Ayman Shoukry VC++ Team ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Walking Model
Greetings, I've just installed the new XNA 1.0 and tried to add a 3D model.... I loaded a Dwarf that comes with the Microsoft DirectX SDK, and I would liketo give him some moviment... I don't know how to make a 3d Model move... and I would like to read some resources about it... can somebody help me out Focus On 3D Models by Evan Pipho ISBN: 1592000339 http://www.amazon.com/Focus-3D-Models-Game-Development/dp/1592000339/sr=1-1/qid=1166703018/ref=pd_bbs_sr_1/103-0325147-4325420 ie=UTF8&s=books ...Show All
.NET Development How to configure a channel for RemotingServices.Marshal(o)?
Hello again! This code works fine: TcpServerChannel ch = new TcpServerChannel(50000); ChannelServices.RegisterChannel(ch, false); ObjRef r = RemotingServices.Marshal( myChipReader, settings.RemoteUri, typeof(IRemoteChipReader)); But I'd like to take the part of creating and registring the channel in the app.config file. So I tried: <configuration> ... <system.runtime.remoting> <application> <channels> <channel type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel" port="50000" /> </channels> </application> </system.runtime.remoting> </configuration> But it doesn't work :( I tried to find out in the MSDN documentation (remoting scheme) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How similar is this to DirectX?
I started Windows programing two days ago...but I'm used to programming on other systems. Anyways, the lack of docunation for the xna framework sucks and I was wondering how similar it is to another doc so I can work with that Could I be able to read tutorials online dealing with DirectX and apply them to XNA Kind of. XNA is obviously driving the same underlying hardware as native DirectX, and many things are identical because of that (for instance the functionality of the various renderstates, and the HLSL shader programming language). So tutorials for things like "how does the graphics card work" and "how do I write shaders" will be very applicable. But our API is quite dif ...Show All
Visual C# error CS0029:Cannot implicitly convert type 'int' to 'bool'
while ((System.Convert.ToInt32(strupcolid)!=0)); where is the problem Dear all, thank you very much for your advice. I am very sorry to say that due to carelessness or other reasons, I mistakingly regard this line as error line. Actually the error line is: for (int j=arrcolid.Length-1;j=0;j--) //<--error line { path += "<a href=article/" + arrcolid[j] + ".htm>" + arrcolname[j] + "</a>>>"; } ...Show All
SQL Server displaying null value as $0.00
I have a field that is typically a currency amount but in some cases is actually a null. Is there a way to format the field in order to get the null to display as $0.00 Or, to set up the field as a formula using an IIf statement. SQL RS does not seem to recognize the isnull function.... thanks! Martha There are a few ways to get this to happen. Each involve a an expression in the textbox it self. =IIF(Fields!FieldName.Value ="",0,Fields!FieldName.Value) =IIF(IsNothing(sum(Fields!FieldName.Value)),0 ,sum(Fields!FieldName.Value)) = Switch(Fields!fieldname.value= "", 0) this should help hopefully ...Show All
Visual C# Domino/Lotus Notes automation problem: _COMPlusExceptionCode = -532459699 error
Hi I'm sending email using Lotus Notes by referencing "Lotus Domino Objects" (v1.1) via COM in C#. This has been working successfully on my machine for several weeks (both in the ide and compiled versions). However this is not working on several machines in production. I keep getting a _COMPlusExceptionCode = -532459699 error. The exception is thrown whenever I try to create the NotesSession Domino. NotesSession notes = new Domino. NotesSession (); The Notes client is installed on all of the target machines. It would seem to be an environmental problem, but I've spent the last few hours scouring the net for an answer and am still no closer to a solution. Has anyone come across this before Thanks in adv ...Show All
