Eternal Snow's Q&A profile
.NET Development Optimize database search
Hi, I am using Visual Studio 2005 pro (C# language) and SQL2005 Express Edition. I am building an application which currently decodes a large file and builds a SQL server database from it. The scenario is: One table (we'll call it TABLE1) which contains over 9,100 rows which holds names of places (and some other information). Another table (which we'll call TABLE2) which contains the same name places, but has lots of other informati ...Show All
Windows Forms 5 errors that I dont really get why they there...
Hey, in my spell check code I got 5 error and I dont get them, I downloaded a "DLL" and I added the stuff in just like it said to, and then I added in the code, so here is the code that has errors in it, I am gunna say the line and then next to it will be the code, the errors are underlined and bold: CODE: LINE 140: Private Me .SpellChecker.MisspelledWord += New NetSpell.SpellChecker.Spelling.MisspelledWordEventHandler(Me.S ...Show All
Visual Studio Team System .testrunconfig and automation Buid
Hello All, To make my tests work correctly I need to deploy some extra text files. So I have edited my localtestrun.testrunconfig file to add my files as deployment items. This is working fine locally. I get my file using the following code: string path = Assembly .GetExecutingAssembly().Location; path = string .Format( @"{0}\{1}" , Path .GetDirectoryName(path), fileName ); First question: Is there an easier way ...Show All
SQL Server Problem creating diagrams when disconnected from Domain
my version of the difficulty was a bit more involved (I think)... I have SQL Server 2005 (standard) installed on my laptop, and an enterprise copy over on a server on the network. Was getting the same errors, ocassionally, on both. I'll start with the laptop: I use a domain login on the laptop (it belongs to the company). I installed SQL Server using that login (though I don't remember whether or not I was physically attached to the domain ...Show All
Smart Device Development Need to know how to magnify
dear members, I am for the first time doing a project on smartphones.It needs to capture the contents of the screen,magnify it then.I have source codes in Delphi,Windows API,C++.I am very new to this concept.I dont know how i should go about launching the application in .Net.How do i do this,I am a novice,I would be grateful if u could help.If so i will post the code.P Take a look at Graphics ...Show All
Visual Basic How to halt a program???
Let say i have two program called program A and program B, i run program A, but inside program A, i use [call shell(C:\....\programB.exe)] at the 2nd line of my codes in program A, how do i stop program A at 2nd line, until i finished running program B then only continue execute the rest of the code from 2nd line in program A Please help, if you dun understand wat im saying above, u can ask ...thanks a lot!!! You can use Process.S ...Show All
SQL Server Problem to connect Access 2003 to SQL Server 2005 Express
Hello, after successfully connect Access to the Server I want to add a table. I got an error message: With this version of MS Office Access you are not able to make any drafts because this version of SQL server you are connected to does not support this. Check the MS Office update website for the newest downloads. You habe connected to a version of SQL server which is newer than SQL server 2000. Versions: SQL Server runs ...Show All
.NET Development How use c# GDI+ to remove on the Image the red-eyed
How use c# GDI+ to remove on the Image the red-eyed Googling is a colloquial expression which means to search using Google ( http://www.google.com ). For instance, the following search will turn up a number of red-eye reduction techniques: http://www.google.com/search ie=UTF-8&oe=UTF-8&q=%22red%2Deye+reduction+algorithm%22 First hit is an algorithm written in C++, which could be translated ...Show All
Windows Forms SuspendLayout and Layout Event on a UserControl
Hi! Is there any way to force Layout event to be fired Here is what I have in mind: I have a UserControl which has a number of custom properties. Each time the value of a property changes this has impact on some controls added on the custom control. To improve peformance I want these modifications to be suspended when SuspendLayout was executed for the control. So I thought that the proper thing to do is to add the code that applies proper ...Show All
Visual C++ String* conversion
I have a String* and i want to know if the String* variable is a string of characters (a string) or an integer. IF its an integer value then i want to convert it to an integer (type Int32) any ideas on how this could be done i modified your code a bit to look like this for managed c++ bool aManagedMixDM::CheckString(String* sCheck) { unsigned int slen = sCheck->get_Length(); if (sle ...Show All
Visual Basic Can't directly dim an instance of a tableadapter 2005
Can't directly dim an instance of a tableadapter I'm creating a sample project much smaller than my whole project to isolate some remaining issues. Naturally I'm copying a great deal of code. However, there have been several anomalies. In my regular project the statement Dim cdt As New ConceptsTableAdapter is accepted. However, in the sample project I am preparing, the same statement gives me the message Type 'ConceptsTableAdap ...Show All
.NET Development List tables in SQL database
Previously (VB2003) with Access I've referenced the ADOX namespace and used something like follows to list all of the tables and indicate which were system tables; tTables = cn.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, Nothing ) In a similar manner I could list the fields in each table to include datatype. Can someone point me in the direction to accomplish this is SQLExpress and possibly indicate PK's also. Thanks ...Show All
Windows Forms DataSet, DataGridView and Threads Problem
Hi, I got a DataSet Table getting filled with data from a source of different threads. I have a problem where I view this Table in a DataGridView and my app freezes. If I execute the app in debugging mode in the IDE it works with out problems. Basically what I want is to be able to view and edit this dataset from the DataGridView while threads fill the table with data. I was thinking I probably have to use Invoke() on the DataGridView but ...Show All
Visual Studio 2008 (Pre-release) Getting started with WPF. What do I need?
I have Visual Studio 2005 but what else do I need to download http://msdn.microsoft.com/windowsvista/downloads/getthebeta/default.aspx and see "I want to develop WinFX applications." section ...Show All
Visual Studio Express Editions SQL Server Express
I cannot install the latest release. It says I have prior releases still installed. The uninstall tool also says I have installed releases, but it will not uninstall them either, it gets errors and fails. None of the products show up on the add/remove list as I ran the uninstall on all of them. How do I correct the problem, why doesn't the tool remove them If it can detect them, you would expect it could remove all ...Show All
