Adam Eldred's Q&A profile
.NET Development Naming reason for ".Net"
Is there any naming reason for the word ".Net" What does the word ".Net" means Thanks, Benin. I worked for a company who had a tough competitor that made a large machine and called it "Compact blabla". Another one sold a machine that was slow and they called it "Ultra blabla". Around the time that MSFT started thinking about a java alternative, and couldn't just buy out Sun, they were grossly behind on jumping on the Internet band-wagon. It is surprisingly effective. Marketing, blech... ...Show All
.NET Development trial Test of website
Hi, I have developed a small website with VWD. I wish to test it. Since my FTP site doesn't supports ASP.net 2.0, I am not getting expected output. Is there any site for the programmers to test their programs Regards. S Kumar, In that case you can host your site using an asp.net hosting provider.... take a look at this link to find some free hosting providers for that: http://www.411asp.net/home/hosting/freehost Regards, Rodrigo ...Show All
Smart Device Development How can I deploy latest service pack along with my application cab file
I am getting following error this apliaction (Mytestapp.exe ) requires newer version of the microsoft .net compact framework than the version installed on this device How Can I deploy latest service pack along with my application cab file. I am using smart device cab application projectI am getting following error this apliaction (Mytestapp.exe ) requires newer version of the microsoft .net compact framework than the version installed on this device How Can I deploy latest service pack along with my application cab file. You can embed in ur application to check for .net framework. if it's not present then tell the user and open the download website for the user. ...Show All
.NET Development Updating database
i have a problem to update my database. in my update button i have the following code: dataset.AcceptChanges() Adapter.Update(dataset.table) i've tried other things like: adapter.update(dataset) swopped the two lines around... it saves the data on the current form, but when i close the form and reopen it, the data never changed in my database. i think the changes get saved in my dataset, but not in my database... but aren't sure... Thanx Doesn't the adapter build up his own queries, like update, delete etc. so when you update, it runs that queries automatically. I didn't populate the datasets and tables with manual code, i did it by using the "clicking method" (not coding, but using 'wizards') ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Memory Leak?
Heya, I've been working on this 2d game for about a month and a half. A space shooter with a ton of animations. But thats not the problem the problem is recently as the amount of Images has increased I've noticed that the memory usage never stops going up as the game progresses. I know there is some kind of flaw or redundancy in the way i store textures now since the release of beta2 and the content manager. However What would cause memory to keep adding up until the game begins to stutter The structure for storing textures was done before the content manager so it is just a Dictionary class that loads and gets textures loaded via the content manager. The UnloadGraphicsContent method in the game unloads the content mana ...Show All
Visual C++ "error LNK2005"...How to fix it?please help me...
I'm using Visual C++ Express Edition..I'm programming in Win32 Console Application.When I compile the appliacation,compiler informs that: error LNK2005: "public: class String & __thiscall String::operator=(class String const &)" ( 4String@@QAEAAV0@ABV0@@Z) already defined in UseString.obj 1>String.obj : error LNK2005: "public: __thiscall String::String(char const *)" ( 0String@@QAE@PBD@Z) already defined in UseString.obj 1>String.obj : error LNK2005: "public: __thiscall String::String(class List<char> &)" ( 0String@@QAE@AAV $List@D@@@Z) already defined in UseString.obj 1>String.obj : error LNK2005: "public: char const * __thiscall String::c_str(void)const " ( c_str@String@@ ...Show All
.NET Development how can i register multiple objects in a single .net remoting configuration file
I have a class library i want each and every class to be a remote object in the remoting server.how can i put each and every object in the remoting configuration file. a sample file for multiple objects : <configuration> <system.runtime.remoting> <application> <service> <wellknown mode="SingleCall" type="TypeName1, TypeAssembly1" objectUri="Type1.rem" /> <wellknown mode="SingleCall" type="TypeName2, TypeAssembly2" objectUri="Type2.rem" /> </service> <channels> <channel ref="http"> <serverProviders> <formatter ref="binary" typeFilterLevel="Full"/> </se ...Show All
Windows Forms DataGridViewComboBoxCell first item selected by default
my datagridview has a DataGridViewComboBoxCell in the column with index 4, well this combobox is bound with different data for each row, but when dataridview is shown I want the DataGridViewComboBoxCell to do something like this: comboBox.selectedItem[0] = true; in order to show the first value selected by default, how can i do this Regards Joseph ...Show All
Visual C++ Error messsage
The version of SP is 20040803.231319. It has been suggested that I post my query in another forum. This I will do. Thanks for responses. You could try to search with Windows Explorer all your local harddrives. Press F3 in Windows Explorer and search for the file psapi.dll If you can ensure that you have only one version of that file on your system it might also help the support of BT to track this down. -- SvenC ...Show All
.NET Development Raiserror and select statement combination having problem with sqlexception
I have a stored procedure having following code in it create proc tmpproc as begin Select 'test' raiserror('not cought',16,1) end when i call this proc using sqlCommand the exception doesn't get cought in the catch block. I am catching SQLException. If I remove the select statement from the code it works fine. Now i need some work around as i 100s of SPs that have this kind of code and want call these procs using ADO.net If any body can i help me it would be really great for me Regards, Vikas Bindra has anyone solved this I have heard the following suggestions: make sure the Severity is > 10 on the RAISERROR in your stored procedure SET NOCOUNT ON RAISERROR WITH NO WAIT ...Show All
Windows Forms Slowing down an application
Hi, I have an application which generates 20000 combinations of numbers for a lottery game. If I let it iterate and generate the numbers for me it kills my CPU and peaks it to 100% (uses everything my computer has) If I put in each iteration Thread.Sleep(1) it slows it down too much. I am using the BackgroundWorker to execute this because it allows me the possibilty to have my application normally running while generating the combinations in the background. Any ideas on how to slow down the application, but not too much like with Thread.Sleep(1) btw. I saw some posts in which someone advise was to deal with it in the Task Manager, but I cannot tell that to my client. and ideas please help. ...Show All
Visual Studio Tools for Office Accessing ThisDocument from outside using Word Object Model
Hello, Is there a way to access ThisDocument's methods and props from outside, e.g. from a Word VBA macro. Thanks, Andrew Hi Andrew Your specific requirement is still unclear, except that you're not using VSTO and should be asking in the office.developer.automation newsgroup . If you mean, can you work directly with Word's object model, the answer is yes. In order to use early-binding, you have to set a Reference to the specific Word version object library; late-binding is also a possibility and would be required for C# or VB.NET with Option Explicit On. In any case, you will find code samples for working with document properties in Knowledge Base articles. Search the terms: .NET custom document ...Show All
Visual C# Visual Studio 2005
Hi, I am running Visual Studio 2005 (Professional Edition). When I change IDE colors from Options, like "Memory Changed" and open the memory window in a debug session the new color is not applied (ie the default color is applied). What's wrong The memory window does not honor the font/color options you select in the options dialog. Whether this was an oversight or a bug that was of low enough priority to get bumped I don't know. It hasn't been fixed as of SP1. However the colors for the text editor should work just fine. I'm not aware that this has been reported to MS at all. Then again maybe the memory window requires something extra. I've tried modifying values from a program and within the debugger it ...Show All
Visual C# convert byte array elements into ushort and short
Hi, I have an array of bytes whose first 2 elements constitute a ushort and next 2 a short. How can I convert elements in a byte array into short, ushort or integer Thanks, bilalso, there is a number of different techniques to do so, but the one I would recommend is using BitConverter. ushort myUShort = BitConverter.ToUInt16 (myByteArray, 0, 2); short myShort = BitConverter.ToInt16 (myByteArray, 2, 2); HTH --mc ...Show All
Smart Device Development hosting smartphone designer
HI, I am trying to host a smartphone form designer into a multi-tabbed designer and also want to add new properties to this designer. I want some tutorials on the smartphone form designer as this is a flat form with flat controls and I want to know how to obtain such controls and design surface. You're right - there's no standard supported way of hosting the designer. The designer used for our WM apps is built on top of the desktop designer (find details here - http://blogs.msdn.com/parthopdas/archive/2005/10/10/479085.aspx ), so you will need to extend the desktop designer for your purpose. There are more details on this here - http://msdn2.microsoft.com/en-us/library/37899azc.aspx ...Show All
