Terry Kim's Q&A profile
.NET Development and what's more
I am using SQL Express 2005. Here is the souce code. String^ conStr = "Provider='SQLOLEDB';Data Source='.\\SQLEXPRESS';" "Initial Catalog='master';Integrated Security='SSPI';"; dbConn->Open(conStr, System::String::Empty, System::String::Empty, -1); String^ sSQL = "USE master "; dbConn->Execute(sSQL, %ADODB::AffectEnum::adAffectAll, -1); sSQL = "CREATE DATABASE Northwind ON " "PRIMARY ( FILENAME = N'C:\\SQL Server 2000 Sample Databases\\NORTHWND.mdf') " "LOG ON ( FILENAME = N'C:\\SQL Server 2000 Sample Databases\\NORTHWND.ldf') " ...Show All
SQL Server Unit Testing
Well was wondering this weekend. How do you do unit testing with SSIS Is anyone trying it What are you doing and do you have any suggestions I've been reading about this but haven't done anything yet. Here are a couple of things I found: There is a section of a paper on MSDN about this, in the VS Team Edition context. http://msdn2.microsoft.com/en-us/library/bb381703(VS.80).aspx#dtbunttsttedp_topic7 One might be able to poke around there and steal some ideas for use outside that context. For instance, in the paper they talk about the data generation tool built into VSTE but there exist ...Show All
Visual FoxPro Starting EXE fails, asks for missing FXP
Hey, I have an app, usually works fine, and it works at many other client sites. But at one it will occasionally hose, and starting the EXE goes to the VFP window (even in my top level form app) and brings up a find file dialog, looking for an FXP. Anyone know why this happens Is the fxp in the EXE file Could be a path problem, or corrupted file. First, delete the foxuser.dbf and foxuser.fpt files if you have them. ...Show All
.NET Development System date
Hi there.. In my program I want to show show the current system date in a textBox. How can that be done I read about DateTime structure but couldn't understand it well. Thanks in advance. Hello. You would just need to do something like the following: this .textBox1.Text = System.DateTime.Now.ToShortDateString(); ...Show All
Visual C++ How do I debug secondary executables on Visualc++6.0
Running on wXP, ms Visual C++ 6.0. I have multiple executables. One of which starts the others, via WinExec(). How can I debug those secondary executables. Currently the only one I can BP or TRACE is the first one I start from within the IDE. If you have the srouces for the secondary executable, make sure you have its pdb and just place a break point in any of the sources of the secondary executable. Thanks, Ayman Shoukry VC++ Team ...Show All
SQL Server saving DTS package to sql server
hi, I have a "Transfer sql server object task" in SSIS that transfers few tables from one database to another. The task works fine and the project is saved on my c: drive. I was trying to save the project on the SQL server and don't know if i am doing somehting wrong I have the following selections made: Package Location: SQL server Server: ServerName Authentication Type: Windows Package path: /TransferTables Protection Level: Encrypt sensitive data with user key Now when i hit ok i get the "No description found" error with the following details: No description found (Microsoft Visual Stud ...Show All
Visual C# What is significance of upper and lower case intellisence words
When using intillisence, if I type in a word like string, I see that I can type it in lower case and it comes up blue, or in proper case, and it comes in in light blue. What is the significance Are they both words that are acceptable to declare a string variable Why do they have different colors Rather than have different languages have their own custom types that no others can access, the CLR provides common types such as String, Int32, Int16, Boolean and so on (all contained within the System namespace). It is up to the makers of each language to tailor their design so as to use the types provided b ...Show All
Windows Forms Local Server Not Working
I just installed Terrarium Server Beta on our local network. Win200 IIS 5 Net 1.1 Etc. When the client tries to connect I get: Unable to verify this version is enabled Where can I get some help with this The source code is not available, but you can download the server from www.windowsforms.net/terrarium I have the same problem with the missing&nbs ...Show All
Visual Studio Team System 64 bit Source control with web interface?
Hello. I have a few 64 bit servers, and I would like to have some source control on one of them, and using the web component. To my knowledge there are 2 different programs that would be able to help me: VSS and Team Foundation Server. I have used VSS for may years, so I decided to try it with VS 2005. But in the instructions for installing the web componen of VSS 2005, it needs me to change my IIS to work in 32-bit mode. Unfortunately this is not something I can do on the server, as I have finally converted all ASP.net 1.x applications to 64-bit applications ASP 2.0 applications. So we thought we would try the Team Server, bu ...Show All
Windows Forms creating a search based on dates.
hi.. can anyone show me the codes on how to create a search engine based on dates .. im using ms access as the database.. this is the idea that i have but the date part isnt working right.. DataSet_RunNum.Clear() DataAdapter_RunNum.SelectCommand.CommandText = _ "SELECT [Main ...Show All
Windows Search Technologies Installation Problems with your product
ok, so i decided to install your desktop search (WDS) thing. all good, it installs. think it is MSN Search Toolbar with Windows Desktop Search . so, i go for coffee and i feel brave and decide to install you latest beta. this is Windows Desktop Search 2.6.5 beta (KB911993) and guess what......... It un installs MSN Search Toolbar with Windows Desktop Search and the tries to install the beta and fails with error about Update.inf file. Full error message is: Setup could not verify the integrity of the file Update.inf. Make sure the Cryptographic service is running on this computer. And now I ask you: "&quo ...Show All
.NET Development .NET Framework 2.0 question
I appologize in advance if some of my questions to the forum is a little out of place. I am not a programmer or developer, just a gamer, system builder, and network administrator of a home network. After installing .NET Framework 2.0, Direct X9.0c's Diagnostic shows that one of the two system.dll files is missing. The one that is listed belongs to 1.1, so logic dictates that it is the one for 2.0 that is missing. However it is in the .NET 2.0 folder! Some other symptoms are that logging into .NET sites must be done manually (being signed in with MSN Messenger does no good), and Auto-Scroll function for IntelliPoint 5.2 does no ...Show All
.NET Development object reference
If in form1 I use User user = new User(); to create my user object. When I go to form2 how do I reference the same user object Thanks Mike I have a similar problem but with using a customRoleProvider My IsUserInRole method is set to public overrides isUserInrole so when i change Public Overridable function IsUserIRole(username as string, Rolename as string) to Shared Overridable function ... VS yells at me and says that I can;t share an overridable function any ideas where i'm actiually getting the error is here Protected Sub Page_Load( ByVal sender As Object , ...Show All
.NET Development finding next double number
Hi, I have a Double value and I want to find out the immediate next number that comes after it. Dim temp as double = 1.4 then the value I want is 1.5 if it is 1.0004 then I the value I want to is 1.0005 How can I get this Thanks, Try something like this: Dim precision as integer = GetPrecision(temp) temp += Math.Pow(10, -precision) where GetPrecision returns the number of decimal places in temp. I cant find a built-in function to do this, so if nothing else try this for GetPrecision: Dim precision as integer = 0 while(temp <> Math.Floor(temp)) { precision+=1 temp*=1 ...Show All
Visual Studio Team System LoadTest.ThresholdExceeded problem
Hi, I wrote a simple load test plugin and used LoadTest.ThresholdExceeded. I set a threshold rule for process time in the local machine (testing machine). In the handler, I specified that when an ThresholdExceeded event occured, a message box wouldl pop up and the load test would be aborted. But it seems to me the handler was not working well. Although I saw a lot of threshold violations in the in the test result wizard, I never got any message specified in the handler. I don't know why. Can anyone help me Thank you very much. Ran Mouri My code is below: using System; using System.Collections.Generic; using Sy ...Show All
