bayito's Q&A profile
Visual Studio Express Editions Access Database to Visual Basic
Is it possible to import a Microsoft Access 2003 database into Visual Basic 2005 Express, and how would I do that Yes it is absolutely possible....start by checking these samples out: http://msdn.microsoft.com/vbasic/downloads/code/101samples/#data ...Show All
Visual C++ searching for a word in txt and copying a line from it to another txt
Hello Newbie here, so be gentle please :D I have a txt file which contains this. Mass Flow Rate = 1.06978 Total Press Ratio = 1.05436 Adiabatic Efficiency = 0.729592 Exit Flow Coeff Cr2/U2rms = 0.437959 Ps2/Pa = 0.990665 I want to read the 3rd line only and copy it into another txt file and put it in the middle of it. What is the best way to do that Just point me to the right direction, which function should i use sorry I tried editing my post but it keeps giving me errors anyway here's my code it doesn't seem to work I was thinking about reading it into a string first #include <fstream> #include <iostream> #include <string> using namespace ...Show All
Visual Studio 2008 (Pre-release) ListView traverse down VisualTree
My main goal is to have a checkbox in a header column and have checkboxes in each row of the gridview. When the checkbox in the header is checked, all checkboxes in the rows are then checked and when the header is unchecked, the rows are unchecked. Here is my xaml page - so in the SelectAll function, I want to loop through the items in myList and find the firstCellCheckbox and set it to IsChecked=true. I was hoping a foreach would work. Any ideas < Page x:Class = " GridViewApp.Page2 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " Page2 " > < Page.Resources > < DataTemplate x:Key = " FirstCell " > &l ...Show All
Visual Basic disable code?
I made a if statment, now if that statment is true, then what would i put to disable all the code below it In code, if you put something in the IF Clause - it will run it the expression is true. It sounds as though you dont want to run something when the condition is true. You could put code in the code in the else clause or change the code to if <expression> = False but you cant disable statements - you can merely choose to execute them or not at runtime. Another option maybe conditional compile conditions - this way certain code may be included when you set certain compile flags - but these flags are set in the project and used when the code is compiled up. This way you can exclude certain code from being compiled. ...Show All
SQL Server SSIS Higher Level Edition error when run in a Sql Job
Hi, I am receiving the following error in Sql Job agent when I try to run an SSIS package : The task "Create Excel File" cannot run on this edition of Integration Services. It requires a higher level edition. It then goes on to tell me : The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. I have tried reseting the error count to allow for the "errors" , but it stills fails. The job suceeds in Visual Studio, but not when scheduled in Sql Management Studio. Any suggestions Thanks, J. Yet more information to explain what I'm typing ...Show All
Visual Studio Team System Get specific version (history) after a rename/move
Early this week, I moved all elements off the main trunk to a child branch. This move did not go as smoothly as I would of liked. The first problem is that when I moved all the folders all sub-elements also got renamed as well not just the folder element itself (which would have been the case with Rational ClearCase. What this has caused is that we are unable to get a specific version that is before the move/rename version. We do have a work around, where we just get the details of the version we want copy & paste it over the latest version. While this does work I do not like. Is there a way to get an older version after a rename/move has been preformed FYI, when we try to get a version of the element previous to the move, it u ...Show All
Visual Studio Express Editions VB 2005 Exp - Running exe file on other PC
Hi, I was triyng to run my application on other computer and when I start the exe file, the following error ocours: "To run this application, you first must install one of the following versions of the .NET Framework v 2.0.50.727" What can I do Regards, Pedro you need to install .NET Framework 2.0 in order to run your application. Any applications developed in .NET requires the .NET Framework (the correct version) http://www.microsoft.com/downloads/details.aspx FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en ...Show All
SharePoint Products and Technologies Customizing summary alerts
We have a wiki page with a few updates a day. People setup the alert to get a daily summary of the changes. In this summary email, most changes (new pages, updated pages) are just displayed with title, modified, and modified by columns. Only a very few are also displayed with the wiki content of the page. As many consumers want to see the changes offline in there email, I would like to know, how to setup the alert, so that all changes come with the wiki content Normally you'd change the underlying XML files but I don't think you can include dynamic content. Alternatively, you could go about this programmatically. Using the built-in event handlers you can grab any event fired, including when a wik ...Show All
Visual Studio Express Editions Creating a key in the registry under HKEY_LOCAL_MACHINE
The following key creation code works fine Dim aKey As RegistryKey = Registry.CurrentUser.CreateSubKey("Test9999"). Yet when trying to create a key in HKEY_LOCAL_MACHINE by using the following Dim aKey As RegistryKey = Registry.LocalMachine.CreateSubKey( "Test9999" ) an execption is generated at run time. Why does the first case work, but not the second RabBsl The error message was " System.IO.IOException was unhandled" with the following detail: Message="The specified path is invalid. " Bob ...Show All
Visual Studio Express Editions Open form from Menu item
I have managed to get two forms designed and the programs written. Now I have them in the same project file one is an entry page that has all the details of the person entered on it, and the second page is the workings page. I have entered a tool label in the menu strip but have no idea to be honest how I can open the other page from withinn the first form So I am here to ask as none of my searches come up with an answer, (Probably asking the wrong question) any suggestions Kiwi bloke Add this code to whatever method is triggered by that menu item: FormType otherForm = new FormType(); otherForm.Show(); With this code, you are creating an instance of that second form, and then calling i ...Show All
SQL Server splitting table from dataset in layout
hi, i have a sp that returns a table in which i have columns like Buyer, Product, Price etc. now i want to create a report that makes a single bill for every Buyer i have in my dataset with the relating Product and Price. the question for me is how to split the table the sp returs in the layout to achieve this. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. setup desktop resolution as static
is it possible in current version of DX10 in Vista setup desktop resolution as static In result if any application tryies to change resolution, DX change it virtually, but actually will work with desktop resolution. I think it would be nice to have this feature for current LCD displays, which is not good to support natural resolutions. I haven’t seen something like this yet. Additional it would be dangerous to use a different resolution as the application request. ...Show All
Visual Studio Express Editions which form event to use?
Hi, I want to add a fading effect to the form before exit. What i did is i put a timer onto the form, set it to disable initially, after the user click the exit button on the top right coner of the form, it will be switched on to "enabled", and the effect code will be executed. But i don't know where to put this code (under which form event ), I have tried to put it under "form1_formclosing", but it didn't help. Can any one help thanks Answer provided in this thread . ...Show All
Visual Basic problem with listbox and do while
I am attempting to do a do while to remove a specific selected item from a listbox using a do while loop,so far I have tried altering the code and have ended up with this which does not work either,I have concluded that I do not know what I am doing Dim intSelectedIndex As Integer intSelectedIndex = Me .lstLeft.SelectedIndex Do While intSelectedIndex >= 0 intSelectedIndex = Me .lstLeft.SelectedIndex Me .lstLeft.Items.RemoveAt(intSelectedIndex) Loop the problem is that if I tell it to intSelectedIndex = Me .lstLeft.SelectedIndex -1 it removes items all right except that it removes all the items up to the selected item and not the item it was supposed to thanks ...Show All
SQL Server SSIS- Package Performance Issue
Hi, I have multiple data flow tasks defined in my package. The task of the package is to extract data from Oracle/InfoLease tables and put them on to a SQL Server 2005 database. Listed below are few queries that I had: 1. In SSIS package, I need to add "Data Conversion" component to convert from Unicode string datatype to String datatype. This was not required in SQL Server 2000 DTS package. 2. By default, Individual transformation is created for each column. Is there a way, to create one transformation for all columns. 3. This SSIS package is being executed as part of a job. The execution time takes around 33 mins. The same functionality of the SSIS package was replicated in form of SQL Server 2000- DTS package an ...Show All
