RaviKanthReddy's Q&A profile
Windows Forms Cloning Forms
Hello, I have a series of forms that are very similar, but they contain different editable fields, and different columns in a DataGridView. I would like to ensure that all of the Forms and controls have the same property settings in order to ensure that they appear and behave identically. Right now, I am using a written checklist and sometimes I miss an item (my bad!). I've thought about creating an abstract Form class and subclassing my cloned forms from it, but that didn't work out very well due to the customization code that was necessary for each Forms view. Is there an easy way to save the properties of a Form and DataGridView, and then to programmatically apply them to a new Form and DataGridView ...Show All
Visual FoxPro Can't access DBF with memo through ODBC (was Memo field conversion)
I am using a Microsoft ODBC Driver to connect to 4 DBF files . One of them has Memo Fields in it and I am not able to see this particular table when I try to import it in Access. All the others I am able to see and they do not have memo fields. Any idea guys How I can fix this The thing is I am no FoxPro Expert , I get DBF files from some one and my requirement is to import these in Oracle Tables through an ETL tool. But before doing that I am trying to pull these files in Access and while doing so I am not able to see the Table with Memo Fields. I asked the user to change these fields to fixed length. They resent me the new table (no memo fields) and now access recognizes the table. So I was wonde ...Show All
Visual C# How To Save ArrayList of Object Class to CSV file
hi every body How To Save ArrayList of Object Class to CSV file . I have Object Class like this -------------------------------------------------------- public class Student { private string _ StudentN ame; private string _ StudentID ; public string StudentN ame { get{ return _ _ StudentN ame ;} set{ _ StudentN ame = value;} } public string StudentID ; { get{ return _ StudentID ; set{ _ StudentID = value;} } } ------------------------------------------ ArrayList stdntArrayList = new ArrayList(); Student stdnt = new Student(); stdnt. StudentN ame = "AAAAAA"; stdnt. StudentID = "111111"; stdntArrayL ...Show All
Visual C++ nmake question
Hello I got a macro which looks like this: c:\subdir\a.obj c:\b.obj c.obj How do I convert it to: a.obj b.obj c.obj Is there any command in nmake to do the job, i.e. to remove the path Best regards and thanks, Denker i have a different but related problem, i have a macro: SOURCES = filename1.cpp filename2.cpp filename3.cpp ... filenamen.cpp and binary destination folder macro $(O) = something and i would like to get OBJECTS = $(O)\filename1.cpp $(O)\filename2.cpp $(O)\filename3.cpp ... $(O)\filenamen.cpp how do i do that with nmake ...Show All
SQL Server Flat File Connection Manager HeaderRowsToSkip not modifiable at runtime?
I have been working with flat file connection managers for a while now, and I have found it very useful to set properties on all types of SSIS objects using expressions that are set to SSIS package variables. We have recently moved towards using a centralized application configuration infrastructure, so we are now loading up all application configuration information from our own system -- it's actually based off of the 2.0 ConfigurationManager. I have developed a custom control flow task that will retrieve all of the SSIS variable information from our own application configuration system and set all of the SSIS variables as the first step in a package. When I have been using this to set the SSIS Variables which are used in exp ...Show All
Smart Device Development SerialPort Component IOException issue
I have a Ipaq Pocket PC. It connects to a bluetooth GPS Receiver (COM6). Whenever I try to open this COM Port using the SerialPort component I get an IOException. I have even tried listing all COM ports on the PPC, and opening each one inturn. Some work and some throw an IOException. Does anyone have a suggestion I think you will find that even though an IOExeption is raised, the serialPort is still open. put a try catch block around the open method, and do nothing. after opening the port, try reading/writing to it. Cheers ...Show All
.NET Development DataTable.Merge() method help, not persisting changes
vb2005 hi, im implementing a sort of AutoBackup feature for a bound form in my app. every 5 minutes i save the datatable's changes to a XML file. if my app crashes, next time i load the form i get the recover screen, which loads the XML file back in, merges it with the current working datatable (last saved one from database). problem is when i update the datatable back to the database. the columns that i merged back are not being persisted to the database. the only way to get them to persist is to go to the TextBox bound to the column, make any change there, and then update the datatable. something is wrong here, let me show a bit of the code: '''' THE CODE THAT SAVES EVERY 5 MINUTES TO XML STORAGE: If MySQLDataset.HasChanges() T ...Show All
Visual Studio Express Editions Real Time Display
Anyone knows how to implement a real time, time on a label in VB.Net 2005 (ASP.Net 2.0) My thought here is VB Express doesnt allow creation of web pages, thats visual web developer or other VB/VS products If would also recommend using the ASP.NET forums at forums.asp.net This is really there domain and they should be able to help assist you in getting a realtime label working. ...Show All
Visual Basic Change system time using vb.net
Does anyone know how to change the system clock using code. I want to be able to set the date and time in my code. Any thoughts Thanks!!! I dont think you are exactly reading my post. I dont just want the time on the form I have several buttons. ex. first button has a plus sign, second button has a minus sign. when i click on the button with the plus sign it should increase the hour or minute by 1. It is just as if i was setting the time on the pc clock. I hope this is clear. Thanks!! ...Show All
.NET Development Authenticating Web Service using Windows Credentials
Hi I have a web service which is called by a component, this component is initially called by an aspx page. I am using Windows Authenticating and have set Integrated Windows Authentication in IIS as well (this is an Intranet web application) The aspx pages and the components are on one server and the webservice is on another server, all are in the same domain I am confused on how should I pass the Windows credentials to the webservice I can set the Credentials property to CredialsCache.DefaultCredentials and I guess that should do the trick!! but in this case I will have give the user currently logged in rights on that server, will I not can somebody explain me how should I use windows authentication for an intranet a ...Show All
Software Development for Windows Vista Debugging asp.net application gives a strange error
Hello - When i try to debug asp.net application (Framework 2.0) a strange error is logged in the eventviewer. EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo'. And I ensured that the Enable Sql Debugging flag is unchecked in the project properties Can anyone please help how to get rid of this error. Thanks- Shyam ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Woeful XNA GSE Install
I've uninstalled my XNA GSE Beta 1 and everything but I get that stupid error message whenever the installer gets around to installing the DX Runtime. I never had this error when I installed GSE Beta 1, so why now If your still having trouble please follow this guide: Please try running the installer like this: Msiexec /i xnagse_setup.msi /lv installlog.txt In addition to that if you want to grab your %windir%\DirectX.log (%windir% is the root windows directory) And file a bug on Microsoft Connect with some information and attach the files so we can have a look at it. In addition to that if you have any version of DirectX installed you can run dxdiag from the run menu ...Show All
Commerce Server Failed to perform the specified catalog operationAnoh
I have just completed an install and configuration of CS2007. I can load the catalog web service in a browser but when I invoke a method I get, "Failed to perform the specified catalog operation because the current user is not authorized to perform it." I have created the CatalogWebSvc account, given it write permissions on the store xml file, set the CatalogAppPool identity to it, added it to the IIS_WPG, added it to the CatalogAdministrator role in the Catalog Store, and made it db_owner of all the DBs in SQL. When I run a SQL trace and invoke the method, I get: EventClass: RPC Completed ApplicationName: .NET SQLClient Data Provider LoginName: CatalogWebSvc Reads:2 The entire 500 error is: System.Web ...Show All
Visual FoxPro Problems in connecting Visual foxpro 8 with a free table on a remote server
Hello everyone I am having a problem when i m trying to connect to a remote server from a local machine. I have a visual foxpro free table named as items.dbf on a directory called foxpro on my remote server. I have a simple connection form which is checking the connection with the remote server. the coding on this form is as follow: lcDbfDir = [http://72.29.68.136/~mglobe/foxpro/] lcCon = [Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=] + lcDbfDir + [;Exclusive=No;NULL=NO;BACKGROUNDFETCH=NO;DELETED=NO] lh = SQLStringConnect ( lcCon ) if lh>0 then = MESSAGEBOX ('Connection made', 48, 'SQL Connect Message') else = MESSAGEBOX ('Cannot make connection', 16, 'SQ ...Show All
Visual Basic Irritating effect from combo
I have got a form that I open, in the forms load event i do the following Me .EDF1TableAdapter.Fill( Me .DataSet1.EDF1) Me .ENameComboBox.Text = "" Me .ENameComboBox.DroppedDown = True Me .ENameComboBox.Focus() when the form loads, the combobox is dropdown and does have focus, but its got a mouse cursor showing wait it does go away after you click in the combobox if you dont dropdown the combo it does do it, why Davids Learning TableAdapter.Fill is probably a bad thing to call in the a form's Load event handler. The Load event is invoked via the windows message queue. Fill could take a long time (i.e. more than a few hundred milliseconds) to complete, causing the ...Show All
