JSMARTIN's Q&A profile
.NET Development SQL Data Adapter Configuration Wizard not making UPDATE command
I am trying to make a SQLDataAdapter connecting to a VIEW (not a table), which was constructed from several tables. All tables related to this VIEW have primary key columns which were linked together through relationship in diagram. In Visual Studio, the Data Adapter Configuration Wizard went through fine making SELECT and INSERT command but failed to make UPDATE and DELETE command. I chose 'Create new stored procedure' option in the middle of wizard. The message was "Could not determine which columns uniquely identify the rows for 'MyView'." But actually there was a column uniquely identify the rows. At first, it seeme ...Show All
.NET Development Really simple solution (I bet)
Hello all, OK let me start by saying I am very new to VB (proper) and XML - my experience is in legacy VBA for Excel and Access. I am using VB 2005 EE B2. I have read all of the help files and most of the relative posts on this forum and I still don't get it. I want to load a datagridview control with the contents of an XML file when a form loads. I know the structure of the xml file (and it has a schema). On the form I have the datagridview control and the dataset. The dgv control is bound to the dataset (datasource and datamember). On form_load I set the dataset schema and load the xml file. What ...Show All
Visual Studio Express Editions Concat variable names
Hello, I create in my form on-the-fly objects (textboxes). Each object get a name, for example txtAantal1, txtAantal2, etc. With an addhandler, I couple a Sub. In this Sub, I want to use an object value. I know that an object name begins with txtAantal and I know the number. For example: txtAantal 1 How can I use it als txtAantal1 As a textbox, so that I can use the value txtAantal1.Text You can reference a control on a form (or any other container) by name by accessing the control collection of the container. If the textboxes are on a form, you could use the following syntax: Dim txt As TextBox txt = CType (M ...Show All
Visual Studio Express Editions unable to run setup/install
i have a problem.just completed downloading the vb2005 express edition (vb.img around 486 mb). it took almost 20 days to downlod.now the frustrating part. I cant install it(cant run the setup.exe file).whenever i try to run it a dos prompt window opens and closes and then nothing. what should i do i dont want to download this huge file again. You must have downloaded this with a modem I'd hope you have a friend with a writable cd. At a minimum though you need to know why this is failing. Open up a command line window and then run the file. There's bound to be an error message that you are missing. Cha ...Show All
Windows Search Technologies un named error when turing on the windows search deskbar
i installed wds because outlook 2007 prompted me to (nothing but trouble trying to do that ) finnally got it to install without getting acsses denied and outlook doesnt ask for it now but when i got to open the deskbar i get a window with the yellow ! mark and not text any ideas would be good. thx Hello farkewie, The WDS 3.0 beta does not yet include a user interface. As such, the deskbar should have been removed from your computer when you installed 3.0 beta. How are you 'opening' the deskbar Is it showing up on the bottom of your screen or are you accessing it some other way ...Show All
Visual Basic Error 1073741819
Hello, I am using Visual Studio Professional 2005. I am programming with a few tools such as Netadvantage 2006 from Infragistics and Chart FX 2005 from Software FX. Now my program is working just fine when I use the tools from Netadvantage. But when I want to add a Chart with Chart FX. Then I can build my program with no errors. But when I run my program is runs perfect until I get to the form where the Chart is added. I get no error en my program not more running. When I go to the output, I see following code: 'Aquarium.vshost.exe' (Managed): Loaded 'C:\Documents and Settings\Administrator\Mijn documenten\Visual ...Show All
Visual FoxPro VFP 9.0 SQL worthless under a non client server network?
Hello everyone; I have posted this problem here and also on UT and no solution yet. I have a small network with a 2003 server, and XP pros. I am running vfp 9 select * from products where status = "S0000" takes apx 10 seconds when run over the network. When running this locally, it takes only a fraction of a second. The product table contains 100,000 records, and the result of the SQL command is just a few hundred records. I have checked sys(2023) and my temp files are on my c: drive. Does this mean that VFP has to run in a client-server environment in order for SQL commands to be performing reasonably ...Show All
Windows Forms Crystal Report:Logon Failed
CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed. Can anyone had experience with Oracle Let me know how to get rid of this error Any help would be apperciated.... ok guys... sorry for the long arse delay been busy.. The only way I have found to work with Oracle is to create a schema file of the query you are using. This is depressing ...Show All
Visual Studio Team System Custom workitems problems in Team Foundation Server Beta 3 Refresh
I have gottenTFS Beta 3 upgraded to the Beta 3 Refresh. Everything went pretty smooth, but i am having problems with the custom workitems. Basically what i have setup is the a SubSystem dropdown has changed the bug is assisgned to a certain user. This worked fine in the Beta 3 version but will not work in the Bets 3 Refresh. Below is how i have the conditon set. I go this by exporting the workitem type from TFS. <GLOBALLIST name="Users"> <LISTITEM value="[global]\Contributors" /> </GLOBALLIST& ...Show All
Visual C# How to filter what rows of a database to show.
Hello, I'm working on a project that uses three tables in a database, connected using foreign keys. My main table is a table of projects, I have another table of operations, where each operation has a foreign key called ProjectID that corresponds to a project in the projects table. What I want to be able to do is have a combobox with each project from the projects table, and when a user selects a project, show only the operations from the operations table that are connected to that project through the foreign key. So far I have a combo box that loads all of the projects to select, as well as other textboxes that show the other value ...Show All
.NET Development Printing Directly to Printer
I have a client that has a process which builds a text file. This text file contains commands that is used by their thermal printer, i.e.: ^XA^CF,0,0,0^PR12^MD30^PW800%^PON ^FO0,147^GB800,4,4^FS ^FO0,401^GB800,4,4^FS ^FO0,746^GB800,4,4^FS ^FO35,12^AdN,0,0^FWN^FH^FDFrom:^FS ^FO35,31^AdN,0,0^FWN^FH^FDAri Rothman^FS ^FO35,51^AdN,0,0^FWN^FH^ They want this to print directly to their printer. I have attempted using the following code to produce the results: public class Printer { [DllImport("winspool.Drv", EntryPoint="GetDefaultPrinter")] public static extern bool GetDefaultPrinter( StringBuilder pszBuffer, ...Show All
Visual Studio Web Developer Express Supports Visual SourceSafe 2003 and 2005?
Web Developer Express Supports Visual SourceSafe 2003 and 2005 Hi Luis, The Express products do not support integrated Source Control in Visual Studio. However, you can still use the standalone SourceSafe explorer if you wish to put your files in SourceSafe. Regards, ...Show All
Visual Studio Team System Problem when i want to add a new project team with Team Explorer
Hello, I have a problem in the sharepoint site (party) when i had a new project team : The message is : 8/10/2005 4:58:50 PM | Module: Engine | Task "" from Group "" completed with success | Completion time: 0 seconds 8/10/2005 4:58:50 PM | Module: Engine | Thread: 6 | Running Task "SharePointPortal" from Group "Portal" ---begin Exception entry--- Time: 8/10/2005 4:58:51 PM Module: Engine Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: Unable to connect to the Windows SharePoint Services at lu-vsts Exception Details: The ...Show All
.NET Development Getting System.Security.SecurityException during accessing WebService from WebPart
I have created a Custom SharePoint WebService and I am using it in a WebPart. My WebService is working fine with Window application. but when I try to consume that WebService in WebPart I get following error: System.Security.SecurityException: Request for the permission of type System.Net.WebPermission, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken permToken) at System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken, C ...Show All
Visual Studio Team System Failure in Process Template Manager
The June CTP throws the following error when trying to access the Process Template Manager: ELead is not registered. Then nothing happens. There is no way to start the process customization process through the client. Have you tried to launch 'Group Membership' or 'Security' wizards by right clicking on the server node in Team Explorer. Those wizards use different intrfaces from one used by Process Template Manager. Being unable to launch those wizards properly, may point to setup problems. ...Show All
