D Potter's Q&A profile
Visual C# Problem
Ok. I made this program and it was working fine ealier today. Then, all of a sudden, it gets to a certain point in the code and then stops for no reason and doesnt continue. Ive tried everything! Does someone have any suggestions. My first suggestion would be to read the posting suggestions for this forum. Your subject should be more descriptive, everyone who posts has a problem. And your message contains absolutely nothing by which anyone ...Show All
Visual C# Extending Windows Explorer with Windows Forms
This might not be the right forum for this question and if that is so I do appologize. I'd like to add another menu item on the right click menu that appears when I right click certain file types in Windows Explorer Can this be done without the need for extensive C++ code I'd prefer to write this in C# but will write it in C++ if its not too extensive as I only need this as a personal 'helper app'. Thanks in advance Doug Holland ...Show All
SQL Server INCLUDE Clause
Im trying to decide if I should or shouldnt use the INCLUDE clause on indexes in SQL 2005.. Or if I should continue creating standard covering indexes. I care mostly about the performance differences.. If anyone could share a definitive answer I would really appreciate it.. Thanks, Paul Cool.. Thats what I was thinking as well but I was wondering if there was something I am missing.. NNTP User wr ...Show All
SQL Server Queue reader Agents Failed - SQL 200 replication
Guys, I get the error message: Queue reader aborting. The steps failed...in queue reader agents of SQL 2000 replication. Could any one give me a hint of how to troubleshoot this problem Thanks a lot in advance. Are there any other messages in the history tables If not, can you modify the queue reader profile by increasing the outputverboselevel and directing the output to a file Add the following: -OutputVerboseLevel 2 -Output &quo ...Show All
Visual Basic How to Use MailMessage to Send MHTML?
I'm attempting to send an MHMTL document out as an email and am having issues getting it to do so. What I've done is created a windows service to poll reporting services for a "Web Archive" report (read in as a string or byte array via System.Net.WebClient) that I then want to send out to a set of people via System.Net.Mail.MailMessage. I'm aware that reporting services has subscriptions built in, but the situation is a little more c ...Show All
Smart Device Development Print Euro Sign
Im sending out ASCII Characaters to a bluetooth mobile printer. When i send out the euro Sign,€, inside of a String it prints it as a ' ' not '€' how can i get the printer to print it or whats the ASCII for the '€' That's quite expected because there's no Euro sign in ASCII. ASCII is probably 20 years older than Euro, so luck of Euro is quite understandable. If your printer has Euro character, you should use printer's encoding to prin ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Invalid Win32 application
I've just downloaded the MechCommander Source release ( a couple of times) but Windows tells me thet MC2.exe is not a valid Win32 application. Do I need to install the XNABuild before I use MC2.exe I am running XP Professional, service pack 2 and have the full Visual Studio 2005 Professional installed on the system. Thanks happyT happyT - I moved your post to a new thread since it was off-topic from the previous thread. XNA ...Show All
SQL Server putting user accounts on the database
hii all; My question is from 2 sections: 1- Is it secure to put user accounts (userName and password ...) on the database 2- How can I set username and password for SQL server 2005 express file Thanks (1) SQL Server can do the authentication for you, which means you don't have to store passwords in a table and process them yourself. See Books Online, the topics on creating logins and users (CREAT ...Show All
SQL Server Error occurring in ExecuteSQL Task in OnPreExecute (and in OnPostExecute) but package not failing
When any of my tasks or script tasks in my control flow, or data flow, have an error, the entire package, and then the calling package fail, as far as I've seen, through some CTP versions, beta versions, and the release version of SQL Server 2005. But, I've just made a change, in an sproc called from an ExecuteSQL Task in a PreExecute event attached to a DataFlow, and that ExecuteSQL Task is reporting an error in the output window, but th ...Show All
Windows Forms Disabling addition of new rows?
Hi everyone, I was wondering if it is possible to disable addition of new rows when using the DataGrid control The only possible way I found is to set the AllowNew property of the DataView to false, but this only works when the DataGrid i ...Show All
Windows Forms Databinding to a DateTimePicker control
I'm trying to bind a DataView to several DateTimePicker controls. Problem is the binding is happening on a newly created row so the datetime columns are all null. I transformed the null values to nothing but the DateTimePicker does not allow& ...Show All
SQL Server ODBC connection failing on 64 version of Windows 2003 server
I have an application that talks to a SQL backend using an ODBC DSN connection. It works fine when running on a 32bit machine but fails in the 64bit environment. The DSN is setup properly on the 64bit box and the Test Connection returns sucess. However when my application tries to use the DSN to connect to the database I recieve the following error. IM002 - Data source name not found and no default driver specified. The data source nam ...Show All
Windows Forms enabling and disabling toolstrip buttons, based on the "current" object
hiya, I am using a single 2.0 winform for my app. <layout> forrm -->toolStrip -->tabControl -->tabPageOne -->tabPageTwo <\layout> The entity on tabPageONE is a simple entity, therefore I can edit it entrely in a RAD datagridView.As a result, I want to DISABLE all the "edit", "save" toolstripButtons on the toolStrip. The entity on tabPageTWO is a comp ...Show All
SQL Server Remove/Hide Export options in MRS
When we deploy reports, there are many options for exporting that we do not wish to support for every report. Is there a setting or configuration file where we can deselect or hide some of these options TIA, Beth Yep, there is a config file but it will change the options on all of your projects which is what we wanted. the file is RSReportServer.config. Here is an article explaining the detail ...Show All
Visual C++ A difficult question
Hello all, I have done C/C++ programming in university on DOS/UNIX machines. I want now to make the shift to Windows VC++. I am very confused about the various tools available. There is VC++ 6. VC++.net and VS 2005. Are these tools compatible If I learn one can I use the others easily Which one do you recommend I start with Can you recommend a good book Thanks in advance for your help. Hi, The C++ Tools th ...Show All
