Arno3456's Q&A profile
Visual Studio Subreports: Tables, Lists, NoRows - different behaviors.
Local report. I had a question a few days ago about not showing a subreport if there was no data. Some kind person answered that I should use the NoRows property, and that worked great. But the strange thing to me is that the NoRows property is on the table, not the subreport body, so lines and such that are not part of the table still print. Ok, I can deal with that. Well, I have another subreport which uses a list instead of a table. The List also has a NoRows property, but that one doesn't seem to work.The text I put in that just doesn't show up. Nor do lines or other text that is outside of the list. If there are one or m ...Show All
Smart Device Development How to subclass a combobox?
Dear guys: In my ppc project ,I need to replace the dropdown list in combo box with a tree control,for the pocket pc doesn't support the ownerdraw property,what should I do Thanks! If you can't owner draw, then you can't place an image in a textbox. Do you want an image on the far left, the same as it looks in the tree view If so, why not put a picture box on the left of the textbox in your control ...Show All
.NET Development Trouble retrieving a query using the "Like" option from an access db in C#
Ok so here is the problem. I have an access database which i want to retrieve information of all the records that match a certian search pattern in one of its fields. I have a database named DALRES and i want to do a seach command and retrieve all the matches that match the pattern of an address I put in . So my conn and everything is fine. I can do a search query for a specific address aka not a pattern much but an exact match. It also returns mutiple records. Now when I try to do a like seach i am not getting any records back. The sql query i am perfoming is SELECT * FROM DALRES WHERE SITE_ADDR LIKE 'GRIF*'; This com ...Show All
SQL Server Newbie BIDS questions
I've been learning SSIS and the BIDS for a few weeks now and there are 2 things that really annoy me. I'm hoping that there is a setting or option or something that I'm missing. 1. I place objects on the Control Flow surface, get everything arranged the way I want it, constraint lines all nice and tidy and then save it. When I open it things aren't the way they were when I closed it. Any way to make them stay the same 2. If I select multiple objects and copy them when I paste them they are in really interesting places. Any way to have them stay in the same realitive positions This is one of the most helpful forums I've ever posted i ...Show All
Visual Studio Express Editions Project Location is not trusted
Hi All, I have Visual C# 2005 express edition installed on my computer and I'm having trouble with non trusted projects. All my projects are saved in the default location (my documents\visual studio 2005) yet, if I save a solution I received via email in that folder and try to open it in Visual C#, it complains that the location is not trusted. All other projects created within Visual C# 2005 work fine. I looked at the sln and csproj files but couldn't find anything that would justify the different behaviors. Any clue what's going on Any help greatly appreciated. Thanks. A recent (within la ...Show All
SQL Server Controls missing in toolbox
All in sudden all the Controls (Table, Crosstab, textbox...) disappeared from my Toolbox. I clicked View -> Toolbox and still it is empty. Anyone has any idea what is going on.. Thanks. ...Show All
Smart Device Development RSA Encryption
Has anyone used RSA Encryption/Decryption for cf Thanks, Paula public string EncryptDataString( string strInput) { string xmlString; InitObject(); xmlString = pvtstr_JustPublicKey; if (strInput.Length <=0) return null ; try { RSACryptoServiceProvider RSAProvider = new OpenNETCF.Security.Cryptography.RSACryptoServiceProvider(); RSAProvider.FromXmlString( xmlString ); System.Int32 numberOfBlocks =( strInput.Length / 32 ) + 1; System.Char[] charArray = strInput.ToCharArray(); System.Byte[][] byteBlockArray = new byte [ numberOfBlocks ][ ...Show All
Visual Studio Custom Editor
I am currently trying to integrate a custom editor (for an in house scripting language) within visual studio. The editor itself has been build as a seperate windows application. However, i wanted to convert it into a VSPackage. I have read whatever is available in the VSIP sdk, but that's not much! I have also looked into the basic edit sample (provided with the VSIP sdk), but i somehow feel that it might not be the best way of getting things done! Is there any other information available online, if possible, the source code of a well designed package Thanks in advance. Hi Doug, This is by far the best clear-cut notes about VSIntegra ...Show All
SQL Server Adding SDF data into a Listview - C#
Hello everyone, I finally got the SDF file on my pocket pc, and now am having trouble loading the data into the listview. I am not sure where I am going wrong, but the code is listed below. Any ideas Thanks so much, everyone. private void LoadList( string szSQL) { // Clear out anything that might already be in the list CollectionList.Items.Clear(); // save off the SQL Statement m_szCurrFilter = szSQL; // Throw Data into the list SqlCeCommand sqlLoadEvents = m_cConn.CreateCommand(); sqlLoadEvents.CommandText = szSQL; SqlCeDataReader rReader = sqlLoadEvents.ExecuteReader(); // rol ...Show All
Visual Studio Debugging Visual Studio Integration Errors
Hi, We have implemented a VSIP package with custom project type in managed code. When the user creates a new solution with out project type, sometimes an error is displayed and the solution cannot be created: "Attempted to read or write protected memory. This often an indication that other memory is corrupt." The issue is somehow related to the machine/installation. If a user receives this error that it always appears, but when we clone the machine image and try to run it in a virtal machine it does not. Now we managed to get a notebook where the error is reproduceable, but we do not really know how to find out wh ...Show All
Visual FoxPro How to upgrade a menu from FoxPro for DOS
I'm a very old, retired, CCOBOL and ASSEMBLY programmer with some experience with dBase and FoxPro from the command window. A charity has asked me to get an old FoxPro for DOS program working on a donated used computer which contains VFP6.0. I have gone over the data files and they seem to be OK. The indexes have been converted to CDX type and that works. The old DOS program worked by relying on append and browse commands which all work. The needed reports were all hard coded with space() to fill lines nicely and they work. The only thing that doesn't work is the old character screen menu. It had 10 @SAY and 10 @GET commands and a READ. The ...Show All
Visual FoxPro Form Feed Character
Hello Experts: I am using FPUTS to write text to a file. At the end of each page I need to insert Form Feed Character. How can I do this I normally work them from memory but any decent ASCII table would show it. Here's one I found through Google: http://www.lookuptables.com/ ...Show All
Visual Studio 2008 (Pre-release) Problem when the service is hosted in windows application
Hi, I've hosted my service in a windows application and started the hose on form load. My client is also a windows application which sends data as xml. But I get TimeoutException when I call the operation. It couldnt contact the server. I appreciate your help in giving some pointers. Thank you, Praisy. Can you please add a code sample that illustrates your problem Thanks, Guy Burstein http://blogs.microsoft.co.il/blogs/bursteg ...Show All
SQL Server re-establishing mirror
When witness and mirror were down, mirroring was removed at primary. Now when I try to re-establish mirroring I get the following error Msg 1456, Level 16, State 3, Line 1 The ALTER DATABASE command could not be sent to the remote server instance 'TCP://witness:5022'. The database mirroring configuration was not changed. Verify that the server is connected, and try again. On the witness server the following sql select * from sys.database_mirroring_witnesses returns 1 row with the previous mirroring information. How do I remove old information from witness server Thanks. If the witnes ...Show All
Visual Basic Most wanted code snippets and resources
Hi Everyone, We'd like to hear your ideas and opinions on Intellisense Code Snippets . - Which new code snippets would be most useful - Which code-snippet categories already in Visual Studio would need additional code snippets - What new snippet categories would you add to the ones already in Visual Studio - Which code snippet resources would you find most useful in your everyday experience using, authoring and sharing code snippets Please reply to this thread with your thoughts. Thanks for your feedback, The VB Snippet Community Team Lisa, I want to apologize,&nb ...Show All
