roughfalls's Q&A profile
.NET Development How to enable DataGridView updates for xpath extract results
Hi, I wrote a program to extract part of XML elements, fill in the dataset with extracted elements,and display them in dataGridView (C++). for example : to extract only ADDRESSES and display the Id,Street,Postcode, city and country as the table columns in dataGridView <MEMBER> <GENDER>FEMALE</GENDER> <AGE>35</AGE> - <ADDRESSES> - <ADDRESS> <ID>1</ID> <STREET>cranbrook ave</STREET> <POSTCODE>1231231</POSTCODE> <CITY>NOTTINGHAM</CITY> <COUNTRY>UK</COUNTRY> </ADDRESS> - <ADDRESS> <ID>2</ID> <STREET>W ...Show All
Visual Studio Team System Unable to open a new Team Project through Team Suit
I have installed VS 2005 Team Suite, but I am not able to create a new team project by all means I tried. Although I have Team Editions for Architects, Developers and Testers. Can I get some assistance in this aspect Team Projects aren't part of Team Systems, but a part of Team Foundation Server. Have you installed TFS and then afterwards installed Team Explorer. Its a common confusing point that Team System and TFS are 2 seperate programs. ...Show All
Visual C++ Problem with eading an int with operator>>
Hi, This program: ___________________________ // read.C #include <iostream> int main() { int n; std::cin >> n; std::cout << "n = " << n << std::endl; } ____________________________ and this input in a file data.txt: __________________________ 1,2 4 __________________________ and run like that: read.exe < data produces as output n = 2015115236 When adding a blank before the comma everything is fine. Is this a VC8 bug, or is this standard complian ...Show All
SQL Server Query Visual FoxPro .dbf files from SQL Server 2005 (64-bit)
I need to query a foxpro database from a new SQL Server 2005 (64-bit) instance Running on a 64-bit Windows 2003 Server. I can't find an ODBC driver, only the OLE DB one. I install the OLE DB and it creates the appropriate registry settings, but it doesn't show up. Please help, I'm probably not on the right track, but I don't know where to go from here. Any and all attempts at helping are greatly appreciated. Thanks, jim Hi Jim, Technology is always difficult when you're playing on both sides of a fence. An example of this is the move from Visual Studio 6 to VS 7+ and the .NET framework. Although there ar ...Show All
Visual C++ Giving the user a language option in VC++??
Hello, Could any one please explain how it is possible to give the user the option to change the language of the status bar,main frame etc during runtime I create a dialog box in an SDI based MFC-application(using Visual Studio dot net 2003) and have a list box in the dialog box,with language options such as "English","French","German" etc.The default language is english,but if the user selects German,then on pressing ok the language should change to german. I heard it can be done by using "String resource".A little detailed explanation would be highly appreciated. Thank you You can insert cop ...Show All
SQL Server I'm Looking For : ReportViewer tutorial With C# && .NET
Hi All , If you will send to me a link I'll be very grateful . Thanks In Advance Boaz Shalev. That link redirects to this: http://msdn.microsoft.com/vstudio/default.aspx ...Show All
Visual C# Reading mail from outlook express
hi i am trying to read mail from outlook express. i have added reference outlook and using getnamespace("MAPI") i am able to read msg that is lying in inbox but from Microsoft Outlook not from Outlook Express. how to read from outlook express. bydefault it takes MSOutlook. plz help me thanks and regards kavita Hi, I have seen programs that access email from Outlook Express. I want to do the same thing. There must be some way to access mail from Outlook Express. May be we'll have to go through the dbx files or something. ...Show All
Visual C# SQL Connection Settings
Hey howzit I would like to know where these settings are stored: ConfigurationSettings .AppSettings.GetValues and set I am programming on a large enterprize system and these values must be stored somewhere The settings are stored in the <assemblyname>.config file. In your project directy the file is stored as App.config and after a build it is copied to the output directory and rename to <assemblyname>.config . ...Show All
Visual Studio dot net objects - IDispatch - and the Visual Studio Property Browser
I have some questions about the new MPF framework classes in Visual Studio 2005. I have implemented the ISelectionContainer interface in my EditorPane.cs. When the editor detects the user has selected a shape in our drawing -> All I do is in GetObjects() is set apUnkObjects to my dot net objects. Somehow, the property browser is smart enough to automatically display my object correctly in the property browser. (I imagine it is auto-magically generating an IDispatch interface behind my back). Is there a way to tell the property browser what the categories are for my properties Is there a way to change the name displayed in the O ...Show All
Visual Studio Express Editions Can I use Visual Studio Express for VBA
Hi, I want to start developing with VBA. Can I use VISUAL studio Express to develop in VBA or are there better tools for this To be honest, I don't think there are any good tools for this but microsoft has the best I've seen. I develop java script with vs2005. It's not easy because of the multiple and complex environments in which we work. I find that VS2005 is pretty good and I also use MSE from the Office 2003. That's a very under-rated utitlity also. Keep in mind that VBS is being phased out. You may want to seriously consider javascript. ...Show All
Windows Forms I don t know how to pass variales and text controls values between forms
Hi, 2 little questions pls: From a form frm1 I call another form frm2. The form frm1 has a text box with a text in it. I don t know how to access that value in frm2. Also I would like to access i frm2 certain vaiables defined in frm1. 2/ What d be the help section in Visual Basic where I ca find such guidelines. Thanks a lot 1. To get access to a TextBox from form1 and form2, all you have to do is to set the TextBox 'Modifiers' property to public (private is the default). this means that other forms can access this control: Form2.textBox1.Text = "Something"; The better way to do it, also for you ...Show All
Visual Studio Upgraded fro Beta 1 to Beta 2 of Visual Basic Express .NET Multiple errors!
I am getting multiple errors on code that used to work fine with Beta 1 version... For example, I had a Project Settings file where I would save application user settings, now somehow if I select Project Settings, it says file does not exist and crashes at run time... Settings Crashes: Code sample: My .Settings.ftpintervalsec = pftpintervalsec My .Settings.Save() This used to work, now crashes 2' Accessing a sequential text file, actually displaying a logfile was working great, now since upgrade not working, crashing saying instance not declared... Looks like the transition from Beta 1 to Beta 2 is not veru user friendly did ...Show All
Visual Basic File I/O to read a specific lineok wait, I've been playing around with the code, but stupid me, I didnt catch this before,
Hey guys, In need of help. I need to read a line from a .ini file (specifically the 4th line). What it is, is a path to a database which I want to implement as the connection file in my vb window forum --> crystal reports so crystal viewer can pull the data from that database. [CONFIG] ReportDirectory=E:\appdata\ MainframePortNumber=1111 ClientsDB=E:\appdata\clients.mdb ProviderDB=E:\appdata\provider.mdb So I need VB to read the 4th line and it has to pull E:\appdata\clients.mdb and set it as the database path for crystal reports. Can anyone shed some light :) thanks. As a answer on you question how to read the 4th line: Dim r ...Show All
SQL Server How to launch programatically a SSIS package?
Dear all, I wrote this post others times but the answer did not satisfied so that I'd like to know if really anyone has ever used or experienced with this possibility. No by .Net language rather than Vb 6.0 or ASP or even instanciacing DMO library. According this link http://support.microsoft.com/ kbid=817248 it seems possible but I haven't idea if possible keeping in mind that it has been made by yourself no for others... So that, I mean, these assemblies comes along with Sql Server 2005 installation. Thanks a lot for your support, I don't understand where each code runs. It does not matter where the package is stored, like . ...Show All
.NET Development Creating a webservice to interface with SQL Server data
I have a hosted Visual Web Developer Express website that interfaces with a SQL Server database. Basically this lists events and allows club members the ability to sign up for them. What I'd like to do is create a visual c# desktop application that will interface with the data that would give users a simplified view of the data and a "join" button that would add a row of data to a table. Since the express edition of c# doesn't allow connection to a remote database, I would have to create a web service to pass data to and from the application. I've searched thru many tutorials on creating web services, and unfortunately I have ...Show All
