swo1967's Q&A profile
Windows Forms Beginner question: dataAdapter.update not working
Hi, I am having problems getting a value from bound textbox updated back to the database. My dataAdapter.update appears to do nothing, as the value in the db is never changed. Here's the steps I've taken to create this test form. 1. Create new form. 2. Opened up server explorer and found my .mdb. 3. Drag my table from server explorer onto my form. 3. Ran&nb ...Show All
Visual Studio Help with VSS
Hi, Please forgive me for asking here, I realize this might not be the right place to ask but somebody here surely might have an answer for me. We are using VSS 6.0d. Here is my question: I have a server where we have all our VSS databases on. The server has been having 'issues', so we have a new server with more memory, bigger hard drives, and a better processor where I need to move the VSS databases to. My question: do I have to tell all developers to check all their work in Or, can I just move the VSS databases over to the new server and then let everyone change their configuration option in VSS &nb ...Show All
SQL Server CreateSubscription - Specify the Job Name or Get the GUID Job Name
We're using the CreateSubscription method to schedule a report for automatic delivery, using SQL Server Agent. Everything is working great. But, we had a question (or two). Is there anyway to specify the name of the SQL Server Agent job that gets created when the CreateSubscription method is called If so, how If not, is there anyway to get the GUID job name back after calling CreateSubscription TIA There is no way to set the name of the SQL Agent job via the CreateSubscription method. You can use the ListSubscriptions to get the guid and GetSubscriptionProperties to get further information. ...Show All
Smart Device Development What is the 1st Step?
Hello, 1) I'm New to Microsoft Mobile Development. I would like to know..., what is the 1st step to start if i want to develop an application for Window mobile 2) Can Visual Basic do the stuff in developing "Microsoft mobile" 3) Can Visual Basic do the stuff in developing "Symbian platform smatphone application" Thanks, Regard, Joel (Student) 1) Get Visual Studio 2005 :-) 2) Yes. Visual Basic can be used to write applications that target the .Net Compact Framework which runs on Windows Mobile 3) I'm afraid that Visual Studio 2005 ...Show All
.NET Development Strange connection string persistence issue
I’m connecting to a MySQL database using a third party component (MySQLDirect). The issue I’m having does not seem to be a bug in the third party component as no other users are reporting issues with it and they seem unable to help. I would really appreciate if someone could give me some inspiration on how else I can think about tracking this issue down. The weird issue is: I have my MySQL database connection string in the app.config file. I’m using the MySQLDirect components in a component designer using VB.Net 2005. When I change the database name in the config file to another database, t ...Show All
Windows Forms Adding an icon to the form taskbar when using a form with no border?
Hello, I am making a form in Vb.net using a skin so I do not have a border on my form, but I would like an icon to show up in the taskbar when the form is opened. Is this possible I haven't been able to find anything that says you could. Can someone please help, point me in the right direction, or confirm that this can't be done Thanks, Marc Paul, I tried it on an XP system and the icon is visible in the taskbar. It must be a Windows 2000 issue or an issue with my computer itself. Thanks for the help. Marc ...Show All
Software Development for Windows Vista running the workflow designer multiple times.
I'va build an application that is based on the workflow designer lab. in the original sample, and so is in my code, once the user has clicked the run button (which executes the workflow) the button goes disabled. I've been trying to go pass this constraint, but it seems to be a difficult task because once you have run the workflow instance, the dll is held up in the current process and executing the compile() method again, results with the exeption that the customworkflow.dll is is use and can not be written to. I think this feature is a must in the designer user interface, but i cant get it to work. i've tried to seperate the ex ...Show All
SQL Server Wishlist: MOST WANTED Tasks, Sources, Transformations, and Destinations?
Until there's an Integration Services 2.0, what custom components would you most like to see examples of The documentation team is starting work on the 2nd Web refresh of Books Online and SQL Server samples, anticipated for release around April, and may be able to incorporate some requests as samples or BOL topics. I scanned Kirk's "Requests" thread and, although many requests are for tweaks to existing SSIS widgets, I noted the following. Which ones, or which others, would provide the most value to the most users I don't have the authority to make this "sticky," so get your votes in before I disappear off the bottom of the page! Tas ...Show All
Visual Studio Team System Add user from a thrusted AD domain
Hi, When i try to add users from a thrusted AD domain, I get an error message. "Couldn't add user/group 'xxxxxx'. It may be in an incorrect domain. Menu: Team->Team Foundation Server Settings->Group Membership TFS: Beta 3 Refresh TFS Service account: AD2\TFSSERVICE User account: AD1\<user name> One way thrust between AD1 and AD2. Is this a "beta" issue ...tried to add AD1 users to a Security Group in AD2, and then add the group to the Team Foundation Administrators. I can add the group, but I can't access TFS with a user from that group, a login window appears. Sorry you ran into this problem.&nb ...Show All
SQL Server performance issue with trans log on tempdb?
I am running in to a tricky issue, and am hoping someone here has seen something like this before. Here's the basic sequence I am working with. A temp table #A contains some number of rows (in this case, about 45k rows). 1. Create temp table #B and insert a subset of the rows in #A (in this case, the subset happens to be 100% of #A) 2. Perform a few dozen updates to #B, using data from permanent tables. 3. Update the rows in #A with #B, i.e.: UPDATE #A SET xxx = xxx FROM #B JOIN #A ON #A.id = #B.id So, here's the problem: - I run steps 1 and 2, and they complete very quickly. I run step 3, and it completes very quickly (a ...Show All
Visual C++ Please Help me Out From a Run Time Error
I am developing an application in which i am handling a file(.txt) from the SDI.I am using fstream.h header file for reading from the file. My program works small bit but give a runtime error Runtime Error given by the compiler is as below "Instruction at 0x5f4229b6 reffered memory at 0x1c000004 .The memory could not be read from MyApp.exe(MSVCRTD.DLL)" After debugging it in VC Debugger ,it gave the above message and opened an file for debugging whose path is something like this C:\.....\SRC\Intel\MemCPY.ASM this is the whole scenario . Please Help me out Thanx It looks very much like you have a call to memcpy (either directly or indir ...Show All
SQL Server Importing an XML file with hirarchial data
Hello, I would like to import an XML file containing hierarchial data into a table in SQLserver. I guess that I am supposed to use the XML source editor and connect it to the xml file containing the following: < xml version="1.0" > <VariantFamilies> <VariantFamily FamilyID="XXX"> <FamilyDescription Language="en-GB">Variant Family Description in English</FamilyDescription> <FamilyDescription Language="sv-SE">Variantfamiljsbeskrivning pa svenska</FamilyDescription> <Variants> <Variant VariantID="1XX"> <VariantDescription Language="en-GB">Variant Description 1 in English</VariantDes ...Show All
.NET Development Why do Configuration.Save need Change Owner permission?
I'm using the Configuration object to manage my application settings, it all works fine as long as they are stored on the local computer where I have administrator privileges. But as soon as I try to store the configuration on a shared folder on a server I get the UnauthorizedAccessException. I've made sure that my application has FullTrust rights. If I access the shared folder as an administrator I can save my configuration file. The only permissions that the administrator have that I do not have is the Change Owner and Change Rights permissions, permissions that users in our organization and our customers usually does not have. Disc ...Show All
Visual Studio Tools for Office Generating XSLT from Word 2007 document?
Hi, After attaching an XML schema to word 2007 document, I would like to generate an XSLT file from it. In Word 2003, I can do it by running WML2XSLT.exe tool on doc.xml file. As .docx is a container with many parts in it, Is there a way in word 2007 to do the same TIA, Kris Hi Cindy, Does that mean one has to live with own predefined xslt templates with limited formatting capabilities. Or Else If I have a XML schema attached dotx template and I want to apply the DataOnly.xml to it, then do I have to parse through the document parts and edit the values on my own. You have answered me in the below thread for ...Show All
Visual Studio Express Editions insert filename into SQL Table
Hi I'm just not getting this but how can you insert the filename into a table. I managed to upload a file from website to my hard drive but now what to save the filename to a field in the database. Can someone please help Here's the code for aspx file and following the code for aspx.vb file: <% @ Page Language ="VB" MasterPageFile ="~/MasterPage.master" AutoEventWireup ="false" CodeFile ="AddFoundImage.aspx.vb" Inherits ="MemberPages_AddFoundImage" title ="Untitled Page" %> < asp : Content ID ="Content1" ContentPlaceHolderI ...Show All
