Robotsrcool's Q&A profile
Visual FoxPro Call application from program and trace Menus and Programs within
Hello, Can anybody help me please Am trying to call an application from another, but having a problem tracing the called program's Menus and Programs. At the beginning it started by having the Encrypted checkbox automatically selected after building project and an application (the application I will be calling) while I de-check it myself. I tried creating the project from the beginning and somehow this stopped, and I could trace again, but only Screens. Can anybody help please Regards, bounty Ok, I'll try to make it clear.. I have a main program A, and a smaller program B. I build B as an ap ...Show All
SQL Server How to create an SSIS package correctly by programming?
Recently I try to create a package completely by c# code,not the ETL tool. The package is designed to transfer data from source table to destination table. And I wrote the following codes by referring to the msdn library,but unfortunately,it doesn't work. //this is my code /////////////////////////////////////////////////////////////////////// Package package = new Package(); MainPipe dataFlow = ((TaskHost)package.Executables.Add("DTS.Pipeline.1")).InnerObject as MainPipe; ...Show All
SQL Server Try Catch Block
Hi: one of our study group members noticed a strange behavior and has the following question. Any thoughts are appreciated. I am unable to understand as to why the CATCH block is not executed when an INSERT is made On table T3 which is dropped after the first transaction. The severity of Insert into t3 values ( 3 ) is Msg 208 , Level 16 , State 1, Line 2 Invalid object name 't3'. BOL says TRY…CATCH constructs do not trap the following conditions: Warnings or informational messages with a severity of 10 or lower . Errors with severity of 20 or higher that terminate the SQ ...Show All
.NET Development XML serialization
Hi, From the following code public abstract class Vehicle { public string licenseNumber; } public class Car : Vehicle { public string name; } ... Car c= new Car(); c.licenseNumber="Lic001"; c.name= "Fiesta"; what is the simplest way to get the following serialized XML output <Vehicle licenceNumber="Lic001"> <Car name="Fiesta"> </Car> </Vehicle> I tried Car c= new Car(); c.licenseNumber="Lic001"; c.name= "Fiesta"; XmlSerializer s = new XmlSerializer(typeof(Car)); StringWriter sw= new StringWriter() s.Serializ ...Show All
Visual Basic How to add items in the listbox?
Hello All Forum Members, I have a access database contains tables I want to add thoes tables in listbox as the items .. How can I do that in VB.net 2003 I am very greatfull to you people for answering me this question and resolve my issue ... thank you very much ... Fatir Siddiqui Have you considered installing MSDE SQL Desktop Server engine! This uses MSDE as the database engine rather than Jet and Access mdb can be accessed through MSDE - infact, if you're building a .Net front for it, it will need to be using MSDE! ...Show All
.NET Development XML new file error
in my visual 2005 when i want to creat a new file of the xml amessage apear "The operation could not complete" how can i fixit and what it is mean ...Show All
Windows Forms Partial Updates in Clickonce
Hi all, I have created a solution which contains a executable(windows forms project) and 2 dlls(library projects reference in windows forms project), I generated manifest files(application manifest and deployment manifest) using MageUI and deployed the applicaiton. The application was running fine. I updated the exe(windows forms project), changed the assembly version number to 1.0.0.1, is it required to include the other 2 dlls (the projects which I have told in first paragraph) in the application manifest file. I deployed the updated version excluding the dlls whi ...Show All
Visual Studio crystal reports databaselogon
hellow .. i am doing reports in the crystal ... i need to run them on differnt databases , but when i do the report i bind them to the DB server in my computer ... then when i run it on other computers it ask for logon information beacause the server name there is defrent but the same tabels . i know there is a databaselogon command in the vb.net , but it is not working for me .. anyone have suggestion or can offer a sample code thxx HI, you need to supply the logon code using the report document rather than the viewer, example code can be found at http://support.businessobjects.com/library/kbase/articles/c2011464.asp ...Show All
Visual Studio Team System WSS account creation in AD for TFS
Hi, Would it be possible to deploy the SharePoint service portal site generated by TFS application tier to support account creation in AD like http://www.microsoft.com/resources/documentation/wss/2/all/adminguide/en-us/stsc05.mspx In other word, can I invite developers to my project with TFS just like ISP prvoviding web site owner the ability to invite users not already have accounts in the domain for collaboration Can TFS utilize this new WSS feature to manage user account in AD Regards, Reggie Unfortunately TFS V1 does not have an integrated solution for user management across TFS, Sh ...Show All
Visual Studio Team System Another 32000 error
I'm getting this error when installing the foundation server piece Error 32000. The Commandline “c:\program files\microsoft visual studio 2005 Enterprise Server\BISIISDIR\sdk\bin\Bisregedit.exe” http://TEAMSRV01:8080/SCC/public/application/ServiceDefinition.aspx ” TEAMSRV01 BisDB’ returned non-zero value: 1. I get a choice to retry to cancel. If I click retry a few times nothing really happens, I get the same error and the installation stops at about 95%. I found out that I run the same command line from the command window, I get a 401 error stating that I don't have access to execute the web service which did not make sense because ...Show All
Visual Studio Express Editions Databases (lots of 'em!)
Hi there, I am new at Visual Basic Express, and am in the process of planning a Visual Basic Application. The project will rely on a a database - I am uncertain on a number of things. The data will need to be accessible in the office of the company - I was thinking of either on their NAS, or hosted on the Web. a) Which is better -Microsoft SQL Server or Microsoft Access I know that if I pick Microsoft Access, I can upload it onto a host no problem, and also put it on the NAS. If I was to use SQL server, would I only have to place the mdf file on the NAS b) Is it possible ...Show All
.NET Development how to read properties from a config.ini file
hi i wan't to read from a config file .eg: config("Connectionstring") i know how to load a xmldoc...eg: xmldocument.load("C:\config.xml") but how to retrieve the values in the nodes regards Remco For handling INI files there is a good artikel on The Code Project: http://www.codeproject.com/csharp/kratinihandler.asp INI's are not XML. When you want to read .NET Config Files (XML) for you own application (App.config) just use: string value = ConfigurationSettings.AppSettings["ConnectionString"]; When it's not a App.config file but a other config file, just use the Configur ...Show All
Visual Studio Express Editions Unable to add data connection. Key not valid for use in specified state.
Using Visual Studio 2005, I am no longer able to add data connections to my projects. After testing the connection to an existing database and clicking OK, I get the 2-line message "Unable to add data connection. Key not valid for use in specified state." I am able to work with the databases using sqlcmd and SQL Server Express Manager. Even after three installs of visual studio and Sql server, no help. I erased the hard drive and re-installed windows, then vs then sql and all works. A very sad way to have to do something, but. On the server I had yet more fun from the domain change. All is now working. ...Show All
SQL Server SSIS package fails on execution
I have just created a simple SSIS package to transfer data from a SQL 2000 source to a SQL 2005 target. When I execute the package, I get an error: [SQL Server Destination [16]] Error: The thread for the SSIS Bulk Insert task failed initialization. I have tried to execute the package both from within Visual Studio and SQL Server Management Studio. ...Show All
Windows Forms Richtext box Background Image
Hi as a part of my development Project i need to show a watermark image on the richtextbox.(ie) the image should be transparent.in other words the user should be able to view the text with the background image. There is no background image property exposed. richTextBox1.CreateGraphics().DrawImage(objBitmap,-10,0, new Rectangle(0,0,richTextBox1.Width,richTextBox1.Height) ,GraphicsUnit.Pixel ); And Moreover the image should be drawn Diagonally from bottom left to top right. the above code draws the watermark image but the text is getting Hided(its draws a layer over the text) Pls post me the complete code on how to a ...Show All
