edukulla's Q&A profile
Visual Basic Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document
There was a similar question posed on the C++ forum back in February to which I responded yesterday, but unfortunately, did not get a response. I am therefore putting this question in the VB forum. I have a VB 2005 project which is actually an add-in to Outlook 2003, which was I was able to debug fine until earlier this week. Now I cannot debug it at all - the message in the subject is displayed when I hover the mouse over the breakpoint which shows a yellow icon in place. Can anyone here tell me what I should do to correct this I'm getting this very same problem and having absolutely no luck fixing it. The problem started after I moved the app from my local machine to an actual web server and upgra ...Show All
Visual Basic How to set a printer to be the system default printer?
Hi all, first of all: please be pateient with me as I'm not at all an experienced VB programmer. Reading lots of articles on MSDN I learned how to use PrinterSettings and PrintDialog and control printer settings. What I didn't find, though, is a way to make one of the installed printers the system default printer using VB 2005 Express. If - for some reason - that's not possible using VB 2005 Express, there's still a 2nd option; in the forums I found a link to a technote explaining how to set the default printer using VB 6.0 / through Win32 API calls (http://support.microsoft.com/default.aspx scid=kb;en-us;266767). I'd like to avoid the hassle, but if necessary I would do it. Unfortunately, I don't know how to retrieve the CURRENT system de ...Show All
SQL Server Retries not being attempted
Any ideas why my retries are not even being attempted <ProtocolExecutionSettings> <RetrySchedule> <RetryDelay>P0DT00H05M00S</RetryDelay> <RetryDelay>P0DT00H15M00S</RetryDelay> <RetryDelay>P0DT01H00M00S</RetryDelay> <RetryDelay>P0DT03H00M00S</RetryDelay> <RetryDelay>P0DT06H00M00S</RetryDelay> <RetryDelay>P0DT12H00M00S</RetryDelay> <RetryDelay>P1DT00H00M00S</RetryDelay> <RetryDelay>P2DT00H00M00S</RetryDelay> </RetrySchedule> </ProtocolExecutionSettings> I see these get setup properly, as the NSProtocolRetriesSchedule table gets populated accordingly. When I run the NSDiagnosticsNotificationsFailed, ...Show All
SQL Server Multiple table or matrix under one grouping
Is it possible to have multiple tables or matrixes under one header grouping. I'm having a case where two tables need to be under one grouping (like "Sports vehicle) and under that "sports vehicle" I have two very different tables and on it goes for each grouping (next one like "Off road vehicle), etc. Is there anyway to do this. I can make this work with one table using the table grouping. Any suggestions or ideas Thanks. Enkht, Yes, It possible to have a Matrix Group = "Sports Vehicles" and the have type of "Off road", "Soup Up", "Etc" - It believe you can achieve your results my making Sport Vehicles your Group rows and &qu ...Show All
Visual Studio 2008 (Pre-release) DragEnter/DragLeave
Can anyone post a working example of DragEnter/DragLeave, please I've seen Marcelo's blog, but all what that example does is it provides with some visual feedback during the DnD operation, which is cool enough. But what I'm trying to achieve is to make certain components responsible for DragEnter/DragLeave. I'd appreciate any information on that matter. Thanks. Thanks for following up, Marcelo. When performing D'n'D operation, there are always 2 parties: - UI lement, which is being dragged - A - target UI Element - B What I'm trying to achieve is to make B to honour the size of A , when it's firing DragEnter/DragLeave/DragOver event. Thanks, Dmitry ...Show All
Visual C++ C++/CLI /CLR Managed Support in Native Library
Hi, I have a C++ project, a .dll project in Visual Studio 2005, which uses all native C++. I was able to compile the project with the /clr option (just /clr for common language runtime support). I am able to add the a reference to the dll with another C++ project, which is also compiled with the /clr option, and the entire application runs fine. The problem comes when I try adding the .dll project reference to a test C# project and add a "using MyCPPNamespace" to my C# class. I don't see the new C++ project namespace anywhere within my intellisense in the C Sharp project and I can't just add it as a using. I thought compiling my native C++ project with the /clr option allowed us to add references to these projects in other manage ...Show All
Visual FoxPro Using a dial-up modem to communicate
Hi All, We are developing a systems functions test program which is periodically checking our file servers, ftp servers, databases, etc. and sending e-mails / messages to our Systems Administrator's cell phone if any of them fails. We see that if our e-mail server is down we can't send out warning e-mails. That's why we have a PC with an internal modem which will operate parallel with our test program and communicate with our Administrator if our email server is also down. 1. I appreciate, if I can get any information, sample code or a link to download an API. 2. Is it possible to play a recorded message after the connection is established, If so how We are using VFP 8.0 on W2K Client/Server. Hopefully everything is clear enough. Thank yo ...Show All
.NET Development Using Internet From C#
Is it possible to use some .NET library to download a file from the internet automatically to a specified directory Let's say I have an excel chart on my website, and I want to download it to C:// Also, I want to be able to do the same with a web page, i.e., I want to go to www.mywebpage.com/index.html and download index.html to a certain folder by using .NET. Will this take a lot of complicated code Can I just use a .NET library, or must I use Win32 API or something like that you have a couple of choices 1) use the WebBrowser control in .NET 2.0 to navigate to a website and save the document 2) use a WebRequest and WebResponse classes to read the Stream of data returned overall and save it to a file which one are you a ...Show All
Software Development for Windows Vista worfkow monitor sample does not compile
using vs2005 pro, wwf for vs rc4 , .net 3.0 assemblies. Downloaded samples following url from wwf page. Here are the errors. Error 1 Cannot implicitly convert type 'System.Collections.Generic.IList<System.Workflow.Runtime.Tracking.SqlTrackingWorkflowInstance>' to 'System.Collections.Generic.List<System.Workflow.Runtime.Tracking.SqlTrackingWorkflowInstance>'. An explicit conversion exists (are you missing a cast ) C:\WinSDK_Samples\WF\Applications\WorkflowMonitor\CS\WorkflowMonitor\DatabaseService.cs 79 40 WorkflowMonitor Error 2 Cannot implicitly convert type 'System.Collections.Generic.IList<System.Workflow.Runtime.Tracking.SqlTrackingWorkflowInstance>' to 'System.Collections.Generic.List<System.Workflow.Runtime ...Show All
SQL Server can not delete pagefile.sys
Hi Guys, I don't know if this is the right place to post this issue. Please help. I have done some tweaking and reconfigured pagefile of our server. Previouly, the pagefile was distributed to different drives (6 drives in all). Now, I stored the pagefile on a single drive. After doing this, I noticed that the pagefile from the other drives still exist and I can't delete them. I want to delete this file on the other drives so I can free up some space but I couldn't. Please Help. Thanks, Larry Larry, Go into the pagefile settings and click on each drive that you don't want the pagefile on. On each drive, click the radio button that says No Pagefile and then click the Set butt ...Show All
Smart Device Development Need to instantly detect socket disconnect.
I am developing a Pocket PC app which allows the user to take the PDA around a parking lot while entering information on a form and saving. When the Save button is clicked I want to not only save it to the PDA but send the information to a laptop sitting in the user's vehicle. This laptop listens for a connection request. I know how to transmit and receive files using sockets but I need to be able to instantly detect when the PDA has lost the connection with the laptop (losing the signal by putting a building in between the PDA and the laptop, for instance). I want the PDA to inform the user that the signal has been interrupted and keep trying to connect to the laptop before sending the file. As soon as the connection has been re-establish ...Show All
Visual Basic vb code part 2
Hi all, I ported a class from c# to vb, it's bassicly a class for the systray icon with balloontip it compiles and i think the code is correct, but for some reasen i got some problems 1. the std tooptip is truncated eg "hallo" becomes "h" 2. the balloon never shows up when the sub ShowBalloonTip is called I stairing to the code and slowly driving me nuts, i must be overlooking something simple the origional c# code is here I'm ghoing to cut the vb code in peaces en post them for some reason i can not post 'big'messages remco this should be pasted rightuned 'vb code part 1' ''' <summary> ''' Sets focus to your icon ...Show All
Visual Studio 2008 (Pre-release) walking through a tree hierarchy
Hi there, I'm trying to expand all the TreeViewItems inside a tree programmatically, but I can't seem to walk through the whole hierarchy if some of the TreeViewItems are not expanded yet. For instance, if I have the following code: public void ExpandAll( ItemsControl targetItemContainer) { ItemCollection itemCollection = targetItemContainer.Items; for ( int i = 0; i < itemCollection.Count; i++) { TreeViewItem treeItem = targetItemContainer.ItemContainerGenerator.ContainerFromIndex(i) as TreeViewItem ; if (treeItem != null ) { if (treeItem.HasItems) { treeItem.IsExpanded = true ; ExpandAll(treeItem); } } ...Show All
SQL Server OO storage? How to store large graphs and enable efficient graph operations?
Storing large graph in relational form doesn't allow us to perform graph operations such as shortest path quite efficiently. I'm wondering if storing the graph as objects would be better How should I design the schema Thanks! this is what I found of this book: Inside Microsoft SQL Server 2005: T-SQL Programming byItzik Ben-Gan, Dejan SarkaandRoger Wolter Microsoft Press 2006 (532 pages) ISBN:0735621977 Written by a T-SQL guru, this thorough, hands-on reference for database developers and administrators focuses on language features and how they are interpreted and processed by the SQL Server execution engine. ...Show All
Visual Studio Disaster Recover Features?
Has VSS 2005 introduced ANY features to support disaster recover requirements Systematic data replication to a duplicate database instance as one example Unfortunately not. VSS is remaining to be a simple SCC program with file based database Analyze tool was significantly improved for fixing errors in the database. Overall reliability of working over the network was also improved. However new tools to create systematic the backup of the database were not added. These functionality is still expected to be provided by other tools. ...Show All
