Tduffy77's Q&A profile
Windows Forms Unable to reference child table in datagrid.
I have two tables inside a dataset that have a relation based on a userid. The first table is "information" and the second table is "users". I bound the datagrid to the "information" datatable. My datagrid has a little plus sign, when clicked provides a link to the correct user in the "users" datatable. Wha ...Show All
Visual Basic DAta Sources Toolbox functionality reversed
When I am looking at a code window all of my data sources are visible in the data sources toolbox. When I am looking at a form, the toolbox is empty and greyed out and no options can be accessed. This is exactly opposite from how it worked in beta 1, 2 and RC1. Anyone know what the deal is with this As of right now I cannot drag/drop a table onto a form because all the tables are hidden when I am looking at a form. Thanks, Josh Hi, This is a well-known issue with Visual Studio 2005 RC. However we have not been able to reproduce this issue and debug it on a clean machine. One possible reason for this is insta ...Show All
Visual C# Help - how to create a minifest file for DLL assembly
Hello, Does anyone have the experience of creating a minifest file for dll managed assembly All the information that I could find are for executables, for example, app.exe.manifest. But I need to create one for dll so that my dll can load the correct version of dependent assemblies. Thanks in advance Is this for an unmanaged dll If so, have a look at the following at MSDN library article: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwxp/html/xptheming.asp ...Show All
Smart Device Development "No such interface supported"
I recently received and installed Visual Studio 2005. When I create an empty Pocket Pc 2003 (or Windows Mobile 5.0) application and try to deploy it, I get a messagebox that says "No such interface supported". The actual .exe is there and I can copy it and run it on the device.. but it seems that the communication layer between visual studio and the device is broken. I get the same error if I try to deply the application to the emulator. Ive tried uninstalling and re-installing ad naseum with no success. please help! Taha Yes this helps me a LOT too! However, I do not know why it wasn't anymore for me....I suspe ...Show All
Visual Studio Express Editions Managing Related Data
Hi i'm new to VB Express and am finding it slow to get to grips with the database side of things. As an example, I have two tables - publishers and books and I have created a relationship between them. I have created a simple form to display and allow maintenance of the data. If I try and delete a publisher that has any related book entries then I correctly get an error message saying that I can not do this due to the foreign key constraint. so far so good, now here come the questions: - 1. Can I manage the error(s) in a better way so that I can display a nicer message to the user 2. Can I easily test the 'constraints' of a ...Show All
.NET Development Deploying the .NET Framework with an application
I have tried to deploy an application onto a computer which does not have the .NET Framework installed, and was soon prompted to download it from the Microsoft site. However, I would prefer to be able to install the .NET Framework (Version 1.1.4322) at the same time as the application. I have since downloaded the plug-in and rebuilt the application, but this leaves me with the .msi file, the setup.exe and the dotnetfx.exe in the project's release folder. Which of these do I include in the installation CD-ROM, and if I include all of them, will it now install the .NET Framework prior to installing the application As a foot no ...Show All
Smart Device Development Can Visual Studio 2005 work with CF 1.1?
Exists any way to use Visual Studio 2005 with .NET CF 1.1 Yes. You can target CF 1.0 if the intended platform is Pocket PC 2003, Smartphone 2003, Windows Mobile 5.0 Pocket PC (requires a separate SDK install), or Windows Mobile 5.0 Smartphone (requires a separate SDK install). ...Show All
.NET Development Reading from and writing to a single XML file using multiple appliacations.
I have multiple applications that may be reading and updating a single XML file and at times my clash. For example, one application will be reading the XML file using SAX to read data and another process may be using DOM to add information to the XML. It appears that as one application is reading the XML another application is writing to the XML. This is generating an error. What are some approaches that I can take to prevent this from happening Thanks When you open a file you may specify sharing options: FileStream constructor File.Open By default, FileShare.Read is used. You may spe ...Show All
Visual Studio Team System Team Explorer in Visual Studio 2005 RC1 Team Suite
I just installed VS2005 RC1, and the Team Explorer tab that i was used to seeing in VS2005 Beta 2 seems to be missing. I am using Team Foundation server as a source control environment, and I am not able to connect. Does anyone know if it is hideen somewhere Correct...we'll have TFS Beta 3 available for download in the next 3-7 days. It is the only version that is intended to work with Visual Studio 2005 RC. ...Show All
Software Development for Windows Vista Using LUA/UAP in custom applicatons
Hi, The December CTP of Vista has a modified version of UAP/LUA. There's a shield icon (windows colors) next to any setting that requires aleveated status (brings up the verification dialog instead of an earlier dialog that asked for admin password). Also, for other tasks such as opening a file, modifying registry, modifying the drive, etc the dialog pops up asking the user to verify the action. The question being, if I have several settings in my application that I'd like to be either Admin specfic or just out of concern I don't want the user to click on that unknowingly (i.e. might pose a danger to the system/security, etc) ...Show All
Visual Studio Express Editions C# and application settings
Hi all , I'm just starting to learn C# after learning a lot of Visual Basic. However, I have become a bit stuck! It's a really simple question but I really can't work it out. I added two settings to a project, X and Y, both integers. I set the scope to Application. How do I then access these settings I need to be able to read from and write to these variables, which is the problem I have at the moment. A site told me to use RocksnGems.Properties. Settings .Default.X //and RocksnGems.Properties. Settings .Default.Y to access the settings (RocksnGems is the default namespace for the project). I don't know if reading the variables in th ...Show All
.NET Development Problem updating child table i relational database
Hi folks, realy hope to get some help...I have a problem trying to update the child table in two relational tables (let say Orders 1 --- 00 OrderDetails). I'm getting the folowing error every time: " You cannot add or change a record because a related record is required in table 'datatable'" The fact is I have the desired record and records in the child table, but when I'm trying to add some more - this message shows up... I'm using VB.NET 2005 and Access 2003 Database What Am I missing Any ideas Thanks! As far as i think you are facing the following problem. Suppose t ...Show All
Visual Studio VSS Automation - VSSItem.Add problems
Hey everyone, I'm sure this is a simple fix, but I just seem to missing something... I am using the C# COM wrapper with InteropServices. I have tried all the below calls, and they return the error below: tempParent.Add("C:\\index.html", "File promoted from DEVELOPMENT", 0); tempParent.Add("C:\\index.html", "File promoted from DEVELOPMENT", ( int )Flags.VSSFLAG_DELNO ); L07_Debug 7/25/2005 11:25:53 AM PC127782 SSEXP.EXE Testing Ciosor.GetItem - Creation Loop - ERROR: System.Runtime.InteropServices.COMException (0x8004D694): Error loading resource string at SourceSafeTypeLib.IVSSItem.Add(String Local, String Comment, Int32 iFl ...Show All
Game Technologies: DirectX, XNA, XACT, etc. OBB Collision Detection getting it to work
I have some source for OBB (Orientated Bounding Box) Collision Detection. I'm certain the code is working correctly. However under only certain position will the two boxes collide correctly together. I'm sure i'm putting the rotation and translation data into the matrices wrongly. Though for the life of me i cannot see how the data was ment to be put into the algorithm in the first place. Both boxes are rotated (so both should have associated matrices) yet the function only accepts one RotationState class. Is there something i need to do to combine the two matrices. I was thinking transform one of the matixes into the co-or ...Show All
Visual C# hiding console window?
Coding an app to keep Tor open, due to a bug in my router or my ISP being annoying (not clear which) the tor client disconnects after about an hour. So every hour the Tor client has to be reopened; now I don’t want to have a console window sitting around all the time, so how can I keep the console window for the current app from being displayed (I figured out that I can do it by having one app asynchronously open another as a with WindowStyle.Hidden and then closing the first, but that’s so ugly) So how can I keep the console window from being displayed Don't use a console app. Use a window app, and simply ...Show All
