Sean John2005's Q&A profile
Visual C++ VS2005: SetUnhandledExceptionFilter(NULL) in abort.c, gs_report.c, and invarg.c
Hello! I have a question about VC++ 2005 CRT behavior in some "emergency" cases. When any of CRT invariants are violated (invalid arguments passed, buffer overrun detected, etc.) CRT needs to report somehow about that violation. VC++ 2005 follows the following strategy: 1. Display (optionally) a message box with error description. 2. Invoke Dr.Watson to create crash dump. (All this code lives in three files: abort.c, gs_r ...Show All
.NET Development ras
is there around same free dot net library that wraps the ras api calls everyone knows if in the future a managed replacement for ras will be included in the framework Hi Luca, We are currently looking for feedback regarding what customers want to see in System.Net in the future. If you have a feature you feel should be included in the API, please email nclasks@dontspam.microsoft.com or post ...Show All
Windows Forms Suspending Paint Event
In the paint event of a control I'm using at work, we end up drawing some rectangles with GDI+ calls. Unfortunately, each time the rectangle gets drawn the paint event ends up firing again, thus it get's repainted 20 times. Is there a way ...Show All
SQL Server Publication Configuration Error
Hey Everyone, I am trying to setup publishing on SQL Server 2000 Enterprise. I will be subscribing from a SQL Mobile 2005 database so I have installed the SQL Server 2000 SP3a Replication Components, .NET Framework 2.0, and the SQL Server 2005 Mobile Edition Server Tools. I was able to go through the 2005 Mobile Web Synchronization Wizard with no problems. However, when I try to run the Configure Publishing and Distribution Wizard, I get ...Show All
Visual C# MS Access DB for user logon details
Hello everyone, I am having a bit of a problem connecting to a MS Database in C#2005. I have written my app befor as a test bed for the whole programme but I used a simple XML file to strore the username and password details. Now that the application is near compleation I would like to use a MS Access DB for the same purpose. The problem I have is I can connect to the DB in solution explorer and I can creat the DataSet but where do I go ...Show All
SQL Server executing package as job
Hi, I am having trouble executing a package as a job in SQL Server 2005. I can run the package fine manually from sql server but when I create a job for that package and run the job I get an error that says The package execution failed. The step failed. I am completely lost at this point. Any help would be greatly appreciated. Thanks Brian This article describes what can go wrong and how to trouble ...Show All
Windows Forms "The terrarium server is experiencing temporary difficulties. This is probably why you are not receiving any animals. Please bear with us while we get the issue resolved."
Hey guys, Would it be too hard to put a status indicator on the web site somewhere indicating the availability of the server. Ie, a red or green light representing the server status being available or not would be a nice feature. I for on ...Show All
Windows Forms adding listbox content to certain lines of a text file
Hi Everyone, I was working on this app for a while tonight and i was wondering could someone help me. I am making a app where you drag and drop files into the listbox and the filename shows in the listbox i have got that part out the way now i am on getting the filenames in the listbox to be appended to certain lines of an .ini file (for example like listbox entry 1 will go on line 32 so on and so forth.) here is what i hvae so far any and all ...Show All
Windows Forms Scrollbars and Custom Border Painting
I've customized a panel to draw a custom border utilizing WndProc but I have a problem when the scrollbars are displayed, take a look at the lower right portion of my border. I have attached a snapshot of the problematic control and a .NET pan ...Show All
Visual Studio Express Editions Strings won't initialise
My program has been working for weeks. Today, two things happened: 1. The .sln solution won't open into VB.NET Express, so I had to re-associate the .sln extension with the program. 2. The program will not initialise strings to an empty string. For example: Private mystring as string Msgbox(mystring) This throws an error, saying the string is not initialised. But it works when I change it to: Private mystri ...Show All
SQL Server Service Broker neophyte question: conversation_id and conversation handle
within the context of the sys.conversation_endpoints system view, there is: 1. A conversation_handle and 2. A conversation_id What are the differences between these two items Thanks. Doug conversation_id uniquely identifies a conversation and is the same at both the initiator as well as target. On the other hand conversation_handle uniquely identifies a conversatio ...Show All
Visual C# Progromatically Get Server Name for Connection String
We are developing a database application running on three different servers, BERMUDADEV01, NEWYORKDEV01, CHICAGODEV01. Eventually, we will put the application into production on three identically configured servers with the same names as above but without the "DEV." Currently, the connection string is hardcoded into a web services module for each server: public SqlConnection connection = new SqlConnection("Data Source=" ...Show All
Visual Studio Express Editions Help Authoring
Will Express accept a chm help file If not what type of help file does Express require and is there a converter from chm to Thanks Take a look at this article : ...Show All
SQL Server Acces to a file that is locked by another process
I am writing a package to process perfmon logs. The issue I have come across is that the perfmon process holds onto the log file and SSIS fails because it wants to exclusive read access. Is there any way of getting SSIS to not take an exclusive read on the file. I can read the file in notepad fine but not SSIS. check by changing the isolation level of package by default its serialiazable ...Show All
SQL Server Need call a DB function in the middle of the dataflow process
All, I have to use a field that is calculated in a data flow process and call a database function (return a value) to do anther calculation; then return a value back to the data flow. I tried OLD DB Command but I cannot configure to return a value back to the same data flow. If there any transformations that can call a DB function and get a value from the function in the middle of the data flow process Need more detailed ins ...Show All
