explode's Q&A profile
Visual Studio Express Editions Storing Stuff
Dear All, This may seem a little simple to some of you but its been slowly winding me up for a while now, so any pointers or advice would be greatly received. What I'm looking to do is store information inside my application, with out using a database (I mean Access, SQL etc.) I have used *.bin files in the past but I'm not sure that they would meet the needs of what I need to do. The project is for a small charity and so far has about 850 records that they wish to store, they mainly use open source or freeware and need to be able to move the data between desks and back it up on a daily basis. Also some times they are not connected into the network so a local copy of the said information needs to be copied to the local machine. ...Show All
.NET Development OleDbCommandBuilder doesn't generate anything...
Hello, I have a problem with the following code : OleDbConnection conn = new OleDbConnection (GetConnectionString()); OleDbDataAdapter adapter = new OleDbDataAdapter ( "SELECT * FROM Customers" , conn); DataSet dataSet = new DataSet (); adapter.Fill(dataSet, " Customers " ); new OleDbCommandBuilder ( adapter ); The INSERT and UPDATE commands should be automaticaly generated, but they aren't. I'm becoming crazy with that !! Am I doing something wrong Thanks You need to create the CommandBuilder before you call adapter.Fill. Make sure your Customers table has a primary key. If the column names contain special characters (spaces, periods (.), etc), you need to set QuotePrefix and Quo ...Show All
Windows Forms Datagrid row headers
How do you get text into the row headers, i have no problem with the column headers as they come in as the first row of my dataset but the the first column of my dataset goes in the first column instead of the row headers. Any ideas Basically all i want in the row headers is a row count. I never even heared of a header fo the rows (which doesn't mean anything ;) ), but if it's just counting the rows, use the grids "rows.Count" property if you just need the final number or add an additional column called "ID" or whatever at let it increment with each foreach loop and put it in the ID column. At least that's what I do pretty regularly, using an ID column... if it's not wanted to have it ...Show All
SQL Server SQL Server 2005 Installation Failure on Vista
Help! I'm trying to install SQL Server 2005 on 32-bit Vista RTM. Have tried several editions (Developer, Standard, Enterprise). Have tried installing while logged in as domain user account in machine administrator group as well as built-in Administrator user. Running SETUP program with elevated privilges. Certain portions (Analysis services, Notification services) install correctly, but never the database engine. Always fails consistently with the same error reported. Machine has Visual Studio 2005 installed already, but NOT SQL Server 2005 Express Edition. Error logs reports are below ({computer name} is the name of my machine) UI error reported: TITLE: Microsoft SQL Server 2005 Setup ------------------------------ SQL Server Set ...Show All
Windows Forms Sneaky Way to get an EULA displayed for your clickonce application in VS2005
Here's a round about way to get your clickonce applications to install with an End user license agreement. Basically you build a redistributable component that can be seen in your prerequsites dialog box under the publish window. This allows a nice way to have all your apps reuse the same agreement, if you want. It's very easy, you need only to create three files ("eula.txt", "product.xml", and "package.xml") and two folders in this case ("EULApackage", and "en"). I documented everything below on how I set mine up. it works great. the only thing you'll have to change is the Name of the component and of course you'll need your own end user licence agreement saved as eula.txt. The component needs to be put in the following path: ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Tool for auto HLSL Generation?
Are there any tools out there to enable the graphical building of a shader network, such as in Autodesk Maya's Hypershade tool or Softimage XSI's RenderTree tool, which can enable you to use a GUI to set up an object's basic material properties and then automatically generate the appropriate HLSL shader fragments needed to reproduce the material effect in your game without having to manually write HLSL files Certainly, if you want to create complex shader effects, you would need to be able to edit the HLSL or manually create new custom HLSL files, but for creating HLSL files to render basic, standard material properties, there really should be a graphical tool to take some of the work and difficulty out of it. Such a tool should allo ...Show All
SQL Server Saved SQL Queries
Can someone help me. In SQL Server 2005, when I save a query, and re-open it later, it always opens in the .master database. We do not use this database regularly, and I have to switch the database to the one that we use 95% of the time. Is there anyway to change the default database that opens, when I open these saved files for a given connection Thanks in advance for your help, Wayne You will have to include a USE statement within your database script to make the change. EVen the user defaultdb will not affect the connect to the master database. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Allow Users to offer user created Games through Xbox Live to everyone, Is it Impossible for Microsoft
I realize that there are challenges but, if it were, that users could offer there own creations over xbox live to all 360 owners, there would be an entirely new world to explore. I believe that it could be done. Microsoft would have an infinitely expanding library. Most commercial game creators cant take the risk of trying new and uncertain gaming ideas with production costs being so high. They would love to have the freedom to always give gamers new and unique experiences. But most times they continue the traditions that work and are going to sell. Thats why I believe that users should be given the ability to share their creations with all. We dont fear any risks and with xbox live, the downloads could be tracked and popular creators coul ...Show All
.NET Development Accessing a POP3/SMTP Email Account through an ASP.NET Page
HI, Does anyone know how to read POP3 email inbox and save it to SQL database Thanks hi, I tried to search for the same issue, I got these answers: Q1) Hi I would like to retrieve only unread messages from the email account. Pls tell me how to do this A1) POP3 servers have no notion of read or not. For POP3 read is a client "idea". So you need to keep the UID's of each message and you determine in your client what is read and what is not. Q2) I need to have a functionality where when i retrieve a certain message, it should get deleted from the server. Now when i do a Retrieve, would i have to explicitly Delete the message i just read Or is there a method that when pulls a messages also deletes it from serv ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Geometry Shader Performance
Hello Everyone, This is a fairly generic question, and I promise it may sound like a hardward question at first, but it's not really. Does anyone else notice how slow some of the DX10 samples in the Feb SDK are Specifically those that employ the geometry shader such as the displacement mapped lizard and the example of how to do cube mapping in one pass (when you check "Render Car") They are dramatically slower than other DX10 and DX9 samples. I was shocked when I ran them. Do you think this is because the DX10 SDK/API is in it's infancy Or the hardware/drivers are still too young I'd ask this in a hardware forum but most of those guys don't know anything specific to the SDK or programming, just the buzz words and marke ...Show All
Software Development for Windows Vista Problem installing NET 3
Taken from dd_dotnetfx3install.txt: [07/01/06,07:46:56] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603 [07/01/06,07:47:15] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 - was not attempted to be installed. Taken from dd_wcf... file MSI (s) (50:B0) [07:46:55:964]: Executing op: ComponentUnregister(ComponentId={93F71D8C-F6F2-425F-A21C-CB856A09C0A8},ProductKey={5C6ADA55-254A-49AE-B897-2A836EC5AF3E},BinaryType=0,) MSI (s) (50:B0) [07:46:55:964]: Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=0) MSI (s) (50:B0) [07:46:55:964]: Error in rollback skipped. Return: 5 MSI (s) (50:B0) [07:46:56:094]: No System R ...Show All
SQL Server Query performance on partitioned table with partitioned-index
Hi all, I noticed that there are some big query performance difference when using partitioned-index on partitioned table vs. normal index on normal table. I posted this question again with more details and hope some gurus from Microsoft can help. I have this huge table CHECKS with over 300million rows running on SQL 2000. Since we are going to upgrade to SQL 2005, so I am thinking of partition it to make it more scalable. So I copied it over to a SQL 2005 box and partition it into about 20 pieces based on the column PDATE and named this new partitioned table as CHECKS_NEW. I created same indexes on this CHECKS_NEW table and used partitioned index for all non-unique indexes. Then I ran some queries on both tables and noticed the pe ...Show All
Visual C++ Source browser and intellisense dont work in a solution
If my solution only contains one project then the source browser and intellisense work fine. If my solution contains 2 or more project where one does depend on the other, then the intellisense and source browser are not functioning correctly. Is there a 'solution' to this or is it a known bug or limitation Thanks. Hello There is a question a week talking about the limitations of Intellisense and the steps to workaround it; please search the Forums before posting a question like this to avoid unnecessary duplication. Try looking at these threads for an answer to your question: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=87651&SiteI ...Show All
SQL Server reporting and monitoring
Hey all I am new here and fairly new to SQL server. And yes i have a question, that maybe dumb. My boss wants me to reporting to him the health of the DB each week. So here are a few questions. 1. What really defines the "health" of a DB What elements should I be reporting to him 2. Is there any utilities out there that would be helpful or can SQL provide enough info 3. I am using 2005 standard, so I have the shipped reports in summary page. But is this enough and can I customize them Sorry I am having a hard time even asking the questions cause I am not really sure what to ask. Any help or pointing down t he correct path would be greatly appreciated. Thanks, jason and what about 3rd party utilities such as this>>&g ...Show All
SharePoint Products and Technologies Problem in installing SPS 2007
Hi all, i installed SPS 2007 first time and it was working perfectlly,then i un installed it. now i'm trying to install it again,it installed sucessfully but when i run the SPS configuraiton wizard, i got an error : "failed to register Sharepoint services". "an exception of type system.argumentexception was thrown. additional exception information : Error during encryption or decryption. system error code 0." i need help asap. Dear all, i solved the problem,when you Un install SPS 2007,before starting new installation,do the following : 1- Un install WSS 3.0. 2- Reboot your system. 2- Delete any site related to SPS or WSS in IIS manager. 3- Install fresh copy of SPS 2007,it will i ...Show All
