JasonRL's Q&A profile
Visual Studio Express Editions Database Connection Inquiries
Dear peeps, Please shine some lights on my inquiries, I am just a newbie to database programming and I need your expert advice. I have started a database program through VBExpress and I wish to know how can I transfer Database connections using OpenFileDialog box, and from there all the connections would be referrenced. I am using MS Access on one of my project and the other one is SQL Express. Also, during the packaging of the software, is there any options that I can install the program on any directory that I would want to choose and from there, the database connections would be updated Thanks a lot in advance. Not sure what you mean by 'Transfer" the connection with the openfiledialog...you can however use the openfiledialog ...Show All
Visual Studio 2008 (Pre-release) newbie: Mapping and local CLR namespace
Hi group, I'm experimenting with WinFX (november CTP VS2005 extensions on VS2005 SP1 and Vista Ultimate final), but I cannot do what should be a simple thing: in a dummy XAML application I'd like to create a static resource from a custom class in the same assembly & namespace of the XAML window (the project has just 1 window and 1 dummy class in the unique solution assembly). Let's say the namespace is MySample, and a public class in it is named Dummy. This class exposes a couple of properties, Name and Age. Here's the markup: < Mapping XmlNamespace="local" ClrNamespace="MySample" > <Window x:Class="MySample.Window1" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation ...Show All
.NET Development Imaginary numbers in VB.Net
I am just wondering how Visual Basic.Net deals with complex number. Also, I need to write some code that, if given a complex number, will only take the real part and ignore the imaginary part. Thanks for any suggestions. It doesn't. But they are easily added ... ...Show All
Visual Studio Service pack or hot fix of CR for VS2005
Where can I find service pack or hot fix of cr for vs2005 I've searched in business object site, it only has cr for vs2002 and vs2003. I've download a hot fix of cr for vs2005 before, which fixed a bug in previewing report with stored procedure, but I lost the link now and cannot find it in their site. It works!! Thank you very much!!! Do you know the hot fix link for 64bit runtime too ...Show All
Visual Studio Team System Please help: Merge options are disabled
I am using TFS. I have created a brunch for project proj1 which is called proj1B. After modifing one of the files in proj1B, chek-in and merge to proj1, the modification was automatically merged into proj1. If I modify (adding a method) on of the files in proj1, then modifying it also in proj1B (also adding a method), both check-in ---> When I come to merge proj1B to proj1 i get the conflicts dialog (which is fine) with the "Auto Merge All" button DISABLED. When I click on the "Resolve" button, I get the resolve options dialog with the first two merge options also DISABLED ("Merge changes for me" and "Merge changes in merge tool"). I have full permissions. Anyone This indeed ...Show All
Visual Studio 2008 (Pre-release) General Question Navigate to a Page threw a Window
I have a Window Application (Window1) and was woundering if i was to add a Page . If I can Navigate to that Page with in Window1 Same principle as in the Media Center 2005 on my System or the Media Center in Vista thats on my other system...I want to use a Button for Navigation ,not a NavigateUri using a Hyperlink...In the Applications = Code + MarkUp book i just got it shows something similar more along the lines of a Wizard..but i'm not making a Installation Wizard thou.. Thxs Rattlerr right now i have a Frame in a Grid thats in Window1...Using a Timeline for MouseEnter to trigger the frames Opacity from 0 - 100 fading in the Frame...The only problem i seem to be having which is weird because i ...Show All
SQL Server A view is not replicating during merge replication
Hello, I'm developing a VB.Net for a CE.NET device. I use SQL Server 2000. I use merge replication to synch with the CE.NET device. I have this problem where a view is not replicating to the CE.NET but my table articles are replicating without problems. All the base tables for the view are replicating correctly. Any ideas Thank you. Well, I didn't know SQL Server CE has these limitations: SQL Compact Edition Limitations and Restrictions Unmanaged and not typesafe Win32 architecture Does not support multi-user data access (Single user only) Does not support Stored Procedures Does not support Views Does not support Triggers Does not support macros ...Show All
SQL Server Unable to run a report after deployed in a remote server
Hi All, I encountered the following error after I deployed a report to a remote server. The deployment process was successful, however, when I try to run the reports from the remote report server, It gives me an error message saying: An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'SessionOLAP'. (rsErrorOpeningConnection) For more information about this error navigate to the report server on the local server machine, or enable remote errors On the other hand, I deployed this report on the local machine and it is running perfect. Do you have any idea how to deal with this problem Thanks! In Report ...Show All
Visual Studio 2008 (Pre-release) Design Question - What is the best way to implement a human readable string mapping for enum values?
We have various enumerated types in our system and we obviously want to present human readable values that can be easily configured by our UI folks rather than the cryptic identiofiers that we use in the code. Just wondering what facilities are available in .NET 3.0 to accomodate this kind of thing. In the old days, I would use some sort of string resource and a mapping table for the lookup. Anybody got any cool/slick ideas on this Thanks NIK This all great stuff guys, Thanks. Luckily 1) Localization is not an issue - probably the last English-only app. in the world, but I'm not complaining. 2) We own the code for all the enums. Seems like whether or not I use XAML resources or traditional string resources ...Show All
Windows Forms Publishing a windows application to a sharepoint website
Hi, First of all i do not know where i could go with this question so from my point of view the best forum was this one. My question is "Can I publish the windows application to a sharepoint portal website " I need to do that and when i try to publish it from vs2005 it just give me the message that the following files have been blocked by the administrator: setup.exe Any idea how to work around it Thanks ...Show All
Windows Forms Tabpage control
I have a tabcontrol with multiple tabpages. I have included a context menu with close option to close a tabpage. I am able to close the selected tab page using the close option but i am not able to close other tabpages using the context menu (ie) i am not able to select a tabpage by right clicking on the top of the tabpage. can someone help me on this Regards Venkatesaperumal I tried your code, but I realised the was an issue with using the position of the cursor. If you click on the toolstripmenu and the cursor is not above the tabcontrol, it won't work (or it is just me). I solved this by replacing the cursor code with the top left corner of the contextmenu. This will a ...Show All
.NET Development CryptoConfig.MapNameToOID("Rijndael") return null?
I am trying to derive a key for rijndaelmanaged instance, but get a CryptographicException saying "oid is unknown" when calling CryptoDeriveKey. Further checking shows that CryptoConfig.MapNameToOID("Rijndael") returns null. I am doing anything wrong My code is as follows. Thanks a lot. RijndaelManaged rij = new RijndaelManaged (); rij.IV = symmetricIV; PasswordDeriveBytes pdb = new PasswordDeriveBytes (symmetricKey, null ); rij.Key = pdb.CryptDeriveKey( "Rijndael" , "MD5" , 192, rij.IV); ...Show All
Software Development for Windows Vista Context menu extensions causing Explorer crash on Windows Vista
Hi everybody, Upon developing a .net application which has to have support for Vista and , at some point plays with some context menu shell extensions, i experienced a very very weird problem..Here is the situation: The application was developed for .net framework v1.1.4322. It has to dinamycally create some context menu extensions for folders so, the class responsible with the context menu logic implements IShellExtInit interface, IContextMenu interface and offers implementation for all the methods of the interfaces..All the rules are correctly respected (like keywords for "mirroring" the COM interface by the .NET one, the interface and the implementing class GUIDS, the assembly registered for COM upon instalation, a ...Show All
Visual C++ How to extract time form MSG structure
Hi, How to extract time form MSG structure. I will get the format of time in DWORD how can i convert it in to time. hi nobugz ya thanks for sending me the solution. ...Show All
Windows Forms WaitCursor and the TextBox
Hi, I have a WinForm application built in VS.NET 2003. The user enters the data on the form and clicks the Submit button to do some processing and the results are displayed in a multiline textbox. I am setting the form Cursor to Cursors.WaitCursor when the user clicks the button and then back to Cursors.Default when the processing is done. While processing, whenever I hover my mouse on the multiline textbox, it is not showing the HourGlass but it is showing on the other areas of the form. How do I make the HourGlass appear on the textbox also Do I have to set it for all the textboxes manually and then back to default after processing Any help is appreciated! Thanks Basani Hi nobugz, I ...Show All
