rick_'s Q&A profile
Visual C# Interrupts the execution to process the message queue
I have a loop routine and I need Interrupts the execution of an application to process the message queue. See the code beneath bool continua = true ; while (continua) { try { File.Copy(txtOrigem.Text, txtDestino.Text, true ); grpCopiando.Visible = false ; } catch { } } Thank you You can use Application.DoEvents() to processes all Windows messages currently in the message queue. ...Show All
SQL Server Urgent need for problem of increase in database size for ntext type fields
I had several databases under sqlserver ce 2.0 (in my Pocket PC) which contained ntext fields. The size of the databases varies from 50,000 to 700,000 records. The size of an ntext field is from 4 bytes to 2 megabytes. When I recreated my databases under sql server 2005 mobile on my desktop using VS2005 (see my post just under this one), I saw a big difference between the old and new database sizes. This problem was mentioned in one of the posts in this forum and the reply was to replace ntext data with ncharvar type. Since most of my data was longer than 4000 bytes (which is the limit for nvarchar type), I couldn't use this suggestion. Inst ...Show All
SQL Server TechNet Webcast available: Monitoring Replication in SQL Server 2005
On March 3, I gave a webcast about monitoring replication in SQL Server 2005 that includes many demonstrations of Replication Monitor. Event Description Products: SQL Server. Recommended Audience: IT Professional. Language: English-American Description: This webcast provides an overview of the new features of Replication Monitor in Microsoft SQL Server 2005. Along with many of the SQL Server tools, Replication Monitor was redesigned and rewritten for SQL Server 2005. Replication Monitor lets you track end-to-end latency for transactional publications and see a detailed analysis of merge performanc ...Show All
Windows Forms Special Characters
Where can I find a composite list of special characters that I can use when printing out info on a windows form For instance, if I wanted to tab over, what would I use What about a carriage return/single-line break >but what's your opinion on it, Seth Well, speaking just for myself (as opposed to some kind of "Official MSFT&nbs ...Show All
Windows Forms Add the .Net Framework Redistributables
How can I add the .Net Framework redistributables to my .Net setup project When ever I add a setup project, it says that the .Net framework is needed. I used the Setup.exe Bootstrapper Sample to get it to work. Read the documentation here: <a href="http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetdep/html/vsredistdeploy.asp">http://msdn.microsoft.com/library/default.asp ...Show All
SQL Server how to get SQL SERVER 2005 NETWORK CONFIGURATION...
hI ALL, i wrote my problem before also...n it was I have installed SQL SERVER 2005 CTP,Version 9.00.1314 but the problem is...as soon as i m trying to connect..i gave the local server name as SHUCHI during the installation and now i m trying to connect to it... then it gives me error as : cannot connect to SHUCHI additional information: An error has occured while establishing a connection to the server . When connecting to SQL Server 2005,this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.(provider:Named Pipes Provider,error:40-Could not open connection to SQL Serve ...Show All
Smart Device Development bluetooth for smart devices in managed code
Microsoft said in a previous webcast that they would have a visual studio upgrade on 10th May for bluetooth client/server communications in managed code (vb or c#), particularly for smart devices. I don't really want to use native code, but if that were necessary how would I use native code (ce) within visual basic I’m not aware of such update for smart devices. In fact, latest update (NETCF V2 SP1) has been released just yesterday and it does not have BT support. BT story is even more complicated than simple P/Invoke from managed to native. There are different BT stacks available. Microsoft's stack i ...Show All
Visual Studio Express Editions Deployment problem
After publiching my C# program, the installation works fine until I use MAGEUI.EXE to add a initialization file and a help file to the manifest. After I do that the install no longer works. I have tried various re-signing options and still get : "+ Reference in the deployment does not match the identity defined in the application manifest." The file extensions for the 2 files are changed to .deploy and the manifest is updated. Any suggestions Thanks Glen Okay. Seeing how your issue is now resolved (even if you did have to use a workaround), and that it is unlikely that we'll ever see an a ...Show All
SQL Server xp_sqlmaint fails sqlmaint.exe succeeds
MSSQL 2000 SP4 Recently our maintenance jobs started failing. The only error which is traceabel is if we log an individual log step, other wise the job does not log. The error returned is: Job 'Transaction Log Backup Job for DB Maintenance Plan 'SomeName'' : Step 1, 'Step 1' : Began Executing 2006-03-27 07:55:20 Msg 22029, Sev 16: sqlmaint.exe failed. [SQLSTATE 42000] I have removed and recreated the maintenance plan. Attempted to run the sql statement in query analyzer with the same results. And attempted to change the job to use xp_cmdshell by changing the step to an operating system command. All failed. In addition, runn ...Show All
SQL Server Task Expression Evalutation Time
I have designed a package whose first step initializes several variables . Other steps in the package have expressions based on those variables. Example Expression for MyTask: PropertyName = "Disable" Expression = "@DoMyTask" Given this example MyTask will be enabled/disabled solely based on the value of @DoMyTask at the time the package execution begins. Changing the value of @DoMyTask prior to the normal execution of MyTask has no effect . My conclusion is that the expression is not being evaluated late enough. Any help DarrenSQ ...Show All
Visual Studio Team System TokenizeCompoundWord not tokenizing as expected
I'm running the VS2005 integrated version of FxCop but debugging by using the stand-alone IDE and I've noticed that I'm getting some funny results (visible in debug) from the RuleUtilities.TokenizeCompoundWord method when tokenizing words with underscores in them E.g. EMPTY_ARGUMENT_ERROR is tokenizing to "EMPT", "Y", "ARGUMEN", "T", "ERROR" instead of "EMPTY", "ARGUMENT", "ERROR" Also I have come across situations where a single 'word' tokenizes to nothing! E.g. variable name "x" tokenizes to "" Has anyone else come across these p ...Show All
Smart Device Development Multiple Selection in ListView
Hi, We are currently working on a project in VB.Net (VS2005) for PocketPC. It is required that we use a ListView(2 cols) to display data, with MultiSelect property "On". the option "MultiSelect" is unavailable with the .Net Compact Framework. Any inputs on how this can be achieved Thanks! Hi, I have a quuestion about ListViewSelection in WPF.So the problem is that I have DataTemplate for displaying CheckBox. I use this DataTemplate for one of the GridViewColumns in my ListView.My goal is when i cahnge the selection of the ListView by moving UpDownArrows my ...Show All
Microsoft ISV Community Center Forums VBA HELP ON WORKSHEET
Hi Im trying to get data out of an excel file using a input box with column A - M WHEN YOU ENTER IN THE DATE IT SHOULD RETURN THE ROWS OF DATA THAT IS IN THE ROW OF THE OPEN DATE COLUMN per the support engineer: Please provide the following information so that I can investigate this for you. SYSTEM INFORMATION ======================= Operating System / Service Pack: Product / Version / Service Pack: Hotfixes Installed: Yes/No Anti-Virus Software: Yes/No Additional Technologies: -brenda (ISV Buddy Team) ...Show All
Visual Studio Team System Accessing TFS without Windows Integrated Security? (Internet Access)
From what I see after an installation of Beta 3 is this Web Site on Port 8080 with integrated authorization. I am thinking of changing this to basic authorization and after that publishing the site over SSL with an ISA server. So that it looks like that: Client - SSL (Port443) -> ISA - HTTP (Port 8080) -> TFS Is it really that easy or what is the recommended way of achieving this Does the Client in VS2005 offer a way to enter creditentials As Bruce said, not all issues are worked out. However, you should be able to access the server via SSL and basic auth. VS will prompt for credentia ...Show All
Windows Forms Advice Appreciated : Building new Control Similar to TabControl
Hi, I am developing a Control which is very similar to Microsoft TabControl, only it does not have tabs on the top. The control is called PanelControl and contains PanelPages. Looking at the TabControl and TabPage Controls using Reflector, I discovered the inheritance for TabControl and I have created my controls likewise. I am using VS2005 RC1 (Sept.)Whidbey, Please suggest any of the new designer feature in Whidbey.I plan to implement a PanelControlDesigner, and SmartTags once I get control working good. Please offer any advice you have. Can someone answer the following questions. 1. Should my PanelControl inherit from ContainerCont ...Show All
