jvanderbeek's Q&A profile
SQL Server SQL Agent Failing when trying to run my SSIS Package
My SQL Agent was working fine. Now when I try to run it, it failes when trying to run my SSIS package. I looked in the logs, and job history, no luck in finding any critical errors. My SSIS package runs fine through VS 2005 in debug mode. Here are the only errors: 01/04/2006 09:53:48,,Warning,[396] An idle CPU condition has not been defined - OnIdle job schedules will have no effect 01/04/2006 09:53:48,,Warning,[260] Unable to start mail session (reason: No mail profile defined) 01/04/2006 09:53:48,,Information,[129] SQLSERVERAGENT starting under Windows NT service control 01/04/2006 09:53:48,,Error,[364] The Messenger s ...Show All
Windows Forms VS2005 MaskedTextBox
This is regarding a MaskedTextBox... I am setting a custom mask as 99999.99 , for a decimal number. The entry would be something like 66899.50. It possible that a user wants to enter only 356.50, so he has to move till the decimal by using space which is of course not acceptable. I want that as soon as user types a dot(for decimal) he should be allowed to enter digits after the decimal. Could you help me wth this as so to what combination of properties should be set. Thanks in advance, Manu. The control class is defined in the DecimalTextBox.cs file which you can find it under you installation director ...Show All
Visual Basic Type conversion errors.
Hiya, I made a program in Visual studio 2005. Compiles and works OK at home. At work, i have JUST VB 2005 Express Beta 2 installed. The code itself ported OK, no errors. However, during runtime, i get a type conversion error. It's not that i'm converting anything though either. I can't convert string to single. For example... Dim sngSingle as Single sngSingle = "0.5" ' Doesn't work sngSingle = cSng("0.5") Doesn't work. sngSingle = CType("0.5",Single) Doesn't work. sngSingle = Single.Parse("0.5") Doesn't work. Even if i make a new project, and try to do any of the above conversions (Which should work), i get a type con ...Show All
Smart Device Development NUMLOCK ENBLED ON STARTUP in Windows CE
how do i get numlock enabled always on startup in windows CE device. the sendkeys.send("{NUMLOCK}") method of c# is not working even on XP leave apart CE. This forum is intended to deal with issues directly related to the .NET Compact Framework. It appears that this question can better be answered by someone on one of the newsgroups for Windows Mobile or Windows CE. In order to get a quicker and more accurate response, please consider reposting this question to one of the following newsgroups: Windows Mobile API : microsoft.public.pocketpc.developer microsoft.public.smartphone.developer ...Show All
Windows Forms Debugging code - watch variables
Does Whidbey beta 1 or beta 2 allow you to run debug in such a way that it automatically breaks when one of your watch variables changes value ...Show All
Visual Studio Adding a Database Project using DTE
Hi All, I was able to add a Windows Application Project in the runtime using the Automation Object Model but I couldn't add a Database Project (including SQLServer and empty database projects). The thing was I found the template zip files in the VS folder and I used solution.GetProjectTemplate() function to find the template path but for Database Projects I couldn't find any zip files that contain the template and it is located in a seperate folder that cannot be accessed using this method. Can anybody give me a clue for this. Thanks! Best Regards, Imesh If GetProjectTemplate doesn't help, you can use ...Show All
Visual Basic Command windows
Hi how can I open the command window in Visual Basic Express Edition. I looked in the help content, and It guided me to View > Other Windows and Command Window, but there is no such option in there. There are two places you can rig this up if your question is about the IDE. At least on the larger systems, there is an option under Program | Properties | debug (I believe). Secondly I've used Tools - External Tools to add the command. if as looking for code: Define Proc as Process("<windows directory>\system32\cmd.exe") Proc.Start Show start one up in your program. ...Show All
SQL Server What does "Infinite Clickthrough" refer to?
What does the "Infinite Clickthrough" feature listed on the Reporting Services features matrix refer to Only Enterprise level SQL Server gets that feature. Does that refer to clicking on a link which pulls up a new report If so, what is the limit if not infinite Thanks in advance. Infinte Clickthrough is a feature of Report Builder. It allows you to automatically drill between reports by using the relationships between entities in the Report Model. The drillthroughs are created "on the fly" without having to build them beforehand. Workgroup and standard edition only get pre-defined drillthroughs. ...Show All
Visual Studio Team System Organizing Projects into Products or Customers or Releases?
Hi! We're trying to figure out how to best organize our VSTS projects. We have 5 different product all sharing the same core. We have core releases every 3 month, and a product release about every 6 month.The core is developed together with the product, so before the start of a new core release, the "core" functionality from all released product are merged into the Core. In addition a product are usually sold together with some customitation. This is done through developing some "add-on" modules to the product. So these are the different approches we are thinking of: One project per product. One project for ...Show All
Visual C# Order Matters
Today I found what was probably not the best of coding but for sure should have been flagged by the compiler and not the exception handler - especially the type of exception. Here's my class: public class foo { // ... other definitions here public static readonly Font CellStyle_UnacknowledgedAlarm_Font = new Font (CellStyle_Font, FontStyle .Bold); public static readonly Font CellStyle_Font = new Font ( "Verdana" , 12); private foo() { /*Cannot instantiate*/ } } You'll noticed the top to bottom issue that CellStyle_Fon ...Show All
SQL Server How to define a null value in expression?
I wanna send a null value to my stored procedures instead of a blank,and i cant use ReportParameter.Nullable Property.so I wanna write a expression like Iif(Parameters="",null,Parameters),but null is unrecognized identifier.how to express a null value thx! thx Ryan Ackley MSFT ,u r right...my report can run now... ...Show All
Visual C++ DLL Compatibility?
I am converting an app from vc6 to vc8 (vs2005). I've got everything to compile fine, and most of the testing looks good. While system testing in Release mode, I get an occasional crash. The dialog box says "PCSMain.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created". Even though I have drwtsn turned on, I don't see any error logs being created. Even while running the app thru VS debugger, I don't get any helpful info when it crashes. I am taking a wild guess that the problem may be a library issue. Since I am using vc8, msvcr80.dll is used. But in l ...Show All
Visual Studio Team System Team Build Failure (test execution) with IBM.Data.DB2
I am in the process of testing the Team Build feature of Team Foundation Server w/Visual Studio 2005 and am continuing to run into an error that cannot be replicated when running a build/test manually (on either the server or any client). The error I get when executing the MSBuild process is: One of the background threads threw exception: System.TypeInitializationException: The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'db2app.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) warning : at IBM.Data.DB2.v.nmpTraceOn() warning : ...Show All
.NET Development Decompressing
Hi, Anybody knows how i can decompress a .gz file in c# I have couple of .gz files on FTP server, I need to download them, convert them to a CSV file and then delete them from the server. Thanks Thank you so much. that works fine now. ...Show All
Windows Forms slow data reading and writing...
Hi, I'm developing a program to manage an MS Access database, this database has about 160 fields, that need to be read at startup... however, this reading is somewhat slow... I'm doing it the regular way, I guess : OleDbConnection connection = new OleDbConnection(strCon); connection.Open(); string strSelect = "........."; OleDbCommand cmd = new OleDbCommand(strSelect, connection); OleDbDataReader ...Show All
