Pat1111's Q&A profile
Windows Forms General windows forms design question...
Assume that you are designing a windows form that displays the details (name, address, etc.) of a selected entity for editing by the user. When the form is instantiated, the constructor is passed the entityID of the entity to be displayed. Some of the tasks that must be completed in order to be able to initialize the form include: 1. R ...Show All
Windows Forms Stuck at the first code line of the terrarium...
I made the code according to the tutorial, however when I load I get the error message that animal.myanimal cannot be found in the assembly. Can someone please check what I am doing wrong since I would like to be able to play the terrarium game but now I can't even program 1 action . edit at some code it said: First, did you clear the default namespace, per the comments at the top of the file The project must have its default namespace cleared in the project properties Second, it doesn't look like "MyAnimal" is in the "Animal" namespace, it looks like it's in the root namespace. Therefore, the line should s ...Show All
SQL Server how to load text file into a table?
1 4/19/06 abc3100UD:Dcod25-uss1 PAGE 1 REPORT ON xxxx cs PREVIOUS DAY - PREV REP LOAN # BORROWER STAT STAT APP DATE INITIAL ORD DT LOANAMT CLIENTNAME 0 0123454681 xxxx, xxxxxxxxxx 10 9 06/04/05 abc 060418 $310,000.00 ABC temp plus 1 $310,000.00 0523468431 xxxxx, xxxxx xx 14 13 06/04/04 efg 060418 $127,120.00 cAPITAL MANAGEMENT INC 1 $127,120.00 ...Show All
Software Development for Windows Vista Windows Vista?
When is Windows Vista going to be available to the public to buy ...Show All
Windows Forms Problems after installing source code
I've just installed the taskvision source code. When I closed the taskvision solution, I am now unable to open VS.net. When I try to open it I get a MS IE warning which says: "Your current security settings prohibit running activex controls on this page. As a result the page may not display correctly." I click OK and then a blank form, with ...Show All
.NET Development Threading Problem
Hi, I have the following threading problem: I want to connect to a specific remoting service on another thread. So, in the static ThreadStart method I try to connect to this service and if it fails I put the thread on a sleep and have it call itself again after that. Also, based on a timer, I need to check if the service is still available and here's where I get the problem I think. In the timer callback I'm calling my ThreadStart method again and everytime it does that I see how the ThreadPool count goes up until it reaches the max. My code looks something like this: private static Thread thread = new Thread(ThreadRunner); public static voi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Error in installing Pre-things...
Hello guys! After done some programming and felt myself as I COULD jump into another little subject without leaving Programming totally alone I came here to test the XNA Build... I had to install many things firstly... It didn't detact my two versions of Visual Studio Express C#/C++. This is the one that is given me errors: Microsoft Visual Studio 2005 Premier Partner Edition Installer As its installing... And I cannot see anything while it do that I get: Error 1311.Source file not found : C:\Documents and Settings\Adminstrator\Desktop\_1519_RTL_x86_enu_VSCC_Help_Collection.cab. Verify that the file exists and that you ha ...Show All
Visual C++ Writing all listview elements to file
hi. i am using ListView and i need to save all list view elements to file :S is there any way to save whole ListView i am writeing to list this way: Meritve is the name of listView this->StatiskitaNalisti= gcnew ListViewItem(this->EditImeRobota->Text->ToString()); this->StatiskitaNalisti->SubItems->Add("NE DELA"); this->StatiskitaNalisti->SubItems->Add(this->VCasi->PovprecenSpeed.ToString()); this->StatiskitaNalisti->SubItems->Add(this->VCasi->MaxSpeed.ToString()); this->StatiskitaNalisti->SubItems->Add(this->label1->Text->ToString()); this->StatiskitaNalisti-&g ...Show All
Software Development for Windows Vista cannot view xps with xpsviewer,need help
OS: windows2003 with FEB CTP (winfx) installed ie output information: Startup URI: C:\test\OpenPackaging_08.xps Application Identity: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Xml.XmlException.GetObjectData(SerializationInfo info, StreamingContext context) at System.Runtime.Serialization.ObjectCloneHelper.GetObjectData(Object serObj, String& typeName, String& assemName, String[]& fieldNames, Object[]& fieldValues) at MS.Internal.AppModel. ...Show All
SQL Server try to setup membership with ASP.NET configuration
When I whant the use the new ASP.NET configuration tool (2005) and I want to define a provider I get the following error. You should know that on installation of VS 2005 SQL-Server Express did not install and I installed SQL-Server 2005 (shiped with VS 2005). So now it seems that VS waits for the Express edition. I changed under Tools/Options/Database Tools/Data Connections the SQL Server Instance Name to "MSSQLSERVER" but this does not help, too. Thank you very much for any help! Regards, Fabian ----------- Server Error in '/asp.netwebadminfiles' Application. If you are using Virtual PC with SQL Server Expr ...Show All
SQL Server Hierarchical data in result set
How can I create a function that returns hierarchical data from a table with this structure: - CategoryID - CategoryName - CategoryFather I want to bring the result set like this... CategoryID | CategoryName | CategoryFather | HierarchicalLevel 1 | Video | 0 | 0 2 | DivX | 1 | 1 3 | WMV | 1 | 1 4 | Programming | 0 | 0 5 | Web | 4 | 1 6 | ASP.Net | 5 | 2 7 | ColdFusion | 5 | 2 How can I do this Does anybody has a sample code I need this on SQL Server 2000 and if it's possible (but not too necessary) ...Show All
Visual FoxPro delete record
this question seems to be ... but I tried many times to do it but I couldn't . I'm using VFP 6.0 . I created a form and take data from mytable . After that I created Del button and wrote a small code in Click event . This is my code : if messagebox("Do you want to del this record ",36,"Notice")=6 delete thisform.refresh and the result is 0 record deleted . I don't know why . Is this related to "primary key" from mytable . If someboby know , please tell me . Thanks so much . This is my email : mrbxp@yahoo.com . If you have some help files of VFP about form , event , class , .... please send it to me . Thanks so much . -^^- : Now I' ...Show All
SQL Server MDAC and SQL Server 2005
In the SQL Server 2005 upgrade advisor help file it states the following... "Upgrade Advisor detected an older version of MDAC. MDAC versions before MDAC 2.8 SP1 do not support named instances. To allow application connections to named instances, upgrade to MDAC 2.8 SP1." I've installed our application which uses ADO (not ADO.NET) to connect to an SQL Server named instance on a client machine. Our application installs MDAC 2.6. Therefore on older machines such as Windows 95 MDAC is upgraded to 2.6. Our application can still connect to the named instance without MDAC 2.8 SP1 being present. Is this statement in the upgr ...Show All
Windows Forms Display customized message when no value is return to DGV
hello all, anyone has any idea how can i display my own message like "There is no data" instead of just a blank space when DGV displays rows from datasource. tq. You could easily disable the DataGridView control and display a message box if that would fit your need. What exactly are you trying to accomplish ...Show All
Microsoft ISV Community Center Forums Unpredictable (as yet) problem with DateAdd
Can anyone provide some insight into this date problem I have a Date/Time field called AppointmentDate in a table. I have a form that is based on the table with a bound text-box called AppointmentDate (I let the wizard add it to the form and bind it). I also have a button on the form that, when clicked, tries to figure out the day after the one in the AppointmentDate field. As far as I see it, the following should work. Dim tmro as Date tmro = DateAdd("d",1,Me![AppointmentDate]) In fact, on three out of four systems where I've tried it, it has yet to fail. On one system, though, this acts up and gives seemingly rando ...Show All
